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