Skip to content

Latest commit

 

History

History
443 lines (201 loc) · 13.4 KB

CHANGELOG.md

File metadata and controls

443 lines (201 loc) · 13.4 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

v5.5.3

compare changes

🩹 Fixes

  • Clone hook arrays before calling (#79)

🏡 Chore

❤️ Contributors

v5.5.2

compare changes

📖 Documentation

  • Add removeAllHooks and fix typos (#72)

🌊 Types

  • Work with strict config (#63)

🏡 Chore

  • lint: Run lint:fix to fix formatting (#77)
  • Update dependencies (9443040)

❤️ Contributors

v5.5.1

compare changes

🩹 Fixes

  • Shift name out of arg array (#71)

📖 Documentation

❤️ Contributors

v5.5.0

compare changes

🚀 Enhancements

  • Add function name to hook for better dx in stacktraces (#68)
  • Use console.createTask to improve traces where supported (#69)
  • Add removeAllHooks utility (#61)

🏡 Chore

  • Add latest @types/node package (#66)
  • Add .prettierrc (4b3e99b)
  • Use changelogen for releases (151d16b)
  • Simplify variable names (369a2fe)

✅ Tests

  • Fix vitest type issue (#70)

🎨 Styles

  • Format with prettier (#65)

❤️ Contributors

5.4.2 (2022-11-15)

Bug Fixes

  • add types subpath export (211ee2e)

5.4.1 (2022-10-15)

Bug Fixes

  • 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)

Features

5.3.0 (2022-09-02)

Features

  • allow registering a hook without showing deprecated message (0fcd787)

Bug Fixes

  • show deprecation warning only once (526e4dc)

5.2.2 (2022-08-23)

Bug Fixes

  • only specify return type for callHook/callHookParallel (ed0d6a8)

5.2.1 (2022-08-23)

Bug Fixes

  • ensure calling hooks always returns a promise (44679c8)

5.2.0 (2022-08-23)

Features

  • add beforeEach and afterEach spies (#46) (949d8b7)

Bug Fixes

  • deprecate hooks doesn't have to be passed all hooks (#48) (0c4fef0)

5.1.2 (2022-08-23)

Bug Fixes

  • handle deprecated hooks after being registred (23d9ff4)

5.1.1 (2021-12-21)

Bug Fixes

  • always return caller result (e9c51df)

5.1.0 (2021-12-20)

Features

  • callHookParallel and callHookWith (#35) (4a8cc53)

5.0.0 (2021-09-01)

Bug Fixes

5.0.0-2 (2021-08-27)

Bug Fixes

  • allow type inference for hook, hookOnce and removeHook (#29) (22b74d3)

5.0.0-1 (2021-08-27)

Bug Fixes

  • allow nested hooks type to omit some hooks (#28) (75f2a05)

5.0.0-0 (2021-08-26)

⚠ BREAKING CHANGES

  • 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

Features

  • 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)

Bug Fixes

  • avoid creating extra wrapper when merging hooks (790c1c4)

4.4.0 (2021-01-21)

Features

  • pkg: expose module format (2987b09)

4.3.1 (2020-11-06)

Bug Fixes

4.3.0 (2020-11-06)

Features

4.2.0 (2020-10-23)

Features

Bug Fixes

  • typecheck for flatHooks (7800190)

4.1.2 (2020-08-24)

Bug Fixes

  • build: exclude regenerator and update target to ie 11 (48acfc5)

4.1.1 (2020-04-28)

Bug Fixes

  • pkg: typo in types entry name (fixes #19) (b9ba90f)

4.1.0 (2020-04-17)

Features

  • types: implement strict types (823cdca)

4.0.0 (2020-04-17)

⚠ BREAKING CHANGES

  • only dist and types getting published

Features

3.0.0 (2020-02-25)

Bug Fixes

Features

2.3.0 (2019-09-01)

Features

  • hide deprecate warnings on production builds (0861df3)

2.2.1 (2019-08-21)

2.2.0 (2019-08-21)

Features

2.1.0 (2019-08-21)

Features

  • optional fatal support for logger (7c7355d)

2.0.1 (2019-08-21)

2.0.0 (2019-08-21)

Features

BREAKING CHANGES

  • console is replaced by consola by default

1.0.1 (2019-03-16)

Bug Fixes

1.0.0 (2019-02-11)

Features

BREAKING CHANGES

  • api change

0.0.7 (2018-01-28)

Bug Fixes

  • hook with array or falsy key (7e90de1)

Performance Improvements

0.0.6 (2018-01-26)

Performance Improvements

  • reduce transpiled dist size (df607cf)

0.0.5 (2018-01-26)

Bug Fixes

0.0.4 (2018-01-26)

Performance Improvements

  • handle fn as array faster (ec35edc)

0.0.3 (2018-01-26)

Bug Fixes

  • bind hookObj to this context (6f6f7bc)

Performance Improvements

0.0.2 (2018-01-26)