Skip to content

Releases: sds/overcommit

Overcommit 0.59.0

28 Apr 18:04
@sds sds
v0.59.0
274e8d6
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
  • Fix case where no standard input is provided to pre-push hooks

Overcommit 0.52.0

15 Dec 03:24
@sds sds
v0.52.0
b4635a3
Compare
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