Repository navigation
Releases
wrangler@4.160.0
Minor Changes
-
#16760
cb9534fThanks @petebacondarwin! - Support forwarded Wrangler development server options in the experimentalcf-wranglerdelegatecf devcan now forward options such as--inspector-port 9229,--ip,--var, and--persist-toto the Wrangler development runtime. The delegate reuses Wrangler's dev option definitions and validation while retaining project config discovery,--modeenvironment selection, local development, and its.cloudflare/statedefault. Invalid option combinations produce a single-line usage error and exit code 2 before starting the server.Place server options that overlap cf's global options after
--, for examplecf dev -- --local --persist-to "custom state". Config and script overrides, whole-worker remote development, and Wrangler's global options remain unsupported. -
#16739
6af492eThanks @GregBrimble! - Add custom Cloudflare API headers throughCLOUDFLARE_API_HEADERSSet
CLOUDFLARE_API_HEADERSto a JSON object such as{"X-Custom-Header":"value"}to add headers to Cloudflare API requests. Custom headers override existing unprotected request headers, body and transport headers are protected, and header values outside the diagnostic allowlist remain redacted regardless of log sanitization settings.
Patch Changes
-
#16810
cdc970bThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-10Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
#16810
cdc970bThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To @cloudflare/workers-types ^5.20261109.1 ^5.20261110.1 workerd 1.20261109.1 1.20261110.1 -
#16709
022ee9dThanks @petebacondarwin! - Keep local Container images available for upload retriesKeep prebuilt local image tags available until the caller finishes uploading the Worker and deploying its Container applications, so a later failure can be retried without rebuilding. When image push commands request cleanup, remove the source tag only after the push succeeds.
-
#16740
44b39b0Thanks @GregBrimble! - Redact header values outside a safe diagnostic allowlist, regardless of log sanitization settings.Apply the same filtering to request, response, and request-options diagnostics. Strip
X-Auth-KeyalongsideAuthorizationwhen forwarding local artifact Git requests. -
#16758
325dc69Thanks @petebacondarwin! - Fix JavaScript configuration parsing for Svelte projects using object spreadUse a parser that supports object spread when updating JavaScript configuration files. This prevents configuration failures for Svelte projects using Drizzle or Better Auth and other framework configurations containing modern JavaScript syntax.
Vite autoconfiguration reports a configuration error when an object spread, computed property, or accessor after the plugins array could override the Cloudflare plugin. Place the effective plugins array after these properties before retrying autoconfiguration.
-
Updated dependencies [
cdc970b,cdc970b,4e7e9f1,267dadb,44b39b0]:
create-cloudflare@2.74.11
Patch Changes
-
#16810
cdc970bThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-10Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
#16758
325dc69Thanks @petebacondarwin! - Fix JavaScript configuration parsing for Svelte projects using object spreadUse a parser that supports object spread when updating JavaScript configuration files. This prevents configuration failures for Svelte projects using Drizzle or Better Auth and other framework configurations containing modern JavaScript syntax.
Vite autoconfiguration reports a configuration error when an object spread, computed property, or accessor after the plugins array could override the Cloudflare plugin. Place the effective plugins array after these properties before retrying autoconfiguration.
@cloudflare/workers-utils@0.53.0
Minor Changes
-
#16739
6af492eThanks @GregBrimble! - Add custom Cloudflare API headers throughCLOUDFLARE_API_HEADERSSet
CLOUDFLARE_API_HEADERSto a JSON object such as{"X-Custom-Header":"value"}to add headers to Cloudflare API requests. Custom headers override existing unprotected request headers, body and transport headers are protected, and header values outside the diagnostic allowlist remain redacted regardless of log sanitization settings.
Patch Changes
-
#16810
cdc970bThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-10Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
#16740
44b39b0Thanks @GregBrimble! - Redact header values outside a safe diagnostic allowlist, regardless of log sanitization settings.Apply the same filtering to request, response, and request-options diagnostics. Strip
X-Auth-KeyalongsideAuthorizationwhen forwarding local artifact Git requests.
@cloudflare/workers-auth@0.18.0
Minor Changes
-
#16739
6af492eThanks @GregBrimble! - Add custom Cloudflare API headers throughCLOUDFLARE_API_HEADERSSet
CLOUDFLARE_API_HEADERSto a JSON object such as{"X-Custom-Header":"value"}to add headers to Cloudflare API requests. Custom headers override existing unprotected request headers, body and transport headers are protected, and header values outside the diagnostic allowlist remain redacted regardless of log sanitization settings.
Patch Changes
@cloudflare/vitest-plugin@1.7.0
Minor Changes
-
#15695
d437be3Thanks @ghostwriternr! - Run the Containers that the Wrangler configuration attaches to Durable ObjectsPreviously, the plugin disabled Containers, so those Durable Objects ran without
ctx.container. The plugin now builds or pulls the Containers' images before each project's tests run and gives the Durable Objects a realctx.container, so these projects now need Docker. To keep running their tests without Docker, setdev.enable_containerstofalsein the Wrangler configuration, which disables the Containers. Cloudflare-managed registry images are not supported yet.
Patch Changes
-
#16810
cdc970bThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-10Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
Updated dependencies [
cb9534f,6af492e,cdc970b,cdc970b,4e7e9f1,267dadb,022ee9d,44b39b0,325dc69]:- wrangler@4.160.0
- miniflare@5.20261110.0-beta
@cloudflare/runtime-types@0.1.25
Patch Changes
-
#16810
cdc970bThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-10Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
#16625
d87fdfeThanks @petebacondarwin! - Load the Workers runtime only when generating runtime typesDefer loading workerd until
generateRuntimeTypes()is called, and load Miniflare only on a cache miss. Importing the package or using its header helpers no longer resolves the workerd binary, so tooling can use these helpers on platforms without a supported runtime. -
Updated dependencies [
cdc970b,cdc970b,4e7e9f1,267dadb,44b39b0]:
@cloudflare/remote-bindings@0.0.62
@cloudflare/pages-functions@0.1.8
Patch Changes
-
#16810
cdc970bThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-10Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
@cloudflare/deploy-helpers@0.26.2
Patch Changes
-
#16810
cdc970bThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-10Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
#16709
022ee9dThanks @petebacondarwin! - Keep local Container images available for upload retriesKeep prebuilt local image tags available until the caller finishes uploading the Worker and deploying its Container applications, so a later failure can be retried without rebuilding. When image push commands request cleanup, remove the source tag only after the push succeeds.
-
Updated dependencies [
6af492e,cdc970b,cdc970b,4e7e9f1,267dadb,022ee9d,44b39b0,d437be3]:- @cloudflare/workers-utils@0.53.0
- @cloudflare/containers-shared@0.25.0
- @cloudflare/cli-shared-helpers@0.3.6
- @cloudflare/config@0.31.1
- miniflare@5.20261110.0-beta