Releases: unjs/hookable
Releases · unjs/hookable
v6.1.1
🩹 Fixes
- Await thenables to support cross-realm promises (#139)
Thanks to @brandonroberts for report ❤️
v6.1.0
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