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
YarnInstallpost-checkout, post-commit, post-merge, and post-rewrite hooks - Add
metadata-json-lintpre-commit hook - Add
RstLintpre-commit
hook - Add
YarnInstallpost-checkout, post-commit, post-merge, and post-rewrite hooks - Add additional file patterns for
ChamberSecuritypre-commit hook - Add
ChamberCompareandChamberVerificationpre-commit hooks - Add
ComposerInstallpost-checkout, post-commit, post-merge, and post-rewrite hooks - Add ability to
pre-pushhooks to inspect modified files for pushed refs - Add
PhpStanpre-commit hook
Changes
- Run
GoLintpre-commit hook against each file individually - Improve performance of
BundleAuditchecking ofGemfile.lockfile - Allow ad hoc hooks to run executables not tracked by Git
- Drop support for Ruby 2.0
Bug Fixes
- Fix
LineEndingspre-commit hook handling of file paths with spaces - Fix
Mdlpre-commit hook message parsing regex - Fix
RailsBestPracticeshook to only run against changed files - Fix Overcommit installation in submodules
- Don't print backtrace of signature change for
overcommit --run