Skip to content

Commit a3a76a6

Browse files
Version Packages (#1222)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d6fa805 commit a3a76a6

5 files changed

Lines changed: 19 additions & 24 deletions

File tree

.changeset/drop-unused-vercel-og.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/funny-toes-exist.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/true-moments-clap.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/cloudflare/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# @opennextjs/cloudflare
22

3+
## 1.19.4
4+
5+
### Patch Changes
6+
7+
- [#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.
8+
9+
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.
10+
11+
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.
12+
13+
- [#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.
14+
15+
As of Next 16.2 `NEXT_BUILD_ID` is a fixed value when deploymentId is set explicitly.
16+
17+
See <https://github.com/opennextjs/opennextjs-aws/pull/1144>
18+
19+
- [#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
20+
321
## 1.19.3
422

523
### Patch Changes

packages/cloudflare/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@opennextjs/cloudflare",
33
"description": "Cloudflare builder for next apps",
4-
"version": "1.19.3",
4+
"version": "1.19.4",
55
"type": "module",
66
"scripts": {
77
"clean": "rimraf dist",

0 commit comments

Comments
 (0)