Skip to content

Releases: sds/overcommit

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

Overcommit 0.41.0

25 Aug 18:31
@sds sds
efe7c88
Compare
Choose a tag to compare

Minor update with a few new features.

  • Add PhpCs pre-commit hook
  • Add PhpLint pre-commit hook
  • Allow toggling colorize output via OVERCOMMIT_COLOR environment variable

Overcommit 0.40.0

29 Jun 16:02
@sds sds
d823ddf
Compare
Choose a tag to compare

A few new hooks with some minor bug fixes.

New Features

  • Add Pronto pre-commit hook
  • Add hadolint pre-commit hook
  • Add license_finder pre-commit hook
  • Use the core.hooksPath Git configuration option when installing hooks

Changes

  • Relax childprocess dependency to allow 0.x
  • Ignore Makefile and *.go files in HardTabs pre-commit hook by default

Bug Fixes

  • Gracefully handle binary files in LineEndings pre-commit hook
  • Gracefully handle gem loading errors when invoking Overcommit in a repo where the gemfile specified by the local .overcommit.yml references a gem version incompatible with the already-loaded Overcommit