Skip to content

Releases: sds/overcommit

Overcommit 0.44.0

11 Mar 18:08
@sds sds
c96cf0b

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

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

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

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

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

Overcommit 0.39.1

07 Apr 04:40

Choose a tag to compare

Bug Fixes

  • Update childprocess dependency to 0.6.3

Overcommit 0.39.0

02 Apr 23:12
@sds sds
035002b

Choose a tag to compare

This release includes fixes for warnings in Ruby 2.4 and Git 2.11, and adds support for Git LFS.

New Features

Changes

  • Update childprocess dependency to 0.6.x series
  • Auto-sign configuration file when installing hooks for the first time

Bug Fixes

  • Fix forwarding to private method warning on Ruby 2.4.x
  • Fix potential hang when a hook's parallelize option was set to false
  • Fix empty strings as pathspecs warning introduced in Git 2.11

Overcommit 0.38.0

24 Jan 22:19

Choose a tag to compare

New Features

  • Add Pytest pre-push hook
  • Add RakeTarget pre-commit and pre-push hook
  • Moved CommitPlease from CommitMsg to PostCommit hook
  • Add skip_file_checkout hook setting for PostCheckout hooks

Bug Fixes

  • Fix install_command for scss_lint gem

Overcommit 0.37.0

14 Oct 07:24
@sds sds
322523c

Choose a tag to compare

New Features

  • Add FixMe pre-commit hook, to ensure that no "token" words slips through.
    These strings are things you should fix now, not later
  • Add YAMLLint pre-commit hook
  • Add LicenseHeader pre-commit enforcement to ensure open source projects
    contain proper license comments
  • Add Foodcritic pre-commit hook
  • Add LineEndings pre-commit hook that allows you to enforcing UNIX- or
    Windows-style line endings

Bug Fixes

  • Fix CapitalizedSubject to not fail when commit message starts with one or
    more empty lines

Overcommit 0.36.0

31 Aug 19:58
@sds sds
f3ab78f

Choose a tag to compare

  • Add Fasterer pre-commit hook
  • Add Brakeman pre-push hook
  • Add TSLint pre-commit hook
  • Validate that hook env environment configurations have valid names/values