From 16cc64f5065f89666ae8d09c3fb7620b4e9cd519 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Jul 2026 13:24:12 +0000 Subject: [PATCH] Version Packages --- .changeset/c3-frameworks-update-14292.md | 11 ---- .changeset/c3-svelte-vite-config-adapter.md | 7 --- .changeset/clever-donuts-jam.md | 8 --- .changeset/dependabot-update-14596.md | 13 ----- .changeset/friendly-cron-workflows.md | 7 --- .changeset/fuzzy-walls-cheer.md | 7 --- ...ame-ownership-guard-to-pages-delegation.md | 9 --- .changeset/workflows-terminate-rollback.md | 11 ---- .changeset/wrangler-turnstile.md | 21 ------- packages/create-cloudflare/CHANGELOG.md | 16 ++++++ packages/create-cloudflare/package.json | 2 +- packages/deploy-helpers/CHANGELOG.md | 8 +++ packages/deploy-helpers/package.json | 2 +- packages/miniflare/CHANGELOG.md | 25 +++++++++ packages/miniflare/package.json | 2 +- packages/pages-shared/CHANGELOG.md | 7 +++ packages/pages-shared/package.json | 2 +- packages/vite-plugin-cloudflare/CHANGELOG.md | 8 +++ packages/vite-plugin-cloudflare/package.json | 2 +- packages/vitest-pool-workers/CHANGELOG.md | 12 ++++ packages/vitest-pool-workers/package.json | 2 +- packages/workflows-shared/CHANGELOG.md | 10 ++++ packages/workflows-shared/package.json | 2 +- packages/wrangler/CHANGELOG.md | 56 +++++++++++++++++++ packages/wrangler/package.json | 2 +- 25 files changed, 150 insertions(+), 102 deletions(-) delete mode 100644 .changeset/c3-frameworks-update-14292.md delete mode 100644 .changeset/c3-svelte-vite-config-adapter.md delete mode 100644 .changeset/clever-donuts-jam.md delete mode 100644 .changeset/dependabot-update-14596.md delete mode 100644 .changeset/friendly-cron-workflows.md delete mode 100644 .changeset/fuzzy-walls-cheer.md delete mode 100644 .changeset/restrict-name-ownership-guard-to-pages-delegation.md delete mode 100644 .changeset/workflows-terminate-rollback.md delete mode 100644 .changeset/wrangler-turnstile.md diff --git a/.changeset/c3-frameworks-update-14292.md b/.changeset/c3-frameworks-update-14292.md deleted file mode 100644 index f926a3bcf9..0000000000 --- a/.changeset/c3-frameworks-update-14292.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"create-cloudflare": patch ---- - -Update dependencies of "create-cloudflare" - -The following dependency versions have been updated: - -| Dependency | From | To | -| ---------- | ------ | ------ | -| sv | 0.15.4 | 0.16.1 | diff --git a/.changeset/c3-svelte-vite-config-adapter.md b/.changeset/c3-svelte-vite-config-adapter.md deleted file mode 100644 index 063537023f..0000000000 --- a/.changeset/c3-svelte-vite-config-adapter.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"create-cloudflare": patch ---- - -Fix SvelteKit project creation failing with "Error parsing file: svelte.config.js" - -As of `sv` 0.16, newly scaffolded SvelteKit projects no longer include a `svelte.config.js` file, and the adapter is configured in the Vite config instead. C3 now updates the adapter import in `vite.config.ts`/`vite.config.js` rather than `svelte.config.js`, so creating a SvelteKit project succeeds again. diff --git a/.changeset/clever-donuts-jam.md b/.changeset/clever-donuts-jam.md deleted file mode 100644 index 78f36936a7..0000000000 --- a/.changeset/clever-donuts-jam.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"miniflare": minor -"@cloudflare/vitest-pool-workers": patch ---- - -Add `listDurableObjectIds()` to Miniflare - -Miniflare now exposes `listDurableObjectIds()` for listing persisted Durable Object instance IDs by binding name. The Vitest pool now uses this shared Miniflare API internally instead of duplicating Miniflare's storage listing logic. diff --git a/.changeset/dependabot-update-14596.md b/.changeset/dependabot-update-14596.md deleted file mode 100644 index c70ba27156..0000000000 --- a/.changeset/dependabot-update-14596.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"miniflare": patch -"wrangler": patch ---- - -Update dependencies of "miniflare", "wrangler" - -The following dependency versions have been updated: - -| Dependency | From | To | -| ------------------------- | ------------- | ------------- | -| workerd | 1.20260706.1 | 1.20260708.1 | -| @cloudflare/workers-types | ^5.20260706.1 | ^5.20260708.1 | diff --git a/.changeset/friendly-cron-workflows.md b/.changeset/friendly-cron-workflows.md deleted file mode 100644 index de5516540b..0000000000 --- a/.changeset/friendly-cron-workflows.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Improve the deploy error for cron-triggered Workflows on free plans - -Wrangler now explains that Workflow schedules require a paid Workers plan instead of showing only the generic Workflows API request failure. diff --git a/.changeset/fuzzy-walls-cheer.md b/.changeset/fuzzy-walls-cheer.md deleted file mode 100644 index 97db89eb17..0000000000 --- a/.changeset/fuzzy-walls-cheer.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": minor ---- - -Add `listDurableObjectIds()` to `createTestHarness` Worker handles - -Tests using `createTestHarness` can now list persisted Durable Object instance IDs for a Durable Object binding. This helps integration tests discover objects created by app behavior without adding test-only endpoints. diff --git a/.changeset/restrict-name-ownership-guard-to-pages-delegation.md b/.changeset/restrict-name-ownership-guard-to-pages-delegation.md deleted file mode 100644 index 0a7ac47be2..0000000000 --- a/.changeset/restrict-name-ownership-guard-to-pages-delegation.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"wrangler": patch ---- - -Fix `wrangler deploy` aborting in CI for autoconfigured projects - -A recent change guarded non-interactive deploys against overwriting a same-named Worker whenever there was no config file naming it. This was too broad: a plain `wrangler deploy` run in CI without a config file (for example an autoconfigured project whose generated config PR has not been merged) would fail with "A Worker named ... already exists in your account", even though re-deploying to that Worker is the intended behaviour. - -The guard is now limited to the Pages-to-Workers delegation, where the target name is a Pages project name that must not clobber an unrelated Worker. Plain deploys once again deploy normally. diff --git a/.changeset/workflows-terminate-rollback.md b/.changeset/workflows-terminate-rollback.md deleted file mode 100644 index 509f634d91..0000000000 --- a/.changeset/workflows-terminate-rollback.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@cloudflare/workflows-shared": minor -"wrangler": minor -"miniflare": minor ---- - -Add rollback support when terminating Workflow instances - -`WorkflowInstance.terminate({ rollback: true })` now runs registered rollback handlers before marking a local Workflow instance as terminated. Wrangler also supports this via `wrangler workflows instances terminate --rollback`, including local mode. - -The rollback option is only sent for terminate operations and is rejected by the Local Explorer API for pause, resume, and restart actions. diff --git a/.changeset/wrangler-turnstile.md b/.changeset/wrangler-turnstile.md deleted file mode 100644 index 102bfea1c8..0000000000 --- a/.changeset/wrangler-turnstile.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -"wrangler": minor ---- - -Add `wrangler turnstile widget` commands for managing Turnstile widgets - -You can now create, list, inspect, update, and delete Turnstile widgets from the CLI: - -``` -wrangler turnstile widget create --domain example.com --mode managed -wrangler turnstile widget list -wrangler turnstile widget get -wrangler turnstile widget update --name "Renamed" -wrangler turnstile widget delete -``` - -All five subcommands accept `--json` for machine-readable output (`get` prints a formatted view by default; the rest print a short human summary). `--domain` accepts comma-separated values, e.g. `--domain a.com,b.com`. `delete --json` requires `--skip-confirmation`/`-y` to keep output pipeable. - -`create` prints the sitekey, the secret, and the canonical `challenges.cloudflare.com/turnstile/v0/siteverify` endpoint for backend verification. The hint is backend-agnostic; it doesn't assume Workers. The secret is redacted from `list` and `update` output but remains available via `get` for retrieval later. `delete` prompts for confirmation; pass `--skip-confirmation`/`-y` to bypass. - -The OAuth flow now requests the `challenge-widgets.write` scope (the existing Bach-derived scope for Turnstile widget CRUD). Existing OAuth sessions need to run `wrangler login` again to pick it up. API token users need a token with the `Account.Turnstile:Edit` permission. diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index dd8ae9d6fb..6ba6eb4872 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,21 @@ # create-cloudflare +## 2.70.10 + +### Patch Changes + +- [#14292](https://github.com/cloudflare/workers-sdk/pull/14292) [`21d048f`](https://github.com/cloudflare/workers-sdk/commit/21d048f3efa9aec85822ed7a06e6b11bfa31c624) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "create-cloudflare" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------ | ------ | + | sv | 0.15.4 | 0.16.1 | + +- [#14292](https://github.com/cloudflare/workers-sdk/pull/14292) [`21d048f`](https://github.com/cloudflare/workers-sdk/commit/21d048f3efa9aec85822ed7a06e6b11bfa31c624) Thanks [@dependabot](https://github.com/apps/dependabot)! - Fix SvelteKit project creation failing with "Error parsing file: svelte.config.js" + + As of `sv` 0.16, newly scaffolded SvelteKit projects no longer include a `svelte.config.js` file, and the adapter is configured in the Vite config instead. C3 now updates the adapter import in `vite.config.ts`/`vite.config.js` rather than `svelte.config.js`, so creating a SvelteKit project succeeds again. + ## 2.70.9 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index 7ca8753f1f..48f26c9076 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.70.9", + "version": "2.70.10", "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 806010efb0..4235823817 100644 --- a/packages/deploy-helpers/CHANGELOG.md +++ b/packages/deploy-helpers/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/deploy-helpers +## 0.3.3 + +### Patch Changes + +- Updated dependencies [[`e3f0cd6`](https://github.com/cloudflare/workers-sdk/commit/e3f0cd69e08c0eed9d75f61221d1076b6c287eef), [`8511ddf`](https://github.com/cloudflare/workers-sdk/commit/8511ddf769a603f49576b8cf632ea330c353001f), [`2fedb1f`](https://github.com/cloudflare/workers-sdk/commit/2fedb1fc811efb3f7544c569e57383cabd4f14f8)]: + - miniflare@4.20260708.0 + - @cloudflare/workers-utils@0.25.1 + ## 0.3.2 ### Patch Changes diff --git a/packages/deploy-helpers/package.json b/packages/deploy-helpers/package.json index e59686a392..362eb32aaa 100644 --- a/packages/deploy-helpers/package.json +++ b/packages/deploy-helpers/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/deploy-helpers", - "version": "0.3.2", + "version": "0.3.3", "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 1279b495b0..3e1d273f99 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,30 @@ # miniflare +## 4.20260708.0 + +### Minor Changes + +- [#14489](https://github.com/cloudflare/workers-sdk/pull/14489) [`e3f0cd6`](https://github.com/cloudflare/workers-sdk/commit/e3f0cd69e08c0eed9d75f61221d1076b6c287eef) Thanks [@edmundhung](https://github.com/edmundhung)! - Add `listDurableObjectIds()` to Miniflare + + Miniflare now exposes `listDurableObjectIds()` for listing persisted Durable Object instance IDs by binding name. The Vitest pool now uses this shared Miniflare API internally instead of duplicating Miniflare's storage listing logic. + +- [#14465](https://github.com/cloudflare/workers-sdk/pull/14465) [`2fedb1f`](https://github.com/cloudflare/workers-sdk/commit/2fedb1fc811efb3f7544c569e57383cabd4f14f8) Thanks [@vaishnav-mk](https://github.com/vaishnav-mk)! - Add rollback support when terminating Workflow instances + + `WorkflowInstance.terminate({ rollback: true })` now runs registered rollback handlers before marking a local Workflow instance as terminated. Wrangler also supports this via `wrangler workflows instances terminate --rollback`, including local mode. + + The rollback option is only sent for terminate operations and is rejected by the Local Explorer API for pause, resume, and restart actions. + +### Patch Changes + +- [#14596](https://github.com/cloudflare/workers-sdk/pull/14596) [`8511ddf`](https://github.com/cloudflare/workers-sdk/commit/8511ddf769a603f49576b8cf632ea330c353001f) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ------------------------- | ------------- | ------------- | + | workerd | 1.20260706.1 | 1.20260708.1 | + | @cloudflare/workers-types | ^5.20260706.1 | ^5.20260708.1 | + ## 4.20260706.0 ### Patch Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 7737b82d96..598bfa27b3 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "4.20260706.0", + "version": "4.20260708.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 01e20f8e19..61a22a5396 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.13.155 + +### Patch Changes + +- Updated dependencies [[`e3f0cd6`](https://github.com/cloudflare/workers-sdk/commit/e3f0cd69e08c0eed9d75f61221d1076b6c287eef), [`8511ddf`](https://github.com/cloudflare/workers-sdk/commit/8511ddf769a603f49576b8cf632ea330c353001f), [`2fedb1f`](https://github.com/cloudflare/workers-sdk/commit/2fedb1fc811efb3f7544c569e57383cabd4f14f8)]: + - miniflare@4.20260708.0 + ## 0.13.154 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 6cb26b73de..1567dc6e0d 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.13.154", + "version": "0.13.155", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/vite-plugin-cloudflare/CHANGELOG.md b/packages/vite-plugin-cloudflare/CHANGELOG.md index 52b35a4a9c..55acf6d788 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/vite-plugin +## 1.43.3 + +### Patch Changes + +- Updated dependencies [[`e3f0cd6`](https://github.com/cloudflare/workers-sdk/commit/e3f0cd69e08c0eed9d75f61221d1076b6c287eef), [`8511ddf`](https://github.com/cloudflare/workers-sdk/commit/8511ddf769a603f49576b8cf632ea330c353001f), [`9f74a5f`](https://github.com/cloudflare/workers-sdk/commit/9f74a5ff4a89e3bf2103e51fa2d66752f26f8217), [`e3f0cd6`](https://github.com/cloudflare/workers-sdk/commit/e3f0cd69e08c0eed9d75f61221d1076b6c287eef), [`c782e2a`](https://github.com/cloudflare/workers-sdk/commit/c782e2a7282bfa27064f62408b691e4936c5f33a), [`2fedb1f`](https://github.com/cloudflare/workers-sdk/commit/2fedb1fc811efb3f7544c569e57383cabd4f14f8), [`17d2fc1`](https://github.com/cloudflare/workers-sdk/commit/17d2fc12989f72a2fcd42e62fb152f270d61ab38)]: + - miniflare@4.20260708.0 + - wrangler@4.109.0 + ## 1.43.2 ### Patch Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index 798996b06c..09c06516c6 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.43.2", + "version": "1.43.3", "description": "Cloudflare plugin for Vite", "keywords": [ "cloudflare", diff --git a/packages/vitest-pool-workers/CHANGELOG.md b/packages/vitest-pool-workers/CHANGELOG.md index d5ac74e853..1bb7421e24 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,17 @@ # @cloudflare/vitest-pool-workers +## 0.18.3 + +### Patch Changes + +- [#14489](https://github.com/cloudflare/workers-sdk/pull/14489) [`e3f0cd6`](https://github.com/cloudflare/workers-sdk/commit/e3f0cd69e08c0eed9d75f61221d1076b6c287eef) Thanks [@edmundhung](https://github.com/edmundhung)! - Add `listDurableObjectIds()` to Miniflare + + Miniflare now exposes `listDurableObjectIds()` for listing persisted Durable Object instance IDs by binding name. The Vitest pool now uses this shared Miniflare API internally instead of duplicating Miniflare's storage listing logic. + +- Updated dependencies [[`e3f0cd6`](https://github.com/cloudflare/workers-sdk/commit/e3f0cd69e08c0eed9d75f61221d1076b6c287eef), [`8511ddf`](https://github.com/cloudflare/workers-sdk/commit/8511ddf769a603f49576b8cf632ea330c353001f), [`9f74a5f`](https://github.com/cloudflare/workers-sdk/commit/9f74a5ff4a89e3bf2103e51fa2d66752f26f8217), [`e3f0cd6`](https://github.com/cloudflare/workers-sdk/commit/e3f0cd69e08c0eed9d75f61221d1076b6c287eef), [`c782e2a`](https://github.com/cloudflare/workers-sdk/commit/c782e2a7282bfa27064f62408b691e4936c5f33a), [`2fedb1f`](https://github.com/cloudflare/workers-sdk/commit/2fedb1fc811efb3f7544c569e57383cabd4f14f8), [`17d2fc1`](https://github.com/cloudflare/workers-sdk/commit/17d2fc12989f72a2fcd42e62fb152f270d61ab38)]: + - miniflare@4.20260708.0 + - wrangler@4.109.0 + ## 0.18.2 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index 6aa66af984..18ef72cd0e 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.18.2", + "version": "0.18.3", "description": "Workers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime", "keywords": [ "cloudflare", diff --git a/packages/workflows-shared/CHANGELOG.md b/packages/workflows-shared/CHANGELOG.md index c5113b474b..1746b8ec22 100644 --- a/packages/workflows-shared/CHANGELOG.md +++ b/packages/workflows-shared/CHANGELOG.md @@ -1,5 +1,15 @@ # @cloudflare/workflows-shared +## 0.12.0 + +### Minor Changes + +- [#14465](https://github.com/cloudflare/workers-sdk/pull/14465) [`2fedb1f`](https://github.com/cloudflare/workers-sdk/commit/2fedb1fc811efb3f7544c569e57383cabd4f14f8) Thanks [@vaishnav-mk](https://github.com/vaishnav-mk)! - Add rollback support when terminating Workflow instances + + `WorkflowInstance.terminate({ rollback: true })` now runs registered rollback handlers before marking a local Workflow instance as terminated. Wrangler also supports this via `wrangler workflows instances terminate --rollback`, including local mode. + + The rollback option is only sent for terminate operations and is rejected by the Local Explorer API for pause, resume, and restart actions. + ## 0.11.2 ### Patch Changes diff --git a/packages/workflows-shared/package.json b/packages/workflows-shared/package.json index bd27eb4ac9..bc07575484 100644 --- a/packages/workflows-shared/package.json +++ b/packages/workflows-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workflows-shared", - "version": "0.11.2", + "version": "0.12.0", "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 11610341c1..8eb8e51d5b 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,61 @@ # wrangler +## 4.109.0 + +### Minor Changes + +- [#14489](https://github.com/cloudflare/workers-sdk/pull/14489) [`e3f0cd6`](https://github.com/cloudflare/workers-sdk/commit/e3f0cd69e08c0eed9d75f61221d1076b6c287eef) Thanks [@edmundhung](https://github.com/edmundhung)! - Add `listDurableObjectIds()` to `createTestHarness` Worker handles + + Tests using `createTestHarness` can now list persisted Durable Object instance IDs for a Durable Object binding. This helps integration tests discover objects created by app behavior without adding test-only endpoints. + +- [#14465](https://github.com/cloudflare/workers-sdk/pull/14465) [`2fedb1f`](https://github.com/cloudflare/workers-sdk/commit/2fedb1fc811efb3f7544c569e57383cabd4f14f8) Thanks [@vaishnav-mk](https://github.com/vaishnav-mk)! - Add rollback support when terminating Workflow instances + + `WorkflowInstance.terminate({ rollback: true })` now runs registered rollback handlers before marking a local Workflow instance as terminated. Wrangler also supports this via `wrangler workflows instances terminate --rollback`, including local mode. + + The rollback option is only sent for terminate operations and is rejected by the Local Explorer API for pause, resume, and restart actions. + +- [#14511](https://github.com/cloudflare/workers-sdk/pull/14511) [`17d2fc1`](https://github.com/cloudflare/workers-sdk/commit/17d2fc12989f72a2fcd42e62fb152f270d61ab38) Thanks [@juleslemee](https://github.com/juleslemee)! - Add `wrangler turnstile widget` commands for managing Turnstile widgets + + You can now create, list, inspect, update, and delete Turnstile widgets from the CLI: + + ``` + wrangler turnstile widget create --domain example.com --mode managed + wrangler turnstile widget list + wrangler turnstile widget get + wrangler turnstile widget update --name "Renamed" + wrangler turnstile widget delete + ``` + + All five subcommands accept `--json` for machine-readable output (`get` prints a formatted view by default; the rest print a short human summary). `--domain` accepts comma-separated values, e.g. `--domain a.com,b.com`. `delete --json` requires `--skip-confirmation`/`-y` to keep output pipeable. + + `create` prints the sitekey, the secret, and the canonical `challenges.cloudflare.com/turnstile/v0/siteverify` endpoint for backend verification. The hint is backend-agnostic; it doesn't assume Workers. The secret is redacted from `list` and `update` output but remains available via `get` for retrieval later. `delete` prompts for confirmation; pass `--skip-confirmation`/`-y` to bypass. + + The OAuth flow now requests the `challenge-widgets.write` scope (the existing Bach-derived scope for Turnstile widget CRUD). Existing OAuth sessions need to run `wrangler login` again to pick it up. API token users need a token with the `Account.Turnstile:Edit` permission. + +### Patch Changes + +- [#14596](https://github.com/cloudflare/workers-sdk/pull/14596) [`8511ddf`](https://github.com/cloudflare/workers-sdk/commit/8511ddf769a603f49576b8cf632ea330c353001f) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ------------------------- | ------------- | ------------- | + | workerd | 1.20260706.1 | 1.20260708.1 | + | @cloudflare/workers-types | ^5.20260706.1 | ^5.20260708.1 | + +- [#14604](https://github.com/cloudflare/workers-sdk/pull/14604) [`9f74a5f`](https://github.com/cloudflare/workers-sdk/commit/9f74a5ff4a89e3bf2103e51fa2d66752f26f8217) Thanks [@vaishnav-mk](https://github.com/vaishnav-mk)! - Improve the deploy error for cron-triggered Workflows on free plans + + Wrangler now explains that Workflow schedules require a paid Workers plan instead of showing only the generic Workflows API request failure. + +- [#14616](https://github.com/cloudflare/workers-sdk/pull/14616) [`c782e2a`](https://github.com/cloudflare/workers-sdk/commit/c782e2a7282bfa27064f62408b691e4936c5f33a) Thanks [@penalosa](https://github.com/penalosa)! - Fix `wrangler deploy` aborting in CI for autoconfigured projects + + A recent change guarded non-interactive deploys against overwriting a same-named Worker whenever there was no config file naming it. This was too broad: a plain `wrangler deploy` run in CI without a config file (for example an autoconfigured project whose generated config PR has not been merged) would fail with "A Worker named ... already exists in your account", even though re-deploying to that Worker is the intended behaviour. + + The guard is now limited to the Pages-to-Workers delegation, where the target name is a Pages project name that must not clobber an unrelated Worker. Plain deploys once again deploy normally. + +- Updated dependencies [[`e3f0cd6`](https://github.com/cloudflare/workers-sdk/commit/e3f0cd69e08c0eed9d75f61221d1076b6c287eef), [`8511ddf`](https://github.com/cloudflare/workers-sdk/commit/8511ddf769a603f49576b8cf632ea330c353001f), [`2fedb1f`](https://github.com/cloudflare/workers-sdk/commit/2fedb1fc811efb3f7544c569e57383cabd4f14f8)]: + - miniflare@4.20260708.0 + ## 4.108.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 2898069d2f..1739722606 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.108.0", + "version": "4.109.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "assembly",