Skip to content

3.4.0

Latest

Choose a tag to compare

@AyronK AyronK released this 16 Oct 13:03

What's Changed

  • Add isolated Redis e2e suite for registerInitialCache and handler-level correctness by @AyronK in #240
  • Added github templates for issues and pr by @AyronK in #241
  • fix: write and read route-scoped response cache keys on Next.js 16.3.8+ by @bolechen in #252

Warning

Next.js 16.3.8+ route-scoped cache keys: Starting with Next.js 16.3.8 (and 16.4.x), response cache entries (APP_PAGE, APP_ROUTE, PAGES) are stored under route-scoped keys (/route-cache/<kind>/<hash>/$<path>) rather than bare pathnames. Versions of this package prior to 3.4.0 seeded initial cache entries (via registerInitialCache) under bare pathnames, so Next.js never read them, and broke Pages Router revalidatePath invalidations.

Fixed in 3.4.0. If you are on Next.js 16.3.8 or later, upgrade to @fortedigital/nextjs-cache-handler 3.4.0+. Entries stored under the old pathname keys are no longer read after upgrading Next.js and expire on their own.

New Contributors

Full Changelog: 3.3.0...3.4.0