All Versions
92
Latest Version
Avg Release Cycle
57 days
Latest Release
-

Changelog History
Page 7

  • v0.9.0 Changes

    • Include --force-exclusion flag in Rubocop hook so files excluded via .rubocop.yml are actually excluded
    • โž• Add pre-commit JsxHint hook which uses the JSXHint project
    • โž• Add pre-commit BerksfileCheck hook which warns you when your Berksfile.lock is out of sync with your Berksfile
    • ๐Ÿ›  Fix BundleCheck to use git ls-files instead of git check-ignore, as the latter is only available as of git 1.8
    • ๐Ÿ›  Fix bug where skipping a hook via the SKIP environment variable would incorrectly warn about the hook's configuration having changed
    • โž• Add MergeConflicts pre-commit hook which checks for unresolved merge conflicts in files
    • โž• Add RailsSchemaUpToDate pre-commit hook which checks for schema.rb/structure.sql that aren't up-to-date with the latest migration
    • โž• Add PryBinding pre-commit hook which checks for binding.pry calls that have been left behind in code
    • โž• Add LocalPathsInGemfile pre-commit hook which checks for gem dependencies pointing to local paths in a Gemfile
    • โž• Add JsonSyntax pre-commit hook which checks the syntax of all .json files
    • โž• Add Brakeman pre-commit hook which runs security checks against code (disabled by default as it is slow)
    • โž• Add ChamberSecurity pre-commit hook which ensures that chamber secure has been run before committing your changes (see the Chamber gem for more information)
  • v0.8.0 Changes

    • โž• Add pre-commit TravisLint hook which uses the travis-lint gem
    • โš  Display actual warning message when dependencies aren't satisfied in post-checkout BundleCheck hook
    • โž• Add support for hook plugin signature verification so that you don't automatically execute repo-specific hooks that changed since you last ran them. See [Security](README.md#security) for more information
    • โšก๏ธ Automatically update overcommit-hook master hook and any other symlinks before hook run. Run overcommit --install if you're upgrading to save you from having to run overcommit --install in the future
  • v0.7.0 Changes

    • ๐Ÿ”„ Change command hook helper signature to accept an array of arguments instead of a shell string
    • ๐Ÿ“‡ Rename command hook helper to execute
    • โž• Add support for JRuby 1.7.9 in Ruby 1.9 mode
    • Display more helpful error message when installing Overcommit into a repo that already has non-Overcommit hooks
    • โž• Add --force flag allowing Overcommit to be installed in repositories that already contain non-Overcommit hooks (overwriting them in the process)
  • v0.6.3 Changes

    • ๐Ÿ‘ TextWidth pre-commit hook now supports customized maximum subject line and commit message body widths
    • ๐Ÿ›  Fix bug where committing a change with only file deletions would result in those changes not being committed
    • Warn instead of failing when gem dependencies are out of date in BundleCheck post-checkout hook
  • v0.6.2 Changes

    • ๐Ÿ›  Fix bug where hook run would crash if hook was unsuccessful but returned no output
  • v0.6.1 Changes

    • ๐Ÿ›  Fix bug where a plugin would fail to load if it had a custom configuration defined
  • v0.6.0 Changes

    • ๐Ÿ’ฅ Breaking changes: plugin framework has been overhauled. You must now subclass Overcommit::Hook::<Type> and implement the method run instead of run_check. Also, the old hook runner no longer works, so you'll need to remove the hooks installed in .git/hooks and install new ones with overcommit --install
    • ๐Ÿ”ง Configuration for repository can be specified via .overcommit.yml file
    • Can now skip hooks using just SKIP instead of SKIP_CHECKS environment variable
    • โž• Add --template-dir flag which provides a convenient way to auto-install overcommit via Git template directories
    • ๐Ÿ’Ž Converted all script-based hook scripts to Ruby-based ones
    • AuthorEmail check can be customized so emails match a regex
    • Whitespace check was split into HardTabs and TrailingWhitespace
    • โž• Add pre-commit JavaScript style checking with JSCS
    • โž• Add BundleCheck pre-commit hook which checks if Gemfile.lock matches Gemfile
  • v0.5.0 Changes

    • ๐Ÿ‘• Use per-file .scss-lint.yml configuration for staged files
  • v0.4.1 Changes

    • โœ‚ Remove RestrictedPaths pre-commit check
  • v0.4.0 Changes

    • โž• Added pre-commit check that optimizes images with image_optim
    • Don't include submodules in the list of modified files