Releases: sds/overcommit
Releases · sds/overcommit
Overcommit 0.44.0
New Features
- Add support for worktrees
Bug Fixes
- Fix installer to not attempt to remove old hooks directory if non-empty
- Fix erroneous
fatalerror message from a pre-commit hook run when adding the first submodule to a repo
Overcommit 0.43.0
Changes
- Add
GitLfspost-checkout,post-commit
andpost-mergehooks - Display commit message when
commit-msghooks fail - Drop support for JRuby
- Enhance
pre-pushhooks to exposemodified_lines_in_file, similar to
pre-commithooks - Add
YarnCheckpre-commit hook which checks ifyarn.lockmatchespackage.json - Add
PhpUnitpre-pushhook
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
Overcommit 0.41.0
Overcommit 0.40.0
A few new hooks with some minor bug fixes.
New Features
- Add
Prontopre-commit hook - Add
hadolintpre-commit hook - Add
license_finderpre-commit hook - Use the
core.hooksPathGit configuration option when installing hooks
Changes
- Relax
childprocessdependency to allow 0.x - Ignore
Makefileand*.gofiles inHardTabspre-commit hook by default
Bug Fixes
- Gracefully handle binary files in
LineEndingspre-commit hook - Gracefully handle gem loading errors when invoking Overcommit in a repo where the
gemfilespecified by the local.overcommit.ymlreferences a gem version incompatible with the already-loaded Overcommit
Overcommit 0.39.1
Bug Fixes
- Update
childprocessdependency 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
GitLfspre-push hook
Changes
- Update
childprocessdependency to 0.6.x series - Auto-sign configuration file when installing hooks for the first time
Bug Fixes
- Fix
forwarding to private methodwarning on Ruby 2.4.x - Fix potential hang when a hook's
parallelizeoption was set tofalse - Fix
empty strings as pathspecswarning 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
FixMepre-commit hook, to ensure that no "token" words slips through.
These strings are things you should fix now, not later - Add
YAMLLintpre-commit hook - Add
LicenseHeaderpre-commit enforcement to ensure open source projects
contain proper license comments - Add
Foodcriticpre-commit hook - Add
LineEndingspre-commit hook that allows you to enforcing UNIX- or
Windows-style line endings
Bug Fixes
- Fix
CapitalizedSubjectto not fail when commit message starts with one or
more empty lines