From 39349befc07c184a2bcfdae67b06c256116890cf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 09:43:28 +0000 Subject: [PATCH] Version Packages --- .changeset/add-ai-search-commands.md | 13 ---- .changeset/add-codemod-package.md | 7 -- .../browser-rendering-devtools-endpoints.md | 24 ------- .changeset/bump-rtti-compat-date.md | 5 -- .changeset/c3-frameworks-update-13106.md | 11 --- .changeset/c3-frameworks-update-13107.md | 11 --- .changeset/c3-frameworks-update-13108.md | 11 --- .changeset/c3-frameworks-update-13109.md | 11 --- .changeset/c3-frameworks-update-13110.md | 11 --- .changeset/chatty-comics-dream.md | 10 --- .changeset/cli-command-module.md | 7 -- .changeset/dependabot-update-13111.md | 12 ---- .changeset/disable-retry-delays.md | 7 -- .../fix-vitest-pool-workers-assets-no-dir.md | 7 -- .changeset/quiet-bats-push.md | 7 -- .changeset/suppress-code-moved-logs.md | 7 -- .changeset/twelve-signs-fry.md | 7 -- .../versions-deploy-skip-deployable-fetch.md | 7 -- .../vite-plugin-cloudflare-connect-key.md | 7 -- .changeset/vitest-outputgate-noise.md | 5 -- .../vitest-pool-workers-vite-plus-compat.md | 7 -- .changeset/warm-feet-smile.md | 7 -- .changeset/warm-foxes-shave.md | 7 -- ...ers-playground-fix-vite8-createrenderer.md | 9 --- .changeset/workflows-local-commands.md | 16 ----- .changeset/workflows-local-explorer.md | 16 ----- .../wrangler-assets-not-a-directory-error.md | 7 -- packages/cli/CHANGELOG.md | 8 +++ packages/cli/package.json | 2 +- packages/codemod/CHANGELOG.md | 9 +++ packages/codemod/package.json | 2 +- packages/create-cloudflare/CHANGELOG.md | 44 ++++++++++++ packages/create-cloudflare/package.json | 2 +- packages/miniflare/CHANGELOG.md | 55 +++++++++++++++ packages/miniflare/package.json | 2 +- packages/pages-shared/CHANGELOG.md | 7 ++ packages/pages-shared/package.json | 2 +- packages/vite-plugin-cloudflare/CHANGELOG.md | 12 ++++ packages/vite-plugin-cloudflare/package.json | 2 +- packages/vitest-pool-workers/CHANGELOG.md | 26 +++++++ packages/vitest-pool-workers/package.json | 2 +- packages/workers-playground/CHANGELOG.md | 10 +++ packages/workers-playground/package.json | 2 +- packages/workflows-shared/CHANGELOG.md | 16 +++++ packages/workflows-shared/package.json | 2 +- packages/wrangler/CHANGELOG.md | 67 +++++++++++++++++++ packages/wrangler/package.json | 2 +- 47 files changed, 264 insertions(+), 266 deletions(-) delete mode 100644 .changeset/add-ai-search-commands.md delete mode 100644 .changeset/add-codemod-package.md delete mode 100644 .changeset/browser-rendering-devtools-endpoints.md delete mode 100644 .changeset/bump-rtti-compat-date.md delete mode 100644 .changeset/c3-frameworks-update-13106.md delete mode 100644 .changeset/c3-frameworks-update-13107.md delete mode 100644 .changeset/c3-frameworks-update-13108.md delete mode 100644 .changeset/c3-frameworks-update-13109.md delete mode 100644 .changeset/c3-frameworks-update-13110.md delete mode 100644 .changeset/chatty-comics-dream.md delete mode 100644 .changeset/cli-command-module.md delete mode 100644 .changeset/dependabot-update-13111.md delete mode 100644 .changeset/disable-retry-delays.md delete mode 100644 .changeset/fix-vitest-pool-workers-assets-no-dir.md delete mode 100644 .changeset/quiet-bats-push.md delete mode 100644 .changeset/suppress-code-moved-logs.md delete mode 100644 .changeset/twelve-signs-fry.md delete mode 100644 .changeset/versions-deploy-skip-deployable-fetch.md delete mode 100644 .changeset/vite-plugin-cloudflare-connect-key.md delete mode 100644 .changeset/vitest-outputgate-noise.md delete mode 100644 .changeset/vitest-pool-workers-vite-plus-compat.md delete mode 100644 .changeset/warm-feet-smile.md delete mode 100644 .changeset/warm-foxes-shave.md delete mode 100644 .changeset/workers-playground-fix-vite8-createrenderer.md delete mode 100644 .changeset/workflows-local-commands.md delete mode 100644 .changeset/workflows-local-explorer.md delete mode 100644 .changeset/wrangler-assets-not-a-directory-error.md create mode 100644 packages/codemod/CHANGELOG.md diff --git a/.changeset/add-ai-search-commands.md b/.changeset/add-ai-search-commands.md deleted file mode 100644 index 7f015fb1ba..0000000000 --- a/.changeset/add-ai-search-commands.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"wrangler": minor ---- - -Add `wrangler ai-search` command namespace for managing Cloudflare AI Search instances - -Introduces a CLI surface for the Cloudflare AI Search API (open beta), including: - -- Instance management: `ai-search list`, `create`, `get`, `update`, `delete` -- Semantic search: `ai-search search` with repeatable `--filter key=value` flags -- Instance stats: `ai-search stats` - -The `create` command uses an interactive wizard to guide configuration. All commands require authentication via `wrangler login`. diff --git a/.changeset/add-codemod-package.md b/.changeset/add-codemod-package.md deleted file mode 100644 index 6b3d869d4f..0000000000 --- a/.changeset/add-codemod-package.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/codemod": minor ---- - -First release of new package - -Add `@cloudflare/codemod` package with internal AST-based codemod utilities (`parseJs`, `parseTs`, `parseFile`, `transformFile`, `mergeObjectProperties`) built on `recast`. diff --git a/.changeset/browser-rendering-devtools-endpoints.md b/.changeset/browser-rendering-devtools-endpoints.md deleted file mode 100644 index 32c1293dc1..0000000000 --- a/.changeset/browser-rendering-devtools-endpoints.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -"miniflare": minor ---- - -Add missing devtools endpoints to browser rendering local binding. - -The local browser rendering binding now implements the full set of devtools endpoints, matching the remote Browser Rendering API: - -- `GET /v1/limits` — returns local concurrency defaults -- `GET /v1/history` — returns empty array (no persistence in local dev) -- `GET /v1/devtools/session` - list and inspect active sessions -- `GET /v1/devtools/session/:id` — list and inspect active session -- `GET /v1/devtools/browser/:id/json/version` — Browser version metadata, includes webSocketDebuggerUrl -- `GET /v1/devtools/browser/:id/json/list` — A list of all available websocket targets -- `GET /v1/devtools/browser/:id/json` — Alias for `GET /v1/devtools/browser/:id/json` -- `GET /v1/devtools/browser/:id/json/protocol` — The current devtools protocol, as JSON. Includes webSocketDebuggerUrl and devtoolsFrontendUrl -- `PUT /v1/devtools/browser/:id/json/new` — Opens a new tab. Responds with the websocket target data for the new tab -- `GET /v1/devtools/browser/:id/json/activate/:target` — Brings a page into the foreground (activate a tab) -- `GET /v1/devtools/browser/:id/json/close/:target` — Closes the target page identified by targetId -- `GET /v1/devtools/browser/:id/page/:target` — WebSocket connection to a page target -- `GET /v1/devtools/browser/:id` — WebSocket connection to a previously acquired browser session -- `DELETE /v1/devtools/browser/:id` — Closes a browser session -- `POST /v1/devtools/browser` — Acquires a new session -- `GET /v1/devtools/browser` — Acquire a new session and connect via WebSocket in one step, returning `cf-browser-session-id` header diff --git a/.changeset/bump-rtti-compat-date.md b/.changeset/bump-rtti-compat-date.md deleted file mode 100644 index 6d858a991b..0000000000 --- a/.changeset/bump-rtti-compat-date.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vitest-pool-workers": patch ---- - -Use today's date for the RTTI compat date query instead of a hardcoded `"2023-12-01"`, so newly added Node.js builtin modules are recognized by the module fallback service. diff --git a/.changeset/c3-frameworks-update-13106.md b/.changeset/c3-frameworks-update-13106.md deleted file mode 100644 index 06c5cea736..0000000000 --- a/.changeset/c3-frameworks-update-13106.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 | -| ------------------- | ------ | ------ | -| create-react-router | 7.13.1 | 7.13.2 | diff --git a/.changeset/c3-frameworks-update-13107.md b/.changeset/c3-frameworks-update-13107.md deleted file mode 100644 index b20ea945e5..0000000000 --- a/.changeset/c3-frameworks-update-13107.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 | -| ------------ | ----- | ----- | -| create-astro | 5.0.3 | 5.0.4 | diff --git a/.changeset/c3-frameworks-update-13108.md b/.changeset/c3-frameworks-update-13108.md deleted file mode 100644 index 9d2c34d333..0000000000 --- a/.changeset/c3-frameworks-update-13108.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 | -| --------------- | ------ | ------ | -| @angular/create | 21.2.3 | 21.2.5 | diff --git a/.changeset/c3-frameworks-update-13109.md b/.changeset/c3-frameworks-update-13109.md deleted file mode 100644 index a3d4d28332..0000000000 --- a/.changeset/c3-frameworks-update-13109.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 | -| ----------- | ---------------------- | ---------------------- | -| create-waku | 0.12.5-1.0.0-alpha.5-0 | 0.12.5-1.0.0-alpha.6-0 | diff --git a/.changeset/c3-frameworks-update-13110.md b/.changeset/c3-frameworks-update-13110.md deleted file mode 100644 index 4a8ac9e32e..0000000000 --- a/.changeset/c3-frameworks-update-13110.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 | -| ---------- | ------ | ------ | -| create-vue | 3.22.0 | 3.22.1 | diff --git a/.changeset/chatty-comics-dream.md b/.changeset/chatty-comics-dream.md deleted file mode 100644 index b8e4f5c104..0000000000 --- a/.changeset/chatty-comics-dream.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"wrangler": patch ---- - -Add minimum and maximum version checks for frameworks during auto-configuration - -When Wrangler automatically configures a project, it now validates the installed version of the detected framework before proceeding: - -- If the version is below the minimum known-good version, the command exits with an error asking the user to upgrade the framework. -- If the version is above the maximum known major version, a warning is emitted to let the user know the framework version has not been officially tested with this feature, and the command continues. diff --git a/.changeset/cli-command-module.md b/.changeset/cli-command-module.md deleted file mode 100644 index 9eaf03cc41..0000000000 --- a/.changeset/cli-command-module.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/cli": minor ---- - -Add `runCommand` and `quoteShellArgs`, `installPackages` and `installWrangler` utilities to `@cloudflare/cli/command` - -These utilities are now available from `@cloudflare/cli` as dedicated sub-path exports: `runCommand` and `quoteShellArgs` via `@cloudflare/cli/command`, and `installPackages` and `installWrangler` via `@cloudflare/cli/packages`. This makes them reusable across packages in the SDK without duplication. diff --git a/.changeset/dependabot-update-13111.md b/.changeset/dependabot-update-13111.md deleted file mode 100644 index 91e9cf68a1..0000000000 --- a/.changeset/dependabot-update-13111.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.20260317.1 | 1.20260329.1 | diff --git a/.changeset/disable-retry-delays.md b/.changeset/disable-retry-delays.md deleted file mode 100644 index 6f38b183ec..0000000000 --- a/.changeset/disable-retry-delays.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vitest-pool-workers": minor ---- - -Add `disableRetryDelays()` to `WorkflowInstanceModifier` to skip retry backoff delays in tests - -When testing Workflows with retry configurations, the backoff delays between retry attempts of a failing `step.do()` caused real wall-clock waiting (e.g., 35 seconds for 3 retries with 5-second exponential backoff), even when step results were fully mocked. The new `disableRetryDelays()` method eliminates these delays while preserving retry behavior — all attempts still execute, just without waiting between them. diff --git a/.changeset/fix-vitest-pool-workers-assets-no-dir.md b/.changeset/fix-vitest-pool-workers-assets-no-dir.md deleted file mode 100644 index 408189b2d2..0000000000 --- a/.changeset/fix-vitest-pool-workers-assets-no-dir.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Fix `getPlatformProxy` and `unstable_getMiniflareWorkerOptions` crashing when `assets` is configured without a `directory` - -`getPlatformProxy` and `unstable_getMiniflareWorkerOptions` now skip asset setup when the config has an `assets` block but no `directory` — instead of throwing "missing required `directory` property". This happens when an external tool like `@cloudflare/vite-plugin` handles asset serving independently. diff --git a/.changeset/quiet-bats-push.md b/.changeset/quiet-bats-push.md deleted file mode 100644 index b878869b9a..0000000000 --- a/.changeset/quiet-bats-push.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Fix autoconfig failing on `waku` projects that use `hono` - -Waku has a tight integration with Hono, causing both to be detected simultaneously and triggering a "multiple frameworks found" error. Hono is now filtered out when Waku is also detected. diff --git a/.changeset/suppress-code-moved-logs.md b/.changeset/suppress-code-moved-logs.md deleted file mode 100644 index 0894fc3587..0000000000 --- a/.changeset/suppress-code-moved-logs.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vitest-pool-workers": patch ---- - -Suppress `CODE_MOVED for unknown code block` log spam from workerd - -These are internal workerd diagnostic messages not relevant to application developers. Miniflare's structured log handler already filters them, but `vitest-pool-workers` uses a custom `handleRuntimeStdio` that bypasses that pipeline. This adds the pattern to the pool's own ignore list. diff --git a/.changeset/twelve-signs-fry.md b/.changeset/twelve-signs-fry.md deleted file mode 100644 index ea7081f4e7..0000000000 --- a/.changeset/twelve-signs-fry.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Skip lock file warning for static projects during autoconfig - -Previously, running autoconfig on a static project (one with no framework detected) would emit a misleading warning about a missing lock file, suggesting the project might be in a workspace. Since static projects don't require a lock file, this warning is now suppressed for them. diff --git a/.changeset/versions-deploy-skip-deployable-fetch.md b/.changeset/versions-deploy-skip-deployable-fetch.md deleted file mode 100644 index ad3787480e..0000000000 --- a/.changeset/versions-deploy-skip-deployable-fetch.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Skip unnecessary `GET /versions?deployable=true` API call in `wrangler versions deploy` when all version IDs are explicitly provided and `--yes` is passed - -When deploying a specific version non-interactively (e.g. `wrangler versions deploy --yes`), Wrangler previously always fetched the full list of deployable versions to populate the interactive selection prompt — even though the prompt is skipped entirely when `--yes` is used and all versions are already specified. The deployable-versions list is now only fetched when actually needed (i.e. when no version IDs are provided, or when running interactively). diff --git a/.changeset/vite-plugin-cloudflare-connect-key.md b/.changeset/vite-plugin-cloudflare-connect-key.md deleted file mode 100644 index dbd60bfbb7..0000000000 --- a/.changeset/vite-plugin-cloudflare-connect-key.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch ---- - -Add missing `connect` key to `WorkerEntrypoint` and `DurableObject` key lists in the runner worker - -The `connect` method was added to the `WorkerEntrypoint` and `DurableObject` types in workerd 1.20260329.1 but was missing from the `WORKER_ENTRYPOINT_KEYS` and `DURABLE_OBJECT_KEYS` arrays used for RPC property access in the Vite plugin runner worker. This caused the compile-time exhaustiveness check to fail with the updated workers-types. diff --git a/.changeset/vitest-outputgate-noise.md b/.changeset/vitest-outputgate-noise.md deleted file mode 100644 index fd951709ed..0000000000 --- a/.changeset/vitest-outputgate-noise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@cloudflare/vitest-pool-workers": patch ---- - -fix: suppress `outputGateBroken` stderr noise when testing Workflows diff --git a/.changeset/vitest-pool-workers-vite-plus-compat.md b/.changeset/vitest-pool-workers-vite-plus-compat.md deleted file mode 100644 index 3f79ee5f8a..0000000000 --- a/.changeset/vitest-pool-workers-vite-plus-compat.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/vitest-pool-workers": patch ---- - -Support `@voidzero-dev/vite-plus-test` as an alternative to `vitest` - -Users running tests via [Vite+](https://github.com/voidzero-dev/vite-plus) (`@voidzero-dev/vite-plus-test`) with the [recommended pnpm overrides](https://github.com/voidzero-dev/vite-plus/blob/main/packages/test/BUNDLING.md) no longer hit spurious version warnings or `Disallowed operation called within global scope` errors. diff --git a/.changeset/warm-feet-smile.md b/.changeset/warm-feet-smile.md deleted file mode 100644 index 07fb37544e..0000000000 --- a/.changeset/warm-feet-smile.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": patch ---- - -Fix noisy EBUSY errors on Windows when disposing Miniflare instances - -On Windows, `workerd` may not release file handles immediately after disposal, causing `EBUSY` errors when Miniflare tries to remove its temporary directory during `dispose()`. Previously, this error propagated to the caller (e.g. vitest-pool-workers), producing repeated noisy error messages in test output. The cleanup is now best-effort — matching the existing exit hook behaviour — since the temporary directory lives in `os.tmpdir()` and will be cleaned up by the OS. diff --git a/.changeset/warm-foxes-shave.md b/.changeset/warm-foxes-shave.md deleted file mode 100644 index fe3ac7dde9..0000000000 --- a/.changeset/warm-foxes-shave.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": patch ---- - -Remove `LOCAL_EXPLORER_BASE_PATH` and `LOCAL_EXPLORER_API_PATH` constants in favor of `CorePaths.EXPLORER` - -These were redundant aliases introduced before `CorePaths` was centralized. All internal consumers now use `CorePaths.EXPLORER` directly. diff --git a/.changeset/workers-playground-fix-vite8-createrenderer.md b/.changeset/workers-playground-fix-vite8-createrenderer.md deleted file mode 100644 index 747fb6284c..0000000000 --- a/.changeset/workers-playground-fix-vite8-createrenderer.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@cloudflare/workers-playground": patch ---- - -fix: resolve TypeError: createRenderer is not a function when built with Vite 8 - -Vite 8 switched its bundler from Rollup to rolldown. The `@cloudflare/style-provider` package ships a hybrid ESM+CJS build (its `es/` directory uses `require()` internally), which rolldown mishandles by generating an anonymous, unreachable module initializer — leaving `createRenderer` as `undefined` at runtime. - -Fixed by aliasing `@cloudflare/style-provider` to its CJS entry (`lib/index.js`) in `vite.config.ts`. Rolldown handles plain CJS correctly via its interop layer. diff --git a/.changeset/workflows-local-commands.md b/.changeset/workflows-local-commands.md deleted file mode 100644 index 394001503d..0000000000 --- a/.changeset/workflows-local-commands.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"wrangler": minor ---- - -Add `--local` flag to Workflows commands for interacting with local dev - -All Workflows CLI commands now support a `--local` flag that targets a running `wrangler dev` session instead of the Cloudflare production API. This uses the `/cdn-cgi/explorer/api/workflows` endpoints served by the local dev server. - -``` -wrangler workflows list --local -wrangler workflows trigger my-workflow '{"key":"value"}' --local -wrangler workflows instances describe my-workflow latest --local -wrangler workflows instances pause my-workflow --local --port 9000 -``` - -By default, commands continue to hit remote (production). Pass `--local` to opt in, and optionally `--port` to specify a custom dev server port (defaults to 8787). diff --git a/.changeset/workflows-local-explorer.md b/.changeset/workflows-local-explorer.md deleted file mode 100644 index 0d3ce6ea56..0000000000 --- a/.changeset/workflows-local-explorer.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"miniflare": minor -"@cloudflare/workflows-shared": patch ---- - -Add Workflows support to the local explorer UI. - -The local explorer (`/cdn-cgi/explorer/`) now includes a full Workflows dashboard for viewing and managing workflow instances during local development. - -UI features: - -- Workflow instance list with status badges, creation time, action buttons, and pagination -- Status summary bar with instance counts per status -- Status filter dropdown and search -- Instance detail page with step history, params/output cards, error display, and expandable step details -- Create instance dialog with optional ID and JSON params diff --git a/.changeset/wrangler-assets-not-a-directory-error.md b/.changeset/wrangler-assets-not-a-directory-error.md deleted file mode 100644 index d0ee4db0cc..0000000000 --- a/.changeset/wrangler-assets-not-a-directory-error.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Improve error message when the assets directory path points to a file instead of a directory - -Previously, if the path provided as the assets directory (via `--assets` flag or `assets.directory` config) pointed to an existing file rather than a directory, Wrangler would throw an unhelpful `ENOTDIR` system error when trying to read the `_redirects` file inside it. Now Wrangler detects this condition earlier and throws a clear user error. diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index a889c8238c..cd6012a44b 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/cli +## 1.3.0 + +### Minor Changes + +- [#13068](https://github.com/cloudflare/workers-sdk/pull/13068) [`e631a94`](https://github.com/cloudflare/workers-sdk/commit/e631a946466ded834763497d094da9e93d3d3721) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Add `runCommand` and `quoteShellArgs`, `installPackages` and `installWrangler` utilities to `@cloudflare/cli/command` + + These utilities are now available from `@cloudflare/cli` as dedicated sub-path exports: `runCommand` and `quoteShellArgs` via `@cloudflare/cli/command`, and `installPackages` and `installWrangler` via `@cloudflare/cli/packages`. This makes them reusable across packages in the SDK without duplication. + ## 1.2.1 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 39e1691bfa..e2a03d20ed 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/cli", - "version": "1.2.1", + "version": "1.3.0", "private": true, "description": "An SDK to build workers-sdk CLIs", "keywords": [ diff --git a/packages/codemod/CHANGELOG.md b/packages/codemod/CHANGELOG.md new file mode 100644 index 0000000000..9f917d1e2f --- /dev/null +++ b/packages/codemod/CHANGELOG.md @@ -0,0 +1,9 @@ +# @cloudflare/codemod + +## 1.1.0 + +### Minor Changes + +- [#13102](https://github.com/cloudflare/workers-sdk/pull/13102) [`e200179`](https://github.com/cloudflare/workers-sdk/commit/e200179d8dbdb36d716e5df9e981b3219c93d974) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - First release of new package + + Add `@cloudflare/codemod` package with internal AST-based codemod utilities (`parseJs`, `parseTs`, `parseFile`, `transformFile`, `mergeObjectProperties`) built on `recast`. diff --git a/packages/codemod/package.json b/packages/codemod/package.json index 64a8d29327..e424ec94a6 100644 --- a/packages/codemod/package.json +++ b/packages/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/codemod", - "version": "1.0.0", + "version": "1.1.0", "private": true, "description": "Internal codemod utilities", "homepage": "https://github.com/cloudflare/workers-sdk#readme", diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index 4f4e24420e..4e99150c78 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,49 @@ # create-cloudflare +## 2.66.1 + +### Patch Changes + +- [#13106](https://github.com/cloudflare/workers-sdk/pull/13106) [`c8c44a7`](https://github.com/cloudflare/workers-sdk/commit/c8c44a708039b8a9cd38fd0e7d45c7dba6e39312) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "create-cloudflare" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ------------------- | ------ | ------ | + | create-react-router | 7.13.1 | 7.13.2 | + +- [#13107](https://github.com/cloudflare/workers-sdk/pull/13107) [`687f144`](https://github.com/cloudflare/workers-sdk/commit/687f1444ece93d3bf61a3e8b4567cd17065a2449) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "create-cloudflare" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ------------ | ----- | ----- | + | create-astro | 5.0.3 | 5.0.4 | + +- [#13108](https://github.com/cloudflare/workers-sdk/pull/13108) [`3a8a24c`](https://github.com/cloudflare/workers-sdk/commit/3a8a24cbb91b897cc71cc2b135ec702ada4053a7) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "create-cloudflare" + + The following dependency versions have been updated: + + | Dependency | From | To | + | --------------- | ------ | ------ | + | @angular/create | 21.2.3 | 21.2.5 | + +- [#13109](https://github.com/cloudflare/workers-sdk/pull/13109) [`9deba25`](https://github.com/cloudflare/workers-sdk/commit/9deba25ff8a7dfbc3d590a98edda8f074fcac271) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "create-cloudflare" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ----------- | ---------------------- | ---------------------- | + | create-waku | 0.12.5-1.0.0-alpha.5-0 | 0.12.5-1.0.0-alpha.6-0 | + +- [#13110](https://github.com/cloudflare/workers-sdk/pull/13110) [`71059be`](https://github.com/cloudflare/workers-sdk/commit/71059be812e3d227c26d3a617834272f3394c182) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "create-cloudflare" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------ | ------ | + | create-vue | 3.22.0 | 3.22.1 | + ## 2.66.0 ### Minor Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index bc78d19c68..e6412f53e3 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.66.0", + "version": "2.66.1", "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 7ea9ef21cc..9a3688821b 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,60 @@ # miniflare +## 4.20260329.0 + +### Minor Changes + +- [#13025](https://github.com/cloudflare/workers-sdk/pull/13025) [`9eff028`](https://github.com/cloudflare/workers-sdk/commit/9eff0285cb2e5d94b9d0788dceb855119e596707) Thanks [@ruifigueira](https://github.com/ruifigueira)! - Add missing devtools endpoints to browser rendering local binding. + + The local browser rendering binding now implements the full set of devtools endpoints, matching the remote Browser Rendering API: + + - `GET /v1/limits` — returns local concurrency defaults + - `GET /v1/history` — returns empty array (no persistence in local dev) + - `GET /v1/devtools/session` - list and inspect active sessions + - `GET /v1/devtools/session/:id` — list and inspect active session + - `GET /v1/devtools/browser/:id/json/version` — Browser version metadata, includes webSocketDebuggerUrl + - `GET /v1/devtools/browser/:id/json/list` — A list of all available websocket targets + - `GET /v1/devtools/browser/:id/json` — Alias for `GET /v1/devtools/browser/:id/json` + - `GET /v1/devtools/browser/:id/json/protocol` — The current devtools protocol, as JSON. Includes webSocketDebuggerUrl and devtoolsFrontendUrl + - `PUT /v1/devtools/browser/:id/json/new` — Opens a new tab. Responds with the websocket target data for the new tab + - `GET /v1/devtools/browser/:id/json/activate/:target` — Brings a page into the foreground (activate a tab) + - `GET /v1/devtools/browser/:id/json/close/:target` — Closes the target page identified by targetId + - `GET /v1/devtools/browser/:id/page/:target` — WebSocket connection to a page target + - `GET /v1/devtools/browser/:id` — WebSocket connection to a previously acquired browser session + - `DELETE /v1/devtools/browser/:id` — Closes a browser session + - `POST /v1/devtools/browser` — Acquires a new session + - `GET /v1/devtools/browser` — Acquire a new session and connect via WebSocket in one step, returning `cf-browser-session-id` header + +- [#13086](https://github.com/cloudflare/workers-sdk/pull/13086) [`d4c6158`](https://github.com/cloudflare/workers-sdk/commit/d4c61587094a2a2ceee35acfb3619c95e0a993fe) Thanks [@pombosilva](https://github.com/pombosilva)! - Add Workflows support to the local explorer UI. + + The local explorer (`/cdn-cgi/explorer/`) now includes a full Workflows dashboard for viewing and managing workflow instances during local development. + + UI features: + + - Workflow instance list with status badges, creation time, action buttons, and pagination + - Status summary bar with instance counts per status + - Status filter dropdown and search + - Instance detail page with step history, params/output cards, error display, and expandable step details + - Create instance dialog with optional ID and JSON params + +### Patch Changes + +- [#13111](https://github.com/cloudflare/workers-sdk/pull/13111) [`f214760`](https://github.com/cloudflare/workers-sdk/commit/f2147605e1081ebdec29e76c4b04e3af503d282e) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------------ | ------------ | + | workerd | 1.20260317.1 | 1.20260329.1 | + +- [#13078](https://github.com/cloudflare/workers-sdk/pull/13078) [`9282493`](https://github.com/cloudflare/workers-sdk/commit/9282493b11ba07bcadb981c2cfc255e8eb5b9b15) Thanks [@penalosa](https://github.com/penalosa)! - Fix noisy EBUSY errors on Windows when disposing Miniflare instances + + On Windows, `workerd` may not release file handles immediately after disposal, causing `EBUSY` errors when Miniflare tries to remove its temporary directory during `dispose()`. Previously, this error propagated to the caller (e.g. vitest-pool-workers), producing repeated noisy error messages in test output. The cleanup is now best-effort — matching the existing exit hook behaviour — since the temporary directory lives in `os.tmpdir()` and will be cleaned up by the OS. + +- [#13090](https://github.com/cloudflare/workers-sdk/pull/13090) [`a532eea`](https://github.com/cloudflare/workers-sdk/commit/a532eeabfd445e80ce597612da15e3e020ef03c6) Thanks [@edmundhung](https://github.com/edmundhung)! - Remove `LOCAL_EXPLORER_BASE_PATH` and `LOCAL_EXPLORER_API_PATH` constants in favor of `CorePaths.EXPLORER` + + These were redundant aliases introduced before `CorePaths` was centralized. All internal consumers now use `CorePaths.EXPLORER` directly. + ## 4.20260317.3 ### Minor Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index 5f0058cc6f..97ed6780e5 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "4.20260317.3", + "version": "4.20260329.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 014eb4f517..22f997519b 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.13.120 + +### Patch Changes + +- Updated dependencies [[`9eff028`](https://github.com/cloudflare/workers-sdk/commit/9eff0285cb2e5d94b9d0788dceb855119e596707), [`f214760`](https://github.com/cloudflare/workers-sdk/commit/f2147605e1081ebdec29e76c4b04e3af503d282e), [`9282493`](https://github.com/cloudflare/workers-sdk/commit/9282493b11ba07bcadb981c2cfc255e8eb5b9b15), [`a532eea`](https://github.com/cloudflare/workers-sdk/commit/a532eeabfd445e80ce597612da15e3e020ef03c6), [`d4c6158`](https://github.com/cloudflare/workers-sdk/commit/d4c61587094a2a2ceee35acfb3619c95e0a993fe)]: + - miniflare@4.20260329.0 + ## 0.13.119 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 142ed9ea21..968ab5a4af 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.13.119", + "version": "0.13.120", "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 d26f3ff12c..2f0db8a903 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,17 @@ # @cloudflare/vite-plugin +## 1.30.3 + +### Patch Changes + +- [#13111](https://github.com/cloudflare/workers-sdk/pull/13111) [`f214760`](https://github.com/cloudflare/workers-sdk/commit/f2147605e1081ebdec29e76c4b04e3af503d282e) Thanks [@dependabot](https://github.com/apps/dependabot)! - Add missing `connect` key to `WorkerEntrypoint` and `DurableObject` key lists in the runner worker + + The `connect` method was added to the `WorkerEntrypoint` and `DurableObject` types in workerd 1.20260329.1 but was missing from the `WORKER_ENTRYPOINT_KEYS` and `DURABLE_OBJECT_KEYS` arrays used for RPC property access in the Vite plugin runner worker. This caused the compile-time exhaustiveness check to fail with the updated workers-types. + +- Updated dependencies [[`ffbc268`](https://github.com/cloudflare/workers-sdk/commit/ffbc268520b2c63cbabbdd1c52ff6d8ee64f4ee9), [`9eff028`](https://github.com/cloudflare/workers-sdk/commit/9eff0285cb2e5d94b9d0788dceb855119e596707), [`ed20a9b`](https://github.com/cloudflare/workers-sdk/commit/ed20a9bb090b87496328006a02bdc331cf9f7b97), [`f214760`](https://github.com/cloudflare/workers-sdk/commit/f2147605e1081ebdec29e76c4b04e3af503d282e), [`746858a`](https://github.com/cloudflare/workers-sdk/commit/746858a349c6f322e8a222876671b8ceaadd5bc4), [`9aad27f`](https://github.com/cloudflare/workers-sdk/commit/9aad27f9da34f5723b936b8dcf5c9699c9e1d74c), [`1fc5518`](https://github.com/cloudflare/workers-sdk/commit/1fc5518526bc214b193b6818cef7365fe52a2b42), [`b539dc7`](https://github.com/cloudflare/workers-sdk/commit/b539dc79d8aa727018b5b58d43aa62b3e414b636), [`9282493`](https://github.com/cloudflare/workers-sdk/commit/9282493b11ba07bcadb981c2cfc255e8eb5b9b15), [`a532eea`](https://github.com/cloudflare/workers-sdk/commit/a532eeabfd445e80ce597612da15e3e020ef03c6), [`cd0e971`](https://github.com/cloudflare/workers-sdk/commit/cd0e971c603ef8e9fccfc7861aa71d4f116fc96b), [`d4c6158`](https://github.com/cloudflare/workers-sdk/commit/d4c61587094a2a2ceee35acfb3619c95e0a993fe), [`2565b1d`](https://github.com/cloudflare/workers-sdk/commit/2565b1d194bb8e9533d58f629ac3f3c2220c472e)]: + - wrangler@4.79.0 + - miniflare@4.20260329.0 + ## 1.30.2 ### Patch Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index ccd07e7098..57169e7592 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.30.2", + "version": "1.30.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 0c3b84f49e..8a5ecf8728 100644 --- a/packages/vitest-pool-workers/CHANGELOG.md +++ b/packages/vitest-pool-workers/CHANGELOG.md @@ -1,5 +1,31 @@ # @cloudflare/vitest-pool-workers +## 0.14.0 + +### Minor Changes + +- [#12858](https://github.com/cloudflare/workers-sdk/pull/12858) [`f05f2da`](https://github.com/cloudflare/workers-sdk/commit/f05f2dac299acd8377954c5816a21c849cb48775) Thanks [@repository](https://github.com/repository)! - Add `disableRetryDelays()` to `WorkflowInstanceModifier` to skip retry backoff delays in tests + + When testing Workflows with retry configurations, the backoff delays between retry attempts of a failing `step.do()` caused real wall-clock waiting (e.g., 35 seconds for 3 retries with 5-second exponential backoff), even when step results were fully mocked. The new `disableRetryDelays()` method eliminates these delays while preserving retry behavior — all attempts still execute, just without waiting between them. + +### Patch Changes + +- [#13091](https://github.com/cloudflare/workers-sdk/pull/13091) [`6d58f0f`](https://github.com/cloudflare/workers-sdk/commit/6d58f0fc557402821e7602a1174e305a67df3c12) Thanks [@penalosa](https://github.com/penalosa)! - Use today's date for the RTTI compat date query instead of a hardcoded `"2023-12-01"`, so newly added Node.js builtin modules are recognized by the module fallback service. + +- [#13070](https://github.com/cloudflare/workers-sdk/pull/13070) [`cdb9c88`](https://github.com/cloudflare/workers-sdk/commit/cdb9c88d11fe7aac0c13ed46c6fd37a8037b7be6) Thanks [@penalosa](https://github.com/penalosa)! - Suppress `CODE_MOVED for unknown code block` log spam from workerd + + These are internal workerd diagnostic messages not relevant to application developers. Miniflare's structured log handler already filters them, but `vitest-pool-workers` uses a custom `handleRuntimeStdio` that bypasses that pipeline. This adds the pattern to the pool's own ignore list. + +- [#13069](https://github.com/cloudflare/workers-sdk/pull/13069) [`6d0e329`](https://github.com/cloudflare/workers-sdk/commit/6d0e329cc26b6ac70b30f413168169bc7cc9fff4) Thanks [@penalosa](https://github.com/penalosa)! - fix: suppress `outputGateBroken` stderr noise when testing Workflows + +- [#13075](https://github.com/cloudflare/workers-sdk/pull/13075) [`b8df076`](https://github.com/cloudflare/workers-sdk/commit/b8df076a26d73e814b87e7e85bdb850f6e1a1d8c) Thanks [@penalosa](https://github.com/penalosa)! - Support `@voidzero-dev/vite-plus-test` as an alternative to `vitest` + + Users running tests via [Vite+](https://github.com/voidzero-dev/vite-plus) (`@voidzero-dev/vite-plus-test`) with the [recommended pnpm overrides](https://github.com/voidzero-dev/vite-plus/blob/main/packages/test/BUNDLING.md) no longer hit spurious version warnings or `Disallowed operation called within global scope` errors. + +- Updated dependencies [[`ffbc268`](https://github.com/cloudflare/workers-sdk/commit/ffbc268520b2c63cbabbdd1c52ff6d8ee64f4ee9), [`9eff028`](https://github.com/cloudflare/workers-sdk/commit/9eff0285cb2e5d94b9d0788dceb855119e596707), [`ed20a9b`](https://github.com/cloudflare/workers-sdk/commit/ed20a9bb090b87496328006a02bdc331cf9f7b97), [`f214760`](https://github.com/cloudflare/workers-sdk/commit/f2147605e1081ebdec29e76c4b04e3af503d282e), [`746858a`](https://github.com/cloudflare/workers-sdk/commit/746858a349c6f322e8a222876671b8ceaadd5bc4), [`9aad27f`](https://github.com/cloudflare/workers-sdk/commit/9aad27f9da34f5723b936b8dcf5c9699c9e1d74c), [`1fc5518`](https://github.com/cloudflare/workers-sdk/commit/1fc5518526bc214b193b6818cef7365fe52a2b42), [`b539dc7`](https://github.com/cloudflare/workers-sdk/commit/b539dc79d8aa727018b5b58d43aa62b3e414b636), [`9282493`](https://github.com/cloudflare/workers-sdk/commit/9282493b11ba07bcadb981c2cfc255e8eb5b9b15), [`a532eea`](https://github.com/cloudflare/workers-sdk/commit/a532eeabfd445e80ce597612da15e3e020ef03c6), [`cd0e971`](https://github.com/cloudflare/workers-sdk/commit/cd0e971c603ef8e9fccfc7861aa71d4f116fc96b), [`d4c6158`](https://github.com/cloudflare/workers-sdk/commit/d4c61587094a2a2ceee35acfb3619c95e0a993fe), [`2565b1d`](https://github.com/cloudflare/workers-sdk/commit/2565b1d194bb8e9533d58f629ac3f3c2220c472e)]: + - wrangler@4.79.0 + - miniflare@4.20260329.0 + ## 0.13.5 ### Patch Changes diff --git a/packages/vitest-pool-workers/package.json b/packages/vitest-pool-workers/package.json index 3889048020..99b5ea185f 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.13.5", + "version": "0.14.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-playground/CHANGELOG.md b/packages/workers-playground/CHANGELOG.md index 882527dbc4..9fffd4c43a 100644 --- a/packages/workers-playground/CHANGELOG.md +++ b/packages/workers-playground/CHANGELOG.md @@ -1,5 +1,15 @@ # workers-playground +## 0.4.3 + +### Patch Changes + +- [#13105](https://github.com/cloudflare/workers-sdk/pull/13105) [`ff41b07`](https://github.com/cloudflare/workers-sdk/commit/ff41b070947de43c1ab6b2e4ff65a960d3d7c974) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - fix: resolve TypeError: createRenderer is not a function when built with Vite 8 + + Vite 8 switched its bundler from Rollup to rolldown. The `@cloudflare/style-provider` package ships a hybrid ESM+CJS build (its `es/` directory uses `require()` internally), which rolldown mishandles by generating an anonymous, unreachable module initializer — leaving `createRenderer` as `undefined` at runtime. + + Fixed by aliasing `@cloudflare/style-provider` to its CJS entry (`lib/index.js`) in `vite.config.ts`. Rolldown handles plain CJS correctly via its interop layer. + ## 0.4.2 ### Patch Changes diff --git a/packages/workers-playground/package.json b/packages/workers-playground/package.json index ab921cb631..82df58515f 100644 --- a/packages/workers-playground/package.json +++ b/packages/workers-playground/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-playground", - "version": "0.4.2", + "version": "0.4.3", "private": true, "type": "module", "scripts": { diff --git a/packages/workflows-shared/CHANGELOG.md b/packages/workflows-shared/CHANGELOG.md index 85e619762e..b0996c7592 100644 --- a/packages/workflows-shared/CHANGELOG.md +++ b/packages/workflows-shared/CHANGELOG.md @@ -1,5 +1,21 @@ # @cloudflare/workflows-shared +## 0.7.2 + +### Patch Changes + +- [#13086](https://github.com/cloudflare/workers-sdk/pull/13086) [`d4c6158`](https://github.com/cloudflare/workers-sdk/commit/d4c61587094a2a2ceee35acfb3619c95e0a993fe) Thanks [@pombosilva](https://github.com/pombosilva)! - Add Workflows support to the local explorer UI. + + The local explorer (`/cdn-cgi/explorer/`) now includes a full Workflows dashboard for viewing and managing workflow instances during local development. + + UI features: + + - Workflow instance list with status badges, creation time, action buttons, and pagination + - Status summary bar with instance counts per status + - Status filter dropdown and search + - Instance detail page with step history, params/output cards, error display, and expandable step details + - Create instance dialog with optional ID and JSON params + ## 0.7.1 ### Patch Changes diff --git a/packages/workflows-shared/package.json b/packages/workflows-shared/package.json index 272e6e924f..123b511674 100644 --- a/packages/workflows-shared/package.json +++ b/packages/workflows-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workflows-shared", - "version": "0.7.1", + "version": "0.7.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 bbcf61389f..88bce70fdc 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,72 @@ # wrangler +## 4.79.0 + +### Minor Changes + +- [#12868](https://github.com/cloudflare/workers-sdk/pull/12868) [`ffbc268`](https://github.com/cloudflare/workers-sdk/commit/ffbc268520b2c63cbabbdd1c52ff6d8ee64f4ee9) Thanks [@danielgek](https://github.com/danielgek)! - Add `wrangler ai-search` command namespace for managing Cloudflare AI Search instances + + Introduces a CLI surface for the Cloudflare AI Search API (open beta), including: + + - Instance management: `ai-search list`, `create`, `get`, `update`, `delete` + - Semantic search: `ai-search search` with repeatable `--filter key=value` flags + - Instance stats: `ai-search stats` + + The `create` command uses an interactive wizard to guide configuration. All commands require authentication via `wrangler login`. + +- [#13097](https://github.com/cloudflare/workers-sdk/pull/13097) [`cd0e971`](https://github.com/cloudflare/workers-sdk/commit/cd0e971c603ef8e9fccfc7861aa71d4f116fc96b) Thanks [@pombosilva](https://github.com/pombosilva)! - Add `--local` flag to Workflows commands for interacting with local dev + + All Workflows CLI commands now support a `--local` flag that targets a running `wrangler dev` session instead of the Cloudflare production API. This uses the `/cdn-cgi/explorer/api/workflows` endpoints served by the local dev server. + + ``` + wrangler workflows list --local + wrangler workflows trigger my-workflow '{"key":"value"}' --local + wrangler workflows instances describe my-workflow latest --local + wrangler workflows instances pause my-workflow --local --port 9000 + ``` + + By default, commands continue to hit remote (production). Pass `--local` to opt in, and optionally `--port` to specify a custom dev server port (defaults to 8787). + +### Patch Changes + +- [#13050](https://github.com/cloudflare/workers-sdk/pull/13050) [`ed20a9b`](https://github.com/cloudflare/workers-sdk/commit/ed20a9bb090b87496328006a02bdc331cf9f7b97) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Add minimum and maximum version checks for frameworks during auto-configuration + + When Wrangler automatically configures a project, it now validates the installed version of the detected framework before proceeding: + + - If the version is below the minimum known-good version, the command exits with an error asking the user to upgrade the framework. + - If the version is above the maximum known major version, a warning is emitted to let the user know the framework version has not been officially tested with this feature, and the command continues. + +- [#13111](https://github.com/cloudflare/workers-sdk/pull/13111) [`f214760`](https://github.com/cloudflare/workers-sdk/commit/f2147605e1081ebdec29e76c4b04e3af503d282e) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ---------- | ------------ | ------------ | + | workerd | 1.20260317.1 | 1.20260329.1 | + +- [#13079](https://github.com/cloudflare/workers-sdk/pull/13079) [`746858a`](https://github.com/cloudflare/workers-sdk/commit/746858a349c6f322e8a222876671b8ceaadd5bc4) Thanks [@penalosa](https://github.com/penalosa)! - Fix `getPlatformProxy` and `unstable_getMiniflareWorkerOptions` crashing when `assets` is configured without a `directory` + + `getPlatformProxy` and `unstable_getMiniflareWorkerOptions` now skip asset setup when the config has an `assets` block but no `directory` — instead of throwing "missing required `directory` property". This happens when an external tool like `@cloudflare/vite-plugin` handles asset serving independently. + +- [#13112](https://github.com/cloudflare/workers-sdk/pull/13112) [`9aad27f`](https://github.com/cloudflare/workers-sdk/commit/9aad27f9da34f5723b936b8dcf5c9699c9e1d74c) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Fix autoconfig failing on `waku` projects that use `hono` + + Waku has a tight integration with Hono, causing both to be detected simultaneously and triggering a "multiple frameworks found" error. Hono is now filtered out when Waku is also detected. + +- [#13113](https://github.com/cloudflare/workers-sdk/pull/13113) [`1fc5518`](https://github.com/cloudflare/workers-sdk/commit/1fc5518526bc214b193b6818cef7365fe52a2b42) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Skip lock file warning for static projects during autoconfig + + Previously, running autoconfig on a static project (one with no framework detected) would emit a misleading warning about a missing lock file, suggesting the project might be in a workspace. Since static projects don't require a lock file, this warning is now suppressed for them. + +- [#13072](https://github.com/cloudflare/workers-sdk/pull/13072) [`b539dc7`](https://github.com/cloudflare/workers-sdk/commit/b539dc79d8aa727018b5b58d43aa62b3e414b636) Thanks [@jbwcloudflare](https://github.com/jbwcloudflare)! - Skip unnecessary `GET /versions?deployable=true` API call in `wrangler versions deploy` when all version IDs are explicitly provided and `--yes` is passed + + When deploying a specific version non-interactively (e.g. `wrangler versions deploy --yes`), Wrangler previously always fetched the full list of deployable versions to populate the interactive selection prompt — even though the prompt is skipped entirely when `--yes` is used and all versions are already specified. The deployable-versions list is now only fetched when actually needed (i.e. when no version IDs are provided, or when running interactively). + +- [#13115](https://github.com/cloudflare/workers-sdk/pull/13115) [`2565b1d`](https://github.com/cloudflare/workers-sdk/commit/2565b1d194bb8e9533d58f629ac3f3c2220c472e) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Improve error message when the assets directory path points to a file instead of a directory + + Previously, if the path provided as the assets directory (via `--assets` flag or `assets.directory` config) pointed to an existing file rather than a directory, Wrangler would throw an unhelpful `ENOTDIR` system error when trying to read the `_redirects` file inside it. Now Wrangler detects this condition earlier and throws a clear user error. + +- Updated dependencies [[`9eff028`](https://github.com/cloudflare/workers-sdk/commit/9eff0285cb2e5d94b9d0788dceb855119e596707), [`f214760`](https://github.com/cloudflare/workers-sdk/commit/f2147605e1081ebdec29e76c4b04e3af503d282e), [`9282493`](https://github.com/cloudflare/workers-sdk/commit/9282493b11ba07bcadb981c2cfc255e8eb5b9b15), [`a532eea`](https://github.com/cloudflare/workers-sdk/commit/a532eeabfd445e80ce597612da15e3e020ef03c6), [`d4c6158`](https://github.com/cloudflare/workers-sdk/commit/d4c61587094a2a2ceee35acfb3619c95e0a993fe)]: + - miniflare@4.20260329.0 + ## 4.78.0 ### Minor Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index 94fedd3d0b..5ace848017 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.78.0", + "version": "4.79.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "assembly",