Releases: sds/overcommit
Releases · sds/overcommit
Overcommit 0.43.0
Changes
- Add
GitLfs
post-checkout
,post-commit
andpost-merge
hooks - Display commit message when
commit-msg
hooks fail - Drop support for JRuby
- Enhance
pre-push
hooks to exposemodified_lines_in_file
, similar to
pre-commit
hooks - Add
YarnCheck
pre-commit hook which checks ifyarn.lock
matchespackage.json
- Add
PhpUnit
pre-push
hook
Overcommit 0.42.0
It's been a while since our last release. This includes a number of new features as well as some minor bug fixes.
We've also dropped support for Ruby 2.0—it may continue to work, but is no longer officially supported.
New Features
- Add
YarnInstall
post-checkout, post-commit, post-merge, and post-rewrite hooks - Add
metadata-json-lint
pre-commit hook - Add
RstLint
pre-commit
hook - Add
YarnInstall
post-checkout, post-commit, post-merge, and post-rewrite hooks - Add additional file patterns for
ChamberSecurity
pre-commit hook - Add
ChamberCompare
andChamberVerification
pre-commit hooks - Add
ComposerInstall
post-checkout, post-commit, post-merge, and post-rewrite hooks - Add ability to
pre-push
hooks to inspect modified files for pushed refs - Add
PhpStan
pre-commit hook
Changes
- Run
GoLint
pre-commit hook against each file individually - Improve performance of
BundleAudit
checking ofGemfile.lock
file - Allow ad hoc hooks to run executables not tracked by Git
- Drop support for Ruby 2.0
Bug Fixes
- Fix
LineEndings
pre-commit hook handling of file paths with spaces - Fix
Mdl
pre-commit hook message parsing regex - Fix
RailsBestPractices
hook to only run against changed files - Fix Overcommit installation in submodules
- Don't print backtrace of signature change for
overcommit --run
Overcommit 0.41.0
Overcommit 0.40.0
A few new hooks with some minor bug fixes.
New Features
- Add
Pronto
pre-commit hook - Add
hadolint
pre-commit hook - Add
license_finder
pre-commit hook - Use the
core.hooksPath
Git configuration option when installing hooks
Changes
- Relax
childprocess
dependency to allow 0.x - Ignore
Makefile
and*.go
files inHardTabs
pre-commit hook by default
Bug Fixes
- Gracefully handle binary files in
LineEndings
pre-commit hook - Gracefully handle gem loading errors when invoking Overcommit in a repo where the
gemfile
specified by the local.overcommit.yml
references a gem version incompatible with the already-loaded 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