Skip to content

Releases: sds/overcommit

Overcommit 0.52.0

15 Dec 03:24
@sds sds
v0.52.0
b4635a3

Choose a tag to compare

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 to ProtectedBranches 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 to remote_ref_deletion?

Bug Fixes

  • Fix Mdl to properly parse JSON output from mdl

Overcommit 0.51.0

02 Oct 16:28
@sds sds
v0.51.0
550f67f

Choose a tag to compare

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

26 Sep 00:06
@sds sds
v0.50.0
1aca914

Choose a tag to compare

  • 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

18 Aug 08:25
@sds sds
v0.49.1
4018b0d

Choose a tag to compare

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 hook required_executable

Overcommit 0.49.0

10 Jul 02:12
@sds sds
v0.49.0
202253d

Choose a tag to compare

New Features

  • Add skipped_commit_types option to ReplaceBranch 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 to false
  • Fix Mdl hook to use JSON output and not fail on unexpected output

Overcommit 0.48.1

05 Jun 00:13
@sds sds
v0.48.1
569dc24

Choose a tag to compare

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

03 May 00:39
@sds sds
v0.48.0
35d60ad

Choose a tag to compare

  • 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

23 Mar 23:42
@sds sds
v0.47.0
29b431f

Choose a tag to compare

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 for W3cHtml 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 to Reek pre-commit hook configuration to
    ensure excluded files are excluded

Overcommit 0.46.0

02 Sep 06:01
@sds sds
v0.46.0
60f18f4

Choose a tag to compare

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 with tslint 5.11+

Overcommit 0.45.0

15 Apr 03:52
@sds sds
v0.45.0
a72324c

Choose a tag to compare

New Features

  • Add CargoTest pre-push hook for running cargo test
  • Add min_subject_width option to TextWidth 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