Skip to content

chore(deps): update dependency @opennextjs/cloudflare to v1.20.19 - #554

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/opennextjs-cloudflare-1.x-lockfile
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/opennextjs-cloudflare-1.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@opennextjs/cloudflare (source) 1.20.15 → 1.20.19 age confidence

Release Notes

opennextjs/opennextjs-cloudflare (@​opennextjs/cloudflare)

v1.20.19

Compare Source

Patch Changes
  • #​1509 e664bac Thanks @​vicb! - chore: bump glob to v14 to drop the vulnerable minimatch 10 dependency

    glob@13 depends on minimatch@10, which is affected by GHSA-g3hv-75wg-m249 and has no patched 10.x release. glob@14 uses minimatch@11.

  • #​1520 5062c28 Thanks @​vicb! - chore: bump @opennextjs/aws to 4.2.1

    See details at https://github.com/opennextjs/opennextjs-aws/releases/tag/v4.2.1

    • Do not skip the middleware and the next.config routes for some requests of an app using i18n.
    • Require a path separator after the buildId in /_next/data requests.
    • Respond with a 500 when the body stream errors before its first chunk.
    • Match the middleware against the normalized pathname.
  • #​1519 db1bd1c Thanks @​ahmed-abdelkafi! - fix: validate tagCache instead of incrementalCache when checking for a custom tag cache

    A hand-written open-next.config.ts with a custom tagCache and incrementalCache: "dummy" was wrongly rejected with "The open-next.config.ts should have a default export like this".

  • #​1507 cc95230 Thanks @​vicb! - fix: answer requests with a Cookie header in the Node.js middleware

    Since 1.20.18, with a proxy.ts (or a Node.js runtime middleware.ts), every request with a Cookie header answered 500 with TypeError: Cannot read properties of undefined (reading 'parse').

    The @opennextjs/aws files were no longer bundled as ES modules, and the default import of cookie@1 was undefined.

  • #​1517 226a45f Thanks @​vicb! - fix: do not serve stale entries from the regional cache after revalidateTag

    With the regional cache (withRegionalCache) and bypassTagCacheOnCacheHit (set explicitly, or the default on Next.js < 16 when cache purge is enabled), a page revalidated with revalidateTag could keep being served stale until its regional cache entry expired or was purged. This happened on almost every revalidation with enableCacheInterception.

v1.20.18

Compare Source

Patch Changes
  • #​1505 2bc929e Thanks @​vicb! - chore: bump @opennextjs/aws to 4.2.0

    See details at https://github.com/opennextjs/opennextjs-aws/releases/tag/v4.2.0

    • Honor dangerous.disableTagCache when reading "use cache" entries.
    • Queue one revalidation per stale cache entry.
    • Add an experimental onTagCacheResult callback to entries returned by the incremental cache.
  • #​1492 c41442b Thanks @​jorgemoya! - perf: read each tag once per request in the sharded Durable Object tag cache

    With doShardedTagCache, cached pages could take up to about a second longer to render, mostly on low-traffic sites. Every cached fetch or "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 2fd94f6 Thanks @​haranishi! - fix: deduplicate inline CSS in the Worker bundle

    When experimental.inlineCss is enabled, the same stylesheet can repeat across client reference manifests. OpenNext shares repeated inline CSS strings in the Worker bundle, reducing upload size.

  • #​1417 3d7a137 Thanks @​Adnan-Husayn! - fix: forward an empty --env to 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, when CLOUDFLARE_ENV was 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 780d32c Thanks @​uttkarsh-26! - fix: declare esbuild as a dependency

    opennextjs-cloudflare build imports esbuild, but the package only listed it in its devDependencies. The import resolved only when the package manager happened to hoist the copy installed by @opennextjs/aws or wrangler. When another package claimed that slot, or with npm ci on a lockfile marking esbuild as extraneous, the build failed with ERR_MODULE_NOT_FOUND: Cannot find package 'esbuild'.

    esbuild is now a dependency, pinned to the version @opennextjs/aws uses.

  • #​1432 e751dd8 Thanks @​mathurshubham! - fix: export package.json from @opennextjs/cloudflare

    require.resolve("@opennextjs/cloudflare/package.json") threw MODULE_NOT_FOUND because the ./* export mapped it to a file that does not exist. Tools that read dependency manifests reported the package as missing, for example Storybook printed WARN unable to find package.json for @opennextjs/cloudflare.

  • #​1499 95d7f52 Thanks @​haranishi! - perf: load Wrangler on demand in the CLI

    The 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 f0efe83 Thanks @​mathurshubham! - fix: do not import wrangler types from the public type declarations

    Projects compiled with skipLibCheck: false failed to type-check with errors inside node_modules/wrangler and node_modules/miniflare (e.g. TS2307: Cannot find module '@cloudflare/workers-utils'). The adapter's declarations imported GetPlatformProxyOptions from wrangler, which pulled in wrangler's own declarations, and those do not type-check (cloudflare/workers-sdk#15940). The options of initOpenNextCloudflareForDev are now declared in the adapter, so its declarations no longer reference wrangler.

  • #​1489 f5a2d09 Thanks @​vicb! - fix: reduce the Node.js middleware (proxy.ts) bundle size and resolve its packages like the server

    A proxy.ts (or a middleware.ts using the Node.js runtime) produced a much larger Worker than the same code in an edge middleware.ts (#​1373). With Next.js 16.4, the middleware bundle of a proxy only using next/server is now ~40% smaller. A proxy importing React (directly or through a library like next/og) still bundles the Next.js app page runtime.

    It also fixes these build errors:

    • Could not resolve "#util" (and similar) when instrumentation.ts imports 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 whose workerd build uses cloudflare:* modules, i.e. postgres 4 (#​1487).

    The esbuild metafile is now written to .open-next/middleware/handler.mjs.meta.json to help analyze the bundle size.

  • #​1462 dcffe69 Thanks @​medlabib! - fix: add a default export to the @next/env shim

    Payload 3.x (payload/dist/bin/loadEnv.js) imports @next/env with a default import, so bundling a Payload app failed with:

    No matching export in ".open-next/cloudflare-templates/shims/env.js" for import "default"
    

    The shim now has a default export, and loadEnvConfig returns 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.env is populated at runtime from the Worker bindings and the .env* files compiled at build time for the NEXTJS_ENV mode.

  • #​1504 68fc728 Thanks @​vicb! - chore: warn at build time when Cache Components are enabled

    Cache Components (cacheComponents: true in next.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.17

Compare Source

Patch Changes
  • #​1488 e6c6736 Thanks @​vicb! - chore: bump @opennextjs/aws to 4.1.16

    See details at https://github.com/opennextjs/opennextjs-aws/releases/tag/v4.1.16

    • Match fallback: false routes against the decoded pathname.
    • Do not expose more Next.js internal headers on the middleware response.
    • Send the time of entries made stale by a tag to the revalidation queue.
    • Do not copy next.config headers onto the request headers.
    • Strip the internal next-resume header from incoming requests.
  • #​1479 223f07f Thanks @​vicb! - fix: do not serve /cdn-cgi/image/ for revalidation requests sent through WORKER_SELF_REFERENCE

  • #​1427 2d4665a Thanks @​jkugsiya! - fix: stop the Durable Object queue from revalidating routes again after every restart

    Once 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 843723c Thanks @​vicb! - fix: leave cloudflare:* imports external in the server bundle

    postgres 4 maps its Workers build (src/cf.js) to the workerd condition, and that build imports cloudflare:sockets statically. With postgres 4 in serverExternalPackages, the build failed while bundling the server with:

    ✘ [ERROR] Could not resolve "cloudflare:sockets"
    

    cloudflare:* imports are now left to wrangler, as node:* imports already are, so postgres 4 uses cloudflare:sockets in the Worker.

  • #​1441 7d97fe8 Thanks @​mathurshubham! - fix: stop the Durable Object queue from skipping ISR revalidations until the next deployment

    With the Durable Object queue, some ISR pages stayed x-nextjs-cache: STALE until the next deployment:

    • pages that took more than about a second to revalidate,
    • pages made stale by revalidateTag after their first revalidation.

    These pages are now revalidated.

  • #​1434 e476844 Thanks @​mathurshubham! - fix: re-arm the bucket cache purge alarm when the stored alarm is in the past

    Affects apps using purgeCache({ type: "durableObject" }) (the NEXT_CACHE_DO_PURGE binding).

    Once the purge alarm had exhausted its retries (for example after the Wrong number of parameter bindings error fixed in #​1289, or a purge rate limit), the Durable Object never scheduled another alarm. Every later revalidateTag / revalidatePath queued 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 8d30187 Thanks @​kremnyi! - fix: retry all the failed revalidations of the Durable Object queue

    When 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 b6ccf33 Thanks @​vicb! - fix: resolve the workerd build of packages from the installed node_modules instead of copying it

    Next.js traces the packages it does not bundle with the Node.js conditions, so the files only used by the workerd build of a package are missing from .open-next. They used to be copied, along with the dependencies of the workerd build, but a dependency that Next.js had partially traced for another package was left incomplete. With serverExternalPackages: ["@sentry/nextjs"], 1.20.15 and 1.20.16 failed with:

    ✘ [ERROR] Could not resolve "@sentry/server-utils/no-diagnostic-channels"
    

    Nothing is copied anymore. The server bundle resolves the packages with a workerd condition from the installed node_modules (the workerd condition 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 from node_modules.

v1.20.16

Compare Source

Patch Changes
  • #​1477 6fa9898 Thanks @​vicb! - fix: serve public files like Next.js when run_worker_first is enabled

    Public files are now only served at their exact path when run_worker_first is enabled, like Next.js.

    The build now checks the assets configuration when run_worker_first is enabled. If the build fails with "When run_worker_first is enabled, the assets section of the wrangler configuration must be...", update the assets section 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.html is served at /about.html but not at /about.

  • #​1476 750d1b7 Thanks @​vicb! - chore: bump @opennextjs/aws to 4.1.15

    See details at https://github.com/opennextjs/opennextjs-aws/releases/tag/v4.1.15

  • #​1477 dbeff84 Thanks @​vicb! - fix: false-positive AVIF/HEIC image type detection

    The AVIF and HEIC detection now validates the size of the ISOBMFF ftyp box.

  • #​1474 5c429e7 Thanks @​vicb! - chore: require Next.js 15.5.29 or 16.4.5

    Raise 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 0c7e3e6 Thanks @​vicb! - fix: encode cache keys in the static assets incremental cache and the regional cache

    Cache 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)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Nov 21, 2026
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: logchimp/docs
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: c32f239
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0394300a-e658-4c6e-91bc-071fcaee73a4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

Parsing warnings: 1

Validation error: Unrecognized key: "path_filters"
Configuration instructions

  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@renovate
renovate Bot force-pushed the renovate/opennextjs-cloudflare-1.x-lockfile branch 2 times, most recently from 76cebcc to 4b28a7f Compare November 25, 2026 16:31
@renovate renovate Bot changed the title chore(deps): update dependency @opennextjs/cloudflare to v1.20.18 chore(deps): update dependency @opennextjs/cloudflare to v1.20.19 Nov 26, 2026
@renovate
renovate Bot force-pushed the renovate/opennextjs-cloudflare-1.x-lockfile branch from 4b28a7f to d2b0e46 Compare November 26, 2026 01:31

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants