Skip to content

2026-11-07

Latest

Choose a tag to compare

@jaredwray jaredwray released this 07 Nov 17:03
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.
cc137a2

Releasing 8 packages: cacheable-request@14.0.0 (major), cacheable@2.6.0 (minor), @cacheable/utils@2.5.1 (patch), cache-manager@7.2.10 (patch), @cacheable/memory@2.2.1 (patch), @cacheable/net@2.1.1 (patch), @cacheable/node-cache@3.1.2 (patch), flat-cache@6.1.24 (patch).

cacheable-request@14.0.0 — 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 upgrade normalize-url from 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

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-request@13.0.19...cacheable-request@14.0.0


cacheable@2.6.0 — 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

Full List of Changes

Full diff: https://github.com/jaredwray/cacheable/compare/cacheable@2.5.0...cacheable@2.6.0


@cacheable/utils@2.5.1 — 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

Full List of Changes

Full diff: https://github.com/jaredwray/cacheable/compare/@cacheable/utils@2.5.0...@cacheable/utils@2.5.1


cache-manager@7.2.10 — 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

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-manager@7.2.9...cache-manager@7.2.10


@cacheable/memory@2.2.1 — 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

Full List of Changes

Full diff: https://github.com/jaredwray/cacheable/compare/@cacheable/memory@2.2.0...@cacheable/memory@2.2.1


@cacheable/net@2.1.1 — 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

Full List of Changes

Full diff: https://github.com/jaredwray/cacheable/compare/@cacheable/net@2.1.0...@cacheable/net@2.1.1


@cacheable/node-cache@3.1.2 — 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.node from >=22 to >=22.18.0

Contributors

Full List of Changes

Full diff: https://github.com/jaredwray/cacheable/compare/@cacheable/node-cache@3.1.1...@cacheable/node-cache@3.1.2


flat-cache@6.1.24 — 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

Full List of Changes

Full diff: https://github.com/jaredwray/cacheable/compare/flat-cache@6.1.23...flat-cache@6.1.24