wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
4.167.0 is the newest release of 4.x.
In short
6 new10 fixed1 internal
Security
1 advisory affects 4.49.0; 4.59.1 fixes them
- HighWrangler affected by OS Command Injection in `wrangler pages deploy`GHSA-36p8-mvp6-cv38 · 21 Jan 2026Fixed in 4.59.1
Release note
Minor Changes
Add support for streaming tail consumers in local dev. This is an experimental new feature that allows you to register a
tailStream()handler (compared to the existingtail()handler), which will receive streamed tail events from your Worker (compared to thetail()handler, which only receives batched events after your Worker has finished processing).When the
WRANGLER_HIDE_BANNERenvironment variable is provided, Wrangler will no longer display a version banner. This applies to all commands.For instance, previously running
wrangler docswould give the following output:> wrangler docs ⛅️ wrangler 4.47.0 ─────────────────── Opening a link in your default browser: https://developers.cloudflare.com/workers/wrangler/commands/
With
WRANGLER_HIDE_BANNER, this is now:> WRANGLER_HIDE_BANNER=true wrangler docs Opening a link in your default browser: https://developers.cloudflare.com/workers/wrangler/commands/
Implement the
wrangler r2 bulk put bucket-name --filename list.jsoncommand.The command uploads multiple objects to an R2 bucket.
The list of object is provided as a JSON encoded file via
--filename. It is a list of key and file (respectively the name and the content for the object).[ { "key": "/path/to/obj", "file": "/path/to/file_1"}, { "key": "/path/to/other/obj", "file": "/path/to/file_2"}, // ... ]Uploads are executed concurrently and the level of concurrency can be set via
--concurrency.The command supports the same options as
wrangler r2 object put, minus--file, and--pipeand plus--concurrencySupport SvelteKit projects in autoconfig
Add
--dry-runflag towrangler setupand also adryRunoption torunAutoConfig
Patch Changes
Avoid using object lookup for OAuth Error classes
Make sure that
experimental_patchConfigdoesn't throw if it encounters anullvalueBump p-queue to ^9.0.0
Fixes a bug that caused
.dev.varsto be ignored in OpenNextInternal refactoring to improve error traceability in wrangler dev
Add
unstable_getDurableObjectClassNameToUseSQLiteMapexport. This is an internal function for use in the Vite plugin.Use the smol-toml library for parsing TOML instead of @iarna/toml
Refresh expired preview tokens when running in remote dev mode
wrangler deployfailing to patch localwrangler.jsoncfiles if the remotetail_consumersvalue isnullEnsure that
wrangler deployrun with a positional argument or with--assetsdoes not trigger the autoconfig process (even with--experimental-autoconfig)Make sure that remote proxy sessions's debug logs are enabled when the wrangler log level is set to "debug"
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.