Skip to content

Releases: sds/overcommit

0.60.0

20 Jan 07:00
@sds sds
v0.60.0
2214dd1

Choose a tag to compare

  • Allow overriding Gemfile.lock location for BundleCheck pre-commit hook
  • Fix ReplaceBranch prepare-commit-msg hook to allow trailing spaces
  • Add MixFormat pre-commit hook
  • Add MixTest pre-push hook
  • Allow loading custom local configuration from .local-overcommit.yml
  • Handle Psych::DisallowedClass when running YamlSyntax pre-commit hook
  • Add support for specifying custom encoding in RailsSchemaUpToDate pre-commit hook

Overcommit 0.59.0

28 Apr 18:04
@sds sds
v0.59.0
274e8d6

Choose a tag to compare

  • Add --disable-pending-cops as default flag to RuboCop pre-commit hook to ignore non-existent cops. Requires RuboCop 0.82.0 or newer.
  • Fix deprecation warning for Bundler.with_clean_env.
  • Fix handling of some kinds of pronto errors in the Pronto hook.
  • Fix encoding of process output on Windows.
  • Add support for specifying hook type to --run flag.
  • Fix message regex parser for Stylelint.
  • Fix configuration loading on Ruby 3.1.
  • Fix YamlSyntax to support aliases when parsing.
  • Fix run output to explicitly flush partial logs.

Overcommit 0.58.0

31 May 16:27
@sds sds
v0.58.0
54b61f9

Choose a tag to compare

  • Add rexml dependency explicitly to support Ruby 3.0.
  • Add DartAnalyzer pre-commit hook to analyze Dart files.
  • Add PubTest and FlutterTest pre-push hooks to run pub test and flutter test for Dart projects, respectively.
  • Update index-tags script to support scanning only files tracked by Git.
  • Fix EsLint pre-commit hook to not report certain false positives.
  • Update YamlLint to fail the run instead of warn when errors are detected.
  • Update YamlLint parse the line number of output so it is line aware.
  • Gracefully handle breaking behavior in upstream Psych gem to support YAML aliases.
  • Fix case where git would delete all tracked files when popping stash.

Overcommit 0.57.0

03 Oct 01:01
@sds sds
v0.57.0
c94bd13

Choose a tag to compare

  • Fix CommitMsg hooks to be able to call modified_lines_in_file.
  • Add ErbLint pre-commit hook to lint ERB files.

Overcommit 0.56.0

25 Sep 17:02
@sds sds
v0.56.0
7c2ebb2

Choose a tag to compare

  • Update ReplaceBranch prepare-commit-msg hook to avoid running on --amend by default.
  • Add support for modified_files and modified_lines_in_file in CommitMsg hooks.

Overcommit 0.55.0

15 Jul 01:50
@sds sds
v0.55.0
0491737

Choose a tag to compare

  • Fix GoFmt to not be enabled by default. This was enabled by mistake when introduced in Overcommit 0.52.0.

Overcommit 0.54.1

14 Jul 03:58
@sds sds
v0.54.1
bbac977

Choose a tag to compare

  • Fix Overcommit::GitRepo.list_files helper to work with arbitrarily large lists of files.
  • Fix AuthorName to allow mononyms to be more inclusive of names.

Overcommit 0.54.0

25 Jun 05:29
@sds sds
v0.54.0
e48dcea

Choose a tag to compare

  • Fix YamlLint pre-commit hook by adding --strict flag
  • Relax childprocess gem version constraint to allow version 4.x

Overcommit 0.53.0

24 Apr 05:41
@sds sds
v0.53.0
a409887

Choose a tag to compare

  • Improve performance in PhpCs pre-commit hook
  • Add Pronto pre-push hook
  • Remove erroneous extra newline in replacement string for ReplaceBranch prepare-commit-msg hook
  • Add note about potentially checking your stash when hook is interrupted
  • Add support for skipping hooks based on command result using the skip_if option

Overcommit 0.52.1

04 Jan 01:50
@sds sds
v0.52.1
97e8610

Choose a tag to compare

  • Fix case where no standard input is provided to pre-push hooks