Skip to content

Releases: sds/overcommit

Overcommit 0.49.1

18 Aug 08:25
@sds sds
v0.49.1
4018b0d
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

Overcommit 0.44.0

11 Mar 18:08
@sds sds
c96cf0b
Compare
Choose a tag to compare

New Features

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

12 Feb 20:43
Compare
Choose a tag to compare

Changes

  • Add GitLfs post-checkout, post-commit
    and post-merge hooks
  • Display commit message when commit-msg hooks fail
  • Drop support for JRuby
  • Enhance pre-push hooks to expose modified_lines_in_file, similar to
    pre-commit hooks
  • Add YarnCheck pre-commit hook which checks if yarn.lock matches package.json
  • Add PhpUnit pre-push hook

Overcommit 0.42.0

30 Jan 08:27
@sds sds
1d3ecc6
Compare
Choose a tag to compare

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 and ChamberVerification 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 of Gemfile.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