Skip to content

Commit 63c9f39

Browse files
committed
Update dependencies
1 parent c1a045f commit 63c9f39

File tree

7 files changed

+1280
-926
lines changed

7 files changed

+1280
-926
lines changed

examples/e2e/app-pages-router/styles/globals.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
:root {
66
--max-width: 1100px;
77
--border-radius: 12px;
8-
--font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono",
8+
--font-mono:
9+
ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono",
910
"Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;
1011

1112
--foreground-rgb: 0, 0, 0;

examples/e2e/pages-router/src/styles/globals.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
:root {
66
--max-width: 1100px;
77
--border-radius: 12px;
8-
--font-mono: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono",
8+
--font-mono:
9+
ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono",
910
"Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;
1011

1112
--foreground-rgb: 0, 0, 0;

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"private": true,
55
"devDependencies": {
66
"@changesets/changelog-github": "^0.5.1",
7-
"@changesets/cli": "^2.29.2",
7+
"@changesets/cli": "^2.29.7",
88
"@playwright/test": "catalog:",
9-
"pkg-pr-new": "^0.0.51",
10-
"prettier": "3.3.3"
9+
"pkg-pr-new": "^0.0.60",
10+
"prettier": "3.6.2"
1111
},
1212
"scripts": {
1313
"fix": "pnpm prettier:fix && pnpm lint:fix",

packages/cloudflare/CHANGELOG.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
This update adds optional batch upload support for R2 cache population, significantly improving upload performance for large caches when enabled via .env or environment variables.
3030

3131
**Key Changes:**
32-
3332
1. **Optional Batch Upload**: Configure R2 credentials via .env or environment variables to enable faster batch uploads:
34-
3533
- `R2_ACCESS_KEY_ID`
3634
- `R2_SECRET_ACCESS_KEY`
3735
- `CF_ACCOUNT_ID`
@@ -40,14 +38,12 @@
4038
3. **Smart Fallback**: If credentials are not configured, the CLI falls back to standard Wrangler uploads with a helpful message about enabling batch upload for better performance
4139

4240
**All deployment commands support batch upload:**
43-
4441
- `populateCache` - Explicit cache population
4542
- `deploy` - Deploy with cache population
4643
- `upload` - Upload version with cache population
4744
- `preview` - Preview with cache population
4845

4946
**Performance Benefits (when batch upload is enabled):**
50-
5147
- Parallel transfer capabilities (32 concurrent transfers)
5248
- Significantly faster for large caches
5349
- Reduced API calls to Cloudflare
@@ -91,12 +87,10 @@
9187
- [#937](https://github.com/opennextjs/opennextjs-cloudflare/pull/937) [`32ba91a`](https://github.com/opennextjs/opennextjs-cloudflare/commit/32ba91a6d3fa6b9a8b2cd5a8c973c3b3eb1108f0) Thanks [@vicb](https://github.com/vicb)! - feat: retrieve CLI environment variables from `process.env` and `.env*` files
9288

9389
Recommended usage on CI:
94-
9590
- Add your secrets to `process.env` (i.e. `CF_ACCOUNT_ID`)
9691
- Add public values to the wrangler config `wrangler.jsonc` (i.e. `R2_CACHE_PREFIX_ENV_NAME`)
9792

9893
Recommended usage for local dev:
99-
10094
- Add your secrets to either a `.dev.vars*` or `.env*` file (i.e. `CF_ACCOUNT_ID`)
10195
- Add public values to the wrangler config `wrangler.jsonc` (i.e. `R2_CACHE_PREFIX_ENV_NAME`)
10296

@@ -153,7 +147,6 @@
153147
- [#888](https://github.com/opennextjs/opennextjs-cloudflare/pull/888) [`51322a8`](https://github.com/opennextjs/opennextjs-cloudflare/commit/51322a8c02eda77ff106e50e57f41ca3832ebd87) Thanks [@james-elicx](https://github.com/james-elicx)! - fix: remote flag not working for preview command's cache population
154148

155149
Previously, passing the `--remote` flag when running `opennextjs-cloudflare preview --remote` would not result in the remote preview binding being populated, and would throw errors due to a missing preview flag when populating Workers KV. The remote flag is now supported for the cache popoulation step when running the preview command.
156-
157150
- `opennextjs-cloudflare preview --remote` will populate the remote binding for the preview ID specified in your Wrangler config.
158151
- `opennextjs-cloudflare preview` will continue to populate the local binding in your Wrangler config.
159152

@@ -510,7 +503,6 @@
510503
- [#593](https://github.com/opennextjs/opennextjs-cloudflare/pull/593) [`faca3e1`](https://github.com/opennextjs/opennextjs-cloudflare/commit/faca3e1376dd47216f97a5dcaef6275fd16d84cb) Thanks [@vicb](https://github.com/vicb)! - Use the workerd build condition by default
511504

512505
- [#641](https://github.com/opennextjs/opennextjs-cloudflare/pull/641) [`e07a2ed`](https://github.com/opennextjs/opennextjs-cloudflare/commit/e07a2ede88896982fc4e91f1a2f131590bcdcd32) Thanks [@conico974](https://github.com/conico974)! - some performance improvements
513-
514506
- `enableCacheInterception` can be enabled using `defineCloudflareConfig`, it loads ISR/SSG pages from cache without waiting for the js page bundle to load. PPR is not supported at the moment
515507
- `routePreloadingBehavior` is now set to `withWaitUntil`, which means a single route js will be lazy loaded on cold start, but other routes will be preloaded using `waitUntil` for better performance
516508

@@ -587,7 +579,6 @@
587579
Bump `@opennextjs/aws` to 3.5.4
588580

589581
BREAKING CHANGES
590-
591582
- `DurableObjectQueueHandler` renamed to `DOQueueHandler`
592583
- `NEXT_CACHE_DO_QUEUE_MAX_NUM_REVALIDATIONS` renamed to `NEXT_CACHE_DO_QUEUE_MAX_RETRIES`
593584
- `D1TagCache` has been removed, use `D1NextModeTagCache` instead.
@@ -662,15 +653,13 @@
662653
Overrides:
663654

664655
Overrides now live in `@opennextjs/cloudflare/overrides` and some files have been renamed.
665-
666656
- Incremental cache overrides: `@opennextjs/cloudflare/overrides/incremental-cache/...`
667657
- Tag cache overrides: `@opennextjs/cloudflare/overrides/tag-cache/...`
668658
- Queue overrides: `@opennextjs/cloudflare/overrides/queue/...`
669659

670660
For example the KV incremental cache override can be imported as `@opennextjs/cloudflare/overrides/incremental-cache/kv-incremental-cache`.
671661

672662
Environment variables and bindings name changes:
673-
674663
- `NEXT_CACHE_WORKERS_KV` -> `NEXT_INC_CACHE_KV`
675664
- `NEXT_CACHE_R2_...` -> `NEXT_INC_CACHE_R2_...`
676665
- `NEXT_CACHE_D1` -> `NEXT_TAG_CACHE_D1`
@@ -686,7 +675,6 @@
686675
- [#479](https://github.com/opennextjs/opennextjs-cloudflare/pull/479) [`0c93e8b`](https://github.com/opennextjs/opennextjs-cloudflare/commit/0c93e8b3e22960553c6537b6e83b84cbd8724423) Thanks [@james-elicx](https://github.com/james-elicx)! - feat: commands for cli actions
687676

688677
The OpenNext Cloudflare CLI now uses the following commands;
689-
690678
- `build`: build the application
691679
- `populateCache`: populate either the local or remote cache
692680
- `preview`: populate the local cache and start a dev server

packages/cloudflare/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
},
5353
"homepage": "https://github.com/opennextjs/opennextjs-cloudflare",
5454
"dependencies": {
55+
"@ast-grep/napi": "0.40.0",
5556
"@dotenvx/dotenvx": "catalog:",
5657
"@opennextjs/aws": "3.8.5",
5758
"@types/rclone.js": "^0.6.3",

0 commit comments

Comments
 (0)