Releases: sds/overcommit
Releases · sds/overcommit
Overcommit 0.48.1
This is a minor bugfix release.
- Fix
Stylelint
hook regex to extract line numbers with more than one digit - Fix
CaseConflicts
hook to work with file paths containing double quotes
Overcommit 0.48.0
- Drop support for Ruby 2.3 or older
- Support multi-line matches in
MessageFormat
commit-msg
hook - Add
FileSize
pre-commit hook
Overcommit 0.47.0
New Features
- Add support for
prepare-commit-message
hooks - Add
SwiftLint
pre-commit hook - Add
KtLint
pre-commit hook - Add
TerraformFormat
pre-commit hook - Add
CookStyle
pre-commit hook
Changes
- Update
validator_uri
forW3cHtml
pre-commit hook - Update
TsLint
pre-commit hook to support new output format - Update
BundleCheck
error message with additional instructions
Bug Fixes
- Add
--force-exclusion
flag toReek
pre-commit hook configuration to
ensure excluded files are excluded
Overcommit 0.46.0
New Features
- Add
PhpCsFixer
pre-commit hook - Add
YardCoverage
pre-commit hook - Add
Flay
pre-commit hook - Add
Stylelint
pre-commit hook
Bug Fixes
- Fix
Credo
pre-commit hook to lint applicable files only rather than
all files - Fix
TsLint
default flags to work withtslint
5.11+
Overcommit 0.45.0
New Features
- Add
CargoTest
pre-push hook for runningcargo test
- Add
min_subject_width
option toTextWidth
commit-msg
hook
Changes
- Drop support for Ruby versions 2.1 and older
Bug Fixes
- Fix detection of
.git
directory location on Git versions before 2.5
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
fatal
error message from a pre-commit hook run when adding the first submodule to a repo
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