Repository navigation
wrangler@4.167.0
Minor Changes
-
#17060
fa50abaThanks @petebacondarwin! - Support--env-filein the experimentalcf-wrangler devdelegateWrangler-bundled projects can now use
cf dev -- --env-file ../../.envto load a shared development file outside the project directory without enablingCLOUDFLARE_INCLUDE_PROCESS_ENV. Repeat--env-fileto load multiple files, with later files overriding earlier values. -
#17093
310633dThanks @for-the-kidz! - Remove thewrangler dispatch-namespace renamecommandRenaming a Workers for Platforms dispatch namespace left the namespace name stored in dispatcher bindings out of date, which could make Workers in the namespace impossible to read or delete by name. The Cloudflare API now rejects requests that change a dispatch namespace's name, so the command has been removed. To use a different name, create a new dispatch namespace and redeploy your Workers to it.
Patch Changes
-
#17102
1e65920Thanks @samarthyadavv! - Exit with a nonzero status when the Basin SQL service rejects a querywrangler basin sql queryreports the service error and exits with status 1 so shell scripts and CI can detect a rejected query. -
#17099
fc3d770Thanks @mayanthacreates! - Show that--localis the default in D1 command helpwrangler d1 execute,wrangler d1 export,wrangler d1 migrations applyandwrangler d1 migrations listrun against the local database unless--remoteis passed, but their--helpoutput did not say so. The--localflag description now ends with "(default)". -
#17070
657179dThanks @dependabot! - UpdateDEFAULT_COMPAT_DATEto 2026-11-23Use the bundled workerd release's compatibility date by default when scaffolding new projects or when no compatibility date is configured.
-
#17070
657179dThanks @dependabot! - Update dependencies of "miniflare", "wrangler"The following dependency versions have been updated:
Dependency From To @cloudflare/workers-types ^5.20261119.1 ^5.20261123.1 workerd 1.20261119.1 1.20261123.1 -
#17078
b007991Thanks @petebacondarwin! - Recover from missing Worker scripts after an interrupted first deployWhen the Workers API returns a service without a script,
wrangler deployuses the first-deploy flow instead of crashing.wrangler versions uploadtells you to runwrangler deployfirst. -
#17123
1edd2f4Thanks @petebacondarwin! - Fix intermittent subdomain lookup failures on a Worker's first deployAfter a successful first upload,
wrangler deploycan now read the subdomain settings from the script API if the Worker API does not yet see the new Worker. The normal deploy continues without waiting for the Worker API to catch up. -
Updated dependencies [
657179d,657179d,b007991,7afc49c,086706d,5b45f32,00413bb,5bc7dba,086706d,5970e6a]:- @cloudflare/workers-utils@0.57.0
- miniflare@5.20261123.0-beta