- Unreleased
- 1.2.1 - 2026-06-09
- 1.2.0 - 2026-06-03
- 1.1.0 - 2026-06-03
- 1.0.1 - 2026-06-03
- 1.0.0 - 2026-06-02
- No unreleased changes.
- Pin direct runtime and dev dependencies in
package.jsonto exact versions already resolved bypackage-lock.json. - Keep the public API, exports, and Node.js baseline unchanged.
- Add
cacheHub.mode: "redis"and"multi-level"runtime options backed bycache-hub@^2.2.0. - Add Redis lease coordination for cross-process same-key refresh protection.
- Add optional distributed tag invalidation and optional
cache.close?.()lifecycle support. - Make
cache.clear()invalidate the current response cache namespace by internal tag, avoiding Redisflushdb. - Fix
Cache-Controlhelpers so unstored responses never receive a new publicmax-age. - Expand English and Chinese docs with full Memory/Redis/MultiLevel/lease/distributed configuration, lifecycle notes, and Redis troubleshooting.
- Add response cache tags, tag invalidation, key deletion, stats, and remaining TTL APIs.
- Add
X-Cache/Cache-Controlheader helpers and framework adapter helpers. - Add a vext preset for millisecond-based route cache options, readable legacy keys, and 2xx-except-204 status behavior.
- Support
vary: "*"for explicit all-request-header key variation. - Expand English and Chinese docs with full API, tag invalidation, adapter helpers, framework examples, and vext migration notes.
- Remove source map files from npm package output.
- Add a package boundary check that fails when
npm packincludes.mapfiles. - Run the package boundary check in CI, publish workflow, and
prepublishOnly.
- Initialize
response-cache-kitas a framework-agnostic response caching toolkit. - Add
cache-hubas the default and only runtime caching dependency. - Add esbuild-based ESM/CJS builds and TypeScript declaration output.
- Add single-flight protection for same-key concurrent refreshes.
- Add unit tests, benchmark scripts, and same-category comparison entry points.
- Add Chinese documentation and framework integration examples.
- Raise same-key expired-race benchmark coverage to 10000 concurrent requests.
- Replace the standalone naming explanation with concise positioning and add full configuration/API reference tables.
- Replace external store injection with
cacheHubconfiguration for the internalcache-hubstore. - Expand README and Chinese docs with user-facing configuration guidance, complete examples, partition key guidance, and troubleshooting.
- Add GitHub Actions CI and tag-based npm publishing workflows.