Overcommit v0.27.0 Release Notes

  • ๐Ÿ†• New Features

    • โž• Add HtmlHint pre-commit hook that checks HTML files with HTMLHint
    • โž• Add support to the hook execute helper for accepting an optional list of splittable command arguments for transparently dealing with really long file lists and the operating system command length limit
    • โž• Add modified_files helper to PostCheckout and PostRewrite hooks
    • โž• Add rewritten_commits helper to PostRewrite hooks
    • โž• Add gemfile option to configuration file which allows a Gemfile to be loaded by Bundler to enforce particular gem versions during hook runs
    • โž• Add support for OVERCOMMIT_DEBUG environment variable which toggles the display of additional verbose output from executed commands
    • โž• Add support for defining [hooks based on your existing git hooks](README.md#adding-existing-git-hooks) within your .overcommit.yml (no Ruby code required)
    • โž• Add support for filtering all hooks except a small list via the ONLY environment variable (similar to SKIP except a whitelist instead of blacklist)

    ๐Ÿ”„ Changes

    • Don't display "No applicable hook-type hooks to run" message unless debug mode is enabled

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix pre-commit hook bug where amending a commit which breaks a symlink would result in that symlink not being included in the list of modified files
    • ๐Ÿ›  Fix CaseConflicts pre-commit hook handling of large sets of files
    • ๐Ÿ›  Fix SemiStandard/Standard hooks to read from STDOUT instead of STDERR and handle new output format
    • ๐Ÿ›  Fix commit-msg hooks to handle large commit messages auto-generated by the --verbose flag for git commit