From b0c7e81c671700780fe46d1567b1cc43439d498b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 11:58:53 +0000 Subject: [PATCH] Version Packages --- .changeset/drop-unused-vercel-og.md | 9 --------- .changeset/funny-toes-exist.md | 9 --------- .changeset/true-moments-clap.md | 5 ----- packages/cloudflare/CHANGELOG.md | 18 ++++++++++++++++++ packages/cloudflare/package.json | 2 +- 5 files changed, 19 insertions(+), 24 deletions(-) delete mode 100644 .changeset/drop-unused-vercel-og.md delete mode 100644 .changeset/funny-toes-exist.md delete mode 100644 .changeset/true-moments-clap.md diff --git a/.changeset/drop-unused-vercel-og.md b/.changeset/drop-unused-vercel-og.md deleted file mode 100644 index 5fa628dd6..000000000 --- a/.changeset/drop-unused-vercel-og.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@opennextjs/cloudflare": patch ---- - -Stop bundling `@vercel/og` (and its ~1.4 MiB `resvg.wasm`) when the app does not use it. - -Next.js's `externalImport` helper keeps a dynamic `import("next/dist/compiled/@vercel/og/index.edge.js")` in the emitted handler even for apps that never use `ImageResponse` / `opengraph-image`. Previously this module was marked as `external` when `useOg` was `false`, which left Wrangler to resolve and bundle it — pulling in ~800 KiB of JS plus `resvg.wasm` and pushing many Workers over the Cloudflare free-tier 3 MiB gzip limit. - -When `useOg` is `false`, the edge entry is now aliased to the existing `throw.js` shim, so the unreachable dynamic import resolves to a tiny module and the real `@vercel/og` library is no longer pulled into the Worker bundle. diff --git a/.changeset/funny-toes-exist.md b/.changeset/funny-toes-exist.md deleted file mode 100644 index c3ae096d4..000000000 --- a/.changeset/funny-toes-exist.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@opennextjs/cloudflare": patch ---- - -Use `OPEN_NEXT_BUILD_ID` instead of `NEXT_BUILD_ID` in the cache keys. - -As of Next 16.2 `NEXT_BUILD_ID` is a fixed value when deploymentId is set explicitly. - -See diff --git a/.changeset/true-moments-clap.md b/.changeset/true-moments-clap.md deleted file mode 100644 index 7298a332b..000000000 --- a/.changeset/true-moments-clap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@opennextjs/cloudflare": patch ---- - -Fix tag cache stale logic diff --git a/packages/cloudflare/CHANGELOG.md b/packages/cloudflare/CHANGELOG.md index 916ab65ff..e23e490b2 100644 --- a/packages/cloudflare/CHANGELOG.md +++ b/packages/cloudflare/CHANGELOG.md @@ -1,5 +1,23 @@ # @opennextjs/cloudflare +## 1.19.4 + +### Patch Changes + +- [#1221](https://github.com/opennextjs/opennextjs-cloudflare/pull/1221) [`a2679bf`](https://github.com/opennextjs/opennextjs-cloudflare/commit/a2679bf9549f620e1ab0e1900dcc7a6b6ac03e0a) Thanks [@mushan0x0](https://github.com/mushan0x0)! - Stop bundling `@vercel/og` (and its ~1.4 MiB `resvg.wasm`) when the app does not use it. + + Next.js's `externalImport` helper keeps a dynamic `import("next/dist/compiled/@vercel/og/index.edge.js")` in the emitted handler even for apps that never use `ImageResponse` / `opengraph-image`. Previously this module was marked as `external` when `useOg` was `false`, which left Wrangler to resolve and bundle it — pulling in ~800 KiB of JS plus `resvg.wasm` and pushing many Workers over the Cloudflare free-tier 3 MiB gzip limit. + + When `useOg` is `false`, the edge entry is now aliased to the existing `throw.js` shim, so the unreachable dynamic import resolves to a tiny module and the real `@vercel/og` library is no longer pulled into the Worker bundle. + +- [#1208](https://github.com/opennextjs/opennextjs-cloudflare/pull/1208) [`2c5b472`](https://github.com/opennextjs/opennextjs-cloudflare/commit/2c5b4729b6a48560b550af820c46c2350e149fa6) Thanks [@edmundhung](https://github.com/edmundhung)! - Use `OPEN_NEXT_BUILD_ID` instead of `NEXT_BUILD_ID` in the cache keys. + + As of Next 16.2 `NEXT_BUILD_ID` is a fixed value when deploymentId is set explicitly. + + See + +- [#1193](https://github.com/opennextjs/opennextjs-cloudflare/pull/1193) [`1e8d232`](https://github.com/opennextjs/opennextjs-cloudflare/commit/1e8d232672353920a8e05e468cf3a5890b82b0f6) Thanks [@conico974](https://github.com/conico974)! - Fix tag cache stale logic + ## 1.19.3 ### Patch Changes diff --git a/packages/cloudflare/package.json b/packages/cloudflare/package.json index 2db62f151..e0e796553 100644 --- a/packages/cloudflare/package.json +++ b/packages/cloudflare/package.json @@ -1,7 +1,7 @@ { "name": "@opennextjs/cloudflare", "description": "Cloudflare builder for next apps", - "version": "1.19.3", + "version": "1.19.4", "type": "module", "scripts": { "clean": "rimraf dist",