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
4 new5 fixed1 internal
Security
3 advisories affect 3.16.0; 3.114.17 fixes them
- CriticalArbitrary remote code execution within `wrangler dev` Workers sandboxGHSA-f8mp-x433-5wpf · 3 Jan 2024Fixed in 3.19.0
- HighWrangler affected by OS Command Injection in `wrangler pages deploy`GHSA-36p8-mvp6-cv38 · 21 Jan 2026Fixed in 3.114.17
- ModerateArbitrary remote file read in Wrangler dev serverGHSA-cfph-4qqh-w828 · 3 Jan 2024Fixed in 3.19.0
Release note
Minor Changes
unstable_dev: Provide an option for unstable_dev to perform the check that prompts users to update wrangler, defaulting to false. This will prevent unstable_dev from sending a request to NPM on startup to determine whether it needs to be updated.
Simplify secret:bulk api via script settings
Firing PUTs to the secret api in parallel has never been a great solution - each request independently needs to lock the script, so running in parallel is at best just as bad as running serially.
Luckily, we have the script settings PATCH api now, which can update the settings for a script (including secret bindings) at once, which means we don't need any parallelization. However this api doesn't work with a partial list of bindings, so we have to fetch the current bindings and merge in with the new secrets before PATCHing. We can however just omit the value of the binding (i.e. only provide the name and type) which instructs the config service to inherit the existing value, which simplifies this as well. Note that we don't use the bindings in your current wrangler.toml, as you could be in a draft state, and it makes sense as a user that a bulk secrets update won't update anything else. Instead, we use script settings api again to fetch the current state of your bindings.
This simplified implementation means the operation can only fail or succeed, rather than succeeding in updating some secrets but failing for others. In order to not introduce breaking changes for logging output, the language around "${x} secrets were updated" or "${x} secrets failed" is kept, even if it doesn't make much sense anymore.
Patch Changes
This PR adds a fetch handler that uses
page, assumingresult_infoprovided by the endpoint containspage,per_page, andtotalThis is needed as the existing
fetchListResulthandler for fetching potentially paginated results doesn't work for endpoints that don't implementcursor.Fixes #4349
Improve the error message when a script isn't exported a Durable Object class
Previously, wrangler would error with a message like
Uncaught TypeError: Class extends value undefined is not a constructor or null. This improves that messaging to be more understandable to users.
Change local dev server default ip to
*instead of0.0.0.0. This will cause the dev server to listen on both ipv4 and ipv6 interfaces
Support for hyperdrive bindings in local wrangler dev
Fixed issue with
tailnot using proxy
Allows uploads with both cron triggers and smart placement enabled
Change dev registry and inspector server to listen on 127.0.0.1 instead of all interfaces
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.