Skip to content

Commit da0567a

Browse files
committed
fixup! upate
1 parent e789ce6 commit da0567a

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/content/changelog/workers/2025-06-05-open-next-size.mdx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,15 @@ description: Update to the latest version of `@opennextjs/cloudflare` to automat
44
products:
55
- workers
66
date: 2025-06-05T19:00:00Z
7-
87
---
98

109
With the release of the Cloudflare adapter for Open Next v1.0.0 in May 2025, we already had followups plans [to improve performance and size](https://blog.cloudflare.com/deploying-nextjs-apps-to-cloudflare-workers-with-the-opennext-adapter/#1-0-and-the-road-ahead).
1110

12-
`@opennextjs/cloudflare` v1.2 released on June 5, 2025 delivers on these enhancements with the following:
11+
`@opennextjs/cloudflare` v1.2 released on June 5, 2025 delivers on these enhancements. By removing `babel` from the app code and dropping a dependency on `@ampproject/toolbox-optimizer`, we were able to reduce generated bundle sizes. Additionally, by stopping preloading of all app routes, we were able to improve the cold start time.
1312

14-
- We [removed `babel` from the app code](https://github.com/opennextjs/opennextjs-cloudflare/pull/710) to save ~4MB on a typical uncompressed app size
15-
- We were also able [to drop a dependency on `@ampproject/toolbox-optimizer`](https://github.com/opennextjs/opennextjs-cloudflare/pull/700) to save ~3MB on a typical uncompressed app size
16-
- We [stopped preloading all the app routes](https://github.com/opennextjs/opennextjs-cloudflare/pull/696) to save >100ms on the first request.
13+
This means that users will now see a decrease from 14 to 8MiB (2.3 to 1.6MiB gzipped) in generated bundle size for a Next app created via create-next-app, and typically 100ms faster startup times for their medium-sized apps.
1714

1815
Users only need to update to the latest version of `@opennextjs/cloudflare` to automatically benefit from these improvements.
1916

2017
Note that we published [CVE-2005-6087](https://github.com/opennextjs/opennextjs-cloudflare/security/advisories/GHSA-rvpw-p7vw-wj3m) for a SSRF vulnerability in the `@opennextjs/cloudflare` package.
21-
The vulnerability has been fixed from `@opennextjs/cloudflare` v1.3.0 onwards. Please update to any version after this one. v1.3.1 is the latest at the time of writing.
22-
23-
18+
The vulnerability has been fixed from `@opennextjs/cloudflare` v1.3.0 onwards. Please update to any version after this one. v1.6.2 is the latest at the time of writing.

0 commit comments

Comments
 (0)