Tags: Ashraf-Ali-aa/overcommit
Tags
0.37.0 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`](https://github.com/adrienverge/yamllint) pre-commit hook * Add `LicenseHeader` pre-commit enforcement to ensure open source projects contain proper license comments * Add [`Foodcritic`](http://www.foodcritic.io/) 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
0.36.0 * Add [`Fasterer`](https://github.com/DamirSvrtan/fasterer) pre-commit hook * Add [`Brakeman`](http://brakemanscanner.org/) pre-push hook * Validate that hook `env` environment configurations have valid names/values
0.35.0 * 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`](https://github.com/rubysec/bundler-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`](https://www.npmjs.com/package/commitplease)
0.34.0 * 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
0.33.0 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
0.32.0
New Features
* Hooks are now run in parallel by default
* Add `concurrency` global option allowing you to specify the number of threads
to use when running hooks concurrently
* Add `parallelize` hook option which specifies whether or not this hook should
be run in parallel (default is `true`)
* Add `processors` hook option allowing you to specify how many processing
units a hook should require
* Add `ForbiddenBranches` pre-commit hook which prevents creating a commit
on any blacklisted branch by name/pattern
* Add `MessageFormat` commit-msg hook to validate commit messages against
a regex pattern
Changes
* Improve error message output when there is a problem processing messages
via `extract_messages` pre-commit hook helper
* Switch `ScssLint` pre-commit hook to use the JSON output formatter instead
of the default formatter
* Change tense of hook descriptions from progressive indicative form ("Running")
to indicative present form ("Run") so output reads better in parallel hook
runs
Bug Fixes
* Fix bug where amending a commit with command line arguments containing
Unicode characters could cause a crash due to invalid byte sequences
* Fix `Minitest` pre-push hook to include all test files
0.32.0.rc1 * Add `concurrency` global option allowing you to specify the number of threads to use when running hooks concurrently * Add `parallelize` hook option which specifies whether or not this hook should be run in parallel (default is `true`) * Add `processors` hook option allowing you to specify how many processing units a hook should require
PreviousNext