wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
4.167.0 is the newest release of 4.x.
Summary· from the note as AI read it
No actionNothing to change: 2 new, 2 fixed.
New
- Support remote Hyperdrive bindings in local development
- Add a
jurisdictionsetting to Workflows
In short
2 new2 fixed2 internal
Release note
The section about wrangler of a note shared by several packages.
Minor Changes
Support remote Hyperdrive bindings in local development
{ "hyperdrive": [ { "binding": "HYPERDRIVE", "id": "<your-hyperdrive-id>", "remote": true } ] }Add a
jurisdictionsetting to WorkflowsA Workflow defined by the Worker can now set the jurisdiction that its instances run and store their data in, on either a
workflowsbinding or aworkflowexport:{ "workflows": [ { "binding": "MY_WORKFLOW", "name": "my-workflow", "class_name": "MyWorkflow", "jurisdiction": "eu" } ] }The accepted values are
eu,fedramp, andus.wrangler deployandwrangler triggers deploysend the jurisdiction when they create or update the Workflow. A Workflow's jurisdiction is set when it is created and cannot be changed afterwards, sowrangler deployandwrangler versions uploadstop before uploading when an existing Workflow has a different jurisdiction from the configured one. Leavingjurisdictionout keeps the Workflow's existing jurisdiction.@cloudflare/configadds the setting toexports.workflow(),cf migratecarries it over, andwrangler workflows describeprints it. Local development ignores it.
Patch Changes
Print
wrangler auth token --jsonoutput regardless ofWRANGLER_LOGPreviously the JSON was written through the normal log channel, so setting
WRANGLER_LOGtowarn,errorornonemade the command exit successfully with empty stdout. Tools that parse this output, such as the OpenNext Cloudflare adapter in CI, then failed to find any credentials. The JSON is now always printed, like other--jsoncommands.Report the R2 bucket location returned by the API when creating a bucket
wrangler r2 bucket create --locationprinted the requested location hint even when R2 ignored it. Recreating a deleted bucket name keeps the original location, so the success message could claim a placement the bucket does not have. The command now uses the location from the create response: it mentions the hint only when that location matches, and otherwise reports the location R2 actually applied.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.