Skip to content

Releases: opennextjs/opennextjs-cloudflare

@opennextjs/cloudflare@1.19.1

11 Apr 10:06
87b40d1

Choose a tag to compare

Patch Changes

@opennextjs/cloudflare@1.19.0

09 Apr 15:28
c4b1687

Choose a tag to compare

Minor Changes

Patch Changes

@opennextjs/cloudflare@1.18.1

08 Apr 09:33
276edf0

Choose a tag to compare

Patch Changes

  • #1176 2232651 Thanks @conico974! - fix for OG with Next 16.2.2

  • #1166 f89fba1 Thanks @ash1day! - fix: sort .endsWith() checks by path length descending to prevent suffix collisions in dynamic requires

    Routes whose paths are suffixes of other routes (e.g. /test/app vs /) were resolved incorrectly because the shorter path matched first in the generated .endsWith() chain. Sorting by path length descending ensures more specific (longer) paths are always checked first.

    Fixes #1156.

@opennextjs/cloudflare@1.18.0

26 Mar 16:47
da62708

Choose a tag to compare

Minor Changes

  • #1159 75f5f0a Thanks @edmundhung! - Use remote dev for R2 cache population

    Using remote dev is not subject to the Cloudflare API rate limit of 1,200 requests per 5 minutes that caused failures for large applications with thousands of prerendered pages.

@opennextjs/cloudflare@1.17.3

23 Mar 19:52
6fdc1e2

Choose a tag to compare

Patch Changes

  • #1160 161e726 Thanks @matthewvolk! - fix(patches): include prefetch-hints.json in loadManifest build-time inlining

    Next.js 16.2.0 introduced prefetch-hints.json as a new server manifest loaded unconditionally
    by NextNodeServer.getPrefetchHints(). The file exists in the build output but wasn't matched by
    the glob pattern *-manifest.json, causing the patched loadManifest() to throw at runtime.

@opennextjs/cloudflare@1.17.2

23 Mar 17:48
7ccf5ea

Choose a tag to compare

Patch Changes

  • #1151 a143282 Thanks @nathanschram! - fix: handle known optional manifests gracefully in loadManifest/evalManifest patches

    Next.js loads certain manifests with handleMissing: true (returning {} when the file doesn't
    exist). The adapter's build-time glob scan doesn't find these files when they're conditionally
    generated, so the patched function threw at runtime, crashing dynamic routes with 500.

    Instead of a blanket catch-all, handle only the specific optional manifests from Next.js
    route-module.ts:

    • react-loadable-manifest (Turbopack per-route, not all routes have dynamic imports)
    • subresource-integrity-manifest (only when experimental.sri configured)
    • server-reference-manifest (App Router only)
    • dynamic-css-manifest (Pages Router + Webpack only)
    • fallback-build-manifest (only for /_error page)
    • prefetch-hints (new in Next.js 16.2)
    • _client-reference-manifest.js (optional for static metadata routes, evalManifest)

    Manifest matching strips .json before comparison since some Next.js constants omit
    the extension (SUBRESOURCE_INTEGRITY_MANIFEST, DYNAMIC_CSS_MANIFEST, etc.).

    Unknown manifests still throw to surface genuine errors.

    Fixes #1141.

@opennextjs/cloudflare@1.17.1

24 Feb 20:05
206794f

Choose a tag to compare

Patch Changes

  • #1147 f5bd138 Thanks @vicb! - make dev /cdn-cgi/image behaves like prod for consistency

@opennextjs/cloudflare@1.17.0

23 Feb 17:33
7d86f42

Choose a tag to compare

Minor Changes

  • #1133 25d5835 Thanks @dario-piotrowicz! - Update the migrate command to attempt to create an R2 bucket for caching, if that is not possible an application without caching enabled will be generated instead.

@opennextjs/cloudflare@1.16.6

23 Feb 10:41
2e4e595

Choose a tag to compare

Patch Changes

  • #1138 4487f1f Thanks @james-elicx! - Fix the CLI potentially setting a future compatibility date in the wrangler config when workerd has published a version matching a future date, by capping to the current date.

@opennextjs/cloudflare@1.16.5

13 Feb 17:23
63e29f2

Choose a tag to compare

Patch Changes