Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/fix-tag-expire-future-deadline.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/seed-page-path-normalization.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/seed-route-scoped-keys.md

This file was deleted.

10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 1.0.2

### Patch Changes

- [#17](https://github.com/leejpsd/nextjs-cache-handler/pull/17) [`44a0889`](https://github.com/leejpsd/nextjs-cache-handler/commit/44a08896d2b364f8da101e8ed0e52d014126bbd9) Thanks [@jeroendegloire](https://github.com/jeroendegloire)! - Fix incremental `isTagStateExpired` so a future `expired` from `revalidateTag(tag, 'max')` no longer hard-misses every tagged entry for a year (#14). Hard invalidations (`updateTag`, single-argument `revalidateTag`) still apply the moment they are read, even on an instance whose clock is behind the one that wrote them.

- [#21](https://github.com/leejpsd/nextjs-cache-handler/pull/21) [`3a57a0b`](https://github.com/leejpsd/nextjs-cache-handler/commit/3a57a0bad264e68c70387dbfa241155d4124b4f7) Thanks [@leejpsd](https://github.com/leejpsd)! - Fix seeding of the root route on Next.js versions before 16.3.8. Those versions store and look up prerendered routes under Next's normalized page path, where `/` is `/index`, but the seed wrote the root route under `/`, so it was never read and the first request to the home page after a deploy was a `MISS`. Routes whose path starts with `/index` were also read from the wrong build files. The seed now uses the same normalization as Next for both the artifact path and the key.

- [#21](https://github.com/leejpsd/nextjs-cache-handler/pull/21) [`3a57a0b`](https://github.com/leejpsd/nextjs-cache-handler/commit/3a57a0bad264e68c70387dbfa241155d4124b4f7) Thanks [@leejpsd](https://github.com/leejpsd)! - `seedBuildOutput` and the `seed` CLI now write prerendered App Router and Pages Router routes under the route-scoped key that Next.js 16.3.8+ records in each build artifact (`routeCache.key` in `.meta`). From 16.3.8 the runtime never asks a custom cache handler for a bare pathname, so pathname-keyed seeds were written but never read and the first request after a deploy was still a `MISS` (#16). Builds from older Next.js versions carry no such metadata and are seeded under the page path as before; no option or flag is needed.

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leejpsd/nextjs-cache-handler",
"version": "1.0.1",
"version": "1.0.2",
"description": "Redis cache handler for Next.js 15/16 — the only one shipping both cacheHandler (ISR) and cacheHandlers ('use cache') with built-in compression, Redis Sentinel, and OpenTelemetry. Production-validated on multi-instance AWS: reconnect backoff, cross-instance tag invalidation, zero-downtime Redis failover.",
"keywords": [
"next",
Expand Down