chore(deps-dev): bump wrangler from 4.157.0 to 4.160.0
Bumps wrangler from 4.157.0 to 4.160.0.
Release notes
Sourced from wrangler's releases.
wrangler@4.160.0
Minor Changes
#16760
cb9534fThanks@petebacondarwin! - Support forwarded Wrangler development server options in the experimentalcf-wranglerdelegate
cf 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]:
Commits
2674eefVersion Packages (#16799)022ee9d[containers-shared] Defer local image cleanup to upload callers (#16709)cb9534f[wrangler] Support forwarded dev options in cf-wrangler (#16760)44b39b0[wrangler, workers-utils, containers-shared, miniflare] Sanitize header diagn...6af492e[wrangler, workers-utils, containers-shared] Add custom Cloudflare API header...bf3ec7bVersion Packages (#16729)dc4e093[wrangler] Only mention a verification email when the created address is unve...56459a5Update bundled third-party dependencies with known security fixes (#16648)3ef2afd[wrangler] Delegate Container cleanup to Miniflare (#16413)6f29f97Stop persisting account selections made bycf(#16683)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)