Skip to content

Releases: typicode/husky

v5.0.6

11 Dec 23:47
Compare
Choose a tag to compare
  • Remove unused files

v5.0.5

11 Dec 23:46
Compare
Choose a tag to compare
  • Fix custom directory support #827

v4.3.5

11 Dec 23:48
Compare
Choose a tag to compare
  • Rollback and do not throw error if husky install fails

v4.3.4

05 Dec 11:22
Compare
Choose a tag to compare
  • Throw error if husky install fails
  • Add workaround for npm 7 currently missing INIT_CWD environment variable

v5.0.0

16 Nov 14:52
Compare
Choose a tag to compare

👉 See https://typicode.github.io/husky for breaking changes and new installation instructions.

Note about the license

Husky 5 is released under The Parity Public License.

It doesn't affect you if you're using husky in an Open Source project or if you're a sponsor. You're free to use it as usual and I hope you'll enjoy this new release ❤️

If you're using husky in a commercial project, you may want to consider becoming a sponsor to support the project. You can also try it for 30 days.

This is only for a limited time, husky will be MIT again later.

Migrating

Important Husky v5 brings a lot of improvements but is also very different from v4. Git hooks won't work if you only upgrade husky dependency, existing config needs to be migrated too.

The best way to switch to v5 is to follow the new installation instructions and migrate existing hooks command using husky add.

v5.0.0-alpha.5

22 Sep 03:13
Compare
Choose a tag to compare
v5.0.0-alpha.5 Pre-release
Pre-release
5.0.0-alpha.5

v4.3.0

07 Sep 09:57
Compare
Choose a tag to compare
  • Add .cjs config file support #754

v4.2.5

09 Apr 21:29
Compare
Choose a tag to compare
  • Fix wrong error message #709
  • Update dependencies #710

v4.2.4

09 Apr 16:31
Compare
Choose a tag to compare
  • When Node version is unsupported, log actual version in addition to the error message #701
  • Fix: support cnpm package manager #687
  • Fix: always use sh to run scripts and avoid inconsistencies #707
  • Fix: don't throw error if files are already removed during uninstall #708

v4.2.3

12 Feb 23:12
Compare
Choose a tag to compare
  • Fix: check for husky.config.js not .huskyrc.config.js #669