All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- Clone hook arrays before calling (#79)
- Update deps (8b5765f)
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
- Add
removeAllHooks
and fix typos (#72)
- Work with strict config (#63)
- Pooya Parsa (@pi0)
- Rafał Chłodnicki (@rchl)
- Vinccool96 [email protected]
- Nozomu Ikuta
- Shift name out of arg array (#71)
- Update badges (13b0c90)
- Daniel Roe [email protected]
- Sébastien Chopin [email protected]
- Add function name to hook for better dx in stacktraces (#68)
- Use
console.createTask
to improve traces where supported (#69) - Add
removeAllHooks
utility (#61)
- Add latest
@types/node
package (#66) - Add
.prettierrc
(4b3e99b) - Use changelogen for releases (151d16b)
- Simplify variable names (369a2fe)
- Fix vitest type issue (#70)
- Format with prettier (#65)
- Nozomu Ikuta
- Pooya Parsa (@pi0)
- Daniel Roe [email protected]
5.4.2 (2022-11-15)
- add types subpath export (211ee2e)
5.4.1 (2022-10-15)
- accept any hookable (#53) (0eac02c)
- allow parallel hooks with unique time strings (#55) (ee64dc8)
- handle case where hook adds debugger (#54) (f6d4475)
5.4.0 (2022-10-13)
5.3.0 (2022-09-02)
- allow registering a hook without showing deprecated message (0fcd787)
- show deprecation warning only once (526e4dc)
5.2.2 (2022-08-23)
- only specify return type for
callHook
/callHookParallel
(ed0d6a8)
5.2.1 (2022-08-23)
- ensure calling hooks always returns a promise (44679c8)
5.2.0 (2022-08-23)
5.1.2 (2022-08-23)
- handle deprecated hooks after being registred (23d9ff4)
5.1.1 (2021-12-21)
- always return caller result (e9c51df)
5.1.0 (2021-12-20)
5.0.0 (2021-09-01)
5.0.0-2 (2021-08-27)
5.0.0-1 (2021-08-27)
5.0.0-0 (2021-08-26)
- You should directly handle errors with callHook
- use named exports and expose createHooks
- remove mergehooks from Hookable prototype
- drop browser build and use exports field
- improve type checking
-
drop browser build and use exports field (b626770)
-
drop logger and global error handler (ee6ea87)
-
improve type checking (c2e1e22)
-
use named exports and expose createHooks (fadfcbd)
-
remove mergehooks from Hookable prototype (d50af59)
4.4.1 (2021-02-26)
- avoid creating extra wrapper when merging hooks (790c1c4)
4.4.0 (2021-01-21)
- pkg: expose module format (2987b09)
4.3.1 (2020-11-06)
- expose types (0ffbaff)
4.3.0 (2020-11-06)
4.2.0 (2020-10-23)
- hookOnce (225fa8a)
- typecheck for flatHooks (7800190)
4.1.2 (2020-08-24)
- build: exclude regenerator and update target to ie 11 (48acfc5)
4.1.1 (2020-04-28)
4.1.0 (2020-04-17)
- types: implement strict types (823cdca)
4.0.0 (2020-04-17)
- only dist and types getting published
- allow disabling logger (f8fb742)
- allow removing registered hooks (#16) (4134c31)
- migrate to typescript (d63ea3e)
3.0.0 (2020-02-25)
- revert back hooks (07f52dc)
2.3.0 (2019-09-01)
- hide deprecate warnings on production builds (0861df3)
2.2.1 (2019-08-21)
2.2.0 (2019-08-21)
- deprecateHooks (62f2d38)
2.1.0 (2019-08-21)
- optional fatal support for logger (7c7355d)
2.0.1 (2019-08-21)
2.0.0 (2019-08-21)
- custom logger (ada6e37)
- console is replaced by consola by default
1.0.1 (2019-03-16)
- fix package.json (2) (7ff4ce9)
1.0.0 (2019-02-11)
- rewrite for 1.0.0 (88decae)
- api change
0.0.7 (2018-01-28)
- hook with array or falsy key (7e90de1)
- use for in for hookObj (3c8e2e7)
0.0.6 (2018-01-26)
- reduce transpiled dist size (df607cf)
0.0.5 (2018-01-26)
- package: lib ~> dist (34a8d5c)
0.0.4 (2018-01-26)
- handle fn as array faster (ec35edc)
0.0.3 (2018-01-26)
- bind hookObj to this context (6f6f7bc)
- minor refactor (e4083aa)