From afae817259f25dc1686c0286e60d1e5d5dac8299 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 20 Oct 2026 10:46:27 +0000 Subject: [PATCH] Version Packages --- .changeset/calm-counters-develop.md | 7 ------ .changeset/fedramp-remote-config-diff.md | 8 ------- .changeset/fix-workflow-rpc-disposal.md | 11 --------- .changeset/fuzzy-bears-listen.md | 9 -------- .../strict-upload-absent-binding-fields.md | 8 ------- .changeset/tidy-wranglers-migrate.md | 7 ------ .changeset/vitest-five-peers.md | 8 ------- .changeset/vitest-five-templates.md | 7 ------ .../workers-playground-cloudflare-config.md | 7 ------ packages/autoconfig/CHANGELOG.md | 9 ++++++++ packages/autoconfig/package.json | 2 +- packages/cli/CHANGELOG.md | 7 ++++++ packages/cli/package.json | 2 +- packages/containers-shared/CHANGELOG.md | 10 ++++++++ packages/containers-shared/package.json | 2 +- packages/create-cloudflare/CHANGELOG.md | 8 +++++++ packages/create-cloudflare/package.json | 2 +- packages/deploy-helpers/CHANGELOG.md | 19 +++++++++++++++ packages/deploy-helpers/package.json | 2 +- packages/miniflare/CHANGELOG.md | 10 ++++++++ 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 | 18 +++++++++++++++ packages/vite-plugin-cloudflare/package.json | 2 +- packages/vitest-plugin/CHANGELOG.md | 18 +++++++++++++++ packages/vitest-plugin/package.json | 2 +- packages/workers-auth/CHANGELOG.md | 11 +++++++++ packages/workers-auth/package.json | 2 +- packages/workers-playground/CHANGELOG.md | 8 +++++++ packages/workers-playground/package.json | 2 +- packages/workers-utils/CHANGELOG.md | 8 +++++++ packages/workers-utils/package.json | 2 +- packages/workflows-shared/CHANGELOG.md | 10 ++++++++ packages/workflows-shared/package.json | 2 +- packages/wrangler/CHANGELOG.md | 23 +++++++++++++++++++ packages/wrangler/package.json | 2 +- 41 files changed, 200 insertions(+), 88 deletions(-) delete mode 100644 .changeset/calm-counters-develop.md delete mode 100644 .changeset/fedramp-remote-config-diff.md delete mode 100644 .changeset/fix-workflow-rpc-disposal.md delete mode 100644 .changeset/fuzzy-bears-listen.md delete mode 100644 .changeset/strict-upload-absent-binding-fields.md delete mode 100644 .changeset/tidy-wranglers-migrate.md delete mode 100644 .changeset/vitest-five-peers.md delete mode 100644 .changeset/vitest-five-templates.md delete mode 100644 .changeset/workers-playground-cloudflare-config.md diff --git a/.changeset/calm-counters-develop.md b/.changeset/calm-counters-develop.md deleted file mode 100644 index a11126480f2..00000000000 --- a/.changeset/calm-counters-develop.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Allow `wrangler dev` to start module Workers without a default export - -Previously, `wrangler dev` failed to start module Workers that exported only named entrypoints, such as RPC services, unless an unused default export was added. These Workers now start normally in local development without that workaround. diff --git a/.changeset/fedramp-remote-config-diff.md b/.changeset/fedramp-remote-config-diff.md deleted file mode 100644 index 9d606dc0112..00000000000 --- a/.changeset/fedramp-remote-config-diff.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@cloudflare/deploy-helpers": patch -"wrangler": patch ---- - -Fetch the remote config diff from the configured compliance region - -When a Worker was last deployed from the dashboard, `wrangler deploy` and `wrangler versions upload` download its remote configuration to compare with the local one. These requests ignored the `compliance_region` field in the Wrangler configuration file and only honoured the `CLOUDFLARE_COMPLIANCE_REGION` environment variable. A FedRAMP High Worker configured through the config file would send them to `api.cloudflare.com` instead of `api.fed.cloudflare.com`, and the deploy would fail with authentication errors. They now use the same compliance region as the rest of the deploy. diff --git a/.changeset/fix-workflow-rpc-disposal.md b/.changeset/fix-workflow-rpc-disposal.md deleted file mode 100644 index 7a255bf6ce8..00000000000 --- a/.changeset/fix-workflow-rpc-disposal.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@cloudflare/workflows-shared": patch -"miniflare": patch -"@cloudflare/vitest-plugin": patch ---- - -Dispose Workflow step results and introspection modifiers after use - -Release RPC resources deterministically during local Workflow execution and introspection. This prevents undisposed RPC warnings and requests being cancelled after their execution context has ended. Live step results retain their original data shape, including typed-array offsets and backing buffers. Callbacks that finish after a step times out also release their results, cancelling unused streams without delaying retries. - -Disposing an introspector still aborts the instance if modifier acquisition failed, without introducing a teardown error. Non-stream results containing function-valued array properties are rejected according to the serialisable-output contract, instead of silently discarding those properties during storage normalisation. diff --git a/.changeset/fuzzy-bears-listen.md b/.changeset/fuzzy-bears-listen.md deleted file mode 100644 index adedf4999e2..00000000000 --- a/.changeset/fuzzy-bears-listen.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"wrangler": patch -"@cloudflare/vite-plugin": patch -"@cloudflare/vitest-plugin": patch ---- - -Fail with an error instead of hanging when local dev requests can't work under Bun - -Bun's `fetch()` ignores the undici `dispatcher` that Miniflare routes requests through (oven-sh/bun#39247). Under Bun, `createTestHarness()`'s `server.fetch()` and `server.getWorker()`'s `fetch()`, `email()` and `scheduled()` now throw a `UserError`, requests to the dev server URL get a 503 naming the cause, and starting remote bindings throws a `UserError`. Each of these used to hang with no error. `server.getWorker().getEnv()` and `getExport()` keep working under Bun. diff --git a/.changeset/strict-upload-absent-binding-fields.md b/.changeset/strict-upload-absent-binding-fields.md deleted file mode 100644 index dc17a4c4694..00000000000 --- a/.changeset/strict-upload-absent-binding-fields.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@cloudflare/deploy-helpers": patch -"wrangler": patch ---- - -Stop `--strict` deploys and version uploads from aborting when the API omits optional binding fields - -Previously, `wrangler deploy --strict` and `wrangler versions upload --strict` could report a destructive change for an unchanged configuration, for example an R2 bucket in the default jurisdiction, because a field the API left out was compared as removed. Missing and unset optional fields are now treated as equal, so these commands proceed when the local configuration matches the deployed Worker. diff --git a/.changeset/tidy-wranglers-migrate.md b/.changeset/tidy-wranglers-migrate.md deleted file mode 100644 index 5f3e20e1625..00000000000 --- a/.changeset/tidy-wranglers-migrate.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Prevent legacy Wrangler configuration files from being silently ignored - -The Vite plugin now stops with an actionable error when `wrangler.json`, `wrangler.jsonc`, or `wrangler.toml` is present without `cloudflare.config.ts`. Run `npx cf migrate --bundler vite` to migrate the project before building. diff --git a/.changeset/vitest-five-peers.md b/.changeset/vitest-five-peers.md deleted file mode 100644 index 825186e0475..00000000000 --- a/.changeset/vitest-five-peers.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@cloudflare/workers-auth": patch -"@cloudflare/workers-utils": patch ---- - -Support Vitest 5 in shared test helpers - -The optional Vitest peer ranges now accept both Vitest 4 and 5, allowing consumers to upgrade without dropping compatibility with Vitest 4. diff --git a/.changeset/vitest-five-templates.md b/.changeset/vitest-five-templates.md deleted file mode 100644 index 8cd2e29e7ae..00000000000 --- a/.changeset/vitest-five-templates.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"create-cloudflare": patch ---- - -Use Vitest 5 in newly generated Workers projects - -Workers templates now install Vitest 5 and require @cloudflare/vitest-plugin 1.4.3 or newer, which supports Vitest's filesystem module cache. diff --git a/.changeset/workers-playground-cloudflare-config.md b/.changeset/workers-playground-cloudflare-config.md deleted file mode 100644 index dfa85d026bf..00000000000 --- a/.changeset/workers-playground-cloudflare-config.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/workers-playground": patch ---- - -Migrate Workers Playground to use `@cloudflare/vite-plugin` v2 beta and `cf` - -A single `cloudflare.config.ts` file is now used for development and builds. `cf` is used in place of Wrangler for deployments. diff --git a/packages/autoconfig/CHANGELOG.md b/packages/autoconfig/CHANGELOG.md index 080e8ed4b7c..7a1a6205c53 100644 --- a/packages/autoconfig/CHANGELOG.md +++ b/packages/autoconfig/CHANGELOG.md @@ -1,5 +1,14 @@ # @cloudflare/autoconfig +## 0.7.11 + +### Patch Changes + +- Updated dependencies [[`017bf9b`](https://github.com/cloudflare/workers-sdk/commit/017bf9b5117a8a511f4ed2c10dd2bd0b80b24c31)]: + - @cloudflare/workers-utils@0.47.3 + - @cloudflare/cli-shared-helpers@0.2.7 + - @cloudflare/config@0.27.0 + ## 0.7.10 ### Patch Changes diff --git a/packages/autoconfig/package.json b/packages/autoconfig/package.json index b4328679686..1dcc712f51a 100644 --- a/packages/autoconfig/package.json +++ b/packages/autoconfig/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/autoconfig", - "version": "0.7.10", + "version": "0.7.11", "description": "Framework autoconfig detection and configuration for Cloudflare Workers", "license": "MIT OR Apache-2.0", "repository": { diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 9f23adee47c..22eb354d46c 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/cli +## 0.2.7 + +### Patch Changes + +- Updated dependencies [[`017bf9b`](https://github.com/cloudflare/workers-sdk/commit/017bf9b5117a8a511f4ed2c10dd2bd0b80b24c31)]: + - @cloudflare/workers-utils@0.47.3 + ## 0.2.6 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 152dbd07755..de3e028b407 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/cli-shared-helpers", - "version": "0.2.6", + "version": "0.2.7", "description": "Internal shared CLI helpers for workers-sdk. Not intended for external use — APIs may change without notice.", "keywords": [ "cli", diff --git a/packages/containers-shared/CHANGELOG.md b/packages/containers-shared/CHANGELOG.md index c8c94e9e9ce..4309b9925de 100644 --- a/packages/containers-shared/CHANGELOG.md +++ b/packages/containers-shared/CHANGELOG.md @@ -1,5 +1,15 @@ # @cloudflare/containers-shared +## 0.23.1 + +### Patch Changes + +- Updated dependencies [[`017bf9b`](https://github.com/cloudflare/workers-sdk/commit/017bf9b5117a8a511f4ed2c10dd2bd0b80b24c31)]: + - @cloudflare/workers-utils@0.47.3 + - @cloudflare/build-output-utils@0.9.3 + - @cloudflare/cli-shared-helpers@0.2.7 + - @cloudflare/config@0.27.0 + ## 0.23.0 ### Minor Changes diff --git a/packages/containers-shared/package.json b/packages/containers-shared/package.json index ba2d3506066..263e51d7ad1 100644 --- a/packages/containers-shared/package.json +++ b/packages/containers-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/containers-shared", - "version": "0.23.0", + "version": "0.23.1", "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/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index b25700bb306..2fce678b535 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,13 @@ # create-cloudflare +## 2.74.2 + +### Patch Changes + +- [#16259](https://github.com/cloudflare/workers-sdk/pull/16259) [`017bf9b`](https://github.com/cloudflare/workers-sdk/commit/017bf9b5117a8a511f4ed2c10dd2bd0b80b24c31) Thanks [@NuroDev](https://github.com/NuroDev)! - Use Vitest 5 in newly generated Workers projects + + Workers templates now install Vitest 5 and require @cloudflare/vitest-plugin 1.4.3 or newer, which supports Vitest's filesystem module cache. + ## 2.74.1 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index 7ec8ff7947c..f91e7a200a9 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.74.1", + "version": "2.74.2", "description": "A CLI for creating and deploying new applications to Cloudflare.", "keywords": [ "cloudflare", diff --git a/packages/deploy-helpers/CHANGELOG.md b/packages/deploy-helpers/CHANGELOG.md index 3c3e34f8e10..8b8a883345d 100644 --- a/packages/deploy-helpers/CHANGELOG.md +++ b/packages/deploy-helpers/CHANGELOG.md @@ -1,5 +1,24 @@ # @cloudflare/deploy-helpers +## 0.22.1 + +### Patch Changes + +- [#16370](https://github.com/cloudflare/workers-sdk/pull/16370) [`61fc739`](https://github.com/cloudflare/workers-sdk/commit/61fc7397b2982db1c9b099cbeaee3fd0428fdf8a) Thanks [@WalshyDev](https://github.com/WalshyDev)! - Fetch the remote config diff from the configured compliance region + + When a Worker was last deployed from the dashboard, `wrangler deploy` and `wrangler versions upload` download its remote configuration to compare with the local one. These requests ignored the `compliance_region` field in the Wrangler configuration file and only honoured the `CLOUDFLARE_COMPLIANCE_REGION` environment variable. A FedRAMP High Worker configured through the config file would send them to `api.cloudflare.com` instead of `api.fed.cloudflare.com`, and the deploy would fail with authentication errors. They now use the same compliance region as the rest of the deploy. + +- [#16359](https://github.com/cloudflare/workers-sdk/pull/16359) [`262021d`](https://github.com/cloudflare/workers-sdk/commit/262021dd0db4d24df33405d89e4c1a6622ce832f) Thanks [@tw4](https://github.com/tw4)! - Stop `--strict` deploys and version uploads from aborting when the API omits optional binding fields + + Previously, `wrangler deploy --strict` and `wrangler versions upload --strict` could report a destructive change for an unchanged configuration, for example an R2 bucket in the default jurisdiction, because a field the API left out was compared as removed. Missing and unset optional fields are now treated as equal, so these commands proceed when the local configuration matches the deployed Worker. + +- Updated dependencies [[`3464abc`](https://github.com/cloudflare/workers-sdk/commit/3464abcfeb42bbe7fc3b30a4981cf1ef4c3970ba), [`017bf9b`](https://github.com/cloudflare/workers-sdk/commit/017bf9b5117a8a511f4ed2c10dd2bd0b80b24c31)]: + - miniflare@5.20261019.1-beta + - @cloudflare/workers-utils@0.47.3 + - @cloudflare/cli-shared-helpers@0.2.7 + - @cloudflare/config@0.27.0 + - @cloudflare/containers-shared@0.23.1 + ## 0.22.0 ### Minor Changes diff --git a/packages/deploy-helpers/package.json b/packages/deploy-helpers/package.json index dff59dc4967..01006b2ce3c 100644 --- a/packages/deploy-helpers/package.json +++ b/packages/deploy-helpers/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/deploy-helpers", - "version": "0.22.0", + "version": "0.22.1", "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 772f17220b0..2f039aabda3 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,15 @@ # miniflare +## 5.20261019.1-beta + +### Patch Changes + +- [#15708](https://github.com/cloudflare/workers-sdk/pull/15708) [`3464abc`](https://github.com/cloudflare/workers-sdk/commit/3464abcfeb42bbe7fc3b30a4981cf1ef4c3970ba) Thanks [@samstarling](https://github.com/samstarling)! - Dispose Workflow step results and introspection modifiers after use + + Release RPC resources deterministically during local Workflow execution and introspection. This prevents undisposed RPC warnings and requests being cancelled after their execution context has ended. Live step results retain their original data shape, including typed-array offsets and backing buffers. Callbacks that finish after a step times out also release their results, cancelling unused streams without delaying retries. + + Disposing an introspector still aborts the instance if modifier acquisition failed, without introducing a teardown error. Non-stream results containing function-valued array properties are rejected according to the serialisable-output contract, instead of silently discarding those properties during storage normalisation. + ## 5.20261019.0-beta ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 684480e5072..2938ff20c9a 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "5.20261019.0-beta", + "version": "5.20261019.1-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 5aaa1f3fb30..9238b80f570 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.13.200 + +### Patch Changes + +- Updated dependencies [[`3464abc`](https://github.com/cloudflare/workers-sdk/commit/3464abcfeb42bbe7fc3b30a4981cf1ef4c3970ba)]: + - miniflare@5.20261019.1-beta + ## 0.13.199 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 8da55a3cd2d..25f42a9e7e5 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.13.199", + "version": "0.13.200", "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 477fad91d09..4ce3ea00473 100644 --- a/packages/remote-bindings/CHANGELOG.md +++ b/packages/remote-bindings/CHANGELOG.md @@ -1,5 +1,16 @@ # @cloudflare/remote-bindings +## 0.0.51 + +### Patch Changes + +- Updated dependencies [[`61fc739`](https://github.com/cloudflare/workers-sdk/commit/61fc7397b2982db1c9b099cbeaee3fd0428fdf8a), [`3464abc`](https://github.com/cloudflare/workers-sdk/commit/3464abcfeb42bbe7fc3b30a4981cf1ef4c3970ba), [`262021d`](https://github.com/cloudflare/workers-sdk/commit/262021dd0db4d24df33405d89e4c1a6622ce832f), [`017bf9b`](https://github.com/cloudflare/workers-sdk/commit/017bf9b5117a8a511f4ed2c10dd2bd0b80b24c31)]: + - @cloudflare/deploy-helpers@0.22.1 + - miniflare@5.20261019.1-beta + - @cloudflare/workers-auth@0.14.1 + - @cloudflare/workers-utils@0.47.3 + - @cloudflare/cli-shared-helpers@0.2.7 + ## 0.0.50 ### Patch Changes diff --git a/packages/remote-bindings/package.json b/packages/remote-bindings/package.json index ff11cce82c9..826233a56ec 100644 --- a/packages/remote-bindings/package.json +++ b/packages/remote-bindings/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/remote-bindings", - "version": "0.0.50", + "version": "0.0.51", "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 f7024818940..ab97faac0f1 100644 --- a/packages/runtime-types/CHANGELOG.md +++ b/packages/runtime-types/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/runtime-types +## 0.1.14 + +### Patch Changes + +- Updated dependencies [[`3464abc`](https://github.com/cloudflare/workers-sdk/commit/3464abcfeb42bbe7fc3b30a4981cf1ef4c3970ba)]: + - miniflare@5.20261019.1-beta + ## 0.1.13 ### Patch Changes diff --git a/packages/runtime-types/package.json b/packages/runtime-types/package.json index 0ca3b5d21a4..da9528c9cbf 100644 --- a/packages/runtime-types/package.json +++ b/packages/runtime-types/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/runtime-types", - "version": "0.1.13", + "version": "0.1.14", "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 0519dfb2903..1f573292423 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,23 @@ # @cloudflare/vite-plugin +## 2.0.0-beta.v.3 + +### Patch Changes + +- [#15846](https://github.com/cloudflare/workers-sdk/pull/15846) [`a88cac4`](https://github.com/cloudflare/workers-sdk/commit/a88cac4d880629a4ad68f7173b3353941bea6081) Thanks [@oddharsh](https://github.com/oddharsh)! - Fail with an error instead of hanging when local dev requests can't work under Bun + + Bun's `fetch()` ignores the undici `dispatcher` that Miniflare routes requests through (oven-sh/bun#39247). Under Bun, `createTestHarness()`'s `server.fetch()` and `server.getWorker()`'s `fetch()`, `email()` and `scheduled()` now throw a `UserError`, requests to the dev server URL get a 503 naming the cause, and starting remote bindings throws a `UserError`. Each of these used to hang with no error. `server.getWorker().getEnv()` and `getExport()` keep working under Bun. + +- [#16318](https://github.com/cloudflare/workers-sdk/pull/16318) [`ff1f971`](https://github.com/cloudflare/workers-sdk/commit/ff1f97121dbcb053a7eed1b7e1ef89605ed7d777) Thanks [@jamesopstad](https://github.com/jamesopstad)! - Prevent legacy Wrangler configuration files from being silently ignored + + The Vite plugin now stops with an actionable error when `wrangler.json`, `wrangler.jsonc`, or `wrangler.toml` is present without `cloudflare.config.ts`. Run `npx cf migrate --bundler vite` to migrate the project before building. + +- Updated dependencies [[`3464abc`](https://github.com/cloudflare/workers-sdk/commit/3464abcfeb42bbe7fc3b30a4981cf1ef4c3970ba)]: + - miniflare@5.20261019.1-beta + - @cloudflare/runtime-types@0.1.14 + - @cloudflare/build-output-utils@0.9.3 + - @cloudflare/config@0.27.0 + ## 2.0.0-beta.v.2 ### Patch Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index 7425b59f2e6..e6174b344ae 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.2", + "version": "2.0.0-beta.v.3", "description": "Cloudflare plugin for Vite", "keywords": [ "cloudflare", diff --git a/packages/vitest-plugin/CHANGELOG.md b/packages/vitest-plugin/CHANGELOG.md index b6c128319ae..2d00297586d 100644 --- a/packages/vitest-plugin/CHANGELOG.md +++ b/packages/vitest-plugin/CHANGELOG.md @@ -1,5 +1,23 @@ # @cloudflare/vitest-plugin +## 1.4.6 + +### Patch Changes + +- [#15708](https://github.com/cloudflare/workers-sdk/pull/15708) [`3464abc`](https://github.com/cloudflare/workers-sdk/commit/3464abcfeb42bbe7fc3b30a4981cf1ef4c3970ba) Thanks [@samstarling](https://github.com/samstarling)! - Dispose Workflow step results and introspection modifiers after use + + Release RPC resources deterministically during local Workflow execution and introspection. This prevents undisposed RPC warnings and requests being cancelled after their execution context has ended. Live step results retain their original data shape, including typed-array offsets and backing buffers. Callbacks that finish after a step times out also release their results, cancelling unused streams without delaying retries. + + Disposing an introspector still aborts the instance if modifier acquisition failed, without introducing a teardown error. Non-stream results containing function-valued array properties are rejected according to the serialisable-output contract, instead of silently discarding those properties during storage normalisation. + +- [#15846](https://github.com/cloudflare/workers-sdk/pull/15846) [`a88cac4`](https://github.com/cloudflare/workers-sdk/commit/a88cac4d880629a4ad68f7173b3353941bea6081) Thanks [@oddharsh](https://github.com/oddharsh)! - Fail with an error instead of hanging when local dev requests can't work under Bun + + Bun's `fetch()` ignores the undici `dispatcher` that Miniflare routes requests through (oven-sh/bun#39247). Under Bun, `createTestHarness()`'s `server.fetch()` and `server.getWorker()`'s `fetch()`, `email()` and `scheduled()` now throw a `UserError`, requests to the dev server URL get a 503 naming the cause, and starting remote bindings throws a `UserError`. Each of these used to hang with no error. `server.getWorker().getEnv()` and `getExport()` keep working under Bun. + +- Updated dependencies [[`4508172`](https://github.com/cloudflare/workers-sdk/commit/45081725e9e5cb79b76ade277a7e61395cb55950), [`61fc739`](https://github.com/cloudflare/workers-sdk/commit/61fc7397b2982db1c9b099cbeaee3fd0428fdf8a), [`3464abc`](https://github.com/cloudflare/workers-sdk/commit/3464abcfeb42bbe7fc3b30a4981cf1ef4c3970ba), [`a88cac4`](https://github.com/cloudflare/workers-sdk/commit/a88cac4d880629a4ad68f7173b3353941bea6081), [`262021d`](https://github.com/cloudflare/workers-sdk/commit/262021dd0db4d24df33405d89e4c1a6622ce832f)]: + - wrangler@4.151.3 + - miniflare@5.20261019.1-beta + ## 1.4.5 ### Patch Changes diff --git a/packages/vitest-plugin/package.json b/packages/vitest-plugin/package.json index fc79d59b6cd..5b2c4703eec 100644 --- a/packages/vitest-plugin/package.json +++ b/packages/vitest-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vitest-plugin", - "version": "1.4.5", + "version": "1.4.6", "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 e09ed9d02c1..196cb72345b 100644 --- a/packages/workers-auth/CHANGELOG.md +++ b/packages/workers-auth/CHANGELOG.md @@ -1,5 +1,16 @@ # @cloudflare/workers-auth +## 0.14.1 + +### Patch Changes + +- [#16259](https://github.com/cloudflare/workers-sdk/pull/16259) [`017bf9b`](https://github.com/cloudflare/workers-sdk/commit/017bf9b5117a8a511f4ed2c10dd2bd0b80b24c31) Thanks [@NuroDev](https://github.com/NuroDev)! - Support Vitest 5 in shared test helpers + + The optional Vitest peer ranges now accept both Vitest 4 and 5, allowing consumers to upgrade without dropping compatibility with Vitest 4. + +- Updated dependencies [[`017bf9b`](https://github.com/cloudflare/workers-sdk/commit/017bf9b5117a8a511f4ed2c10dd2bd0b80b24c31)]: + - @cloudflare/workers-utils@0.47.3 + ## 0.14.0 ### Minor Changes diff --git a/packages/workers-auth/package.json b/packages/workers-auth/package.json index 3e8189e0ec9..2a0d92f77d1 100644 --- a/packages/workers-auth/package.json +++ b/packages/workers-auth/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-auth", - "version": "0.14.0", + "version": "0.14.1", "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-playground/CHANGELOG.md b/packages/workers-playground/CHANGELOG.md index 5c68998222f..ba0c7fc0591 100644 --- a/packages/workers-playground/CHANGELOG.md +++ b/packages/workers-playground/CHANGELOG.md @@ -1,5 +1,13 @@ # workers-playground +## 0.4.5 + +### Patch Changes + +- [#16323](https://github.com/cloudflare/workers-sdk/pull/16323) [`3fa1e33`](https://github.com/cloudflare/workers-sdk/commit/3fa1e334e0a2134eb173d028ebd8053f549fd103) Thanks [@jamesopstad](https://github.com/jamesopstad)! - Migrate Workers Playground to use `@cloudflare/vite-plugin` v2 beta and `cf` + + A single `cloudflare.config.ts` file is now used for development and builds. `cf` is used in place of Wrangler for deployments. + ## 0.4.4 ### Patch Changes diff --git a/packages/workers-playground/package.json b/packages/workers-playground/package.json index 1553da86854..ddc30b36ce0 100644 --- a/packages/workers-playground/package.json +++ b/packages/workers-playground/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-playground", - "version": "0.4.4", + "version": "0.4.5", "private": true, "type": "module", "scripts": { diff --git a/packages/workers-utils/CHANGELOG.md b/packages/workers-utils/CHANGELOG.md index b277b08e167..79a3a15c734 100644 --- a/packages/workers-utils/CHANGELOG.md +++ b/packages/workers-utils/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/workers-utils +## 0.47.3 + +### Patch Changes + +- [#16259](https://github.com/cloudflare/workers-sdk/pull/16259) [`017bf9b`](https://github.com/cloudflare/workers-sdk/commit/017bf9b5117a8a511f4ed2c10dd2bd0b80b24c31) Thanks [@NuroDev](https://github.com/NuroDev)! - Support Vitest 5 in shared test helpers + + The optional Vitest peer ranges now accept both Vitest 4 and 5, allowing consumers to upgrade without dropping compatibility with Vitest 4. + ## 0.47.2 ### Patch Changes diff --git a/packages/workers-utils/package.json b/packages/workers-utils/package.json index 8c706ef7bf6..eb90259a20f 100644 --- a/packages/workers-utils/package.json +++ b/packages/workers-utils/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-utils", - "version": "0.47.2", + "version": "0.47.3", "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/workflows-shared/CHANGELOG.md b/packages/workflows-shared/CHANGELOG.md index ea893f683b4..558659a801c 100644 --- a/packages/workflows-shared/CHANGELOG.md +++ b/packages/workflows-shared/CHANGELOG.md @@ -1,5 +1,15 @@ # @cloudflare/workflows-shared +## 0.15.2 + +### Patch Changes + +- [#15708](https://github.com/cloudflare/workers-sdk/pull/15708) [`3464abc`](https://github.com/cloudflare/workers-sdk/commit/3464abcfeb42bbe7fc3b30a4981cf1ef4c3970ba) Thanks [@samstarling](https://github.com/samstarling)! - Dispose Workflow step results and introspection modifiers after use + + Release RPC resources deterministically during local Workflow execution and introspection. This prevents undisposed RPC warnings and requests being cancelled after their execution context has ended. Live step results retain their original data shape, including typed-array offsets and backing buffers. Callbacks that finish after a step times out also release their results, cancelling unused streams without delaying retries. + + Disposing an introspector still aborts the instance if modifier acquisition failed, without introducing a teardown error. Non-stream results containing function-valued array properties are rejected according to the serialisable-output contract, instead of silently discarding those properties during storage normalisation. + ## 0.15.1 ### Patch Changes diff --git a/packages/workflows-shared/package.json b/packages/workflows-shared/package.json index ac1eab6916b..1939e9b5f0a 100644 --- a/packages/workflows-shared/package.json +++ b/packages/workflows-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workflows-shared", - "version": "0.15.1", + "version": "0.15.2", "private": true, "description": "Package that is used at Cloudflare to power some internal features of Cloudflare Workflows.", "keywords": [ diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index c4174016461..0dd7b49577a 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,28 @@ # wrangler +## 4.151.3 + +### Patch Changes + +- [#15611](https://github.com/cloudflare/workers-sdk/pull/15611) [`4508172`](https://github.com/cloudflare/workers-sdk/commit/45081725e9e5cb79b76ade277a7e61395cb55950) Thanks [@taylorlee](https://github.com/taylorlee)! - Allow `wrangler dev` to start module Workers without a default export + + Previously, `wrangler dev` failed to start module Workers that exported only named entrypoints, such as RPC services, unless an unused default export was added. These Workers now start normally in local development without that workaround. + +- [#16370](https://github.com/cloudflare/workers-sdk/pull/16370) [`61fc739`](https://github.com/cloudflare/workers-sdk/commit/61fc7397b2982db1c9b099cbeaee3fd0428fdf8a) Thanks [@WalshyDev](https://github.com/WalshyDev)! - Fetch the remote config diff from the configured compliance region + + When a Worker was last deployed from the dashboard, `wrangler deploy` and `wrangler versions upload` download its remote configuration to compare with the local one. These requests ignored the `compliance_region` field in the Wrangler configuration file and only honoured the `CLOUDFLARE_COMPLIANCE_REGION` environment variable. A FedRAMP High Worker configured through the config file would send them to `api.cloudflare.com` instead of `api.fed.cloudflare.com`, and the deploy would fail with authentication errors. They now use the same compliance region as the rest of the deploy. + +- [#15846](https://github.com/cloudflare/workers-sdk/pull/15846) [`a88cac4`](https://github.com/cloudflare/workers-sdk/commit/a88cac4d880629a4ad68f7173b3353941bea6081) Thanks [@oddharsh](https://github.com/oddharsh)! - Fail with an error instead of hanging when local dev requests can't work under Bun + + Bun's `fetch()` ignores the undici `dispatcher` that Miniflare routes requests through (oven-sh/bun#39247). Under Bun, `createTestHarness()`'s `server.fetch()` and `server.getWorker()`'s `fetch()`, `email()` and `scheduled()` now throw a `UserError`, requests to the dev server URL get a 503 naming the cause, and starting remote bindings throws a `UserError`. Each of these used to hang with no error. `server.getWorker().getEnv()` and `getExport()` keep working under Bun. + +- [#16359](https://github.com/cloudflare/workers-sdk/pull/16359) [`262021d`](https://github.com/cloudflare/workers-sdk/commit/262021dd0db4d24df33405d89e4c1a6622ce832f) Thanks [@tw4](https://github.com/tw4)! - Stop `--strict` deploys and version uploads from aborting when the API omits optional binding fields + + Previously, `wrangler deploy --strict` and `wrangler versions upload --strict` could report a destructive change for an unchanged configuration, for example an R2 bucket in the default jurisdiction, because a field the API left out was compared as removed. Missing and unset optional fields are now treated as equal, so these commands proceed when the local configuration matches the deployed Worker. + +- Updated dependencies [[`3464abc`](https://github.com/cloudflare/workers-sdk/commit/3464abcfeb42bbe7fc3b30a4981cf1ef4c3970ba)]: + - miniflare@5.20261019.1-beta + ## 4.151.2 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 37000b97ba5..0c2ab898f9c 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.151.2", + "version": "4.151.3", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "assembly",