Skip to content

Version 2.19.0

Choose a tag to compare

@veewee veewee released this 03 Feb 06:32
· 7 commits to v2.x since this release
v2.19.0

What's Changed

Upgrading

❗ Requires re-initialization from git hooks

In the new version of our dependency gitlib, you need to pass the --raw option to the git diff that is being parsed by the pre-commit hooks. This means you'll need to change your git hook after upgrading:

./vendor/bin/grumphp git:init

If you are using a custom hook, make sure to add the --raw parameter to git diff first:

Example:
https://github.com/veewee/grumphp/blob/81a6f9ae3bc0aa96eeb842545ed0b86eb8cd2a1c/resources/hooks/local/pre-commit#L9

DIFF=$(git -c diff.mnemonicprefix=false -c diff.noprefix=false --no-pager diff --raw -r -p -m -M --full-index --no-color --staged | cat)

Full Changelog: v2.18.0...v2.19.0