Skip to content

Commit

Permalink
Add 1.0.0 to CHANGELOG.md and consolidate changes since 0.14.3
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Sep 25, 2018
1 parent 4949717 commit 9b1d8d8
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# 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

* Update docs
Expand Down Expand Up @@ -111,7 +153,7 @@
* `sendemail-validate` hook [#173](https://github.com/typicode/husky/pull/173)
* `HUSKY_SKIP_INSTALL` environment variable for skipping git hooks installation [#178](https://github.com/typicode/husky/pull/178)
* `.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
* Move config from `scripts` field to `husky` field
* Prefer raw names for Git hooks (`pre-commit` rather than `precommit`)
Expand Down

0 comments on commit 9b1d8d8

Please sign in to comment.