Releases: unjs/hookable
Releases Β· unjs/hookable
v6.0.1
v6.0.0-rc.2
v6.0.0
Note
This release makes hookable 20-40x faster (thanks to @negezor) and %79 smaller (-2,258 bytes) when using new HookableCore.
Important
Hook results sometimes might not be a promise. Make sure to await on them.
π Enhancements
π₯ Performance
β οΈ Improve performance, reduce allocations, and avoid promises (#102)
π Refactors
π¦ Build
- Correct
typesorder in `exports (#122) β οΈ Esm-only dist (89d1bcb)- Add
type: "module"(93e5d41) - Add
"sideEffects": falseto package.json (1eb317a)
β Tests
- Add bundle size test (e58f2e7)
β€οΈ Contributors
- Pooya Parsa (@pi0)
- Vlad (@negezor)
- Kricsleo (@kricsleo)
- Kanon (@ysknsid25)
v6.0.0-rc.1
See v6.0.0 notes.
v5.5.3
π©Ή Fixes
- Clone hook arrays before calling (#79)
π‘ Chore
- Update deps (8b5765f)
β€οΈ Contributors
- Pooya Parsa (@pi0)
- Daniel Roe daniel@roe.dev
v5.5.2
π Documentation
- Add
removeAllHooksand fix typos (#72)
π Types
- Work with strict config (#63)
π‘ Chore
β€οΈ Contributors
- Pooya Parsa (@pi0)
- RafaΕ ChΕodnicki (@rchl)
- Vinccool96 Vinccool96@gmail.com
- Nozomu Ikuta
v5.5.1
π©Ή Fixes
- Shift name out of arg array (#71)
π Documentation
- Update badges (13b0c90)
β€οΈ Contributors
- Daniel Roe daniel@roe.dev
- SΓ©bastien Chopin seb@nuxtjs.com
v5.5.0
π Enhancements
- Add function name to hook for better dx in stacktraces (#68)
- Use
console.createTaskto improve traces where supported (#69) - Add
removeAllHooksutility (#61)
π‘ Chore
- Add latest
@types/nodepackage (#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
- Nozomu Ikuta
- Pooya Parsa (@pi0)
- Daniel Roe daniel@roe.dev