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
5 new4 fixed1 internal
Security
1 advisory affects 4.15.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
This adds support for more accurate types for service bindings when running
wrangler types. Previously, runningwrangler typeswith a config including a service binding would generate anEnvtype like this:interface Env { SERVICE_BINDING: Fetcher; }This type was "correct", but didn't capture the possibility of using JSRPC to communicate with the service binding. Now, running
wrangler types -c wrangler.json -c ../service/wrangler.json(the first config representing the current Worker, and any additional configs representing service bound Workers) will generate anEnvtype like this:interface Env { SERVICE_BINDING: Service<import("../service/src/index").Entrypoint>; }Add --metafile flag to generate esbuild metadata file during build
Unhide wrangler workflows delete command
Patch Changes
Remove experimental
MixedModeConnectionStringtyperemove the experimental
MixedModeConnectionStringtype which
is now exposed by Miniflare insteadminiflare: Strip CF-Connecting-IP header from all outbound requests
Fix d1 info command showing read_replication: [object Object]
Validate r2 bucket names
Add
remoteoption to initial bindingsadd the
remoteoption (initial implementation
gated behind--x-mixed-mode) for the following
bindings:service,kv,r2,d1,queueandworkflowImplement mixed mode proxy server & client
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.