2026-11-07
ReleaseReleasing 8 packages: [email protected] (major), [email protected] (minor), @cacheable/[email protected] (patch), [email protected] (patch), @cacheable/[email protected] (patch), @cacheable/[email protected] (patch), @cacheable/[email protected] (patch), [email protected] (patch).
[email protected] — 2026-11-07
Raise the Node floor to 20, move to normalize-url 9, and fix a Keyv error-listener leak.
⚠ BREAKING CHANGES
- require Node.js
>=20(was>=18) and upgradenormalize-urlfrom 8 to 9 (3c9b7a2, #1681) Migration: run on Node 20 or newer. Cache-key output from URL normalization is unchanged for the covered cases; no call-site changes are required for normalize-url 9.
Bug Fixes
- keyv error listener leak on every request (
f50b770, #1687)
Internal
- replace sqlite3 test dependency with mock store (
2d9ba73, #1668)
Contributors
- @jaredwray (3)
Full List of Changes
- test(cacheable-request): replace sqlite3 test dependency with mock store by @jaredwray in #1668
- cacheable-request - chore: upgrade normalize-url to 9 (breaking) by @jaredwray in #1681
- cacheable-request - fix: keyv error listener leak on every request by @jaredwray in #1687
Full diff: https://github.com/jaredwray/cacheable/compare/cacheable[email protected]@14.0.0
[email protected] — 2026-11-07
Pass tags through getOrSet, fix delete-stats counting, and move to hookified 3 / qified 0.13.
Features
-
support tag invalidation in getOrSet (
7b880ac, #1695)const cache = new Cacheable({ tags: true }); await cache.getOrSet('summary:products', loadSummary, { ttl: '10m', tags: ['collection:products'], }); await cache.tags.invalidateTag('collection:products'); await cache.get('summary:products'); // undefined
Bug Fixes
- size each key value in deleteMany stats (
dd4562d, #1742) - count falsy values in delete stats (
f885a2e, #1743)
Internal
- upgrade hookified from 1.x to 3.x (
ee2e445, #1679;af377a7, #1728) - upgrade qified to 0.13.2 (
3c1e5b8, #1678;dc843bb, #1725) - upgrade lru-cache to 11.5.3 (
0016839, #1722)
Contributors
- @jaredwray (2)
- @laesse (1)
Full List of Changes
- cacheable - chore: upgrade qified by @jaredwray in #1678
- mono - chore: upgrade hookified to 3 (breaking) by @jaredwray in #1679
- feat(cacheable): support tag invalidation in getOrSet by @laesse in #1695
- mono - chore: upgrade lru-cache to 11.5.3 by @jaredwray in #1722
- mono - chore: upgrade qified and @qified/redis to 0.13.2 by @jaredwray in #1725
- mono - chore: upgrade hookified to 3.0.4 by @jaredwray in #1728
- cacheable - fix: size each key value in deleteMany stats by @jaredwray in #1742
- cacheable - fix: count falsy values in delete stats by @jaredwray in #1743
Full diff: https://github.com/jaredwray/cacheable/compare/cacheable@[email protected]
@cacheable/[email protected] — 2026-11-07
Reject malformed shorthand times, make rough object sizing linear, and move to hashery 3.
Bug Fixes
- reject malformed numbers in shorthandToMilliseconds (
895cf25, #1744)
Performance
- use a Set for visited objects in roughSizeOfObject (
dd4562d, #1742)
Internal
- upgrade hashery from 1.x to 3.x (
7c6ea10, #1680;2ca8959, #1727)
Contributors
- @rudycelekli (1)
- @jaredwray (1)
Full List of Changes
- utils - chore: upgrade hashery to 3 (breaking) by @jaredwray in #1680
- mono - chore: upgrade hashery to 3.0.2 by @jaredwray in #1727
- cacheable - fix: size each key value in deleteMany stats by @jaredwray in #1742
- utils - fix: reject malformed numbers in shorthandToMilliseconds by @rudycelekli in #1744
Full diff: https://github.com/jaredwray/cacheable/compare/@cacheable/[email protected]...@cacheable/[email protected]
[email protected] — 2026-11-07
Use one bulk deleteMany call per store in mdel.
Bug Fixes
- use store.deleteMany in mdel instead of per-key delete loop (
4267158, #1697)
Contributors
- @pavelmaksimov25 (1)
Full List of Changes
- cache-manager - fix: use store.deleteMany in mdel instead of per-key delete loop by @pavelmaksimov25 in #1697
Full diff: https://github.com/jaredwray/cacheable/compare/cache[email protected]@7.2.10
@cacheable/[email protected] — 2026-11-07
Move the runtime dependency floor to hookified 3.
Internal
- upgrade hookified from 1.x to 3.x (
ee2e445, #1679;af377a7, #1728)
Contributors
- @jaredwray (2)
Full List of Changes
- mono - chore: upgrade hookified to 3 (breaking) by @jaredwray in #1679
- mono - chore: upgrade hookified to 3.0.4 by @jaredwray in #1728
Full diff: https://github.com/jaredwray/cacheable/compare/@cacheable/[email protected]...@cacheable/[email protected]
@cacheable/[email protected] — 2026-11-07
Raise undici to 8.12.2 for the CVE floor and move to hookified 3.
Internal
- upgrade undici from 7.x to 8.12.2 (
c21df29, #1682;d93554f, #1684;3a21341, #1708;f912384, #1730;b8e4f2c, #1746) - upgrade hookified from 1.x to 3.x (
ee2e445, #1679;af377a7, #1728)
Contributors
- @jaredwray (7)
Full List of Changes
- mono - chore: upgrade hookified to 3 (breaking) by @jaredwray in #1679
- net - chore: upgrade undici to 8 (breaking) by @jaredwray in #1682
- net - chore: upgrade undici to 8.7.0 by @jaredwray in #1684
- net - chore: upgrade undici to 8.9.0 for CVE fixes by @jaredwray in #1708
- mono - chore: upgrade hookified to 3.0.4 by @jaredwray in #1728
- mono - chore: upgrade undici to 8.11.2 by @jaredwray in #1730
- fix: security - upgrade undici to 8.12.2 and 7.30.1 by @jaredwray in #1746
Full diff: https://github.com/jaredwray/cacheable/compare/@cacheable/[email protected]...@cacheable/[email protected]
@cacheable/[email protected] — 2026-11-07
Move to hookified 3 and tighten the Node engines floor to >=22.18.0.
Internal
- upgrade hookified from 2.x to 3.x (
ee2e445, #1679;af377a7, #1728) - raise
engines.nodefrom>=22to>=22.18.0
Contributors
- @jaredwray (2)
Full List of Changes
- mono - chore: upgrade hookified to 3 (breaking) by @jaredwray in #1679
- mono - chore: upgrade hookified to 3.0.4 by @jaredwray in #1728
Full diff: https://github.com/jaredwray/cacheable/compare/@cacheable/[email protected]...@cacheable/[email protected]
[email protected] — 2026-11-07
Move to hookified 3 and bump flatted to 3.4.4.
Internal
- upgrade hookified from 1.x to 3.x (
ee2e445, #1679;af377a7, #1728) - upgrade flatted to 3.4.4 (
db17eb5, #1726)
Contributors
- @jaredwray (3)
Full List of Changes
- mono - chore: upgrade hookified to 3 (breaking) by @jaredwray in #1679
- mono - chore: upgrade flatted to 3.4.4 by @jaredwray in #1726
- mono - chore: upgrade hookified to 3.0.4 by @jaredwray in #1728
Full diff: https://github.com/jaredwray/cacheable/compare/flat[email protected]@6.1.24