Skip to content

Releases: sds/overcommit

Overcommit 0.39.1

07 Apr 04:40
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

Overcommit 0.35.0

09 Aug 19:06
@sds sds
Compare
Choose a tag to compare
  • Drop support for Ruby 1.9.3
  • Fix JavaCheckstyle pre-commit hook to properly categorize INFO and WARN messages
  • Add TestUnit pre-push hook to run tests with Test::Unit
  • Add BundleAudit pre-commit hook to scan gems for vulnerabilities with bundle-audit
  • Copy hook files instead of symlinking
  • Add Credo pre-commit hook to check Elixir files
  • Remove Brakeman pre-commit hook as it could erroneously report clean runs depending on which files were committed to your repository. You should run this tool in a separate job/task in your CI runs as it doesn't make for a good pre-commit hook.
  • Add Commitplease pre-commit hook which checks commit messages with commitplease

Overcommit 0.34.2

27 Jun 22:17
@sds sds
Compare
Choose a tag to compare

A hotfix release to address quirks with using Overcommit with the new commit.gpgsign Git configuration option introduced in Git 2.0+.

  • Add --no-color flag to all git diff/git show calls to override local configuration
  • Ignore commit.gpgsign configuration option when creating stash commits in pre-commit hooks

Overcommit 0.34.1

16 Jun 20:58
@sds sds
Compare
Choose a tag to compare

A hotfix release to fix installation of Overcommit on systems with newer versions of RubyGems, which now preserve symlinks by default (previous behavior was to convert symlinks to regular files).

  • Switch template directory hooks from symlinks to regular files so gem can be installed on Windows

Overcommit 0.34.0

14 Jun 06:25
@sds sds
Compare
Choose a tag to compare

Mostly bug fixes with a few minor enhancements.

  • Fix Scalastyle pre-commit hook to capture messages with no line number
  • Fix CoffeeLint pre-commit hook detection of modified lines
  • Fix Jscs pre-commit hook to work with jscs 3.0.0+
  • Fix CapitalizedSubject pre-commit hook to ignore commit message subjects
    starting with fixup! or squash! special prefixes
  • Add BundleOutdated pre-commit hook to report gems in the Gemfile.lock
    that have newer versions available
  • Add destructive_only option to ProtectedBranches pre-push hook
  • Include .ru files in RuboCop pre-commit hook
  • Fix TextWidth to ignore special fixup!/squash! prefixes in commit
    message subjects when determining width of line

Overcommit 0.33.0

06 Apr 06:36
@sds sds
Compare
Choose a tag to compare

The most notable update in this release is Overcommit's change in behavior to automatically invoke a Bundler context when running a CLI command if the gemfile option is specified in your .overcommit.yml. This saves you from having to prepend bundle exec ... to the overcommit command in order to use gems specified in the Gemfile specified by gemfile.

New Features

  • Add global quiet option which silences all hook output except in the case
    of warning or error

Changes

  • Official support for Rubinius has been dropped. It will probably still work
    for most use cases, but parallelized hook runs may be problematic. If someone
    from the community is willing to step up to support it, we'll gladly add it
    back
  • Change overcommit CLI to automatically run within a Bundler context if the
    gemfile option is specified. This mainly saves you from needing
    bundle exec when running overcommit --run

Bug Fixes

  • Fix AuthorName/AuthorEmail pre-commit hooks to respect
    GIT_AUTHOR_NAME/GIT_AUTHOR_EMAIL environment variables, respectively
  • Fix JavaCheckstyle pre-commit hook to ignore [ERROR] prefix when parsing
    output messages