Repository navigation
chore(deps): update dependency @opennextjs/cloudflare to v1.20.19 - #554
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
renovate
Bot
force-pushed
the
renovate/opennextjs-cloudflare-1.x-lockfile
branch
2 times, most recently
from
November 25, 2026 16:31
76cebcc to
4b28a7f
Compare
renovate
Bot
force-pushed
the
renovate/opennextjs-cloudflare-1.x-lockfile
branch
from
November 26, 2026 01:31
4b28a7f to
d2b0e46
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.20.15→1.20.19Release Notes
opennextjs/opennextjs-cloudflare (@opennextjs/cloudflare)
v1.20.19Compare Source
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
next.configroutes for some requests of an app usingi18n./_next/datarequests.#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.v1.20.18Compare Source
Patch Changes
#1505
2bc929eThanks @vicb! - chore: bump@opennextjs/awsto 4.2.0See details at https://github.com/opennextjs/opennextjs-aws/releases/tag/v4.2.0
dangerous.disableTagCachewhen reading"use cache"entries.onTagCacheResultcallback to entries returned by the incremental cache.#1492
c41442bThanks @jorgemoya! - perf: read each tag once per request in the sharded Durable Object tag cacheWith
doShardedTagCache, cached pages could take up to about a second longer to render, mostly on low-traffic sites. Every cachedfetchor"use cache"entry on a page checked its tags separately, so the same tags were read from the Durable Objects many times per render.Each tag is now read once per request, which cuts Durable Object reads, and their cost, on pages with many cached entries.
#1498
2fd94f6Thanks @haranishi! - fix: deduplicate inline CSS in the Worker bundleWhen
experimental.inlineCssis enabled, the same stylesheet can repeat across client reference manifests. OpenNext shares repeated inline CSS strings in the Worker bundle, reducing upload size.#1417
3d7a137Thanks @Adnan-Husayn! - fix: forward an empty--envto wrangler--env=""is how Wrangler recommends targeting the top-level environment when the configuration also defines named environments. The flag was dropped before reaching Wrangler, so the command behaved as if no environment had been specified: the "Multiple environments are defined in the Wrangler configuration file" warning persisted and, whenCLOUDFLARE_ENVwas set, Wrangler targeted that environment instead of the top-level one.The empty environment is now forwarded to every Wrangler command, including the ones used to populate the cache.
#1353
780d32cThanks @uttkarsh-26! - fix: declare esbuild as a dependencyopennextjs-cloudflare buildimportsesbuild, but the package only listed it in itsdevDependencies. The import resolved only when the package manager happened to hoist the copy installed by@opennextjs/awsorwrangler. When another package claimed that slot, or withnpm cion a lockfile markingesbuildas extraneous, the build failed withERR_MODULE_NOT_FOUND: Cannot find package 'esbuild'.esbuildis now a dependency, pinned to the version@opennextjs/awsuses.#1432
e751dd8Thanks @mathurshubham! - fix: exportpackage.jsonfrom@opennextjs/cloudflarerequire.resolve("@opennextjs/cloudflare/package.json")threwMODULE_NOT_FOUNDbecause the./*export mapped it to a file that does not exist. Tools that read dependency manifests reported the package as missing, for example Storybook printedWARN unable to find package.json for @opennextjs/cloudflare.#1499
95d7f52Thanks @haranishi! - perf: load Wrangler on demand in the CLIThe CLI now starts help and version commands without loading Wrangler and Miniflare. Commands that use Wrangler still load it when they read configuration, get bindings, or start an R2 cache worker.
#1442
f0efe83Thanks @mathurshubham! - fix: do not importwranglertypes from the public type declarationsProjects compiled with
skipLibCheck: falsefailed to type-check with errors insidenode_modules/wranglerandnode_modules/miniflare(e.g.TS2307: Cannot find module '@cloudflare/workers-utils'). The adapter's declarations importedGetPlatformProxyOptionsfromwrangler, which pulled in wrangler's own declarations, and those do not type-check (cloudflare/workers-sdk#15940). The options ofinitOpenNextCloudflareForDevare now declared in the adapter, so its declarations no longer referencewrangler.#1489
f5a2d09Thanks @vicb! - fix: reduce the Node.js middleware (proxy.ts) bundle size and resolve its packages like the serverA
proxy.ts(or amiddleware.tsusing the Node.js runtime) produced a much larger Worker than the same code in an edgemiddleware.ts(#1373). With Next.js 16.4, the middleware bundle of a proxy only usingnext/serveris now ~40% smaller. A proxy importing React (directly or through a library likenext/og) still bundles the Next.js app page runtime.It also fixes these build errors:
Could not resolve "#util"(and similar) wheninstrumentation.tsimports a package with conditional imports (#1401). The instrumentation hook is no longer bundled in the middleware.Could not resolve "cloudflare:sockets"when the middleware imports a package whoseworkerdbuild usescloudflare:*modules, i.e.postgres4 (#1487).The esbuild metafile is now written to
.open-next/middleware/handler.mjs.meta.jsonto help analyze the bundle size.#1462
dcffe69Thanks @medlabib! - fix: add a default export to the@next/envshimPayload 3.x (
payload/dist/bin/loadEnv.js) imports@next/envwith a default import, so bundling a Payload app failed with:The shim now has a default export, and
loadEnvConfigreturns the same shape as@next/env({ combinedEnv, parsedEnv, loadedEnvFiles }) so callers destructuring the result no longer throw.It still does not load any file:
process.envis populated at runtime from the Worker bindings and the.env*files compiled at build time for theNEXTJS_ENVmode.#1504
68fc728Thanks @vicb! - chore: warn at build time when Cache Components are enabledCache Components (
cacheComponents: trueinnext.config) are not fully supported on Cloudflare yet. Apps that enable them now get a build warning linking to #1318, where support is being tracked.v1.20.17Compare Source
Patch Changes
#1488
e6c6736Thanks @vicb! - chore: bump@opennextjs/awsto 4.1.16See details at https://github.com/opennextjs/opennextjs-aws/releases/tag/v4.1.16
fallback: falseroutes against the decoded pathname.next.configheaders onto the request headers.next-resumeheader from incoming requests.#1479
223f07fThanks @vicb! - fix: do not serve/cdn-cgi/image/for revalidation requests sent throughWORKER_SELF_REFERENCE#1427
2d4665aThanks @jkugsiya! - fix: stop the Durable Object queue from revalidating routes again after every restartOnce a revalidation had failed, the Durable Object queue revalidated the route again every time it restarted, even after the retry succeeded or the queue gave up. The number of extra revalidations grew until the next deployment. The queue now forgets a route once it stops retrying it.
#1486
843723cThanks @vicb! - fix: leavecloudflare:*imports external in the server bundlepostgres4 maps its Workers build (src/cf.js) to theworkerdcondition, and that build importscloudflare:socketsstatically. Withpostgres4 inserverExternalPackages, the build failed while bundling the server with:cloudflare:*imports are now left to wrangler, asnode:*imports already are, sopostgres4 usescloudflare:socketsin the Worker.#1441
7d97fe8Thanks @mathurshubham! - fix: stop the Durable Object queue from skipping ISR revalidations until the next deploymentWith the Durable Object queue, some ISR pages stayed
x-nextjs-cache: STALEuntil the next deployment:revalidateTagafter their first revalidation.These pages are now revalidated.
#1434
e476844Thanks @mathurshubham! - fix: re-arm the bucket cache purge alarm when the stored alarm is in the pastAffects apps using
purgeCache({ type: "durableObject" })(theNEXT_CACHE_DO_PURGEbinding).Once the purge alarm had exhausted its retries (for example after the
Wrong number of parameter bindingserror fixed in #1289, or a purge rate limit), the Durable Object never scheduled another alarm. Every laterrevalidateTag/revalidatePathqueued its tags but the CDN cache was never purged and pages stayed stale.The alarm is now re-armed when it is in the past. After upgrading, the next revalidation purges the queued tags without having to reset the Durable Object. See #929
#1431
8d30187Thanks @kremnyi! - fix: retry all the failed revalidations of the Durable Object queueWhen three or more failed ISR revalidations were waiting to be retried at the same time with the Durable Object queue (
DOQueueHandler), only some of them were retried. The routes that were not retried stayed marked as failed, so later ISR requests for these routes did not trigger a revalidation either. These pages stayed stale until another revalidation failed or the Durable Object restarted.All the failed revalidations are now retried.
#1484
b6ccf33Thanks @vicb! - fix: resolve theworkerdbuild of packages from the installednode_modulesinstead of copying itNext.js traces the packages it does not bundle with the Node.js conditions, so the files only used by the
workerdbuild of a package are missing from.open-next. They used to be copied, along with the dependencies of theworkerdbuild, but a dependency that Next.js had partially traced for another package was left incomplete. WithserverExternalPackages: ["@sentry/nextjs"], 1.20.15 and 1.20.16 failed with:Nothing is copied anymore. The server bundle resolves the packages with a
workerdcondition from the installednode_modules(theworkerdcondition wins over the Node.js ones) and uses the traced copy of a file when there is one, so that each module is bundled once. The files that were not traced are read fromnode_modules.v1.20.16Compare Source
Patch Changes
#1477
6fa9898Thanks @vicb! - fix: serve public files like Next.js whenrun_worker_firstis enabledPublic files are now only served at their exact path when
run_worker_firstis enabled, like Next.js.The build now checks the
assetsconfiguration whenrun_worker_firstis enabled. If the build fails with "Whenrun_worker_firstis enabled, theassetssection of the wrangler configuration must be...", update theassetssection of your wrangler configuration:{ "assets": { "directory": ".open-next/assets", "binding": "ASSETS", "run_worker_first": true, // Serve public files at their exact path only, like Next.js "html_handling": "none", // "404-page" is also allowed "not_found_handling": "none", }, }With this configuration,
public/about.htmlis served at/about.htmlbut not at/about.#1476
750d1b7Thanks @vicb! - chore: bump@opennextjs/awsto 4.1.15See details at https://github.com/opennextjs/opennextjs-aws/releases/tag/v4.1.15
#1477
dbeff84Thanks @vicb! - fix: false-positive AVIF/HEIC image type detectionThe AVIF and HEIC detection now validates the size of the ISOBMFF
ftypbox.#1474
5c429e7Thanks @vicb! - chore: require Next.js 15.5.29 or 16.4.5Raise the supported Next.js version floor to 15.5.29 and 16.4.5 to include the fixes from
the Next.js security release on Nov 3.
#1477
0c7e3e6Thanks @vicb! - fix: encode cache keys in the static assets incremental cache and the regional cacheCache keys are now encoded when they are turned into URLs, so that a key can not resolve to the entry of a different key.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.