From 983499e09bccef0ae1569ce094e82fe5eb5959cb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 24 Nov 2026 02:39:49 +0000 Subject: [PATCH] Version Packages --- .changeset/isr-tag-read-mget.md | 5 ----- .changeset/single-flight-wording.md | 5 ----- CHANGELOG.md | 8 ++++++++ package.json | 2 +- 4 files changed, 9 insertions(+), 11 deletions(-) delete mode 100644 .changeset/isr-tag-read-mget.md delete mode 100644 .changeset/single-flight-wording.md diff --git a/.changeset/isr-tag-read-mget.md b/.changeset/isr-tag-read-mget.md deleted file mode 100644 index 53e6b67..0000000 --- a/.changeset/isr-tag-read-mget.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@leejpsd/nextjs-cache-handler": patch ---- - -ISR handler: read all of an entry's tag states with one `MGET` instead of one `GET` per tag (#34). A page with five `_N_T_` layout tags now costs two Redis commands per `get()` instead of six; round trips were already one thanks to auto-pipelining, so this matters for per-command pricing and command-rate limits. On Redis Cluster, where the un-namespaced tag keys never share a slot, the handler keeps reading key by key: from the start when the client is the Cluster adapter (new `isCluster` flag on `RedisClientLike`) or `hashTag: true` is set, otherwise from the first `CROSSSLOT` reply on, retrying that read in place and logging one warning. The same fallback applies when `MGET` can never work for another reason: an ACL that allows `GET` but not `MGET`, a server that does not know the command, or a custom client without a usable `mGet`. `tag.expiration.read` is now also emitted by the ISR handler with `meta.strategy` (`"mget"` or `"per-key"`). diff --git a/.changeset/single-flight-wording.md b/.changeset/single-flight-wording.md deleted file mode 100644 index 4966236..0000000 --- a/.changeset/single-flight-wording.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@leejpsd/nextjs-cache-handler": patch ---- - -Docs: correct the `singleFlight` description. The lock reports which instance saw a stale entry first (`cache.stale.refresh.leader` / `.follower`); it does not stop other instances from refreshing, because Next.js decides to refresh after `get()` returns. The README, API reference, option JSDoc and agent skill said or implied that followers skip the refresh. No behavior change. Also links #34 for an in-process L1 and `fetch` miss coalescing wrapper. diff --git a/CHANGELOG.md b/CHANGELOG.md index d60c792..f94a400 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.1.1 + +### Patch Changes + +- [#36](https://github.com/leejpsd/nextjs-cache-handler/pull/36) [`db92190`](https://github.com/leejpsd/nextjs-cache-handler/commit/db92190da33fa35d8e2815f7b209ec915e8b4743) Thanks [@leejpsd](https://github.com/leejpsd)! - ISR handler: read all of an entry's tag states with one `MGET` instead of one `GET` per tag (#34). A page with five `_N_T_` layout tags now costs two Redis commands per `get()` instead of six; round trips were already one thanks to auto-pipelining, so this matters for per-command pricing and command-rate limits. On Redis Cluster, where the un-namespaced tag keys never share a slot, the handler keeps reading key by key: from the start when the client is the Cluster adapter (new `isCluster` flag on `RedisClientLike`) or `hashTag: true` is set, otherwise from the first `CROSSSLOT` reply on, retrying that read in place and logging one warning. The same fallback applies when `MGET` can never work for another reason: an ACL that allows `GET` but not `MGET`, a server that does not know the command, or a custom client without a usable `mGet`. `tag.expiration.read` is now also emitted by the ISR handler with `meta.strategy` (`"mget"` or `"per-key"`). + +- [#35](https://github.com/leejpsd/nextjs-cache-handler/pull/35) [`877ebee`](https://github.com/leejpsd/nextjs-cache-handler/commit/877ebee03a49bbd49344a71b88194da249ef0b42) Thanks [@leejpsd](https://github.com/leejpsd)! - Docs: correct the `singleFlight` description. The lock reports which instance saw a stale entry first (`cache.stale.refresh.leader` / `.follower`); it does not stop other instances from refreshing, because Next.js decides to refresh after `get()` returns. The README, API reference, option JSDoc and agent skill said or implied that followers skip the refresh. No behavior change. Also links #34 for an in-process L1 and `fetch` miss coalescing wrapper. + ## 1.1.0 ### Minor Changes diff --git a/package.json b/package.json index 8be9da1..5376a37 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@leejpsd/nextjs-cache-handler", - "version": "1.1.0", + "version": "1.1.1", "description": "Redis cache handler for self-hosted Next.js 15 and 16. Ships both cacheHandler (ISR) and cacheHandlers ('use cache'), with tag invalidation, deploy-time seeding, compression, Redis Cluster and Sentinel, and OpenTelemetry.", "keywords": [ "next",