From fcd004e330a0a1f390404bfc642da46459e1a8fd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 15 Sep 2026 15:47:06 +0000 Subject: [PATCH] Version Packages --- .changeset/bright-pandas-profile.md | 7 -- .changeset/bright-scopes-register.md | 7 -- .changeset/c3-agents-md-local-explorer.md | 9 -- .changeset/c3-frameworks-update-15627.md | 11 -- .changeset/c3-frameworks-update-15628.md | 11 -- .changeset/c3-frameworks-update-15629.md | 11 -- .changeset/c3-frameworks-update-15630.md | 11 -- .changeset/calm-clouds-device-default.md | 7 -- .changeset/calm-spoons-search.md | 7 -- .changeset/dependabot-update-15633.md | 13 -- .../deploy-positional-path-telemetry.md | 7 -- .../durable-object-application-settings.md | 11 -- .changeset/fix-cast-error-cause-message.md | 7 -- .changeset/fix-d1-export-infinity.md | 5 - .changeset/fuzzy-hats-write.md | 7 -- .../named-container-image-build-options.md | 28 ----- .changeset/pages-upload-gateway-backoff.md | 8 -- .changeset/preview-ai-search-bindings.md | 11 -- .changeset/preview-secrets-file-flag.md | 10 -- .changeset/remove-gated-web-search.md | 12 -- ...cope-do-workflow-explorer-storage-scope.md | 7 -- .changeset/soft-taxis-report.md | 21 ---- .changeset/thin-ghosts-shout.md | 5 - .changeset/tidy-astro-seven.md | 7 -- .changeset/tidy-event-listener-errors.md | 7 -- .changeset/tidy-pandas-smile.md | 7 -- .changeset/tidy-sandboxes-link.md | 9 -- .changeset/tidy-zebras-share.md | 7 -- .changeset/warm-assets-recover.md | 8 -- packages/autoconfig/CHANGELOG.md | 13 ++ packages/autoconfig/package.json | 2 +- packages/build-output-utils/CHANGELOG.md | 7 ++ packages/build-output-utils/package.json | 2 +- packages/cli/CHANGELOG.md | 7 ++ packages/cli/package.json | 2 +- packages/config/CHANGELOG.md | 8 ++ packages/config/package.json | 2 +- packages/containers-shared/CHANGELOG.md | 30 +++++ packages/containers-shared/package.json | 2 +- packages/create-cloudflare/CHANGELOG.md | 40 ++++++ packages/create-cloudflare/package.json | 2 +- packages/deploy-helpers/CHANGELOG.md | 68 ++++++++++ packages/deploy-helpers/package.json | 2 +- packages/miniflare/CHANGELOG.md | 49 ++++++++ packages/miniflare/package.json | 2 +- packages/pages-shared/CHANGELOG.md | 7 ++ packages/pages-shared/package.json | 2 +- packages/remote-bindings/CHANGELOG.md | 11 ++ packages/remote-bindings/package.json | 2 +- packages/runtime-types/CHANGELOG.md | 7 ++ packages/runtime-types/package.json | 2 +- packages/vite-plugin-cloudflare/CHANGELOG.md | 28 +++++ packages/vite-plugin-cloudflare/package.json | 2 +- packages/vitest-plugin/CHANGELOG.md | 8 ++ packages/vitest-plugin/package.json | 2 +- packages/workers-auth/CHANGELOG.md | 21 ++++ packages/workers-auth/package.json | 2 +- packages/workers-utils/CHANGELOG.md | 52 ++++++++ packages/workers-utils/package.json | 2 +- packages/wrangler/CHANGELOG.md | 116 ++++++++++++++++++ packages/wrangler/package.json | 2 +- 61 files changed, 488 insertions(+), 294 deletions(-) delete mode 100644 .changeset/bright-pandas-profile.md delete mode 100644 .changeset/bright-scopes-register.md delete mode 100644 .changeset/c3-agents-md-local-explorer.md delete mode 100644 .changeset/c3-frameworks-update-15627.md delete mode 100644 .changeset/c3-frameworks-update-15628.md delete mode 100644 .changeset/c3-frameworks-update-15629.md delete mode 100644 .changeset/c3-frameworks-update-15630.md delete mode 100644 .changeset/calm-clouds-device-default.md delete mode 100644 .changeset/calm-spoons-search.md delete mode 100644 .changeset/dependabot-update-15633.md delete mode 100644 .changeset/deploy-positional-path-telemetry.md delete mode 100644 .changeset/durable-object-application-settings.md delete mode 100644 .changeset/fix-cast-error-cause-message.md delete mode 100644 .changeset/fix-d1-export-infinity.md delete mode 100644 .changeset/fuzzy-hats-write.md delete mode 100644 .changeset/named-container-image-build-options.md delete mode 100644 .changeset/pages-upload-gateway-backoff.md delete mode 100644 .changeset/preview-ai-search-bindings.md delete mode 100644 .changeset/preview-secrets-file-flag.md delete mode 100644 .changeset/remove-gated-web-search.md delete mode 100644 .changeset/scope-do-workflow-explorer-storage-scope.md delete mode 100644 .changeset/soft-taxis-report.md delete mode 100644 .changeset/thin-ghosts-shout.md delete mode 100644 .changeset/tidy-astro-seven.md delete mode 100644 .changeset/tidy-event-listener-errors.md delete mode 100644 .changeset/tidy-pandas-smile.md delete mode 100644 .changeset/tidy-sandboxes-link.md delete mode 100644 .changeset/tidy-zebras-share.md delete mode 100644 .changeset/warm-assets-recover.md diff --git a/.changeset/bright-pandas-profile.md b/.changeset/bright-pandas-profile.md deleted file mode 100644 index 452910e6894..00000000000 --- a/.changeset/bright-pandas-profile.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/deploy-helpers": minor ---- - -Share Worker startup profiling with other Cloudflare developer tools - -Move the bundle analyser out of Wrangler so `cf` and deploy failure diagnostics can use the same Miniflare CPU profiler. The `analyseBundle` callback on `DeployCallbacks` is now optional and deprecated, and will be removed in a future release once all clients have been updated to stop passing this property. diff --git a/.changeset/bright-scopes-register.md b/.changeset/bright-scopes-register.md deleted file mode 100644 index 745a86fb03a..00000000000 --- a/.changeset/bright-scopes-register.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/workers-auth": minor ---- - -Accept all production-registered cf OAuth scopes for explicit requests - -The cf scope validator now recognizes the full production OAuth registration, including newer scopes such as `dns.read`. The existing default login scope request remains unchanged, so broader permissions are requested only when a caller explicitly supplies them. diff --git a/.changeset/c3-agents-md-local-explorer.md b/.changeset/c3-agents-md-local-explorer.md deleted file mode 100644 index e7fa3e3eb39..00000000000 --- a/.changeset/c3-agents-md-local-explorer.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"create-cloudflare": patch -"wrangler": patch -"@cloudflare/vite-plugin": patch ---- - -Sync Local Explorer endpoint lists across agent hints - -The Local Explorer endpoint list is now consistent across the three places it appears: the AGENTS.md template in `create-cloudflare`, the runtime agent hint in `wrangler dev`, and the Vite plugin agent hint. All three now include the `observability/clear` endpoint, use the canonical `/cdn-cgi/local/explorer` path, and have cross-reference comments pointing to each other. diff --git a/.changeset/c3-frameworks-update-15627.md b/.changeset/c3-frameworks-update-15627.md deleted file mode 100644 index 10a8f024341..00000000000 --- a/.changeset/c3-frameworks-update-15627.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-next-app | 16.3.4 | 16.3.5 | diff --git a/.changeset/c3-frameworks-update-15628.md b/.changeset/c3-frameworks-update-15628.md deleted file mode 100644 index a24231de6ef..00000000000 --- a/.changeset/c3-frameworks-update-15628.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-analog | 2.7.1 | 2.7.2 | diff --git a/.changeset/c3-frameworks-update-15629.md b/.changeset/c3-frameworks-update-15629.md deleted file mode 100644 index 1675484f3a8..00000000000 --- a/.changeset/c3-frameworks-update-15629.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 | 22.1.7 | 22.1.8 | diff --git a/.changeset/c3-frameworks-update-15630.md b/.changeset/c3-frameworks-update-15630.md deleted file mode 100644 index ed3f6fd14ae..00000000000 --- a/.changeset/c3-frameworks-update-15630.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-vite | 9.2.0 | 9.2.1 | diff --git a/.changeset/calm-clouds-device-default.md b/.changeset/calm-clouds-device-default.md deleted file mode 100644 index 1d3f33bba5b..00000000000 --- a/.changeset/calm-clouds-device-default.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/workers-auth": minor ---- - -Support per-CLI default OAuth login flows - -CLI descriptors can now make OAuth device authorization their default while preserving a per-login opt-out. The cf auth layer enables this default for both explicit login commands and implicit logins started during account resolution; Wrangler continues to use its localhost callback flow by default. diff --git a/.changeset/calm-spoons-search.md b/.changeset/calm-spoons-search.md deleted file mode 100644 index 19c88bf927c..00000000000 --- a/.changeset/calm-spoons-search.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Fix per-query overrides for `wrangler ai-search search` - -`--score-threshold`, `--max-num-results`, `--filter`, and `--reranking` are now sent using the AI Search request schema, so the service applies them to searches instead of ignoring them. diff --git a/.changeset/dependabot-update-15633.md b/.changeset/dependabot-update-15633.md deleted file mode 100644 index ef5cb4ac47f..00000000000 --- a/.changeset/dependabot-update-15633.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 | -| ------------------------- | ------------- | ------------- | -| @cloudflare/workers-types | ^5.20260911.1 | ^5.20260915.1 | -| workerd | 1.20260911.1 | 1.20260915.1 | diff --git a/.changeset/deploy-positional-path-telemetry.md b/.changeset/deploy-positional-path-telemetry.md deleted file mode 100644 index 9c265d9c5ea..00000000000 --- a/.changeset/deploy-positional-path-telemetry.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": minor ---- - -Categorise the positional path argument to `wrangler deploy` and `wrangler versions upload` in command telemetry - -Command telemetry now records a coarse category for the entry-point/assets positional (`wrangler deploy `) under `sanitizedArgs.path`, so we can understand whether people pass a file, a directory, or a relational reference such as `.` or `../example`. The possible values are `file`, `directory`, `current-dir`, `parent-relative`, and `not-found`, or `null` when no positional is provided. The raw path is never sent — only the category. diff --git a/.changeset/durable-object-application-settings.md b/.changeset/durable-object-application-settings.md deleted file mode 100644 index a1f8d2e18e7..00000000000 --- a/.changeset/durable-object-application-settings.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"wrangler": minor -"@cloudflare/workers-utils": minor -"@cloudflare/deploy-helpers": patch ---- - -Configure application-wide logs for experimental Durable Object-managed Containers - -Set `containers[].observability.enabled` or `containers[].observability.logs.enabled` when using `scheduling_policy: "durable_object"`. Normal deployments create missing applications and update explicitly configured log settings without a Container rollout. Omitted settings preserve the application configuration; root Worker observability is not inherited for this policy. - -Version uploads may initialize missing applications but preserve existing settings. Deploying or rolling back Worker versions also preserves existing application settings, and `--containers-rollout=none` skips their updates. diff --git a/.changeset/fix-cast-error-cause-message.md b/.changeset/fix-cast-error-cause-message.md deleted file mode 100644 index aa5173f3074..00000000000 --- a/.changeset/fix-cast-error-cause-message.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Surface the original error message, name and stack when the dev server reports an internal error - -Previously `wrangler dev` could exit with an empty `✘ [ERROR]` log that gave no indication of what went wrong (e.g. `Network connection lost.`, see #14641). These errors now include their original message, name and stack, so the failure is actually diagnosable. diff --git a/.changeset/fix-d1-export-infinity.md b/.changeset/fix-d1-export-infinity.md deleted file mode 100644 index 27e84c2856e..00000000000 --- a/.changeset/fix-d1-export-infinity.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"miniflare": patch ---- - -Fix Infinity/-Infinity being emitted as an invalid bare identifier in D1 export diff --git a/.changeset/fuzzy-hats-write.md b/.changeset/fuzzy-hats-write.md deleted file mode 100644 index 5237e6231ba..00000000000 --- a/.changeset/fuzzy-hats-write.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": minor ---- - -Add production-compatible KV bulk write and delete routes to Local Explorer - -API clients can now write and delete multiple local KV entries by changing only their Cloudflare API base URL. The new routes support production request and response shapes, including base64 values, expiration options, and metadata. diff --git a/.changeset/named-container-image-build-options.md b/.changeset/named-container-image-build-options.md deleted file mode 100644 index e055abe4e17..00000000000 --- a/.changeset/named-container-image-build-options.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -"wrangler": minor -"@cloudflare/workers-utils": minor -"@cloudflare/deploy-helpers": minor -"@cloudflare/containers-shared": patch ---- - -Support per-image build options for experimental Durable Object-managed Containers - -Set `build_context` and `build_vars` alongside `dockerfile` in a Container's named `images` entries. Context paths resolve relative to the Wrangler configuration file and default to the Dockerfile's directory. Build variables are passed as Docker build arguments. Entries using the same Dockerfile with different contexts or variables are built separately. - -```jsonc -{ - "containers": [ - { - "class_name": "Sandbox", - "scheduling_policy": "durable_object", - "images": { - "app": { - "dockerfile": "./docker/Dockerfile", - "build_context": ".", - "build_vars": { "APP_ENV": "production" }, - }, - }, - }, - ], -} -``` diff --git a/.changeset/pages-upload-gateway-backoff.md b/.changeset/pages-upload-gateway-backoff.md deleted file mode 100644 index 31e260bfb71..00000000000 --- a/.changeset/pages-upload-gateway-backoff.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@cloudflare/workers-utils": patch -"wrangler": patch ---- - -Treat 502, 503, and 504 as gateway errors during asset upload retries - -Pages and Workers asset uploads now retry more patiently when the Cloudflare API responds with a 502, 503 or 504 gateway error, reducing concurrency and waiting longer between attempts instead of failing the deploy quickly. diff --git a/.changeset/preview-ai-search-bindings.md b/.changeset/preview-ai-search-bindings.md deleted file mode 100644 index 8c0f53ec490..00000000000 --- a/.changeset/preview-ai-search-bindings.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"wrangler": minor -"@cloudflare/deploy-helpers": minor -"@cloudflare/workers-utils": minor ---- - -Support AI Search bindings in Worker Previews - -`wrangler preview` now accepts `ai_search` and `ai_search_namespaces` entries in the `previews` block and includes them in Preview deployment bindings. This lets Workers that use AI Search instance or namespace bindings attach existing resources to Preview deployments, including preview-specific instance or namespace names. - -These bindings are non-inheritable: declare them explicitly under `previews`. They attach to existing AI Search resources; preview does not provision new isolated instances or namespaces. diff --git a/.changeset/preview-secrets-file-flag.md b/.changeset/preview-secrets-file-flag.md deleted file mode 100644 index eda4688f217..00000000000 --- a/.changeset/preview-secrets-file-flag.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@cloudflare/deploy-helpers": minor -"wrangler": minor ---- - -[private beta]: Add `--secrets-file` and `--var` flags to `wrangler preview` - -Like `wrangler deploy` and `wrangler versions upload`, `wrangler preview` now accepts a `--secrets-file` flag pointing to a JSON or .env format file, and `--var KEY:VALUE` pairs that are injected into the Preview deployment as plain text variables. CLI vars override same-named vars from the `previews` section of your config file, and secrets from the file take precedence over both: - -`wrangler preview --secrets-file .env.preview --var API_URL:https://api.example.com` diff --git a/.changeset/remove-gated-web-search.md b/.changeset/remove-gated-web-search.md deleted file mode 100644 index df363d27054..00000000000 --- a/.changeset/remove-gated-web-search.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"wrangler": minor -"miniflare": minor -"@cloudflare/config": minor -"@cloudflare/workers-utils": minor -"@cloudflare/workers-auth": minor -"@cloudflare/deploy-helpers": minor ---- - -Remove the gated Web Search binding and Wrangler command - -The unreleased search binding and its experimental command have been removed from Wrangler, Miniflare, and configuration APIs. diff --git a/.changeset/scope-do-workflow-explorer-storage-scope.md b/.changeset/scope-do-workflow-explorer-storage-scope.md deleted file mode 100644 index 58bf63b1030..00000000000 --- a/.changeset/scope-do-workflow-explorer-storage-scope.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": patch ---- - -Scope Durable Object and Workflow local explorer peers by storageScope - -Restricts Durable Object and Workflow peer discovery and owner resolution to Miniflare peers sharing the same storageScope when Shared Storage is enabled. This ensures consistency with KV, D1, and R2 local explorer behaviors and prevents cross-project access to local development state across instances with different persistence roots. diff --git a/.changeset/soft-taxis-report.md b/.changeset/soft-taxis-report.md deleted file mode 100644 index add47ba9df7..00000000000 --- a/.changeset/soft-taxis-report.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -"@cloudflare/vite-plugin": patch -"miniflare": patch -"wrangler": patch ---- - -Improve over-limit `run_worker_first` errors when duplicate rules are present - -The error now reports distinct and duplicate-entry counts and lists duplicated rules, making it clear when removing redundant entries can bring the configuration within the limit. - -``` -Too many `run_worker_first` rules were provided; 105 rules provided (99 distinct, 6 duplicate entries) exceeds max of 100. Note: duplicate entries count towards the route limit. Ensure that no duplicate rules are present in your `run_worker_first` configuration. - -The duplicated rules found are: -- "/rule/0" -- "/rule/1" -- "/rule/2" -- "/rule/3" -- "/rule/4" -...and 1 more duplicated rule. -``` diff --git a/.changeset/thin-ghosts-shout.md b/.changeset/thin-ghosts-shout.md deleted file mode 100644 index e8e5857e0f1..00000000000 --- a/.changeset/thin-ghosts-shout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wrangler": patch ---- - -Replace `execa` with `tinyexec` for running subprocesses, shrinking the bundled Wrangler output. diff --git a/.changeset/tidy-astro-seven.md b/.changeset/tidy-astro-seven.md deleted file mode 100644 index 9e484d1c622..00000000000 --- a/.changeset/tidy-astro-seven.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cloudflare/autoconfig": patch ---- - -Recognize Astro 7 as officially supported by autoconfig - -Astro 7 projects no longer receive an unsupported-version warning during automatic configuration. Astro 7 uses the existing native `astro add cloudflare` configuration path introduced for Astro 6. diff --git a/.changeset/tidy-event-listener-errors.md b/.changeset/tidy-event-listener-errors.md deleted file mode 100644 index ce6e3ef4a9a..00000000000 --- a/.changeset/tidy-event-listener-errors.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Preserve service-worker middleware error propagation with spec-compliant event dispatch - -Wrangler's synthetic service-worker events now propagate listener exceptions to middleware without changing the behavior of user-created `EventTarget` instances. diff --git a/.changeset/tidy-pandas-smile.md b/.changeset/tidy-pandas-smile.md deleted file mode 100644 index ec10fd4b2bd..00000000000 --- a/.changeset/tidy-pandas-smile.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"wrangler": patch ---- - -Reduce the size of Wrangler's published package - -Exclude test-only, build-only, and obsolete template files from the npm package while retaining all runtime templates. diff --git a/.changeset/tidy-sandboxes-link.md b/.changeset/tidy-sandboxes-link.md deleted file mode 100644 index e6b321e30d5..00000000000 --- a/.changeset/tidy-sandboxes-link.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"wrangler": minor -"@cloudflare/workers-utils": minor -"@cloudflare/deploy-helpers": minor ---- - -Allow experimental Durable Object-managed Containers to link by name through exports - -Containers using `scheduling_policy: "durable_object"` can now specify `name` and link from `exports..container` without repeating `class_name`. Deploy and version upload resolve that link for image preparation, Worker metadata, and Container application creation. diff --git a/.changeset/tidy-zebras-share.md b/.changeset/tidy-zebras-share.md deleted file mode 100644 index beea8baf5fb..00000000000 --- a/.changeset/tidy-zebras-share.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"miniflare": patch ---- - -Reduce Miniflare's bundle size by sharing Zod across embedded workers - -Workflows, Email Store, and Local Explorer now import Zod from Miniflare's existing workerd extension instead of each bundling a separate copy. diff --git a/.changeset/warm-assets-recover.md b/.changeset/warm-assets-recover.md deleted file mode 100644 index fa1031e935f..00000000000 --- a/.changeset/warm-assets-recover.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@cloudflare/deploy-helpers": patch -"wrangler": patch ---- - -Restore static asset upload concurrency after gateway errors - -Static asset uploads previously remained at concurrency one for the rest of the deployment after any 524 response, which could make large deployments exceed the upload session lifetime. Successful uploads now restore the session's original concurrency gradually while retaining gateway throttling. Requests that were already in flight when throttling began do not restore capacity, so a burst of stale successes cannot immediately undo backpressure. diff --git a/packages/autoconfig/CHANGELOG.md b/packages/autoconfig/CHANGELOG.md index d03f2bc905c..d44bb6e2f30 100644 --- a/packages/autoconfig/CHANGELOG.md +++ b/packages/autoconfig/CHANGELOG.md @@ -1,5 +1,18 @@ # @cloudflare/autoconfig +## 0.4.6 + +### Patch Changes + +- [#15491](https://github.com/cloudflare/workers-sdk/pull/15491) [`6c15da1`](https://github.com/cloudflare/workers-sdk/commit/6c15da10a6f486b0cf29cbbe30cabe50b16f4b4a) Thanks [@penalosa](https://github.com/penalosa)! - Recognize Astro 7 as officially supported by autoconfig + + Astro 7 projects no longer receive an unsupported-version warning during automatic configuration. Astro 7 uses the existing native `astro add cloudflare` configuration path introduced for Astro 6. + +- Updated dependencies [[`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`cb0955f`](https://github.com/cloudflare/workers-sdk/commit/cb0955f274102afb30b8502193edf66c0d3cb4d6), [`fa79b26`](https://github.com/cloudflare/workers-sdk/commit/fa79b26ef442303797013c70078c7acdd2c79247), [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78)]: + - @cloudflare/workers-utils@0.39.0 + - @cloudflare/config@0.13.0 + - @cloudflare/cli-shared-helpers@0.1.31 + ## 0.4.5 ### Patch Changes diff --git a/packages/autoconfig/package.json b/packages/autoconfig/package.json index 5d3ff473a0c..5e077514f34 100644 --- a/packages/autoconfig/package.json +++ b/packages/autoconfig/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/autoconfig", - "version": "0.4.5", + "version": "0.4.6", "description": "Framework autoconfig detection and configuration for Cloudflare Workers", "license": "MIT OR Apache-2.0", "repository": { diff --git a/packages/build-output-utils/CHANGELOG.md b/packages/build-output-utils/CHANGELOG.md index cff015ef45d..da9f6b3d29f 100644 --- a/packages/build-output-utils/CHANGELOG.md +++ b/packages/build-output-utils/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/build-output-utils +## 0.5.1 + +### Patch Changes + +- Updated dependencies [[`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891)]: + - @cloudflare/config@0.13.0 + ## 0.5.0 ### Minor Changes diff --git a/packages/build-output-utils/package.json b/packages/build-output-utils/package.json index 66c41a68b2a..6178d274351 100644 --- a/packages/build-output-utils/package.json +++ b/packages/build-output-utils/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/build-output-utils", - "version": "0.5.0", + "version": "0.5.1", "description": "Utilities for reading and writing the Build Output Specification directory. This is not yet stable enough for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/build-output-utils#readme", "bugs": { diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index f41b0472218..6c7366d9b61 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/cli +## 0.1.31 + +### Patch Changes + +- Updated dependencies [[`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`cb0955f`](https://github.com/cloudflare/workers-sdk/commit/cb0955f274102afb30b8502193edf66c0d3cb4d6), [`fa79b26`](https://github.com/cloudflare/workers-sdk/commit/fa79b26ef442303797013c70078c7acdd2c79247), [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78)]: + - @cloudflare/workers-utils@0.39.0 + ## 0.1.30 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index ca182f4328a..9f4f76a5712 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/cli-shared-helpers", - "version": "0.1.30", + "version": "0.1.31", "description": "Internal shared CLI helpers for workers-sdk. Not intended for external use — APIs may change without notice.", "keywords": [ "cli", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 635700c6b39..8456b5cea33 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/config +## 0.13.0 + +### Minor Changes + +- [#15453](https://github.com/cloudflare/workers-sdk/pull/15453) [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891) Thanks [@G4brym](https://github.com/G4brym)! - Remove the gated Web Search binding and Wrangler command + + The unreleased search binding and its experimental command have been removed from Wrangler, Miniflare, and configuration APIs. + ## 0.12.0 ### Minor Changes diff --git a/packages/config/package.json b/packages/config/package.json index f84f27c0f44..b88720b0d1d 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/config", - "version": "0.12.0", + "version": "0.13.0", "description": "Definitions and utilities for configuring Cloudflare Workers and related products. This is not yet stable enough for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/config#readme", "bugs": { diff --git a/packages/containers-shared/CHANGELOG.md b/packages/containers-shared/CHANGELOG.md index 94ae646f6a4..82ed5c3af99 100644 --- a/packages/containers-shared/CHANGELOG.md +++ b/packages/containers-shared/CHANGELOG.md @@ -1,5 +1,35 @@ # @cloudflare/containers-shared +## 0.16.3 + +### Patch Changes + +- [#15597](https://github.com/cloudflare/workers-sdk/pull/15597) [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78) Thanks [@skepticfx](https://github.com/skepticfx)! - Support per-image build options for experimental Durable Object-managed Containers + + Set `build_context` and `build_vars` alongside `dockerfile` in a Container's named `images` entries. Context paths resolve relative to the Wrangler configuration file and default to the Dockerfile's directory. Build variables are passed as Docker build arguments. Entries using the same Dockerfile with different contexts or variables are built separately. + + ```jsonc + { + "containers": [ + { + "class_name": "Sandbox", + "scheduling_policy": "durable_object", + "images": { + "app": { + "dockerfile": "./docker/Dockerfile", + "build_context": ".", + "build_vars": { "APP_ENV": "production" } + } + } + } + ] + } + ``` + +- Updated dependencies [[`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`cb0955f`](https://github.com/cloudflare/workers-sdk/commit/cb0955f274102afb30b8502193edf66c0d3cb4d6), [`fa79b26`](https://github.com/cloudflare/workers-sdk/commit/fa79b26ef442303797013c70078c7acdd2c79247), [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78)]: + - @cloudflare/workers-utils@0.39.0 + - @cloudflare/cli-shared-helpers@0.1.31 + ## 0.16.2 ### Patch Changes diff --git a/packages/containers-shared/package.json b/packages/containers-shared/package.json index b651530276d..8adb90635c9 100644 --- a/packages/containers-shared/package.json +++ b/packages/containers-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/containers-shared", - "version": "0.16.2", + "version": "0.16.3", "description": "Internal-only shared container helpers for workers-sdk. Do not use directly; APIs are unstable and may change or disappear without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/containers-shared#readme", "bugs": { diff --git a/packages/create-cloudflare/CHANGELOG.md b/packages/create-cloudflare/CHANGELOG.md index e20d88edde8..f42d6c8f5a4 100644 --- a/packages/create-cloudflare/CHANGELOG.md +++ b/packages/create-cloudflare/CHANGELOG.md @@ -1,5 +1,45 @@ # create-cloudflare +## 2.72.8 + +### Patch Changes + +- [#14775](https://github.com/cloudflare/workers-sdk/pull/14775) [`1be7b97`](https://github.com/cloudflare/workers-sdk/commit/1be7b97035241c91edf78b4c1f0a79f3b276ff18) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Sync Local Explorer endpoint lists across agent hints + + The Local Explorer endpoint list is now consistent across the three places it appears: the AGENTS.md template in `create-cloudflare`, the runtime agent hint in `wrangler dev`, and the Vite plugin agent hint. All three now include the `observability/clear` endpoint, use the canonical `/cdn-cgi/local/explorer` path, and have cross-reference comments pointing to each other. + +- [#15627](https://github.com/cloudflare/workers-sdk/pull/15627) [`14ed9af`](https://github.com/cloudflare/workers-sdk/commit/14ed9afbe401cbf6b19b3f5cc4265088ec8dcd07) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "create-cloudflare" + + The following dependency versions have been updated: + + | Dependency | From | To | + | --------------- | ------ | ------ | + | create-next-app | 16.3.4 | 16.3.5 | + +- [#15628](https://github.com/cloudflare/workers-sdk/pull/15628) [`da6a505`](https://github.com/cloudflare/workers-sdk/commit/da6a50513936a50d2a6672484567d141297a336f) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "create-cloudflare" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ------------- | ----- | ----- | + | create-analog | 2.7.1 | 2.7.2 | + +- [#15629](https://github.com/cloudflare/workers-sdk/pull/15629) [`13e6372`](https://github.com/cloudflare/workers-sdk/commit/13e6372638c48f7be9b8b07e765b081e5eb52d9b) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "create-cloudflare" + + The following dependency versions have been updated: + + | Dependency | From | To | + | --------------- | ------ | ------ | + | @angular/create | 22.1.7 | 22.1.8 | + +- [#15630](https://github.com/cloudflare/workers-sdk/pull/15630) [`4e5f2b9`](https://github.com/cloudflare/workers-sdk/commit/4e5f2b99da60c7d0115934eafe211f634eafe7e2) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "create-cloudflare" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ----------- | ----- | ----- | + | create-vite | 9.2.0 | 9.2.1 | + ## 2.72.7 ### Patch Changes diff --git a/packages/create-cloudflare/package.json b/packages/create-cloudflare/package.json index 7a72bd03be8..f6ded7cdb1a 100644 --- a/packages/create-cloudflare/package.json +++ b/packages/create-cloudflare/package.json @@ -1,6 +1,6 @@ { "name": "create-cloudflare", - "version": "2.72.7", + "version": "2.72.8", "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 015bb1519a0..9dad57496b8 100644 --- a/packages/deploy-helpers/CHANGELOG.md +++ b/packages/deploy-helpers/CHANGELOG.md @@ -1,5 +1,73 @@ # @cloudflare/deploy-helpers +## 0.12.0 + +### Minor Changes + +- [#15612](https://github.com/cloudflare/workers-sdk/pull/15612) [`74bf083`](https://github.com/cloudflare/workers-sdk/commit/74bf083ecd7a739f7d4c66375dd350f7a3a661ae) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Share Worker startup profiling with other Cloudflare developer tools + + Move the bundle analyser out of Wrangler so `cf` and deploy failure diagnostics can use the same Miniflare CPU profiler. The `analyseBundle` callback on `DeployCallbacks` is now optional and deprecated, and will be removed in a future release once all clients have been updated to stop passing this property. + +- [#15597](https://github.com/cloudflare/workers-sdk/pull/15597) [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78) Thanks [@skepticfx](https://github.com/skepticfx)! - Support per-image build options for experimental Durable Object-managed Containers + + Set `build_context` and `build_vars` alongside `dockerfile` in a Container's named `images` entries. Context paths resolve relative to the Wrangler configuration file and default to the Dockerfile's directory. Build variables are passed as Docker build arguments. Entries using the same Dockerfile with different contexts or variables are built separately. + + ```jsonc + { + "containers": [ + { + "class_name": "Sandbox", + "scheduling_policy": "durable_object", + "images": { + "app": { + "dockerfile": "./docker/Dockerfile", + "build_context": ".", + "build_vars": { "APP_ENV": "production" } + } + } + } + ] + } + ``` + +- [#15638](https://github.com/cloudflare/workers-sdk/pull/15638) [`fa79b26`](https://github.com/cloudflare/workers-sdk/commit/fa79b26ef442303797013c70078c7acdd2c79247) Thanks [@G4brym](https://github.com/G4brym)! - Support AI Search bindings in Worker Previews + + `wrangler preview` now accepts `ai_search` and `ai_search_namespaces` entries in the `previews` block and includes them in Preview deployment bindings. This lets Workers that use AI Search instance or namespace bindings attach existing resources to Preview deployments, including preview-specific instance or namespace names. + + These bindings are non-inheritable: declare them explicitly under `previews`. They attach to existing AI Search resources; preview does not provision new isolated instances or namespaces. + +- [#15256](https://github.com/cloudflare/workers-sdk/pull/15256) [`16d1310`](https://github.com/cloudflare/workers-sdk/commit/16d1310a2a598f9a71878ba3746c8cf02e24386b) Thanks [@theoephraim](https://github.com/theoephraim)! - [private beta]: Add `--secrets-file` and `--var` flags to `wrangler preview` + + Like `wrangler deploy` and `wrangler versions upload`, `wrangler preview` now accepts a `--secrets-file` flag pointing to a JSON or .env format file, and `--var KEY:VALUE` pairs that are injected into the Preview deployment as plain text variables. CLI vars override same-named vars from the `previews` section of your config file, and secrets from the file take precedence over both: + + `wrangler preview --secrets-file .env.preview --var API_URL:https://api.example.com` + +- [#15453](https://github.com/cloudflare/workers-sdk/pull/15453) [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891) Thanks [@G4brym](https://github.com/G4brym)! - Remove the gated Web Search binding and Wrangler command + + The unreleased search binding and its experimental command have been removed from Wrangler, Miniflare, and configuration APIs. + +- [#15597](https://github.com/cloudflare/workers-sdk/pull/15597) [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78) Thanks [@skepticfx](https://github.com/skepticfx)! - Allow experimental Durable Object-managed Containers to link by name through exports + + Containers using `scheduling_policy: "durable_object"` can now specify `name` and link from `exports..container` without repeating `class_name`. Deploy and version upload resolve that link for image preparation, Worker metadata, and Container application creation. + +### Patch Changes + +- [#15597](https://github.com/cloudflare/workers-sdk/pull/15597) [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78) Thanks [@skepticfx](https://github.com/skepticfx)! - Configure application-wide logs for experimental Durable Object-managed Containers + + Set `containers[].observability.enabled` or `containers[].observability.logs.enabled` when using `scheduling_policy: "durable_object"`. Normal deployments create missing applications and update explicitly configured log settings without a Container rollout. Omitted settings preserve the application configuration; root Worker observability is not inherited for this policy. + + Version uploads may initialize missing applications but preserve existing settings. Deploying or rolling back Worker versions also preserves existing application settings, and `--containers-rollout=none` skips their updates. + +- [#15631](https://github.com/cloudflare/workers-sdk/pull/15631) [`c4a6279`](https://github.com/cloudflare/workers-sdk/commit/c4a627945775646bde6e0164e6deaee516150e89) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Restore static asset upload concurrency after gateway errors + + Static asset uploads previously remained at concurrency one for the rest of the deployment after any 524 response, which could make large deployments exceed the upload session lifetime. Successful uploads now restore the session's original concurrency gradually while retaining gateway throttling. Requests that were already in flight when throttling began do not restore capacity, so a burst of stale successes cannot immediately undo backpressure. + +- Updated dependencies [[`7db596c`](https://github.com/cloudflare/workers-sdk/commit/7db596c153ae0cda7e30aa351955b1781902435f), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`e35c4a1`](https://github.com/cloudflare/workers-sdk/commit/e35c4a154ea16a96b47cb2e68a4930c1d833e81d), [`d3565a5`](https://github.com/cloudflare/workers-sdk/commit/d3565a5326d879fbebba72b16c0f14ba2a4fba99), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`cb0955f`](https://github.com/cloudflare/workers-sdk/commit/cb0955f274102afb30b8502193edf66c0d3cb4d6), [`fa79b26`](https://github.com/cloudflare/workers-sdk/commit/fa79b26ef442303797013c70078c7acdd2c79247), [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891), [`1015cfb`](https://github.com/cloudflare/workers-sdk/commit/1015cfb2a780d57b13d137324c83af53d3a3a8a2), [`982b806`](https://github.com/cloudflare/workers-sdk/commit/982b8060d99d9bb303ef7b7f15bf6c8b1f83c72a), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`641df47`](https://github.com/cloudflare/workers-sdk/commit/641df4774f19313ffecf53cf7443ac3dd79abb31)]: + - miniflare@5.20260915.0-alpha + - @cloudflare/workers-utils@0.39.0 + - @cloudflare/containers-shared@0.16.3 + - @cloudflare/cli-shared-helpers@0.1.31 + ## 0.11.2 ### Patch Changes diff --git a/packages/deploy-helpers/package.json b/packages/deploy-helpers/package.json index 5a00333e3f1..e8e7b6cc3b9 100644 --- a/packages/deploy-helpers/package.json +++ b/packages/deploy-helpers/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/deploy-helpers", - "version": "0.11.2", + "version": "0.12.0", "description": "Internal deploy helpers for workers-sdk. Not intended for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/deploy-helpers#readme", "bugs": { diff --git a/packages/miniflare/CHANGELOG.md b/packages/miniflare/CHANGELOG.md index a49fa9ef176..9826814cc23 100644 --- a/packages/miniflare/CHANGELOG.md +++ b/packages/miniflare/CHANGELOG.md @@ -1,5 +1,54 @@ # miniflare +## 5.20260915.0-alpha + +### Minor Changes + +- [#15486](https://github.com/cloudflare/workers-sdk/pull/15486) [`d3565a5`](https://github.com/cloudflare/workers-sdk/commit/d3565a5326d879fbebba72b16c0f14ba2a4fba99) Thanks [@tpmmorris](https://github.com/tpmmorris)! - Add production-compatible KV bulk write and delete routes to Local Explorer + + API clients can now write and delete multiple local KV entries by changing only their Cloudflare API base URL. The new routes support production request and response shapes, including base64 values, expiration options, and metadata. + +- [#15453](https://github.com/cloudflare/workers-sdk/pull/15453) [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891) Thanks [@G4brym](https://github.com/G4brym)! - Remove the gated Web Search binding and Wrangler command + + The unreleased search binding and its experimental command have been removed from Wrangler, Miniflare, and configuration APIs. + +### Patch Changes + +- [#15633](https://github.com/cloudflare/workers-sdk/pull/15633) [`7db596c`](https://github.com/cloudflare/workers-sdk/commit/7db596c153ae0cda7e30aa351955b1781902435f) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ------------------------- | ------------- | ------------- | + | @cloudflare/workers-types | ^5.20260911.1 | ^5.20260915.1 | + | workerd | 1.20260911.1 | 1.20260915.1 | + +- [#15420](https://github.com/cloudflare/workers-sdk/pull/15420) [`e35c4a1`](https://github.com/cloudflare/workers-sdk/commit/e35c4a154ea16a96b47cb2e68a4930c1d833e81d) Thanks [@manthaaaaan](https://github.com/manthaaaaan)! - Fix Infinity/-Infinity being emitted as an invalid bare identifier in D1 export + +- [#15527](https://github.com/cloudflare/workers-sdk/pull/15527) [`1015cfb`](https://github.com/cloudflare/workers-sdk/commit/1015cfb2a780d57b13d137324c83af53d3a3a8a2) Thanks [@devaniketh](https://github.com/devaniketh)! - Scope Durable Object and Workflow local explorer peers by storageScope + + Restricts Durable Object and Workflow peer discovery and owner resolution to Miniflare peers sharing the same storageScope when Shared Storage is enabled. This ensures consistency with KV, D1, and R2 local explorer behaviors and prevents cross-project access to local development state across instances with different persistence roots. + +- [#15399](https://github.com/cloudflare/workers-sdk/pull/15399) [`982b806`](https://github.com/cloudflare/workers-sdk/commit/982b8060d99d9bb303ef7b7f15bf6c8b1f83c72a) Thanks [@tpmmorris](https://github.com/tpmmorris)! - Improve over-limit `run_worker_first` errors when duplicate rules are present + + The error now reports distinct and duplicate-entry counts and lists duplicated rules, making it clear when removing redundant entries can bring the configuration within the limit. + + ``` + Too many `run_worker_first` rules were provided; 105 rules provided (99 distinct, 6 duplicate entries) exceeds max of 100. Note: duplicate entries count towards the route limit. Ensure that no duplicate rules are present in your `run_worker_first` configuration. + + The duplicated rules found are: + - "/rule/0" + - "/rule/1" + - "/rule/2" + - "/rule/3" + - "/rule/4" + ...and 1 more duplicated rule. + ``` + +- [#15397](https://github.com/cloudflare/workers-sdk/pull/15397) [`641df47`](https://github.com/cloudflare/workers-sdk/commit/641df4774f19313ffecf53cf7443ac3dd79abb31) Thanks [@james-elicx](https://github.com/james-elicx)! - Reduce Miniflare's bundle size by sharing Zod across embedded workers + + Workflows, Email Store, and Local Explorer now import Zod from Miniflare's existing workerd extension instead of each bundling a separate copy. + ## 5.20260911.1-alpha ### Minor Changes diff --git a/packages/miniflare/package.json b/packages/miniflare/package.json index f111868857e..bd255c0ec58 100644 --- a/packages/miniflare/package.json +++ b/packages/miniflare/package.json @@ -1,6 +1,6 @@ { "name": "miniflare", - "version": "5.20260911.1-alpha", + "version": "5.20260915.0-alpha", "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 49b152f17f9..37d5d8db7a1 100644 --- a/packages/pages-shared/CHANGELOG.md +++ b/packages/pages-shared/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/pages-shared +## 0.13.182 + +### Patch Changes + +- Updated dependencies [[`7db596c`](https://github.com/cloudflare/workers-sdk/commit/7db596c153ae0cda7e30aa351955b1781902435f), [`e35c4a1`](https://github.com/cloudflare/workers-sdk/commit/e35c4a154ea16a96b47cb2e68a4930c1d833e81d), [`d3565a5`](https://github.com/cloudflare/workers-sdk/commit/d3565a5326d879fbebba72b16c0f14ba2a4fba99), [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891), [`1015cfb`](https://github.com/cloudflare/workers-sdk/commit/1015cfb2a780d57b13d137324c83af53d3a3a8a2), [`982b806`](https://github.com/cloudflare/workers-sdk/commit/982b8060d99d9bb303ef7b7f15bf6c8b1f83c72a), [`641df47`](https://github.com/cloudflare/workers-sdk/commit/641df4774f19313ffecf53cf7443ac3dd79abb31)]: + - miniflare@5.20260915.0-alpha + ## 0.13.181 ### Patch Changes diff --git a/packages/pages-shared/package.json b/packages/pages-shared/package.json index 26ec2bd14f5..f503a19c279 100644 --- a/packages/pages-shared/package.json +++ b/packages/pages-shared/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/pages-shared", - "version": "0.13.181", + "version": "0.13.182", "repository": { "type": "git", "url": "https://github.com/cloudflare/workers-sdk.git", diff --git a/packages/remote-bindings/CHANGELOG.md b/packages/remote-bindings/CHANGELOG.md index 45a48e148ac..e932f45fd31 100644 --- a/packages/remote-bindings/CHANGELOG.md +++ b/packages/remote-bindings/CHANGELOG.md @@ -1,5 +1,16 @@ # @cloudflare/remote-bindings +## 0.0.25 + +### Patch Changes + +- Updated dependencies [[`74bf083`](https://github.com/cloudflare/workers-sdk/commit/74bf083ecd7a739f7d4c66375dd350f7a3a661ae), [`c103dd6`](https://github.com/cloudflare/workers-sdk/commit/c103dd6599fd81600ecebe6fb2342a6273cb7295), [`c103dd6`](https://github.com/cloudflare/workers-sdk/commit/c103dd6599fd81600ecebe6fb2342a6273cb7295), [`7db596c`](https://github.com/cloudflare/workers-sdk/commit/7db596c153ae0cda7e30aa351955b1781902435f), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`e35c4a1`](https://github.com/cloudflare/workers-sdk/commit/e35c4a154ea16a96b47cb2e68a4930c1d833e81d), [`d3565a5`](https://github.com/cloudflare/workers-sdk/commit/d3565a5326d879fbebba72b16c0f14ba2a4fba99), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`cb0955f`](https://github.com/cloudflare/workers-sdk/commit/cb0955f274102afb30b8502193edf66c0d3cb4d6), [`fa79b26`](https://github.com/cloudflare/workers-sdk/commit/fa79b26ef442303797013c70078c7acdd2c79247), [`16d1310`](https://github.com/cloudflare/workers-sdk/commit/16d1310a2a598f9a71878ba3746c8cf02e24386b), [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891), [`1015cfb`](https://github.com/cloudflare/workers-sdk/commit/1015cfb2a780d57b13d137324c83af53d3a3a8a2), [`982b806`](https://github.com/cloudflare/workers-sdk/commit/982b8060d99d9bb303ef7b7f15bf6c8b1f83c72a), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`641df47`](https://github.com/cloudflare/workers-sdk/commit/641df4774f19313ffecf53cf7443ac3dd79abb31), [`c4a6279`](https://github.com/cloudflare/workers-sdk/commit/c4a627945775646bde6e0164e6deaee516150e89)]: + - @cloudflare/deploy-helpers@0.12.0 + - @cloudflare/workers-auth@0.7.0 + - miniflare@5.20260915.0-alpha + - @cloudflare/workers-utils@0.39.0 + - @cloudflare/cli-shared-helpers@0.1.31 + ## 0.0.24 ### Patch Changes diff --git a/packages/remote-bindings/package.json b/packages/remote-bindings/package.json index c79066f6188..12560802772 100644 --- a/packages/remote-bindings/package.json +++ b/packages/remote-bindings/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/remote-bindings", - "version": "0.0.24", + "version": "0.0.25", "private": true, "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/remote-bindings#readme", "bugs": { diff --git a/packages/runtime-types/CHANGELOG.md b/packages/runtime-types/CHANGELOG.md index db341a1bd7c..a558e0a03a2 100644 --- a/packages/runtime-types/CHANGELOG.md +++ b/packages/runtime-types/CHANGELOG.md @@ -1,5 +1,12 @@ # @cloudflare/runtime-types +## 0.0.27 + +### Patch Changes + +- Updated dependencies [[`7db596c`](https://github.com/cloudflare/workers-sdk/commit/7db596c153ae0cda7e30aa351955b1781902435f), [`e35c4a1`](https://github.com/cloudflare/workers-sdk/commit/e35c4a154ea16a96b47cb2e68a4930c1d833e81d), [`d3565a5`](https://github.com/cloudflare/workers-sdk/commit/d3565a5326d879fbebba72b16c0f14ba2a4fba99), [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891), [`1015cfb`](https://github.com/cloudflare/workers-sdk/commit/1015cfb2a780d57b13d137324c83af53d3a3a8a2), [`982b806`](https://github.com/cloudflare/workers-sdk/commit/982b8060d99d9bb303ef7b7f15bf6c8b1f83c72a), [`641df47`](https://github.com/cloudflare/workers-sdk/commit/641df4774f19313ffecf53cf7443ac3dd79abb31)]: + - miniflare@5.20260915.0-alpha + ## 0.0.26 ### Patch Changes diff --git a/packages/runtime-types/package.json b/packages/runtime-types/package.json index 6b5e527e812..8ee2b167fdf 100644 --- a/packages/runtime-types/package.json +++ b/packages/runtime-types/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/runtime-types", - "version": "0.0.26", + "version": "0.0.27", "private": true, "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/runtime-types#readme", "bugs": { diff --git a/packages/vite-plugin-cloudflare/CHANGELOG.md b/packages/vite-plugin-cloudflare/CHANGELOG.md index 834adbff621..d28b8fe6a75 100644 --- a/packages/vite-plugin-cloudflare/CHANGELOG.md +++ b/packages/vite-plugin-cloudflare/CHANGELOG.md @@ -1,5 +1,33 @@ # @cloudflare/vite-plugin +## 1.54.10 + +### Patch Changes + +- [#14775](https://github.com/cloudflare/workers-sdk/pull/14775) [`1be7b97`](https://github.com/cloudflare/workers-sdk/commit/1be7b97035241c91edf78b4c1f0a79f3b276ff18) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Sync Local Explorer endpoint lists across agent hints + + The Local Explorer endpoint list is now consistent across the three places it appears: the AGENTS.md template in `create-cloudflare`, the runtime agent hint in `wrangler dev`, and the Vite plugin agent hint. All three now include the `observability/clear` endpoint, use the canonical `/cdn-cgi/local/explorer` path, and have cross-reference comments pointing to each other. + +- [#15399](https://github.com/cloudflare/workers-sdk/pull/15399) [`982b806`](https://github.com/cloudflare/workers-sdk/commit/982b8060d99d9bb303ef7b7f15bf6c8b1f83c72a) Thanks [@tpmmorris](https://github.com/tpmmorris)! - Improve over-limit `run_worker_first` errors when duplicate rules are present + + The error now reports distinct and duplicate-entry counts and lists duplicated rules, making it clear when removing redundant entries can bring the configuration within the limit. + + ``` + Too many `run_worker_first` rules were provided; 105 rules provided (99 distinct, 6 duplicate entries) exceeds max of 100. Note: duplicate entries count towards the route limit. Ensure that no duplicate rules are present in your `run_worker_first` configuration. + + The duplicated rules found are: + - "/rule/0" + - "/rule/1" + - "/rule/2" + - "/rule/3" + - "/rule/4" + ...and 1 more duplicated rule. + ``` + +- Updated dependencies [[`1be7b97`](https://github.com/cloudflare/workers-sdk/commit/1be7b97035241c91edf78b4c1f0a79f3b276ff18), [`b149147`](https://github.com/cloudflare/workers-sdk/commit/b149147a1746d30fd8a868dbef7a4aac463444f1), [`7db596c`](https://github.com/cloudflare/workers-sdk/commit/7db596c153ae0cda7e30aa351955b1781902435f), [`76c0ce6`](https://github.com/cloudflare/workers-sdk/commit/76c0ce6cb35c741de4564787a45a8b3fe8246c1f), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`a0856da`](https://github.com/cloudflare/workers-sdk/commit/a0856da679b025cb076dd94f7300b47a2a3a1bc0), [`e35c4a1`](https://github.com/cloudflare/workers-sdk/commit/e35c4a154ea16a96b47cb2e68a4930c1d833e81d), [`d3565a5`](https://github.com/cloudflare/workers-sdk/commit/d3565a5326d879fbebba72b16c0f14ba2a4fba99), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`cb0955f`](https://github.com/cloudflare/workers-sdk/commit/cb0955f274102afb30b8502193edf66c0d3cb4d6), [`fa79b26`](https://github.com/cloudflare/workers-sdk/commit/fa79b26ef442303797013c70078c7acdd2c79247), [`16d1310`](https://github.com/cloudflare/workers-sdk/commit/16d1310a2a598f9a71878ba3746c8cf02e24386b), [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891), [`1015cfb`](https://github.com/cloudflare/workers-sdk/commit/1015cfb2a780d57b13d137324c83af53d3a3a8a2), [`982b806`](https://github.com/cloudflare/workers-sdk/commit/982b8060d99d9bb303ef7b7f15bf6c8b1f83c72a), [`ffabe74`](https://github.com/cloudflare/workers-sdk/commit/ffabe7489ad09f80b19a98e698c4590bba7b8452), [`7db596c`](https://github.com/cloudflare/workers-sdk/commit/7db596c153ae0cda7e30aa351955b1781902435f), [`e03822a`](https://github.com/cloudflare/workers-sdk/commit/e03822a3bc54a411b5795f77acbe603a010a9100), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`641df47`](https://github.com/cloudflare/workers-sdk/commit/641df4774f19313ffecf53cf7443ac3dd79abb31), [`c4a6279`](https://github.com/cloudflare/workers-sdk/commit/c4a627945775646bde6e0164e6deaee516150e89)]: + - wrangler@4.132.0 + - miniflare@5.20260915.0-alpha + ## 1.54.9 ### Patch Changes diff --git a/packages/vite-plugin-cloudflare/package.json b/packages/vite-plugin-cloudflare/package.json index d8dbcb4b1fe..62dd49e2502 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.54.9", + "version": "1.54.10", "description": "Cloudflare plugin for Vite", "keywords": [ "cloudflare", diff --git a/packages/vitest-plugin/CHANGELOG.md b/packages/vitest-plugin/CHANGELOG.md index 8a33de617cc..eb5ddc42f0c 100644 --- a/packages/vitest-plugin/CHANGELOG.md +++ b/packages/vitest-plugin/CHANGELOG.md @@ -1,5 +1,13 @@ # @cloudflare/vitest-pool-workers +## 1.1.10 + +### Patch Changes + +- Updated dependencies [[`1be7b97`](https://github.com/cloudflare/workers-sdk/commit/1be7b97035241c91edf78b4c1f0a79f3b276ff18), [`b149147`](https://github.com/cloudflare/workers-sdk/commit/b149147a1746d30fd8a868dbef7a4aac463444f1), [`7db596c`](https://github.com/cloudflare/workers-sdk/commit/7db596c153ae0cda7e30aa351955b1781902435f), [`76c0ce6`](https://github.com/cloudflare/workers-sdk/commit/76c0ce6cb35c741de4564787a45a8b3fe8246c1f), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`a0856da`](https://github.com/cloudflare/workers-sdk/commit/a0856da679b025cb076dd94f7300b47a2a3a1bc0), [`e35c4a1`](https://github.com/cloudflare/workers-sdk/commit/e35c4a154ea16a96b47cb2e68a4930c1d833e81d), [`d3565a5`](https://github.com/cloudflare/workers-sdk/commit/d3565a5326d879fbebba72b16c0f14ba2a4fba99), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`cb0955f`](https://github.com/cloudflare/workers-sdk/commit/cb0955f274102afb30b8502193edf66c0d3cb4d6), [`fa79b26`](https://github.com/cloudflare/workers-sdk/commit/fa79b26ef442303797013c70078c7acdd2c79247), [`16d1310`](https://github.com/cloudflare/workers-sdk/commit/16d1310a2a598f9a71878ba3746c8cf02e24386b), [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891), [`1015cfb`](https://github.com/cloudflare/workers-sdk/commit/1015cfb2a780d57b13d137324c83af53d3a3a8a2), [`982b806`](https://github.com/cloudflare/workers-sdk/commit/982b8060d99d9bb303ef7b7f15bf6c8b1f83c72a), [`ffabe74`](https://github.com/cloudflare/workers-sdk/commit/ffabe7489ad09f80b19a98e698c4590bba7b8452), [`7db596c`](https://github.com/cloudflare/workers-sdk/commit/7db596c153ae0cda7e30aa351955b1781902435f), [`e03822a`](https://github.com/cloudflare/workers-sdk/commit/e03822a3bc54a411b5795f77acbe603a010a9100), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`641df47`](https://github.com/cloudflare/workers-sdk/commit/641df4774f19313ffecf53cf7443ac3dd79abb31), [`c4a6279`](https://github.com/cloudflare/workers-sdk/commit/c4a627945775646bde6e0164e6deaee516150e89)]: + - wrangler@4.132.0 + - miniflare@5.20260915.0-alpha + ## 1.1.9 ### Patch Changes diff --git a/packages/vitest-plugin/package.json b/packages/vitest-plugin/package.json index 9085ee58a9b..d5d359edbfa 100644 --- a/packages/vitest-plugin/package.json +++ b/packages/vitest-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/vitest-plugin", - "version": "1.1.9", + "version": "1.1.10", "description": "Workers Vitest integration for writing Vitest unit and integration tests that run inside the Workers runtime", "keywords": [ "cloudflare", diff --git a/packages/workers-auth/CHANGELOG.md b/packages/workers-auth/CHANGELOG.md index 0266515809d..4640c812300 100644 --- a/packages/workers-auth/CHANGELOG.md +++ b/packages/workers-auth/CHANGELOG.md @@ -1,5 +1,26 @@ # @cloudflare/workers-auth +## 0.7.0 + +### Minor Changes + +- [#15623](https://github.com/cloudflare/workers-sdk/pull/15623) [`c103dd6`](https://github.com/cloudflare/workers-sdk/commit/c103dd6599fd81600ecebe6fb2342a6273cb7295) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Accept all production-registered cf OAuth scopes for explicit requests + + The cf scope validator now recognizes the full production OAuth registration, including newer scopes such as `dns.read`. The existing default login scope request remains unchanged, so broader permissions are requested only when a caller explicitly supplies them. + +- [#15623](https://github.com/cloudflare/workers-sdk/pull/15623) [`c103dd6`](https://github.com/cloudflare/workers-sdk/commit/c103dd6599fd81600ecebe6fb2342a6273cb7295) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Support per-CLI default OAuth login flows + + CLI descriptors can now make OAuth device authorization their default while preserving a per-login opt-out. The cf auth layer enables this default for both explicit login commands and implicit logins started during account resolution; Wrangler continues to use its localhost callback flow by default. + +- [#15453](https://github.com/cloudflare/workers-sdk/pull/15453) [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891) Thanks [@G4brym](https://github.com/G4brym)! - Remove the gated Web Search binding and Wrangler command + + The unreleased search binding and its experimental command have been removed from Wrangler, Miniflare, and configuration APIs. + +### Patch Changes + +- Updated dependencies [[`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78), [`cb0955f`](https://github.com/cloudflare/workers-sdk/commit/cb0955f274102afb30b8502193edf66c0d3cb4d6), [`fa79b26`](https://github.com/cloudflare/workers-sdk/commit/fa79b26ef442303797013c70078c7acdd2c79247), [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891), [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78)]: + - @cloudflare/workers-utils@0.39.0 + ## 0.6.12 ### Patch Changes diff --git a/packages/workers-auth/package.json b/packages/workers-auth/package.json index ff70f7b824d..5f37e3be662 100644 --- a/packages/workers-auth/package.json +++ b/packages/workers-auth/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-auth", - "version": "0.6.12", + "version": "0.7.0", "description": "Internal OAuth 2.0 + PKCE flow for Cloudflare CLIs. Not intended for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/workers-auth#readme", "bugs": { diff --git a/packages/workers-utils/CHANGELOG.md b/packages/workers-utils/CHANGELOG.md index 3d7eb991385..f736699fd8a 100644 --- a/packages/workers-utils/CHANGELOG.md +++ b/packages/workers-utils/CHANGELOG.md @@ -1,5 +1,57 @@ # @cloudflare/workers-utils +## 0.39.0 + +### Minor Changes + +- [#15597](https://github.com/cloudflare/workers-sdk/pull/15597) [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78) Thanks [@skepticfx](https://github.com/skepticfx)! - Configure application-wide logs for experimental Durable Object-managed Containers + + Set `containers[].observability.enabled` or `containers[].observability.logs.enabled` when using `scheduling_policy: "durable_object"`. Normal deployments create missing applications and update explicitly configured log settings without a Container rollout. Omitted settings preserve the application configuration; root Worker observability is not inherited for this policy. + + Version uploads may initialize missing applications but preserve existing settings. Deploying or rolling back Worker versions also preserves existing application settings, and `--containers-rollout=none` skips their updates. + +- [#15597](https://github.com/cloudflare/workers-sdk/pull/15597) [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78) Thanks [@skepticfx](https://github.com/skepticfx)! - Support per-image build options for experimental Durable Object-managed Containers + + Set `build_context` and `build_vars` alongside `dockerfile` in a Container's named `images` entries. Context paths resolve relative to the Wrangler configuration file and default to the Dockerfile's directory. Build variables are passed as Docker build arguments. Entries using the same Dockerfile with different contexts or variables are built separately. + + ```jsonc + { + "containers": [ + { + "class_name": "Sandbox", + "scheduling_policy": "durable_object", + "images": { + "app": { + "dockerfile": "./docker/Dockerfile", + "build_context": ".", + "build_vars": { "APP_ENV": "production" } + } + } + } + ] + } + ``` + +- [#15638](https://github.com/cloudflare/workers-sdk/pull/15638) [`fa79b26`](https://github.com/cloudflare/workers-sdk/commit/fa79b26ef442303797013c70078c7acdd2c79247) Thanks [@G4brym](https://github.com/G4brym)! - Support AI Search bindings in Worker Previews + + `wrangler preview` now accepts `ai_search` and `ai_search_namespaces` entries in the `previews` block and includes them in Preview deployment bindings. This lets Workers that use AI Search instance or namespace bindings attach existing resources to Preview deployments, including preview-specific instance or namespace names. + + These bindings are non-inheritable: declare them explicitly under `previews`. They attach to existing AI Search resources; preview does not provision new isolated instances or namespaces. + +- [#15453](https://github.com/cloudflare/workers-sdk/pull/15453) [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891) Thanks [@G4brym](https://github.com/G4brym)! - Remove the gated Web Search binding and Wrangler command + + The unreleased search binding and its experimental command have been removed from Wrangler, Miniflare, and configuration APIs. + +- [#15597](https://github.com/cloudflare/workers-sdk/pull/15597) [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78) Thanks [@skepticfx](https://github.com/skepticfx)! - Allow experimental Durable Object-managed Containers to link by name through exports + + Containers using `scheduling_policy: "durable_object"` can now specify `name` and link from `exports..container` without repeating `class_name`. Deploy and version upload resolve that link for image preparation, Worker metadata, and Container application creation. + +### Patch Changes + +- [#15179](https://github.com/cloudflare/workers-sdk/pull/15179) [`cb0955f`](https://github.com/cloudflare/workers-sdk/commit/cb0955f274102afb30b8502193edf66c0d3cb4d6) Thanks [@rioaguspermana](https://github.com/rioaguspermana)! - Treat 502, 503, and 504 as gateway errors during asset upload retries + + Pages and Workers asset uploads now retry more patiently when the Cloudflare API responds with a 502, 503 or 504 gateway error, reducing concurrency and waiting longer between attempts instead of failing the deploy quickly. + ## 0.38.1 ### Patch Changes diff --git a/packages/workers-utils/package.json b/packages/workers-utils/package.json index 50535f4f2d6..fe0af7c8ef5 100644 --- a/packages/workers-utils/package.json +++ b/packages/workers-utils/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/workers-utils", - "version": "0.38.1", + "version": "0.39.0", "description": "Internal utility package for workers-sdk. Not intended for external use — APIs may change without notice.", "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/workers-utils#readme", "bugs": { diff --git a/packages/wrangler/CHANGELOG.md b/packages/wrangler/CHANGELOG.md index 327d532369c..d3ebc28dcdc 100644 --- a/packages/wrangler/CHANGELOG.md +++ b/packages/wrangler/CHANGELOG.md @@ -1,5 +1,121 @@ # wrangler +## 4.132.0 + +### Minor Changes + +- [#14587](https://github.com/cloudflare/workers-sdk/pull/14587) [`76c0ce6`](https://github.com/cloudflare/workers-sdk/commit/76c0ce6cb35c741de4564787a45a8b3fe8246c1f) Thanks [@MattieTK](https://github.com/MattieTK)! - Categorise the positional path argument to `wrangler deploy` and `wrangler versions upload` in command telemetry + + Command telemetry now records a coarse category for the entry-point/assets positional (`wrangler deploy `) under `sanitizedArgs.path`, so we can understand whether people pass a file, a directory, or a relational reference such as `.` or `../example`. The possible values are `file`, `directory`, `current-dir`, `parent-relative`, and `not-found`, or `null` when no positional is provided. The raw path is never sent — only the category. + +- [#15597](https://github.com/cloudflare/workers-sdk/pull/15597) [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78) Thanks [@skepticfx](https://github.com/skepticfx)! - Configure application-wide logs for experimental Durable Object-managed Containers + + Set `containers[].observability.enabled` or `containers[].observability.logs.enabled` when using `scheduling_policy: "durable_object"`. Normal deployments create missing applications and update explicitly configured log settings without a Container rollout. Omitted settings preserve the application configuration; root Worker observability is not inherited for this policy. + + Version uploads may initialize missing applications but preserve existing settings. Deploying or rolling back Worker versions also preserves existing application settings, and `--containers-rollout=none` skips their updates. + +- [#15597](https://github.com/cloudflare/workers-sdk/pull/15597) [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78) Thanks [@skepticfx](https://github.com/skepticfx)! - Support per-image build options for experimental Durable Object-managed Containers + + Set `build_context` and `build_vars` alongside `dockerfile` in a Container's named `images` entries. Context paths resolve relative to the Wrangler configuration file and default to the Dockerfile's directory. Build variables are passed as Docker build arguments. Entries using the same Dockerfile with different contexts or variables are built separately. + + ```jsonc + { + "containers": [ + { + "class_name": "Sandbox", + "scheduling_policy": "durable_object", + "images": { + "app": { + "dockerfile": "./docker/Dockerfile", + "build_context": ".", + "build_vars": { "APP_ENV": "production" } + } + } + } + ] + } + ``` + +- [#15638](https://github.com/cloudflare/workers-sdk/pull/15638) [`fa79b26`](https://github.com/cloudflare/workers-sdk/commit/fa79b26ef442303797013c70078c7acdd2c79247) Thanks [@G4brym](https://github.com/G4brym)! - Support AI Search bindings in Worker Previews + + `wrangler preview` now accepts `ai_search` and `ai_search_namespaces` entries in the `previews` block and includes them in Preview deployment bindings. This lets Workers that use AI Search instance or namespace bindings attach existing resources to Preview deployments, including preview-specific instance or namespace names. + + These bindings are non-inheritable: declare them explicitly under `previews`. They attach to existing AI Search resources; preview does not provision new isolated instances or namespaces. + +- [#15256](https://github.com/cloudflare/workers-sdk/pull/15256) [`16d1310`](https://github.com/cloudflare/workers-sdk/commit/16d1310a2a598f9a71878ba3746c8cf02e24386b) Thanks [@theoephraim](https://github.com/theoephraim)! - [private beta]: Add `--secrets-file` and `--var` flags to `wrangler preview` + + Like `wrangler deploy` and `wrangler versions upload`, `wrangler preview` now accepts a `--secrets-file` flag pointing to a JSON or .env format file, and `--var KEY:VALUE` pairs that are injected into the Preview deployment as plain text variables. CLI vars override same-named vars from the `previews` section of your config file, and secrets from the file take precedence over both: + + `wrangler preview --secrets-file .env.preview --var API_URL:https://api.example.com` + +- [#15453](https://github.com/cloudflare/workers-sdk/pull/15453) [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891) Thanks [@G4brym](https://github.com/G4brym)! - Remove the gated Web Search binding and Wrangler command + + The unreleased search binding and its experimental command have been removed from Wrangler, Miniflare, and configuration APIs. + +- [#15597](https://github.com/cloudflare/workers-sdk/pull/15597) [`a83d7ac`](https://github.com/cloudflare/workers-sdk/commit/a83d7ac4d4d52811e11b61753aa60c10ca5c8c78) Thanks [@skepticfx](https://github.com/skepticfx)! - Allow experimental Durable Object-managed Containers to link by name through exports + + Containers using `scheduling_policy: "durable_object"` can now specify `name` and link from `exports..container` without repeating `class_name`. Deploy and version upload resolve that link for image preparation, Worker metadata, and Container application creation. + +### Patch Changes + +- [#14775](https://github.com/cloudflare/workers-sdk/pull/14775) [`1be7b97`](https://github.com/cloudflare/workers-sdk/commit/1be7b97035241c91edf78b4c1f0a79f3b276ff18) Thanks [@dario-piotrowicz](https://github.com/dario-piotrowicz)! - Sync Local Explorer endpoint lists across agent hints + + The Local Explorer endpoint list is now consistent across the three places it appears: the AGENTS.md template in `create-cloudflare`, the runtime agent hint in `wrangler dev`, and the Vite plugin agent hint. All three now include the `observability/clear` endpoint, use the canonical `/cdn-cgi/local/explorer` path, and have cross-reference comments pointing to each other. + +- [#15409](https://github.com/cloudflare/workers-sdk/pull/15409) [`b149147`](https://github.com/cloudflare/workers-sdk/commit/b149147a1746d30fd8a868dbef7a4aac463444f1) Thanks [@tpmmorris](https://github.com/tpmmorris)! - Fix per-query overrides for `wrangler ai-search search` + + `--score-threshold`, `--max-num-results`, `--filter`, and `--reranking` are now sent using the AI Search request schema, so the service applies them to searches instead of ignoring them. + +- [#15633](https://github.com/cloudflare/workers-sdk/pull/15633) [`7db596c`](https://github.com/cloudflare/workers-sdk/commit/7db596c153ae0cda7e30aa351955b1781902435f) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update dependencies of "miniflare", "wrangler" + + The following dependency versions have been updated: + + | Dependency | From | To | + | ------------------------- | ------------- | ------------- | + | @cloudflare/workers-types | ^5.20260911.1 | ^5.20260915.1 | + | workerd | 1.20260911.1 | 1.20260915.1 | + +- [#14906](https://github.com/cloudflare/workers-sdk/pull/14906) [`a0856da`](https://github.com/cloudflare/workers-sdk/commit/a0856da679b025cb076dd94f7300b47a2a3a1bc0) Thanks [@exKAZUu](https://github.com/exKAZUu)! - Surface the original error message, name and stack when the dev server reports an internal error + + Previously `wrangler dev` could exit with an empty `✘ [ERROR]` log that gave no indication of what went wrong (e.g. `Network connection lost.`, see #14641). These errors now include their original message, name and stack, so the failure is actually diagnosable. + +- [#15179](https://github.com/cloudflare/workers-sdk/pull/15179) [`cb0955f`](https://github.com/cloudflare/workers-sdk/commit/cb0955f274102afb30b8502193edf66c0d3cb4d6) Thanks [@rioaguspermana](https://github.com/rioaguspermana)! - Treat 502, 503, and 504 as gateway errors during asset upload retries + + Pages and Workers asset uploads now retry more patiently when the Cloudflare API responds with a 502, 503 or 504 gateway error, reducing concurrency and waiting longer between attempts instead of failing the deploy quickly. + +- [#15399](https://github.com/cloudflare/workers-sdk/pull/15399) [`982b806`](https://github.com/cloudflare/workers-sdk/commit/982b8060d99d9bb303ef7b7f15bf6c8b1f83c72a) Thanks [@tpmmorris](https://github.com/tpmmorris)! - Improve over-limit `run_worker_first` errors when duplicate rules are present + + The error now reports distinct and duplicate-entry counts and lists duplicated rules, making it clear when removing redundant entries can bring the configuration within the limit. + + ``` + Too many `run_worker_first` rules were provided; 105 rules provided (99 distinct, 6 duplicate entries) exceeds max of 100. Note: duplicate entries count towards the route limit. Ensure that no duplicate rules are present in your `run_worker_first` configuration. + + The duplicated rules found are: + - "/rule/0" + - "/rule/1" + - "/rule/2" + - "/rule/3" + - "/rule/4" + ...and 1 more duplicated rule. + ``` + +- [#12369](https://github.com/cloudflare/workers-sdk/pull/12369) [`ffabe74`](https://github.com/cloudflare/workers-sdk/commit/ffabe7489ad09f80b19a98e698c4590bba7b8452) Thanks [@43081j](https://github.com/43081j)! - Replace `execa` with `tinyexec` for running subprocesses, shrinking the bundled Wrangler output. + +- [#15633](https://github.com/cloudflare/workers-sdk/pull/15633) [`7db596c`](https://github.com/cloudflare/workers-sdk/commit/7db596c153ae0cda7e30aa351955b1781902435f) Thanks [@dependabot](https://github.com/apps/dependabot)! - Preserve service-worker middleware error propagation with spec-compliant event dispatch + + Wrangler's synthetic service-worker events now propagate listener exceptions to middleware without changing the behavior of user-created `EventTarget` instances. + +- [#15400](https://github.com/cloudflare/workers-sdk/pull/15400) [`e03822a`](https://github.com/cloudflare/workers-sdk/commit/e03822a3bc54a411b5795f77acbe603a010a9100) Thanks [@james-elicx](https://github.com/james-elicx)! - Reduce the size of Wrangler's published package + + Exclude test-only, build-only, and obsolete template files from the npm package while retaining all runtime templates. + +- [#15631](https://github.com/cloudflare/workers-sdk/pull/15631) [`c4a6279`](https://github.com/cloudflare/workers-sdk/commit/c4a627945775646bde6e0164e6deaee516150e89) Thanks [@petebacondarwin](https://github.com/petebacondarwin)! - Restore static asset upload concurrency after gateway errors + + Static asset uploads previously remained at concurrency one for the rest of the deployment after any 524 response, which could make large deployments exceed the upload session lifetime. Successful uploads now restore the session's original concurrency gradually while retaining gateway throttling. Requests that were already in flight when throttling began do not restore capacity, so a burst of stale successes cannot immediately undo backpressure. + +- Updated dependencies [[`7db596c`](https://github.com/cloudflare/workers-sdk/commit/7db596c153ae0cda7e30aa351955b1781902435f), [`e35c4a1`](https://github.com/cloudflare/workers-sdk/commit/e35c4a154ea16a96b47cb2e68a4930c1d833e81d), [`d3565a5`](https://github.com/cloudflare/workers-sdk/commit/d3565a5326d879fbebba72b16c0f14ba2a4fba99), [`ca71205`](https://github.com/cloudflare/workers-sdk/commit/ca71205bb45d9182e6c748e7097baed67739a891), [`1015cfb`](https://github.com/cloudflare/workers-sdk/commit/1015cfb2a780d57b13d137324c83af53d3a3a8a2), [`982b806`](https://github.com/cloudflare/workers-sdk/commit/982b8060d99d9bb303ef7b7f15bf6c8b1f83c72a), [`641df47`](https://github.com/cloudflare/workers-sdk/commit/641df4774f19313ffecf53cf7443ac3dd79abb31)]: + - miniflare@5.20260915.0-alpha + ## 4.131.2 ### Patch Changes diff --git a/packages/wrangler/package.json b/packages/wrangler/package.json index fd840dfc15d..6e9c99008b9 100644 --- a/packages/wrangler/package.json +++ b/packages/wrangler/package.json @@ -1,6 +1,6 @@ { "name": "wrangler", - "version": "4.131.2", + "version": "4.132.0", "description": "Command-line interface for all things Cloudflare Workers", "keywords": [ "assembly",