wrangler
4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed
3.114.17 is the newest release of 3.x.
In short
1 new4 fixed1 internal
Security
1 advisory affects 3.28.3; 3.114.17 fixes them
- HighWrangler affected by OS Command Injection in `wrangler pages deploy`GHSA-36p8-mvp6-cv38 · 21 Jan 2026Fixed in 3.114.17
Release note
Patch Changes
Make sure
getPlatformProxyproduces a production-likecachesobjectmake sure that the
cachesobject returned togetPlatformProxybehaves
in the same manner as the one present in production (where calling unsupported
methods throws a helpful error message)note: make sure that the unsupported methods are however not included in the
CacheStoragetype definitionDon't suggest reporting user errors to GitHub
Wrangler has two different types of errors: internal errors caused by something going wrong, and user errors caused by an invalid configuration. Previously, we would encourage users to submit bug reports for user errors, even though there's nothing we can do to fix them. This change ensures we only suggest this for internal errors.
Allow hyperdrive users to set local connection string as environment variable
Wrangler dev now supports the HYPERDRIVE_LOCAL_CONNECTION_STRING environmental variable for connecting to a local database instance when testing Hyperdrive in local development. This environmental variable takes precedence over the localConnectionString set in wrangler.toml.
Wait for actual port before opening browser with
--port=0Previously, running
wrangler dev --remote --port=0and then immediately pressingbwould openlocalhost:0in your default browser. This change queues up opening the browser until Wrangler knows the port the dev server was started on.Relax the
getPlatformProxy's' cache request/response typesprior to these changes the caches obtained from
getPlatformProxy
would useunknowns as their types, this proved too restrictive
and incompatible with the equivalent@cloudflare/workers-types
types, we decided to useanys instead to allow for more flexibility
whilst also making the type compatible with workers-types
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.