Releases: sds/overcommit
Releases · sds/overcommit
Overcommit 0.52.0
New Features
- Add
GolangciLintpre-commit and pre-push hooks - Add
GoTestpre-push hook - Add
GoFmtpre-commit hook - Add
exclude_brancheshook option to disable hooks running on specific branches - Add
exclude_remotespre-push hook option to disable pre-push hooks running against specific remotes - Add
include_remote_ref_deletionspre-push hook option to allow running for a remote branch deletion - Add per-branch
destructive_onlysetting toProtectedBranchespre-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
Mdlto 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-msghook fails
Overcommit 0.50.0
- Fix Overcommit to display helpful error message when a hook does not inherit
from the base class - Relax
childprocessgem 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
Stylelintpre-commit hookrequired_executable
Overcommit 0.49.0
New Features
- Add
skipped_commit_typesoption toReplaceBranchprepare-commit-msg hook - Add
RubySyntaxpre-commit hook - Add
CodeSpellCheckpre-commit hook
Changes
- Relax
childprocessdependency to allow version 1.x
Bug Fixes
- Fix deadlock which was more likely to occur when setting
parallelizeon a hook tofalse - Fix
Mdlhook to use JSON output and not fail on unexpected output
Overcommit 0.48.1
This is a minor bugfix release.
- Fix
Stylelinthook regex to extract line numbers with more than one digit - Fix
CaseConflictshook 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
MessageFormatcommit-msghook - Add
FileSizepre-commit hook
Overcommit 0.47.0
New Features
- Add support for
prepare-commit-messagehooks - Add
SwiftLintpre-commit hook - Add
KtLintpre-commit hook - Add
TerraformFormatpre-commit hook - Add
CookStylepre-commit hook
Changes
- Update
validator_uriforW3cHtmlpre-commit hook - Update
TsLintpre-commit hook to support new output format - Update
BundleCheckerror message with additional instructions
Bug Fixes
- Add
--force-exclusionflag toReekpre-commit hook configuration to
ensure excluded files are excluded
Overcommit 0.46.0
New Features
- Add
PhpCsFixerpre-commit hook - Add
YardCoveragepre-commit hook - Add
Flaypre-commit hook - Add
Stylelintpre-commit hook
Bug Fixes
- Fix
Credopre-commit hook to lint applicable files only rather than
all files - Fix
TsLintdefault flags to work withtslint5.11+
Overcommit 0.45.0
New Features
- Add
CargoTestpre-push hook for runningcargo test - Add
min_subject_widthoption toTextWidthcommit-msghook
Changes
- Drop support for Ruby versions 2.1 and older
Bug Fixes
- Fix detection of
.gitdirectory location on Git versions before 2.5