This release adds 2 notable features for engineering teams evaluating rollout.
Published 3mo
Caching
✓ No known CVEs patched
✓ No known CVEs patched in this version
Topics
cache-manager
cache
memory-cache
multi-layer-cache
nodejs
redis
+2 more
stampede-prevention
typescript
Summary
AI summaryFixed CacheStack graceful degradation on coordinator failure.
Full changelog
Added
- Real Redis-backed benchmark harnesses for direct cache behavior, HTTP throughput, edge cases, slow Redis, queue amplification, and multi-process fan-out.
- New benchmark utility coverage and Redis single-flight coordinator tests.
Changed
- Version bumped from
1.2.9to1.3.0. README.mdnow reflects the current validation baseline with 431 passing tests.
Fixed
RedisLayerandRedisSingleFlightCoordinatornow support per-command Redis timeouts viacommandTimeoutMs.CacheStacknow degrades gracefully when the distributed single-flight coordinator fails and preserves local single-flight collapse for concurrent misses.StampedeGuardnow shares in-flight promises across concurrent callers instead of serializing them through a mutex queue.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About flyingsquirrel0419/layercache
All releases →Related context
Earlier breaking changes
- v4.0.0 Write coordination applies finite default limits and can reject saturated work with CacheWriteSaturationError.
- v4.0.0 Automatically derived structured `wrap()` keys now use the `j2:` schema; old `j:` entries become cold misses and expire naturally.
- v4.0.0 Read-through fetchers now cache null as a regular value by default; `getOrThrow()` returns stored nulls while throwing only for undefined.
- v4.0.0 Public CacheStack reads now return undefined for misses and negative-cache entries instead of null.
Beta — feedback welcome: [email protected]