diff --git a/.changeset/ai-search-inherit-display.md b/.changeset/ai-search-inherit-display.md deleted file mode 100644 index 542ca597ef..0000000000 --- a/.changeset/ai-search-inherit-display.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Fix inherited `ai_search_namespaces` binding display in `wrangler deploy` - -When an `ai_search_namespaces` binding inherits from the existing deployment, the bindings table now correctly shows `(inherited)` instead of a raw `Symbol(inherit_binding)` string. diff --git a/.changeset/angry-bears-count.md b/.changeset/angry-bears-count.md deleted file mode 100644 index 9cc6b5e365..0000000000 --- a/.changeset/angry-bears-count.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@cloudflare/workers-utils": minor -"wrangler": minor ---- - -Add enabled and previews_enabled support for custom domain routes - -Custom domain routes can now include optional `enabled` and `previews_enabled` boolean fields to control whether a custom domain serves production and/or preview traffic. When omitted, the API defaults apply (production enabled, previews disabled). diff --git a/.changeset/dependabot-update-13633.md b/.changeset/dependabot-update-13633.md deleted file mode 100644 index 10c65e598e..0000000000 --- a/.changeset/dependabot-update-13633.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"miniflare": patch -"wrangler": patch ---- - -Update dependencies of "miniflare", "wrangler" - -The following dependency versions have been updated: - -| Dependency | From | To | -| ---------- | ------------ | ------------ | -| workerd | 1.20260421.1 | 1.20260422.1 | diff --git a/.changeset/dependabot-update-13645.md b/.changeset/dependabot-update-13645.md deleted file mode 100644 index b4d9e5ef4e..0000000000 --- a/.changeset/dependabot-update-13645.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"miniflare": patch -"wrangler": patch ---- - -Update dependencies of "miniflare", "wrangler" - -The following dependency versions have been updated: - -| Dependency | From | To | -| ---------- | ------------ | ------------ | -| workerd | 1.20260422.1 | 1.20260423.1 | diff --git a/.changeset/dependabot-update-13657.md b/.changeset/dependabot-update-13657.md deleted file mode 100644 index ee4001f528..0000000000 --- a/.changeset/dependabot-update-13657.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"miniflare": patch -"wrangler": patch ---- - -Update dependencies of "miniflare", "wrangler" - -The following dependency versions have been updated: - -| Dependency | From | To | -| ---------- | ------------ | ------------ | -| workerd | 1.20260423.1 | 1.20260424.1 | diff --git a/.changeset/detect-waf-block-response.md b/.changeset/detect-waf-block-response.md deleted file mode 100644 index f8f48ea14d..0000000000 --- a/.changeset/detect-waf-block-response.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"wrangler": patch ---- - -Detect Cloudflare WAF block pages and include Ray ID in API error messages - -When the Cloudflare WAF blocks an API request, the response is an HTML page rather than JSON. Previously, this caused a confusing "Received a malformed response from the API" error with a truncated HTML snippet. Wrangler now detects WAF block pages and displays a clear error message explaining that the request was blocked by the firewall, along with the Cloudflare Ray ID (when available) for use in support tickets. - -For other non-JSON responses that aren't WAF blocks, the "malformed response" error also now includes the Ray ID to help reference failing requests in support tickets. diff --git a/.changeset/dev-registry-windows-polling.md b/.changeset/dev-registry-windows-polling.md deleted file mode 100644 index ef0f17981b..0000000000 --- a/.changeset/dev-registry-windows-polling.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"miniflare": patch ---- - -Make the dev registry watcher reliable on Windows - -The filesystem-based dev registry used `chokidar` with default settings, which on Windows backs onto `fs.watch` (`ReadDirectoryChangesW`). That API is known to drop or delay create events for files added shortly after the watcher attaches, which is especially common under CI virtualization. When this happened, a process that had attached its watcher before another process registered its worker would never be notified of the new entry until the next 30-second heartbeat — long enough to time out cross-process service-binding calls. - -Switch to chokidar's polling mode on Windows so the dev registry observes cross-process worker registrations reliably. The registry directory is small and a 100ms poll interval has negligible cost. Non-Windows platforms continue to use the more efficient native filesystem-event backend. diff --git a/.changeset/fix-nonretryable-error-message.md b/.changeset/fix-nonretryable-error-message.md deleted file mode 100644 index 73feec0d34..0000000000 --- a/.changeset/fix-nonretryable-error-message.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/workflows-shared": patch -"wrangler": patch -"miniflare": patch ---- - -Preserve NonRetryableError message and name when the `workflows_preserve_non_retryable_error_message` compatibility flag is enabled, instead of replacing it with a generic error message. diff --git a/.changeset/fix-vite-config-denylist.md b/.changeset/fix-vite-config-denylist.md deleted file mode 100644 index aaa2654309..0000000000 --- a/.changeset/fix-vite-config-denylist.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Stop denying `vite.config.*` files from Vite dev server access - -This allows projects to access `vite.config.*` files during development when needed. diff --git a/.changeset/ninety-doors-sit.md b/.changeset/ninety-doors-sit.md deleted file mode 100644 index 74f4d1f91d..0000000000 --- a/.changeset/ninety-doors-sit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/unenv-preset": patch ---- - -refactor: simplify workerd peer dependency range diff --git a/.changeset/publish-cli-shared-helpers-and-workers-utils.md b/.changeset/publish-cli-shared-helpers-and-workers-utils.md deleted file mode 100644 index 3bb7fca7fc..0000000000 --- a/.changeset/publish-cli-shared-helpers-and-workers-utils.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@cloudflare/cli-shared-helpers": minor -"@cloudflare/workers-utils": minor ---- - -Publish `@cloudflare/cli-shared-helpers` and `@cloudflare/workers-utils` to npm diff --git a/.changeset/silent-bananas-shop.md b/.changeset/silent-bananas-shop.md deleted file mode 100644 index dd1c2f3c7c..0000000000 --- a/.changeset/silent-bananas-shop.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Use the date that the plugin is built as the default compatibility date. - -When no compatibility date was set by the user, the plugin was falling back to the current date. This meant that the date could get ahead of the latest date supported by the installed version of workerd. We now populate the default compatibility date when the plugin is built. This means that it is updated with each release but then stays fixed. diff --git a/.changeset/sour-bears-shake.md b/.changeset/sour-bears-shake.md deleted file mode 100644 index c2f4854eac..0000000000 --- a/.changeset/sour-bears-shake.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Simplify `/cdn-cgi/` handling - -We now only add special handling for `/cdn-cgi/handler/*` routes, so that trigger handlers are invoked on the User Worker. diff --git a/.changeset/sour-paws-thank.md b/.changeset/sour-paws-thank.md deleted file mode 100644 index 2bd1cff377..0000000000 --- a/.changeset/sour-paws-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -fix(wrangler): Bind the console methods directly instead of using a global proxy diff --git a/.changeset/stream-local-video-serving.md b/.changeset/stream-local-video-serving.md deleted file mode 100644 index 65c33cba63..0000000000 --- a/.changeset/stream-local-video-serving.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"miniflare": minor ---- - -Support serving videos locally, add `publicUrl` option for stable stream preview URLs, and add caption upload support via ReadableStream - -Videos uploaded while in local mode are now served at `/cdn-cgi/mf/stream//watch`. The `preview` field in `StreamVideo` is now directly fetchable during development. - -A new `publicUrl` option on `MiniflareOptions` allows callers (e.g. Wrangler, the Vite plugin) to advertise a stable, externally-reachable URL for the Miniflare instance. When set, Stream preview URLs use this value instead of the runtime entry URL, so they remain valid across runtime restarts and port changes. The same value is also exposed as a mutable `miniflare.publicUrl` property. - -The helper functions `buildPublicUrl` and `getLocallyAccessibleHost` are now exported from `miniflare`, enabling consumers to construct client-reachable URLs that correctly handle IPv6 addresses (bracketing) and wildcard listen addresses (`0.0.0.0`, `::`, `*` → `127.0.0.1`). - -Caption uploads via `ReadableStream` are now supported in local mode. They no longer throw a "not supported in local mode" error. diff --git a/.changeset/update-clack-to-v1.md b/.changeset/update-clack-to-v1.md deleted file mode 100644 index 78e6eaf701..0000000000 --- a/.changeset/update-clack-to-v1.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"wrangler": patch -"create-cloudflare": patch -"miniflare": patch ---- - -Update `@clack/core` and `@clack/prompts` to v1.2.0 - -Bumps the bundled `@clack/core` dependency used internally by `@cloudflare/cli` from `0.3.x` to `1.2.0`, and the `@clack/prompts` dependency in `create-cloudflare` from `0.6.x` to `1.2.0`. Clack v1 includes a number of API changes, but no user-facing prompt behaviour changes are expected. diff --git a/.changeset/vite-plugin-cf-registry-support.md b/.changeset/vite-plugin-cf-registry-support.md deleted file mode 100644 index 9ff8179afc..0000000000 --- a/.changeset/vite-plugin-cf-registry-support.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch -"@cloudflare/containers-shared": patch ---- - -Support Cloudflare-managed registry images in Vite plugin local dev - -Previously, using a `registry.cloudflare.com` image in a `containers` binding would crash `vite dev` with an unsupported error. The Vite plugin now configures the Cloudflare API client using `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID` before pulling container images, matching the behavior of `wrangler dev`. diff --git a/.changeset/vitest-pool-workers-reset-helper.md b/.changeset/vitest-pool-workers-reset-helper.md deleted file mode 100644 index 1552bf88cf..0000000000 --- a/.changeset/vitest-pool-workers-reset-helper.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -"@cloudflare/vitest-pool-workers": minor ---- - -Add `reset()` and `abortAllDurableObjects()` helpers to `cloudflare:test` - -The `reset()` helper deletes all data from attached bindings, and resets all Durable Object instances. This is useful for resetting state between test blocks. - -The `abortAllDurableObjects()` helper resets all Durable Object instances without deleting persisted data. - -```ts -import { reset } from "cloudflare:test"; -import { afterEach } from "vitest"; - -afterEach(async () => { - await reset(); -}); -``` diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 7c6c55d836..b96de09ac7 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,16 @@ # @cloudflare/cli +## 0.1.0 + +### Minor Changes + +- [#13651](https://github.com/cloudflare/workers-sdk/pull/13651) [`47ac63f`](https://github.com/cloudflare/workers-sdk/commit/47ac63f05ca86d781110490ff21ff88f2828fbbf) Thanks [@penalosa](https://github.com/penalosa)! - Publish `@cloudflare/cli-shared-helpers` and `@cloudflare/workers-utils` to npm + +### Patch Changes + +- Updated dependencies [[`5680287`](https://github.com/cloudflare/workers-sdk/commit/56802879641c123ee11160d77ecaf104915cd826), [`47ac63f`](https://github.com/cloudflare/workers-sdk/commit/47ac63f05ca86d781110490ff21ff88f2828fbbf)]: + - @cloudflare/workers-utils@0.18.0 + ## 1.4.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 806ef72512..08a9e7a096 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/cli-shared-helpers", - "version": "0.0.0", + "version": "0.1.0", "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 a91149484f..3cdf303a61 100644 --- a/packages/containers-shared/CHANGELOG.md +++ b/packages/containers-shared/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/containers-shared +## 0.14.1 + +### Patch Changes + +- [#13611](https://github.com/cloudflare/workers-sdk/pull/13611) [`6e99feb`](https://github.com/cloudflare/workers-sdk/commit/6e99feb9c8a883cc41caa6fadca8a283fc302d97) Thanks [@smaldd14](https://github.com/smaldd14)! - Support Cloudflare-managed registry images in Vite plugin local dev + + Previously, using a `registry.cloudflare.com` image in a `containers` binding would crash `vite dev` with an unsupported error. The Vite plugin now configures the Cloudflare API client using `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID` before pulling container images, matching the behavior of `wrangler dev`. + ## 0.14.0 ### Minor Changes diff --git a/packages/containers-shared/package.json b/packages/containers-shared/package.json index 5c68279217..dcad476fac 100644 --- a/packages/containers-shared/package.json +++ b/packages/containers-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/containers-shared", - "version": "0.14.0", + "version": "0.14.1", "private": true, "description": "Package that contains shared container functionality for Cloudflare Workers SDK.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/containers-shared#readme", diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index 9911358c27..12962d02e1 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,13 @@ # create-cloudflare +## 2.67.3 + +### Patch Changes + +- [#13644](https://github.com/cloudflare/workers-sdk/pull/13644) [`377715d`](https://github.com/cloudflare/workers-sdk/commit/377715d9f6ec7f3428e12a6ce56b367984fb0673) Thanks [@MattieTK](https://github.com/MattieTK)! - Update `@clack/core` and `@clack/prompts` to v1.2.0 + + Bumps the bundled `@clack/core` dependency used internally by `@cloudflare/cli` from `0.3.x` to `1.2.0`, and the `@clack/prompts` dependency in `create-cloudflare` from `0.6.x` to `1.2.0`. Clack v1 includes a number of API changes, but no user-facing prompt behaviour changes are expected. + ## 2.67.2 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index 4d6aab2b29..aac18bd5da 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.67.2", + "version": "2.67.3", "description": "A CLI for creating and deploying new applications to Cloudflare.", "keywords": [ "cloudflare", diff --git a/packages/miniflare/CHANGELOG.md b/packages/miniflare/CHANGELOG.md index a16bb11273..36bf329b0f 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,57 @@ # miniflare +## 4.20260424.0 + +### Minor Changes + +- [#13234](https://github.com/cloudflare/workers-sdk/pull/13234) [`7fc50c1`](https://github.com/cloudflare/workers-sdk/commit/7fc50c1e5a6dfaaba84e774f4a5053716dae15ee) Thanks [@natewong1313](https://github.com/natewong1313)! - Support serving videos locally, add `publicUrl` option for stable stream preview URLs, and add caption upload support via ReadableStream + + Videos uploaded while in local mode are now served at `/cdn-cgi/mf/stream//watch`. The `preview` field in `StreamVideo` is now directly fetchable during development. + + A new `publicUrl` option on `MiniflareOptions` allows callers (e.g. Wrangler, the Vite plugin) to advertise a stable, externally-reachable URL for the Miniflare instance. When set, Stream preview URLs use this value instead of the runtime entry URL, so they remain valid across runtime restarts and port changes. The same value is also exposed as a mutable `miniflare.publicUrl` property. + + The helper functions `buildPublicUrl` and `getLocallyAccessibleHost` are now exported from `miniflare`, enabling consumers to construct client-reachable URLs that correctly handle IPv6 addresses (bracketing) and wildcard listen addresses (`0.0.0.0`, `::`, `*` → `127.0.0.1`). + + Caption uploads via `ReadableStream` are now supported in local mode. They no longer throw a "not supported in local mode" error. + +### Patch Changes + +- [#13633](https://github.com/cloudflare/workers-sdk/pull/13633) [`3494842`](https://github.com/cloudflare/workers-sdk/commit/34948423c4d873a3b493091b2a39ae9ed389bb67) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------------ | ------------ | + | workerd | 1.20260421.1 | 1.20260422.1 | + +- [#13645](https://github.com/cloudflare/workers-sdk/pull/13645) [`7d728fb`](https://github.com/cloudflare/workers-sdk/commit/7d728fbca56a58b621767c83f734c1daf3e11c41) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------------ | ------------ | + | workerd | 1.20260422.1 | 1.20260423.1 | + +- [#13657](https://github.com/cloudflare/workers-sdk/pull/13657) [`df9319d`](https://github.com/cloudflare/workers-sdk/commit/df9319d3c302866db7972ec5636a80d041e80900) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------------ | ------------ | + | workerd | 1.20260423.1 | 1.20260424.1 | + +- [#13659](https://github.com/cloudflare/workers-sdk/pull/13659) [`3ceeec3`](https://github.com/cloudflare/workers-sdk/commit/3ceeec34173d110048d0c18db5dd4d60fa308f75) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Make the dev registry watcher reliable on Windows + + The filesystem-based dev registry used `chokidar` with default settings, which on Windows backs onto `fs.watch` (`ReadDirectoryChangesW`). That API is known to drop or delay create events for files added shortly after the watcher attaches, which is especially common under CI virtualization. When this happened, a process that had attached its watcher before another process registered its worker would never be notified of the new entry until the next 30-second heartbeat — long enough to time out cross-process service-binding calls. + + Switch to chokidar's polling mode on Windows so the dev registry observes cross-process worker registrations reliably. The registry directory is small and a 100ms poll interval has negligible cost. Non-Windows platforms continue to use the more efficient native filesystem-event backend. + +- [#13560](https://github.com/cloudflare/workers-sdk/pull/13560) [`7567ef7`](https://github.com/cloudflare/workers-sdk/commit/7567ef703f1bf157ef29e6d19dd0dd9f1ff8771f) Thanks [@vaishnav-mk](https://github.com/vaishnav-mk)! - Preserve NonRetryableError message and name when the `workflows_preserve_non_retryable_error_message` compatibility flag is enabled, instead of replacing it with a generic error message. + +- [#13644](https://github.com/cloudflare/workers-sdk/pull/13644) [`377715d`](https://github.com/cloudflare/workers-sdk/commit/377715d9f6ec7f3428e12a6ce56b367984fb0673) Thanks [@MattieTK](https://github.com/MattieTK)! - Update `@clack/core` and `@clack/prompts` to v1.2.0 + + Bumps the bundled `@clack/core` dependency used internally by `@cloudflare/cli` from `0.3.x` to `1.2.0`, and the `@clack/prompts` dependency in `create-cloudflare` from `0.6.x` to `1.2.0`. Clack v1 includes a number of API changes, but no user-facing prompt behaviour changes are expected. + ## 4.20260421.0 ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index c11dfc9946..8e833c7911 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "4.20260421.0", + "version": "4.20260424.0", "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 50f21b72cb..6281666b82 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.13.128 + +### Patch Changes + +- Updated dependencies [[`3494842`](https://github.com/cloudflare/workers-sdk/commit/34948423c4d873a3b493091b2a39ae9ed389bb67), [`7d728fb`](https://github.com/cloudflare/workers-sdk/commit/7d728fbca56a58b621767c83f734c1daf3e11c41), [`df9319d`](https://github.com/cloudflare/workers-sdk/commit/df9319d3c302866db7972ec5636a80d041e80900), [`3ceeec3`](https://github.com/cloudflare/workers-sdk/commit/3ceeec34173d110048d0c18db5dd4d60fa308f75), [`7567ef7`](https://github.com/cloudflare/workers-sdk/commit/7567ef703f1bf157ef29e6d19dd0dd9f1ff8771f), [`7fc50c1`](https://github.com/cloudflare/workers-sdk/commit/7fc50c1e5a6dfaaba84e774f4a5053716dae15ee), [`377715d`](https://github.com/cloudflare/workers-sdk/commit/377715d9f6ec7f3428e12a6ce56b367984fb0673)]: + - miniflare@4.20260424.0 + ## 0.13.127 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 7410771b9f..92c07592e7 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.13.127", + "version": "0.13.128", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/unenv-preset/CHANGELOG.md b/packages/unenv-preset/CHANGELOG.md index 945a213702..875bfa6550 100644 --- a/packages/unenv-preset/CHANGELOG.md +++ b/packages/unenv-preset/CHANGELOG.md @@ -1,5 +1,11 @@ # @cloudflare/unenv-preset +## 2.16.1 + +### Patch Changes + +- [#13647](https://github.com/cloudflare/workers-sdk/pull/13647) [`0a95061`](https://github.com/cloudflare/workers-sdk/commit/0a95061dbbd3c013a257c8ece99ed3f50e1a9870) Thanks [@vicb](https://github.com/vicb)! - refactor: simplify workerd peer dependency range + ## 2.16.0 ### Minor Changes diff --git a/packages/unenv-preset/package.json b/packages/unenv-preset/package.json index 54e8637a03..c55fb34c87 100644 --- a/packages/unenv-preset/package.json +++ b/packages/unenv-preset/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/unenv-preset", - "version": "2.16.0", + "version": "2.16.1", "description": "cloudflare preset for unenv", "keywords": [ "Node.js", diff --git a/packages/vite-plugin-cloudflare/CHANGELOG.md b/packages/vite-plugin-cloudflare/CHANGELOG.md index fabcdc47eb..d14d2b0eb1 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,30 @@ # @cloudflare/vite-plugin +## 1.33.2 + +### Patch Changes + +- [#13636](https://github.com/cloudflare/workers-sdk/pull/13636) [`1d54fb7`](https://github.com/cloudflare/workers-sdk/commit/1d54fb7137a8489df86836a94226e65ae44e9bff) Thanks [@edmundhung](https://github.com/edmundhung)! - Stop denying `vite.config.*` files from Vite dev server access + + This allows projects to access `vite.config.*` files during development when needed. + +- [#13653](https://github.com/cloudflare/workers-sdk/pull/13653) [`48c61b6`](https://github.com/cloudflare/workers-sdk/commit/48c61b65e0efba88ed1cc1b1b2b087fd29938b83) Thanks [@jamesopstad](https://github.com/jamesopstad)! - Use the date that the plugin is built as the default compatibility date. + + When no compatibility date was set by the user, the plugin was falling back to the current date. This meant that the date could get ahead of the latest date supported by the installed version of workerd. We now populate the default compatibility date when the plugin is built. This means that it is updated with each release but then stays fixed. + +- [#13634](https://github.com/cloudflare/workers-sdk/pull/13634) [`f3cb2b2`](https://github.com/cloudflare/workers-sdk/commit/f3cb2b2615ff4dde1b0c514f8213a5accc0a6b45) Thanks [@jamesopstad](https://github.com/jamesopstad)! - Simplify `/cdn-cgi/` handling + + We now only add special handling for `/cdn-cgi/handler/*` routes, so that trigger handlers are invoked on the User Worker. + +- [#13611](https://github.com/cloudflare/workers-sdk/pull/13611) [`6e99feb`](https://github.com/cloudflare/workers-sdk/commit/6e99feb9c8a883cc41caa6fadca8a283fc302d97) Thanks [@smaldd14](https://github.com/smaldd14)! - Support Cloudflare-managed registry images in Vite plugin local dev + + Previously, using a `registry.cloudflare.com` image in a `containers` binding would crash `vite dev` with an unsupported error. The Vite plugin now configures the Cloudflare API client using `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID` before pulling container images, matching the behavior of `wrangler dev`. + +- Updated dependencies [[`5a2968a`](https://github.com/cloudflare/workers-sdk/commit/5a2968ab69dd3d42ddf532fc547236a2f034874d), [`5680287`](https://github.com/cloudflare/workers-sdk/commit/56802879641c123ee11160d77ecaf104915cd826), [`3494842`](https://github.com/cloudflare/workers-sdk/commit/34948423c4d873a3b493091b2a39ae9ed389bb67), [`7d728fb`](https://github.com/cloudflare/workers-sdk/commit/7d728fbca56a58b621767c83f734c1daf3e11c41), [`df9319d`](https://github.com/cloudflare/workers-sdk/commit/df9319d3c302866db7972ec5636a80d041e80900), [`d5e3c57`](https://github.com/cloudflare/workers-sdk/commit/d5e3c57207f2c76defee1878c3cfaa8ca41dbcc7), [`3ceeec3`](https://github.com/cloudflare/workers-sdk/commit/3ceeec34173d110048d0c18db5dd4d60fa308f75), [`7567ef7`](https://github.com/cloudflare/workers-sdk/commit/7567ef703f1bf157ef29e6d19dd0dd9f1ff8771f), [`0a95061`](https://github.com/cloudflare/workers-sdk/commit/0a95061dbbd3c013a257c8ece99ed3f50e1a9870), [`2831b54`](https://github.com/cloudflare/workers-sdk/commit/2831b545efe86c71fe1930909ca9e891c27a0722), [`7fc50c1`](https://github.com/cloudflare/workers-sdk/commit/7fc50c1e5a6dfaaba84e774f4a5053716dae15ee), [`377715d`](https://github.com/cloudflare/workers-sdk/commit/377715d9f6ec7f3428e12a6ce56b367984fb0673)]: + - wrangler@4.85.0 + - miniflare@4.20260424.0 + - @cloudflare/unenv-preset@2.16.1 + ## 1.33.1 ### Patch Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index 1b9f44bf4f..d9797f8c1a 100644 --- a/packages/vite-plugin-cloudflare/package.json +++ b/packages/vite-plugin-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vite-plugin", - "version": "1.33.1", + "version": "1.33.2", "description": "Cloudflare plugin for Vite", "keywords": [ "cloudflare", diff --git a/packages/vitest-pool-workers/CHANGELOG.md b/packages/vitest-pool-workers/CHANGELOG.md index a96d53731b..94d302a446 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,30 @@ # @cloudflare/vitest-pool-workers +## 0.15.0 + +### Minor Changes + +- [#13623](https://github.com/cloudflare/workers-sdk/pull/13623) [`b156b2e`](https://github.com/cloudflare/workers-sdk/commit/b156b2e420351852b408d13c2bea10105ad96390) Thanks [@penalosa](https://github.com/penalosa)! - Add `reset()` and `abortAllDurableObjects()` helpers to `cloudflare:test` + + The `reset()` helper deletes all data from attached bindings, and resets all Durable Object instances. This is useful for resetting state between test blocks. + + The `abortAllDurableObjects()` helper resets all Durable Object instances without deleting persisted data. + + ```ts + import { reset } from "cloudflare:test"; + import { afterEach } from "vitest"; + + afterEach(async () => { + await reset(); + }); + ``` + +### Patch Changes + +- Updated dependencies [[`5a2968a`](https://github.com/cloudflare/workers-sdk/commit/5a2968ab69dd3d42ddf532fc547236a2f034874d), [`5680287`](https://github.com/cloudflare/workers-sdk/commit/56802879641c123ee11160d77ecaf104915cd826), [`3494842`](https://github.com/cloudflare/workers-sdk/commit/34948423c4d873a3b493091b2a39ae9ed389bb67), [`7d728fb`](https://github.com/cloudflare/workers-sdk/commit/7d728fbca56a58b621767c83f734c1daf3e11c41), [`df9319d`](https://github.com/cloudflare/workers-sdk/commit/df9319d3c302866db7972ec5636a80d041e80900), [`d5e3c57`](https://github.com/cloudflare/workers-sdk/commit/d5e3c57207f2c76defee1878c3cfaa8ca41dbcc7), [`3ceeec3`](https://github.com/cloudflare/workers-sdk/commit/3ceeec34173d110048d0c18db5dd4d60fa308f75), [`7567ef7`](https://github.com/cloudflare/workers-sdk/commit/7567ef703f1bf157ef29e6d19dd0dd9f1ff8771f), [`2831b54`](https://github.com/cloudflare/workers-sdk/commit/2831b545efe86c71fe1930909ca9e891c27a0722), [`7fc50c1`](https://github.com/cloudflare/workers-sdk/commit/7fc50c1e5a6dfaaba84e774f4a5053716dae15ee), [`377715d`](https://github.com/cloudflare/workers-sdk/commit/377715d9f6ec7f3428e12a6ce56b367984fb0673)]: + - wrangler@4.85.0 + - miniflare@4.20260424.0 + ## 0.14.9 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index 943afcc266..7acb394394 100644 --- a/packages/vitest-pool-workers/package.json +++ b/packages/vitest-pool-workers/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vitest-pool-workers", - "version": "0.14.9", + "version": "0.15.0", "description": "Workers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime", "keywords": [ "cloudflare", diff --git a/packages/workers-utils/CHANGELOG.md b/packages/workers-utils/CHANGELOG.md index 32f8105402..9a07f699b5 100644 --- a/packages/workers-utils/CHANGELOG.md +++ b/packages/workers-utils/CHANGELOG.md @@ -1,5 +1,15 @@ # @cloudflare/workers-utils +## 0.18.0 + +### Minor Changes + +- [#13222](https://github.com/cloudflare/workers-sdk/pull/13222) [`5680287`](https://github.com/cloudflare/workers-sdk/commit/56802879641c123ee11160d77ecaf104915cd826) Thanks [@maxwellpeterson](https://github.com/maxwellpeterson)! - Add enabled and previews_enabled support for custom domain routes + + Custom domain routes can now include optional `enabled` and `previews_enabled` boolean fields to control whether a custom domain serves production and/or preview traffic. When omitted, the API defaults apply (production enabled, previews disabled). + +- [#13651](https://github.com/cloudflare/workers-sdk/pull/13651) [`47ac63f`](https://github.com/cloudflare/workers-sdk/commit/47ac63f05ca86d781110490ff21ff88f2828fbbf) Thanks [@penalosa](https://github.com/penalosa)! - Publish `@cloudflare/cli-shared-helpers` and `@cloudflare/workers-utils` to npm + ## 0.17.0 ### Minor Changes diff --git a/packages/workers-utils/package.json b/packages/workers-utils/package.json index ec29118511..de9c8df161 100644 --- a/packages/workers-utils/package.json +++ b/packages/workers-utils/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-utils", - "version": "0.17.0", + "version": "0.18.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/workflows-shared/CHANGELOG.md b/packages/workflows-shared/CHANGELOG.md index 1f4beba7ba..d07781fe87 100644 --- a/packages/workflows-shared/CHANGELOG.md +++ b/packages/workflows-shared/CHANGELOG.md @@ -1,5 +1,11 @@ # @cloudflare/workflows-shared +## 0.9.1 + +### Patch Changes + +- [#13560](https://github.com/cloudflare/workers-sdk/pull/13560) [`7567ef7`](https://github.com/cloudflare/workers-sdk/commit/7567ef703f1bf157ef29e6d19dd0dd9f1ff8771f) Thanks [@vaishnav-mk](https://github.com/vaishnav-mk)! - Preserve NonRetryableError message and name when the `workflows_preserve_non_retryable_error_message` compatibility flag is enabled, instead of replacing it with a generic error message. + ## 0.9.0 ### Minor Changes diff --git a/packages/workflows-shared/package.json b/packages/workflows-shared/package.json index 2108b327fc..5151fe9f97 100644 --- a/packages/workflows-shared/package.json +++ b/packages/workflows-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workflows-shared", - "version": "0.9.0", + "version": "0.9.1", "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 eaafd3c0fc..4192f3f5a2 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,61 @@ # wrangler +## 4.85.0 + +### Minor Changes + +- [#13222](https://github.com/cloudflare/workers-sdk/pull/13222) [`5680287`](https://github.com/cloudflare/workers-sdk/commit/56802879641c123ee11160d77ecaf104915cd826) Thanks [@maxwellpeterson](https://github.com/maxwellpeterson)! - Add enabled and previews_enabled support for custom domain routes + + Custom domain routes can now include optional `enabled` and `previews_enabled` boolean fields to control whether a custom domain serves production and/or preview traffic. When omitted, the API defaults apply (production enabled, previews disabled). + +### Patch Changes + +- [#13622](https://github.com/cloudflare/workers-sdk/pull/13622) [`5a2968a`](https://github.com/cloudflare/workers-sdk/commit/5a2968ab69dd3d42ddf532fc547236a2f034874d) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Fix inherited `ai_search_namespaces` binding display in `wrangler deploy` + + When an `ai_search_namespaces` binding inherits from the existing deployment, the bindings table now correctly shows `(inherited)` instead of a raw `Symbol(inherit_binding)` string. + +- [#13633](https://github.com/cloudflare/workers-sdk/pull/13633) [`3494842`](https://github.com/cloudflare/workers-sdk/commit/34948423c4d873a3b493091b2a39ae9ed389bb67) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------------ | ------------ | + | workerd | 1.20260421.1 | 1.20260422.1 | + +- [#13645](https://github.com/cloudflare/workers-sdk/pull/13645) [`7d728fb`](https://github.com/cloudflare/workers-sdk/commit/7d728fbca56a58b621767c83f734c1daf3e11c41) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------------ | ------------ | + | workerd | 1.20260422.1 | 1.20260423.1 | + +- [#13657](https://github.com/cloudflare/workers-sdk/pull/13657) [`df9319d`](https://github.com/cloudflare/workers-sdk/commit/df9319d3c302866db7972ec5636a80d041e80900) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------------ | ------------ | + | workerd | 1.20260423.1 | 1.20260424.1 | + +- [#13574](https://github.com/cloudflare/workers-sdk/pull/13574) [`d5e3c57`](https://github.com/cloudflare/workers-sdk/commit/d5e3c57207f2c76defee1878c3cfaa8ca41dbcc7) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Detect Cloudflare WAF block pages and include Ray ID in API error messages + + When the Cloudflare WAF blocks an API request, the response is an HTML page rather than JSON. Previously, this caused a confusing "Received a malformed response from the API" error with a truncated HTML snippet. Wrangler now detects WAF block pages and displays a clear error message explaining that the request was blocked by the firewall, along with the Cloudflare Ray ID (when available) for use in support tickets. + + For other non-JSON responses that aren't WAF blocks, the "malformed response" error also now includes the Ray ID to help reference failing requests in support tickets. + +- [#13560](https://github.com/cloudflare/workers-sdk/pull/13560) [`7567ef7`](https://github.com/cloudflare/workers-sdk/commit/7567ef703f1bf157ef29e6d19dd0dd9f1ff8771f) Thanks [@vaishnav-mk](https://github.com/vaishnav-mk)! - Preserve NonRetryableError message and name when the `workflows_preserve_non_retryable_error_message` compatibility flag is enabled, instead of replacing it with a generic error message. + +- [#11784](https://github.com/cloudflare/workers-sdk/pull/11784) [`2831b54`](https://github.com/cloudflare/workers-sdk/commit/2831b545efe86c71fe1930909ca9e891c27a0722) Thanks [@JPeer264](https://github.com/JPeer264)! - fix(wrangler): Bind the console methods directly instead of using a global proxy + +- [#13644](https://github.com/cloudflare/workers-sdk/pull/13644) [`377715d`](https://github.com/cloudflare/workers-sdk/commit/377715d9f6ec7f3428e12a6ce56b367984fb0673) Thanks [@MattieTK](https://github.com/MattieTK)! - Update `@clack/core` and `@clack/prompts` to v1.2.0 + + Bumps the bundled `@clack/core` dependency used internally by `@cloudflare/cli` from `0.3.x` to `1.2.0`, and the `@clack/prompts` dependency in `create-cloudflare` from `0.6.x` to `1.2.0`. Clack v1 includes a number of API changes, but no user-facing prompt behaviour changes are expected. + +- Updated dependencies [[`3494842`](https://github.com/cloudflare/workers-sdk/commit/34948423c4d873a3b493091b2a39ae9ed389bb67), [`7d728fb`](https://github.com/cloudflare/workers-sdk/commit/7d728fbca56a58b621767c83f734c1daf3e11c41), [`df9319d`](https://github.com/cloudflare/workers-sdk/commit/df9319d3c302866db7972ec5636a80d041e80900), [`3ceeec3`](https://github.com/cloudflare/workers-sdk/commit/3ceeec34173d110048d0c18db5dd4d60fa308f75), [`7567ef7`](https://github.com/cloudflare/workers-sdk/commit/7567ef703f1bf157ef29e6d19dd0dd9f1ff8771f), [`0a95061`](https://github.com/cloudflare/workers-sdk/commit/0a95061dbbd3c013a257c8ece99ed3f50e1a9870), [`7fc50c1`](https://github.com/cloudflare/workers-sdk/commit/7fc50c1e5a6dfaaba84e774f4a5053716dae15ee), [`377715d`](https://github.com/cloudflare/workers-sdk/commit/377715d9f6ec7f3428e12a6ce56b367984fb0673)]: + - miniflare@4.20260424.0 + - @cloudflare/unenv-preset@2.16.1 + ## 4.84.1 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 8fd9ca01c5..34b635c654 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.84.1", + "version": "4.85.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "assembly",