Releases: sds/overcommit
Overcommit 0.39.1
Bug Fixes
- Update
childprocess
dependency to 0.6.3
Overcommit 0.39.0
This release includes fixes for warnings in Ruby 2.4 and Git 2.11, and adds support for Git LFS.
New Features
- Add
GitLfs
pre-push hook
Changes
- Update
childprocess
dependency to 0.6.x series - Auto-sign configuration file when installing hooks for the first time
Bug Fixes
- Fix
forwarding to private method
warning on Ruby 2.4.x - Fix potential hang when a hook's
parallelize
option was set tofalse
- Fix
empty strings as pathspecs
warning introduced in Git 2.11
Overcommit 0.38.0
New Features
- Add Pytest pre-push hook
- Add RakeTarget pre-commit and pre-push hook
- Moved CommitPlease from CommitMsg to PostCommit hook
- Add skip_file_checkout hook setting for PostCheckout hooks
Bug Fixes
- Fix install_command for scss_lint gem
Overcommit 0.37.0
New Features
- Add
FixMe
pre-commit hook, to ensure that no "token" words slips through.
These strings are things you should fix now, not later - Add
YAMLLint
pre-commit hook - Add
LicenseHeader
pre-commit enforcement to ensure open source projects
contain proper license comments - Add
Foodcritic
pre-commit hook - Add
LineEndings
pre-commit hook that allows you to enforcing UNIX- or
Windows-style line endings
Bug Fixes
- Fix
CapitalizedSubject
to not fail when commit message starts with one or
more empty lines
Overcommit 0.36.0
Overcommit 0.35.0
- Drop support for Ruby 1.9.3
- Fix
JavaCheckstyle
pre-commit hook to properly categorizeINFO
andWARN
messages - Add
TestUnit
pre-push hook to run tests withTest::Unit
- Add
BundleAudit
pre-commit hook to scan gems for vulnerabilities withbundle-audit
- Copy hook files instead of symlinking
- Add
Credo
pre-commit hook to check Elixir files - Remove
Brakeman
pre-commit hook as it could erroneously report clean runs depending on which files were committed to your repository. You should run this tool in a separate job/task in your CI runs as it doesn't make for a good pre-commit hook. - Add
Commitplease
pre-commit hook which checks commit messages withcommitplease
Overcommit 0.34.2
A hotfix release to address quirks with using Overcommit with the new commit.gpgsign
Git configuration option introduced in Git 2.0+.
- Add
--no-color
flag to allgit diff
/git show
calls to override local configuration - Ignore
commit.gpgsign
configuration option when creating stash commits in pre-commit hooks
Overcommit 0.34.1
A hotfix release to fix installation of Overcommit on systems with newer versions of RubyGems, which now preserve symlinks by default (previous behavior was to convert symlinks to regular files).
- Switch template directory hooks from symlinks to regular files so gem can be installed on Windows
Overcommit 0.34.0
Mostly bug fixes with a few minor enhancements.
- Fix
Scalastyle
pre-commit hook to capture messages with no line number - Fix
CoffeeLint
pre-commit hook detection of modified lines - Fix
Jscs
pre-commit hook to work withjscs
3.0.0+ - Fix
CapitalizedSubject
pre-commit hook to ignore commit message subjects
starting withfixup!
orsquash!
special prefixes - Add
BundleOutdated
pre-commit hook to report gems in theGemfile.lock
that have newer versions available - Add
destructive_only
option toProtectedBranches
pre-push hook - Include
.ru
files inRuboCop
pre-commit hook - Fix
TextWidth
to ignore specialfixup!
/squash!
prefixes in commit
message subjects when determining width of line
Overcommit 0.33.0
The most notable update in this release is Overcommit's change in behavior to automatically invoke a Bundler context when running a CLI command if the gemfile
option is specified in your .overcommit.yml
. This saves you from having to prepend bundle exec ...
to the overcommit
command in order to use gems specified in the Gemfile specified by gemfile
.
New Features
- Add global
quiet
option which silences all hook output except in the case
of warning or error
Changes
- Official support for Rubinius has been dropped. It will probably still work
for most use cases, but parallelized hook runs may be problematic. If someone
from the community is willing to step up to support it, we'll gladly add it
back - Change
overcommit
CLI to automatically run within a Bundler context if the
gemfile
option is specified. This mainly saves you from needing
bundle exec
when runningovercommit --run
Bug Fixes
- Fix
AuthorName
/AuthorEmail
pre-commit hooks to respect
GIT_AUTHOR_NAME
/GIT_AUTHOR_EMAIL
environment variables, respectively - Fix
JavaCheckstyle
pre-commit hook to ignore[ERROR]
prefix when parsing
output messages