Patch Changes
-
#1509
e664bacThanks @vicb! - chore: bump glob to v14 to drop the vulnerable minimatch 10 dependencyglob@13depends onminimatch@10, which is affected by GHSA-g3hv-75wg-m249 and has no patched 10.x release.glob@14usesminimatch@11. -
#1520
5062c28Thanks @vicb! - chore: bump@opennextjs/awsto 4.2.1See details at https://github.com/opennextjs/opennextjs-aws/releases/tag/v4.2.1
- Do not skip the middleware and the
next.configroutes for some requests of an app usingi18n. - Require a path separator after the buildId in
/_next/datarequests. - Respond with a 500 when the body stream errors before its first chunk.
- Match the middleware against the normalized pathname.
- Do not skip the middleware and the
-
#1519
db1bd1cThanks @ahmed-abdelkafi! - fix: validatetagCacheinstead ofincrementalCachewhen checking for a custom tag cacheA hand-written
open-next.config.tswith a customtagCacheandincrementalCache: "dummy"was wrongly rejected with "Theopen-next.config.tsshould have a default export like this". -
#1507
cc95230Thanks @vicb! - fix: answer requests with aCookieheader in the Node.js middlewareSince 1.20.18, with a
proxy.ts(or a Node.js runtimemiddleware.ts), every request with aCookieheader answered 500 withTypeError: Cannot read properties of undefined (reading 'parse').The
@opennextjs/awsfiles were no longer bundled as ES modules, and the default import ofcookie@1wasundefined. -
#1517
226a45fThanks @vicb! - fix: do not serve stale entries from the regional cache afterrevalidateTagWith the regional cache (
withRegionalCache) andbypassTagCacheOnCacheHit(set explicitly, or the default on Next.js < 16 when cache purge is enabled), a page revalidated withrevalidateTagcould keep being served stale until its regional cache entry expired or was purged. This happened on almost every revalidation withenableCacheInterception.