Releases: sds/overcommit
Releases · sds/overcommit
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
Overcommit 0.51.0
Releases a pretty significant behavior change where Overcommit will only stash changes if not all changes have been staged.
- Stop stashing in pre-commit hooks when all changes are already staged, avoiding unnecessary file modification
- Improve instructions for recovering commit message when a
commit-msg
hook fails
Overcommit 0.50.0
- Fix Overcommit to display helpful error message when a hook does not inherit
from the base class - Relax
childprocess
gem constraint to allow up to version 3.x - Display a helpful message if hooks do not inherit from the correct base class
- Fix Overcommit to work with emacs/magit by disabling literal pathspecs
Overcommit 0.49.1
Minor fix for an issue when running Overcommit in a Docker container.
- Fix Overcommit to run when executed with no parent process. (#661)
- Fix
Stylelint
pre-commit hookrequired_executable
Overcommit 0.49.0
New Features
- Add
skipped_commit_types
option toReplaceBranch
prepare-commit-msg hook - Add
RubySyntax
pre-commit hook - Add
CodeSpellCheck
pre-commit hook
Changes
- Relax
childprocess
dependency to allow version 1.x
Bug Fixes
- Fix deadlock which was more likely to occur when setting
parallelize
on a hook tofalse
- Fix
Mdl
hook to use JSON output and not fail on unexpected output