Releases: sds/overcommit
Releases · sds/overcommit
Overcommit 0.59.0
- Add
--disable-pending-cops
as default flag toRuboCop
pre-commit hook to ignore non-existent cops. Requires RuboCop0.82.0
or newer. - Fix deprecation warning for
Bundler.with_clean_env
. - Fix handling of some kinds of pronto errors in the
Pronto
hook. - Fix encoding of process output on Windows.
- Add support for specifying hook type to
--run
flag. - Fix message regex parser for Stylelint.
- Fix configuration loading on Ruby 3.1.
- Fix
YamlSyntax
to support aliases when parsing. - Fix run output to explicitly flush partial logs.
Overcommit 0.58.0
- Add
rexml
dependency explicitly to support Ruby 3.0. - Add
DartAnalyzer
pre-commit hook to analyze Dart files. - Add
PubTest
andFlutterTest
pre-push hooks to runpub test
andflutter test
for Dart projects, respectively. - Update
index-tags
script to support scanning only files tracked by Git. - Fix
EsLint
pre-commit hook to not report certain false positives. - Update
YamlLint
tofail
the run instead ofwarn
when errors are detected. - Update
YamlLint
parse the line number of output so it is line aware. - Gracefully handle breaking behavior in upstream Psych gem to support YAML aliases.
- Fix case where
git
would delete all tracked files when popping stash.
Overcommit 0.57.0
- Fix
CommitMsg
hooks to be able to callmodified_lines_in_file
. - Add
ErbLint
pre-commit hook to lint ERB files.
Overcommit 0.56.0
- Update
ReplaceBranch
prepare-commit-msg hook to avoid running on--amend
by default. - Add support for
modified_files
andmodified_lines_in_file
inCommitMsg
hooks.
Overcommit 0.55.0
- Fix
GoFmt
to not be enabled by default. This was enabled by mistake when introduced in Overcommit0.52.0
.
Overcommit 0.54.1
- Fix
Overcommit::GitRepo.list_files
helper to work with arbitrarily large lists of files. - Fix
AuthorName
to allow mononyms to be more inclusive of names.
Overcommit 0.54.0
- Fix
YamlLint
pre-commit hook by adding--strict
flag - Relax
childprocess
gem version constraint to allow version 4.x
Overcommit 0.53.0
- Improve performance in
PhpCs
pre-commit hook - Add
Pronto
pre-push hook - Remove erroneous extra newline in replacement string for
ReplaceBranch
prepare-commit-msg hook - Add note about potentially checking your stash when hook is interrupted
- Add support for skipping hooks based on command result using the
skip_if
option
Overcommit 0.52.1
- Fix case where no standard input is provided to
pre-push
hooks
Overcommit 0.52.0
New Features
- Add
GolangciLint
pre-commit and pre-push hooks - Add
GoTest
pre-push hook - Add
GoFmt
pre-commit hook - Add
exclude_branches
hook option to disable hooks running on specific branches - Add
exclude_remotes
pre-push hook option to disable pre-push hooks running against specific remotes - Add
include_remote_ref_deletions
pre-push hook option to allow running for a remote branch deletion - Add per-branch
destructive_only
setting toProtectedBranches
pre-push hook
Changes
- Change default behavior of pre-push hooks to not run against deleted remote refs
- Rename
remote_branch_deletion?
pre-push hook helper toremote_ref_deletion?
Bug Fixes
- Fix
Mdl
to properly parse JSON output frommdl