Comparing version 1.0.0-rc.15 to 1.0.0
# CHANGELOG | ||
## 1.0.0 | ||
After a year of pre-releases and a complete rewrite, this marks the first stable release of husky 🐶🎉. | ||
### Notable changes | ||
Below you'll find consolidated changes since `0.14.3`. There's no change in code between `1.0.0-rc.15` and `1.0.0`. | ||
* Hooks | ||
* Add `sendemail-validate` hook | ||
* Config | ||
* Move hooks config from `scripts` field to `husky` field | ||
* Prefer raw names for hooks (e.g. `pre-commit` rather than `precommit`) | ||
* Support `.huskyrc` config | ||
* Package managers | ||
* Support environments where [yarn](https://github.com/yarnpkg/yarn/) is the only package manager installed | ||
* Support [pnpm](https://github.com/pnpm/pnpm) package manager | ||
* Environment variables | ||
* Add `HUSKY_SKIP_INSTALL` environment variable for skipping git hooks installation | ||
* Add `HUSKY_GIT_STDIN` environment variable for `pre-push`, `pre-receive`, `post-receive` and `post-rewrite` to access arguments passed by Git via stdin | ||
* Rename `GIT_PARAMS` to `HUSKY_GIT_PARAMS` | ||
* Messages | ||
* Add many more messages in case of errors | ||
* Add [please-upgrade-node](https://github.com/typicode/) message if using with unsupported Node version | ||
* Make `--no-verify` message more accurate and only show it for hooks that can be skipped | ||
* Upgrade | ||
* Add `husky-upgrade` command to automatically migrate hooks in `package.json` | ||
* Add deprecation warning for hooks that are still defined in `scripts` | ||
* Other | ||
* Drop `Node 4` support | ||
* Drop integrated `nvm` support (see Node version management in docs) | ||
### Credits | ||
Huge thanks to all the Contributors and [Patreon Supporters](https://thanks.typicode.com)! 🙏 | ||
## 1.0.0-rc.15 | ||
@@ -114,3 +156,3 @@ | ||
* `.huskyrc` config [#209](https://github.com/typicode/husky/pull/209) | ||
* `pnpm` support | ||
* [`pnpm`](https://github.com/pnpm/pnpm) support | ||
* Support environments where `yarn` is the only package manager installed | ||
@@ -117,0 +159,0 @@ * Move config from `scripts` field to `husky` field |
{ | ||
"name": "husky", | ||
"version": "1.0.0-rc.15", | ||
"version": "1.0.0", | ||
"description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)", | ||
@@ -5,0 +5,0 @@ "bin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
33063
0