From 3a0b5729f28c99714f1af89a0bbdfd25d31b1890 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 21 Oct 2026 17:29:41 +0000 Subject: [PATCH] Version Packages --- .changeset/auth-consumer-guidance.md | 7 --- .changeset/auth-token-json-log-level.md | 7 --- .changeset/autoconfig-next-vinext-for-cf.md | 9 ---- .../hyperdrive-remote-bindings-local-dev.md | 21 --------- .changeset/lucky-tigers-sing.md | 5 -- .changeset/tidy-rpc-promises.md | 7 --- .changeset/worker-main-module-from-bundle.md | 7 --- .changeset/workflow-jurisdiction.md | 26 ----------- packages/autoconfig/CHANGELOG.md | 19 ++++++++ packages/autoconfig/package.json | 2 +- packages/build-output-utils/CHANGELOG.md | 7 +++ packages/build-output-utils/package.json | 2 +- packages/cli/CHANGELOG.md | 7 +++ packages/cli/package.json | 2 +- packages/codemods/CHANGELOG.md | 23 ++++++++++ packages/codemods/package.json | 2 +- packages/config/CHANGELOG.md | 37 +++++++++++++++ packages/config/package.json | 2 +- packages/containers-shared/CHANGELOG.md | 10 ++++ packages/containers-shared/package.json | 2 +- packages/deploy-helpers/CHANGELOG.md | 32 +++++++++++++ packages/deploy-helpers/package.json | 2 +- packages/miniflare/CHANGELOG.md | 24 ++++++++++ packages/miniflare/package.json | 2 +- packages/pages-shared/CHANGELOG.md | 7 +++ packages/pages-shared/package.json | 2 +- packages/remote-bindings/CHANGELOG.md | 11 +++++ packages/remote-bindings/package.json | 2 +- packages/runtime-types/CHANGELOG.md | 7 +++ packages/runtime-types/package.json | 2 +- packages/vite-plugin-cloudflare/CHANGELOG.md | 30 ++++++++++++ packages/vite-plugin-cloudflare/package.json | 2 +- packages/vitest-plugin/CHANGELOG.md | 8 ++++ packages/vitest-plugin/package.json | 2 +- packages/workers-auth/CHANGELOG.md | 13 ++++++ packages/workers-auth/package.json | 2 +- packages/workers-utils/CHANGELOG.md | 37 +++++++++++++++ packages/workers-utils/package.json | 2 +- packages/wrangler/CHANGELOG.md | 46 +++++++++++++++++++ packages/wrangler/package.json | 2 +- 40 files changed, 334 insertions(+), 105 deletions(-) delete mode 100644 .changeset/auth-consumer-guidance.md delete mode 100644 .changeset/auth-token-json-log-level.md delete mode 100644 .changeset/autoconfig-next-vinext-for-cf.md delete mode 100644 .changeset/hyperdrive-remote-bindings-local-dev.md delete mode 100644 .changeset/lucky-tigers-sing.md delete mode 100644 .changeset/tidy-rpc-promises.md delete mode 100644 .changeset/worker-main-module-from-bundle.md delete mode 100644 .changeset/workflow-jurisdiction.md diff --git a/.changeset/auth-consumer-guidance.md b/.changeset/auth-consumer-guidance.md deleted file mode 100644 index 168519bb609..00000000000 --- a/.changeset/auth-consumer-guidance.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/workers-auth": minor ---- - -Use each CLI's temporary-account flag in authentication errors - -Default to `--temporary-account` while keeping Wrangler's `--temporary` spelling. Expose account-lookup authentication failure reasons so consumers can distinguish missing credentials from expired tokens without matching error messages. diff --git a/.changeset/auth-token-json-log-level.md b/.changeset/auth-token-json-log-level.md deleted file mode 100644 index f1dbebddb1c..00000000000 --- a/.changeset/auth-token-json-log-level.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Print `wrangler auth token --json` output regardless of `WRANGLER_LOG` - -Previously the JSON was written through the normal log channel, so setting `WRANGLER_LOG` to `warn`, `error` or `none` made the command exit successfully with empty stdout. Tools that parse this output, such as the OpenNext Cloudflare adapter in CI, then failed to find any credentials. The JSON is now always printed, like other `--json` commands. diff --git a/.changeset/autoconfig-next-vinext-for-cf.md b/.changeset/autoconfig-next-vinext-for-cf.md deleted file mode 100644 index 15b7d6fc8b2..00000000000 --- a/.changeset/autoconfig-next-vinext-for-cf.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@cloudflare/autoconfig": minor ---- - -Configure Next.js 16 and later projects with vinext when targeting `cf` - -Autoconfig now runs `vinext init` (from `vinext@^1.3.0`) instead of `@opennextjs/cloudflare migrate` for projects on Next.js 16 or later that target `cf`. vinext builds the project with the Cloudflare Vite plugin, producing the Build Output that `cf` deploys, and creates the project's `cloudflare.config.ts`. Autoconfig passes `--platform=cloudflare --cdn-cache=none --image-optimization=cloudflare-images --no-prerender` so that `vinext init` does not prompt and can run in agent environments, and passes the selected Worker name with `--name` so that vinext uses it rather than deriving one from `package.json`. - -Projects on earlier Next.js versions (including 16.0.0 prereleases), which vinext does not support, and all projects targeting Wrangler continue to be configured with OpenNext. diff --git a/.changeset/hyperdrive-remote-bindings-local-dev.md b/.changeset/hyperdrive-remote-bindings-local-dev.md deleted file mode 100644 index 16529b58f3b..00000000000 --- a/.changeset/hyperdrive-remote-bindings-local-dev.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -"@cloudflare/config": minor -"miniflare": minor -"wrangler": minor -"@cloudflare/vite-plugin": minor -"@cloudflare/workers-utils": minor ---- - -Support remote Hyperdrive bindings in local development - -```jsonc -{ - "hyperdrive": [ - { - "binding": "HYPERDRIVE", - "id": "", - "remote": true, - }, - ], -} -``` diff --git a/.changeset/lucky-tigers-sing.md b/.changeset/lucky-tigers-sing.md deleted file mode 100644 index 73cb9e6e3e3..00000000000 --- a/.changeset/lucky-tigers-sing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/autoconfig": patch ---- - -Install `@cloudflare/vite-plugin@^2.0.0-beta.v.0` when autoconfiguring projects for cf diff --git a/.changeset/tidy-rpc-promises.md b/.changeset/tidy-rpc-promises.md deleted file mode 100644 index cda91ba43c7..00000000000 --- a/.changeset/tidy-rpc-promises.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": patch ---- - -Fix Workflow creation hanging on the first call through the platform proxy or test harness - -Workflow storage operations now use the native disk service instead of calling back into Node, so they can complete while Node waits for the RPC result. diff --git a/.changeset/worker-main-module-from-bundle.md b/.changeset/worker-main-module-from-bundle.md deleted file mode 100644 index ba6d7427fab..00000000000 --- a/.changeset/worker-main-module-from-bundle.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Fix builds failing when a framework deletes the Worker's Vite manifest - -The Vite plugin now records each Worker's main module from the bundle instead of reading `.vite/manifest.json` after the build. diff --git a/.changeset/workflow-jurisdiction.md b/.changeset/workflow-jurisdiction.md deleted file mode 100644 index 74fac6b1c7c..00000000000 --- a/.changeset/workflow-jurisdiction.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -"@cloudflare/workers-utils": minor -"@cloudflare/deploy-helpers": minor -"@cloudflare/config": minor -"@cloudflare/codemods": minor -"wrangler": minor ---- - -Add a `jurisdiction` setting to Workflows - -A Workflow defined by the Worker can now set the jurisdiction that its instances run and store their data in, on either a `workflows` binding or a `workflow` export: - -```jsonc -{ - "workflows": [ - { - "binding": "MY_WORKFLOW", - "name": "my-workflow", - "class_name": "MyWorkflow", - "jurisdiction": "eu", - }, - ], -} -``` - -The accepted values are `eu`, `fedramp`, and `us`. `wrangler deploy` and `wrangler triggers deploy` send the jurisdiction when they create or update the Workflow. A Workflow's jurisdiction is set when it is created and cannot be changed afterwards, so `wrangler deploy` and `wrangler versions upload` stop before uploading when an existing Workflow has a different jurisdiction from the configured one. Leaving `jurisdiction` out keeps the Workflow's existing jurisdiction. `@cloudflare/config` adds the setting to `exports.workflow()`, `cf migrate` carries it over, and `wrangler workflows describe` prints it. Local development ignores it. diff --git a/packages/autoconfig/CHANGELOG.md b/packages/autoconfig/CHANGELOG.md index 7a1a6205c53..98520311ba6 100644 --- a/packages/autoconfig/CHANGELOG.md +++ b/packages/autoconfig/CHANGELOG.md @@ -1,5 +1,24 @@ # @cloudflare/autoconfig +## 0.8.0 + +### Minor Changes + +- [#16200](https://github.com/cloudflare/workers-sdk/pull/16200) [`5e77584`](https://github.com/cloudflare/workers-sdk/commit/5e7758406308b1e2a34c893230dc8173d5e99af9) Thanks [@MattieTK](https://github.com/MattieTK)! - Configure Next.js 16 and later projects with vinext when targeting `cf` + + Autoconfig now runs `vinext init` (from `vinext@^1.3.0`) instead of `@opennextjs/cloudflare migrate` for projects on Next.js 16 or later that target `cf`. vinext builds the project with the Cloudflare Vite plugin, producing the Build Output that `cf` deploys, and creates the project's `cloudflare.config.ts`. Autoconfig passes `--platform=cloudflare --cdn-cache=none --image-optimization=cloudflare-images --no-prerender` so that `vinext init` does not prompt and can run in agent environments, and passes the selected Worker name with `--name` so that vinext uses it rather than deriving one from `package.json`. + + Projects on earlier Next.js versions (including 16.0.0 prereleases), which vinext does not support, and all projects targeting Wrangler continue to be configured with OpenNext. + +### Patch Changes + +- [#16285](https://github.com/cloudflare/workers-sdk/pull/16285) [`3b3e64f`](https://github.com/cloudflare/workers-sdk/commit/3b3e64f65b04b586696642311c235467d3b88699) Thanks [@edmundhung](https://github.com/edmundhung)! - Install `@cloudflare/vite-plugin@^2.0.0-beta.v.0` when autoconfiguring projects for cf + +- Updated dependencies [[`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9), [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917)]: + - @cloudflare/config@0.28.0 + - @cloudflare/workers-utils@0.48.0 + - @cloudflare/cli-shared-helpers@0.2.8 + ## 0.7.11 ### Patch Changes diff --git a/packages/autoconfig/package.json b/packages/autoconfig/package.json index 1dcc712f51a..e33f60feac8 100644 --- a/packages/autoconfig/package.json +++ b/packages/autoconfig/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/autoconfig", - "version": "0.7.11", + "version": "0.8.0", "description": "Framework autoconfig detection and configuration for Cloudflare Workers", "license": "MIT OR Apache-2.0", "repository": { diff --git a/packages/build-output-utils/CHANGELOG.md b/packages/build-output-utils/CHANGELOG.md index 0eb013dbba6..2c369db877a 100644 --- a/packages/build-output-utils/CHANGELOG.md +++ b/packages/build-output-utils/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/build-output-utils +## 0.9.4 + +### Patch Changes + +- Updated dependencies [[`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9), [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917)]: + - @cloudflare/config@0.28.0 + ## 0.9.3 ### Patch Changes diff --git a/packages/build-output-utils/package.json b/packages/build-output-utils/package.json index ffecc2aa9a6..0dac8ea59ac 100644 --- a/packages/build-output-utils/package.json +++ b/packages/build-output-utils/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/build-output-utils", - "version": "0.9.3", + "version": "0.9.4", "description": "Utilities for reading and writing the Build Output Specification directory. This is not yet stable enough for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/build-output-utils#readme", "bugs": { diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 22eb354d46c..0d55f46aba0 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/cli +## 0.2.8 + +### Patch Changes + +- Updated dependencies [[`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9), [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917)]: + - @cloudflare/workers-utils@0.48.0 + ## 0.2.7 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index de3e028b407..853d2b7ae07 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/cli-shared-helpers", - "version": "0.2.7", + "version": "0.2.8", "description": "Internal shared CLI helpers for workers-sdk. Not intended for external use — APIs may change without notice.", "keywords": [ "cli", diff --git a/packages/codemods/CHANGELOG.md b/packages/codemods/CHANGELOG.md index 75b5c77ce04..96de17c8d8c 100644 --- a/packages/codemods/CHANGELOG.md +++ b/packages/codemods/CHANGELOG.md @@ -1,5 +1,28 @@ # @cloudflare/codemods +## 0.6.0 + +### Minor Changes + +- [#16357](https://github.com/cloudflare/workers-sdk/pull/16357) [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917) Thanks [@Naapperas](https://github.com/Naapperas)! - Add a `jurisdiction` setting to Workflows + + A Workflow defined by the Worker can now set the jurisdiction that its instances run and store their data in, on either a `workflows` binding or a `workflow` export: + + ```jsonc + { + "workflows": [ + { + "binding": "MY_WORKFLOW", + "name": "my-workflow", + "class_name": "MyWorkflow", + "jurisdiction": "eu" + } + ] + } + ``` + + The accepted values are `eu`, `fedramp`, and `us`. `wrangler deploy` and `wrangler triggers deploy` send the jurisdiction when they create or update the Workflow. A Workflow's jurisdiction is set when it is created and cannot be changed afterwards, so `wrangler deploy` and `wrangler versions upload` stop before uploading when an existing Workflow has a different jurisdiction from the configured one. Leaving `jurisdiction` out keeps the Workflow's existing jurisdiction. `@cloudflare/config` adds the setting to `exports.workflow()`, `cf migrate` carries it over, and `wrangler workflows describe` prints it. Local development ignores it. + ## 0.5.1 ### Patch Changes diff --git a/packages/codemods/package.json b/packages/codemods/package.json index 8babb37e485..34facf2861f 100644 --- a/packages/codemods/package.json +++ b/packages/codemods/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/codemods", - "version": "0.5.1", + "version": "0.6.0", "description": "Codemods for upgrading Cloudflare developer projects", "keywords": [ "cloudflare", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index ec55b647af8..0879862d01c 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,42 @@ # @cloudflare/config +## 0.28.0 + +### Minor Changes + +- [#14900](https://github.com/cloudflare/workers-sdk/pull/14900) [`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9) Thanks [@mack-erel](https://github.com/mack-erel)! - Support remote Hyperdrive bindings in local development + + ```jsonc + { + "hyperdrive": [ + { + "binding": "HYPERDRIVE", + "id": "", + "remote": true + } + ] + } + ``` + +- [#16357](https://github.com/cloudflare/workers-sdk/pull/16357) [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917) Thanks [@Naapperas](https://github.com/Naapperas)! - Add a `jurisdiction` setting to Workflows + + A Workflow defined by the Worker can now set the jurisdiction that its instances run and store their data in, on either a `workflows` binding or a `workflow` export: + + ```jsonc + { + "workflows": [ + { + "binding": "MY_WORKFLOW", + "name": "my-workflow", + "class_name": "MyWorkflow", + "jurisdiction": "eu" + } + ] + } + ``` + + The accepted values are `eu`, `fedramp`, and `us`. `wrangler deploy` and `wrangler triggers deploy` send the jurisdiction when they create or update the Workflow. A Workflow's jurisdiction is set when it is created and cannot be changed afterwards, so `wrangler deploy` and `wrangler versions upload` stop before uploading when an existing Workflow has a different jurisdiction from the configured one. Leaving `jurisdiction` out keeps the Workflow's existing jurisdiction. `@cloudflare/config` adds the setting to `exports.workflow()`, `cf migrate` carries it over, and `wrangler workflows describe` prints it. Local development ignores it. + ## 0.27.0 ### Minor Changes diff --git a/packages/config/package.json b/packages/config/package.json index b475f7c501a..9ac8321dd4b 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/config", - "version": "0.27.0", + "version": "0.28.0", "description": "Definitions and utilities for configuring Cloudflare Workers and related products. This is not yet stable enough for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/config#readme", "bugs": { diff --git a/packages/containers-shared/CHANGELOG.md b/packages/containers-shared/CHANGELOG.md index 4309b9925de..303fa7bc588 100644 --- a/packages/containers-shared/CHANGELOG.md +++ b/packages/containers-shared/CHANGELOG.md @@ -1,5 +1,15 @@ # @cloudflare/containers-shared +## 0.23.2 + +### Patch Changes + +- Updated dependencies [[`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9), [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917)]: + - @cloudflare/config@0.28.0 + - @cloudflare/workers-utils@0.48.0 + - @cloudflare/build-output-utils@0.9.4 + - @cloudflare/cli-shared-helpers@0.2.8 + ## 0.23.1 ### Patch Changes diff --git a/packages/containers-shared/package.json b/packages/containers-shared/package.json index 263e51d7ad1..b762948991a 100644 --- a/packages/containers-shared/package.json +++ b/packages/containers-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/containers-shared", - "version": "0.23.1", + "version": "0.23.2", "description": "Internal-only shared container helpers for workers-sdk. Do not use directly; APIs are unstable and may change or disappear without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/containers-shared#readme", "bugs": { diff --git a/packages/deploy-helpers/CHANGELOG.md b/packages/deploy-helpers/CHANGELOG.md index 8b8a883345d..4cc4af0d682 100644 --- a/packages/deploy-helpers/CHANGELOG.md +++ b/packages/deploy-helpers/CHANGELOG.md @@ -1,5 +1,37 @@ # @cloudflare/deploy-helpers +## 0.23.0 + +### Minor Changes + +- [#16357](https://github.com/cloudflare/workers-sdk/pull/16357) [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917) Thanks [@Naapperas](https://github.com/Naapperas)! - Add a `jurisdiction` setting to Workflows + + A Workflow defined by the Worker can now set the jurisdiction that its instances run and store their data in, on either a `workflows` binding or a `workflow` export: + + ```jsonc + { + "workflows": [ + { + "binding": "MY_WORKFLOW", + "name": "my-workflow", + "class_name": "MyWorkflow", + "jurisdiction": "eu" + } + ] + } + ``` + + The accepted values are `eu`, `fedramp`, and `us`. `wrangler deploy` and `wrangler triggers deploy` send the jurisdiction when they create or update the Workflow. A Workflow's jurisdiction is set when it is created and cannot be changed afterwards, so `wrangler deploy` and `wrangler versions upload` stop before uploading when an existing Workflow has a different jurisdiction from the configured one. Leaving `jurisdiction` out keeps the Workflow's existing jurisdiction. `@cloudflare/config` adds the setting to `exports.workflow()`, `cf migrate` carries it over, and `wrangler workflows describe` prints it. Local development ignores it. + +### Patch Changes + +- Updated dependencies [[`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9), [`a4eb57d`](https://github.com/cloudflare/workers-sdk/commit/a4eb57d339483029fbce9d9e711515b48c60f2d7), [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917)]: + - @cloudflare/config@0.28.0 + - miniflare@5.20261019.2-beta + - @cloudflare/workers-utils@0.48.0 + - @cloudflare/containers-shared@0.23.2 + - @cloudflare/cli-shared-helpers@0.2.8 + ## 0.22.1 ### Patch Changes diff --git a/packages/deploy-helpers/package.json b/packages/deploy-helpers/package.json index 01006b2ce3c..a6cb747887b 100644 --- a/packages/deploy-helpers/package.json +++ b/packages/deploy-helpers/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/deploy-helpers", - "version": "0.22.1", + "version": "0.23.0", "description": "Internal deploy helpers for workers-sdk. Not intended for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/deploy-helpers#readme", "bugs": { diff --git a/packages/miniflare/CHANGELOG.md b/packages/miniflare/CHANGELOG.md index 2f039aabda3..6eed04e2175 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,29 @@ # miniflare +## 5.20261019.2-beta + +### Minor Changes + +- [#14900](https://github.com/cloudflare/workers-sdk/pull/14900) [`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9) Thanks [@mack-erel](https://github.com/mack-erel)! - Support remote Hyperdrive bindings in local development + + ```jsonc + { + "hyperdrive": [ + { + "binding": "HYPERDRIVE", + "id": "", + "remote": true + } + ] + } + ``` + +### Patch Changes + +- [#16183](https://github.com/cloudflare/workers-sdk/pull/16183) [`a4eb57d`](https://github.com/cloudflare/workers-sdk/commit/a4eb57d339483029fbce9d9e711515b48c60f2d7) Thanks [@edmundhung](https://github.com/edmundhung)! - Fix Workflow creation hanging on the first call through the platform proxy or test harness + + Workflow storage operations now use the native disk service instead of calling back into Node, so they can complete while Node waits for the RPC result. + ## 5.20261019.1-beta ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 2938ff20c9a..1fe24ed0898 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "5.20261019.1-beta", + "version": "5.20261019.2-beta", "description": "Fun, full-featured, fully-local simulator for Cloudflare Workers", "keywords": [ "cloudflare", diff --git a/packages/pages-shared/CHANGELOG.md b/packages/pages-shared/CHANGELOG.md index 9238b80f570..67a9b60f36e 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.13.201 + +### Patch Changes + +- Updated dependencies [[`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9), [`a4eb57d`](https://github.com/cloudflare/workers-sdk/commit/a4eb57d339483029fbce9d9e711515b48c60f2d7)]: + - miniflare@5.20261019.2-beta + ## 0.13.200 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 25f42a9e7e5..c34a0516fdd 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.13.200", + "version": "0.13.201", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/remote-bindings/CHANGELOG.md b/packages/remote-bindings/CHANGELOG.md index 4ce3ea00473..e7d7d47c2a2 100644 --- a/packages/remote-bindings/CHANGELOG.md +++ b/packages/remote-bindings/CHANGELOG.md @@ -1,5 +1,16 @@ # @cloudflare/remote-bindings +## 0.0.52 + +### Patch Changes + +- Updated dependencies [[`f43e2e6`](https://github.com/cloudflare/workers-sdk/commit/f43e2e61093b3218a48691dc76ce7f463a2123ce), [`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9), [`a4eb57d`](https://github.com/cloudflare/workers-sdk/commit/a4eb57d339483029fbce9d9e711515b48c60f2d7), [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917)]: + - @cloudflare/workers-auth@0.15.0 + - miniflare@5.20261019.2-beta + - @cloudflare/workers-utils@0.48.0 + - @cloudflare/deploy-helpers@0.23.0 + - @cloudflare/cli-shared-helpers@0.2.8 + ## 0.0.51 ### Patch Changes diff --git a/packages/remote-bindings/package.json b/packages/remote-bindings/package.json index 826233a56ec..4d5e2ffbe68 100644 --- a/packages/remote-bindings/package.json +++ b/packages/remote-bindings/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/remote-bindings", - "version": "0.0.51", + "version": "0.0.52", "private": true, "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/remote-bindings#readme", "bugs": { diff --git a/packages/runtime-types/CHANGELOG.md b/packages/runtime-types/CHANGELOG.md index ab97faac0f1..eb76993fc6d 100644 --- a/packages/runtime-types/CHANGELOG.md +++ b/packages/runtime-types/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/runtime-types +## 0.1.15 + +### Patch Changes + +- Updated dependencies [[`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9), [`a4eb57d`](https://github.com/cloudflare/workers-sdk/commit/a4eb57d339483029fbce9d9e711515b48c60f2d7)]: + - miniflare@5.20261019.2-beta + ## 0.1.14 ### Patch Changes diff --git a/packages/runtime-types/package.json b/packages/runtime-types/package.json index da9528c9cbf..38c84836371 100644 --- a/packages/runtime-types/package.json +++ b/packages/runtime-types/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/runtime-types", - "version": "0.1.14", + "version": "0.1.15", "description": "Utilities for generating Cloudflare Workers runtime types from compatibility dates and flags. This is not yet stable enough for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/runtime-types#readme", "bugs": { diff --git a/packages/vite-plugin-cloudflare/CHANGELOG.md b/packages/vite-plugin-cloudflare/CHANGELOG.md index 1f573292423..d463b979ebd 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,35 @@ # @cloudflare/vite-plugin +## 2.0.0-beta.v.4 + +### Minor Changes + +- [#14900](https://github.com/cloudflare/workers-sdk/pull/14900) [`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9) Thanks [@mack-erel](https://github.com/mack-erel)! - Support remote Hyperdrive bindings in local development + + ```jsonc + { + "hyperdrive": [ + { + "binding": "HYPERDRIVE", + "id": "", + "remote": true + } + ] + } + ``` + +### Patch Changes + +- [#16412](https://github.com/cloudflare/workers-sdk/pull/16412) [`b49580e`](https://github.com/cloudflare/workers-sdk/commit/b49580ebf4cc79d7c7e08ea6e2fb487f39f6e344) Thanks [@edmundhung](https://github.com/edmundhung)! - Fix builds failing when a framework deletes the Worker's Vite manifest + + The Vite plugin now records each Worker's main module from the bundle instead of reading `.vite/manifest.json` after the build. + +- Updated dependencies [[`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9), [`a4eb57d`](https://github.com/cloudflare/workers-sdk/commit/a4eb57d339483029fbce9d9e711515b48c60f2d7), [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917)]: + - @cloudflare/config@0.28.0 + - miniflare@5.20261019.2-beta + - @cloudflare/build-output-utils@0.9.4 + - @cloudflare/runtime-types@0.1.15 + ## 2.0.0-beta.v.3 ### Patch Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index e6174b344ae..c6767b30cfd 100644 --- a/packages/vite-plugin-cloudflare/package.json +++ b/packages/vite-plugin-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vite-plugin", - "version": "2.0.0-beta.v.3", + "version": "2.0.0-beta.v.4", "description": "Cloudflare plugin for Vite", "keywords": [ "cloudflare", diff --git a/packages/vitest-plugin/CHANGELOG.md b/packages/vitest-plugin/CHANGELOG.md index 2d00297586d..6dcd4bb5bb5 100644 --- a/packages/vitest-plugin/CHANGELOG.md +++ b/packages/vitest-plugin/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/vitest-plugin +## 1.4.7 + +### Patch Changes + +- Updated dependencies [[`80a9f96`](https://github.com/cloudflare/workers-sdk/commit/80a9f963d49cb62f1c80532c78a1b03018ad4152), [`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9), [`a4eb57d`](https://github.com/cloudflare/workers-sdk/commit/a4eb57d339483029fbce9d9e711515b48c60f2d7), [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917)]: + - wrangler@4.152.0 + - miniflare@5.20261019.2-beta + ## 1.4.6 ### Patch Changes diff --git a/packages/vitest-plugin/package.json b/packages/vitest-plugin/package.json index 5b2c4703eec..d51e8d84757 100644 --- a/packages/vitest-plugin/package.json +++ b/packages/vitest-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vitest-plugin", - "version": "1.4.6", + "version": "1.4.7", "description": "Workers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime", "keywords": [ "cloudflare", diff --git a/packages/workers-auth/CHANGELOG.md b/packages/workers-auth/CHANGELOG.md index 196cb72345b..8af760578f6 100644 --- a/packages/workers-auth/CHANGELOG.md +++ b/packages/workers-auth/CHANGELOG.md @@ -1,5 +1,18 @@ # @cloudflare/workers-auth +## 0.15.0 + +### Minor Changes + +- [#16375](https://github.com/cloudflare/workers-sdk/pull/16375) [`f43e2e6`](https://github.com/cloudflare/workers-sdk/commit/f43e2e61093b3218a48691dc76ce7f463a2123ce) Thanks [@penalosa](https://github.com/penalosa)! - Use each CLI's temporary-account flag in authentication errors + + Default to `--temporary-account` while keeping Wrangler's `--temporary` spelling. Expose account-lookup authentication failure reasons so consumers can distinguish missing credentials from expired tokens without matching error messages. + +### Patch Changes + +- Updated dependencies [[`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9), [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917)]: + - @cloudflare/workers-utils@0.48.0 + ## 0.14.1 ### Patch Changes diff --git a/packages/workers-auth/package.json b/packages/workers-auth/package.json index 2a0d92f77d1..529a7930040 100644 --- a/packages/workers-auth/package.json +++ b/packages/workers-auth/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-auth", - "version": "0.14.1", + "version": "0.15.0", "description": "Internal OAuth 2.0 + PKCE flow for Cloudflare CLIs. Not intended for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/workers-auth#readme", "bugs": { diff --git a/packages/workers-utils/CHANGELOG.md b/packages/workers-utils/CHANGELOG.md index 79a3a15c734..e898fc06143 100644 --- a/packages/workers-utils/CHANGELOG.md +++ b/packages/workers-utils/CHANGELOG.md @@ -1,5 +1,42 @@ # @cloudflare/workers-utils +## 0.48.0 + +### Minor Changes + +- [#14900](https://github.com/cloudflare/workers-sdk/pull/14900) [`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9) Thanks [@mack-erel](https://github.com/mack-erel)! - Support remote Hyperdrive bindings in local development + + ```jsonc + { + "hyperdrive": [ + { + "binding": "HYPERDRIVE", + "id": "", + "remote": true + } + ] + } + ``` + +- [#16357](https://github.com/cloudflare/workers-sdk/pull/16357) [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917) Thanks [@Naapperas](https://github.com/Naapperas)! - Add a `jurisdiction` setting to Workflows + + A Workflow defined by the Worker can now set the jurisdiction that its instances run and store their data in, on either a `workflows` binding or a `workflow` export: + + ```jsonc + { + "workflows": [ + { + "binding": "MY_WORKFLOW", + "name": "my-workflow", + "class_name": "MyWorkflow", + "jurisdiction": "eu" + } + ] + } + ``` + + The accepted values are `eu`, `fedramp`, and `us`. `wrangler deploy` and `wrangler triggers deploy` send the jurisdiction when they create or update the Workflow. A Workflow's jurisdiction is set when it is created and cannot be changed afterwards, so `wrangler deploy` and `wrangler versions upload` stop before uploading when an existing Workflow has a different jurisdiction from the configured one. Leaving `jurisdiction` out keeps the Workflow's existing jurisdiction. `@cloudflare/config` adds the setting to `exports.workflow()`, `cf migrate` carries it over, and `wrangler workflows describe` prints it. Local development ignores it. + ## 0.47.3 ### Patch Changes diff --git a/packages/workers-utils/package.json b/packages/workers-utils/package.json index eb90259a20f..b056c43ffe4 100644 --- a/packages/workers-utils/package.json +++ b/packages/workers-utils/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-utils", - "version": "0.47.3", + "version": "0.48.0", "description": "Internal utility package for workers-sdk. Not intended for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/workers-utils#readme", "bugs": { diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index 0dd7b49577a..eaf99501ef9 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,51 @@ # wrangler +## 4.152.0 + +### Minor Changes + +- [#14900](https://github.com/cloudflare/workers-sdk/pull/14900) [`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9) Thanks [@mack-erel](https://github.com/mack-erel)! - Support remote Hyperdrive bindings in local development + + ```jsonc + { + "hyperdrive": [ + { + "binding": "HYPERDRIVE", + "id": "", + "remote": true + } + ] + } + ``` + +- [#16357](https://github.com/cloudflare/workers-sdk/pull/16357) [`182d6de`](https://github.com/cloudflare/workers-sdk/commit/182d6ded7126c29daa6f8d2eea5f175421b29917) Thanks [@Naapperas](https://github.com/Naapperas)! - Add a `jurisdiction` setting to Workflows + + A Workflow defined by the Worker can now set the jurisdiction that its instances run and store their data in, on either a `workflows` binding or a `workflow` export: + + ```jsonc + { + "workflows": [ + { + "binding": "MY_WORKFLOW", + "name": "my-workflow", + "class_name": "MyWorkflow", + "jurisdiction": "eu" + } + ] + } + ``` + + The accepted values are `eu`, `fedramp`, and `us`. `wrangler deploy` and `wrangler triggers deploy` send the jurisdiction when they create or update the Workflow. A Workflow's jurisdiction is set when it is created and cannot be changed afterwards, so `wrangler deploy` and `wrangler versions upload` stop before uploading when an existing Workflow has a different jurisdiction from the configured one. Leaving `jurisdiction` out keeps the Workflow's existing jurisdiction. `@cloudflare/config` adds the setting to `exports.workflow()`, `cf migrate` carries it over, and `wrangler workflows describe` prints it. Local development ignores it. + +### Patch Changes + +- [#16388](https://github.com/cloudflare/workers-sdk/pull/16388) [`80a9f96`](https://github.com/cloudflare/workers-sdk/commit/80a9f963d49cb62f1c80532c78a1b03018ad4152) Thanks [@DevVettel](https://github.com/DevVettel)! - Print `wrangler auth token --json` output regardless of `WRANGLER_LOG` + + Previously the JSON was written through the normal log channel, so setting `WRANGLER_LOG` to `warn`, `error` or `none` made the command exit successfully with empty stdout. Tools that parse this output, such as the OpenNext Cloudflare adapter in CI, then failed to find any credentials. The JSON is now always printed, like other `--json` commands. + +- Updated dependencies [[`08f22d3`](https://github.com/cloudflare/workers-sdk/commit/08f22d36f42100af8b83ae9556643f63b536a4e9), [`a4eb57d`](https://github.com/cloudflare/workers-sdk/commit/a4eb57d339483029fbce9d9e711515b48c60f2d7)]: + - miniflare@5.20261019.2-beta + ## 4.151.3 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index d24d9ec24f9..35e0c5d708f 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.151.3", + "version": "4.152.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "assembly",