NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1435 most downloaded on npm
Modern native Git hooks
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 13 months
Most releases are documented
notes for 49 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
215 releases · first in 2014
Add .cjs config file support #754
.cjs config file support #754* Fix wrong error message #709 * Update dependencies #710
When Node version is unsupported, log actual version in addition to the error message #701
cnpm package manager #687sh to run scripts and avoid inconsistencies #707One column per quarter.
Fix: check for husky.config.js not .huskyrc.config.js #669
husky.config.js not .huskyrc.config.js #669Fix #662 disable fast-skip heuristic for .husky.js and .husky.config.js
.husky.js and .husky.config.jsupdate, pre/post-receive hooksFix: support spaces in path to husky.local.sh #658
Check Git version during install and log an error if it's <2.13.0
<2.13.0Improve speed and refactor hooks
Nothing published for this version
Fix: read stdin from hook script
Nothing published for this version
Fix: Yarn when running inside winpty
winpty (#634)Nothing published for this version
Fix: use process.exit if install fails #633
* Fix: npm ignore .eslintrc.js
.eslintrc.js (#627)Fix: error message if trying to install in a non-git repo
Fix: show error message when hook fails
Fix: make Yarn silent. When Husky was installed with Yarn 1.21.1, hooks output was too verbose (#626).
Support Yarn v2 new Plug'n'Play feature (thanks to @arcanis)
Yarn v2 new Plug'n'Play feature (thanks to @arcanis)Cygwin and Cmdr)dependencies and simplify codeNode 10+Thanks to all contributors and everyone who is supporting Husky on Open Collective, GitHub sponsors and Patreon!
- Fixes a bug in v4.0.0-beta.4
v4.0.0-beta.4Rely on INIT_CWD env rather than node_modules path
INIT_CWD env rather than node_modules pathrun-node, read-pkgES2017 environmentsCygwin and Cmdr on WindowsReduce dependencies: remove execa https://github.com/typicode/husky/pull/592 https://github.com/typicode/husky/pull/590 https://github.com/typicode/hu
Merge bug fixes from v3 since v4.0.0-beta.1 was released.
Merge bug fixes from v3 since v4.0.0-beta.1 was released.
Fix: yarn run error
Fix: yarn run error (https://github.com/typicode/husky/pull/562)
This is an experimental release with Yarn PnP support. Huge thanks to @arcanis for the help.
This is an experimental release with Yarn PnP support. Huge thanks to @arcanis for the help.
- Add pre-merge-commit hook
pre-merge-commit hook (#605)Reduce dependencies: replace is-ci with ci-info #579
is-ci with ci-info #579Debug: check GIT_DIR environment variable when hooks are run
GIT_DIR environment variable when hooks are runDebug: display husky version and created at
Debug: display husky version and created at
Nothing published for this version
Fix: prevent postinstall from failing on windows https://github.com/typicode/husky/pull/573
Fix: prevent postinstall from failing on windows https://github.com/typicode/husky/pull/573
Fix: skip install earlier when HUSKY_SKIP_INSTALL=1
Fix: skip install earlier when HUSKY_SKIP_INSTALL=1 (https://github.com/typicode/husky/issues/563)
Fix: prevent old hooks (husky < 1.0) to be run if new ones are defined (husky >= 1.0 ) https://github.com/typicode/husky/issues/556
Fix: prevent old hooks (husky < 1.0) to be run if new ones are defined (husky >= 1.0 ) https://github.com/typicode/husky/issues/556
* Fix: add shebang to run.js
Improve error message if git command fails
__Breaking change__ husky requires now Git >= 2.13.2. If you're already using husky v2 and don't use an old version of Git, you can safely upgrade.
>= 2.13.2. If you're already using husky v2 and don't use an old version of Git, you can safely upgrade.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →