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
1 removed5 new8 fixed3 internal
- Removed
Remove async_hooks polyfill - now uses native workerd implementation
Security
1 advisory affects 4.29.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
Support long branch names in generation of branch aliases in WCI.
Added
--domainflag towrangler deploycommand for deploying to custom domains. Use--domain example.comto deploy directly to a custom domain without manually configuring routes.Introduce json output flag for wrangler pages deployment list
Patch Changes
Validate
wrangler containers delete IDto ensure a valid ID has been provided. Previously if you provided the container name (or any non-ID shaped string) you would get an auth error instead of a 404.Removes mention of cf-requirements when Python Workers are enabled
Ensure that
maybeStartOrUpdateRemoteProxySessionconsiders the potential account_id from the user's wrangler configCurrently if the user has an
account_idin their wrangler config file, such id won't be taken into consideration for the remote proxy session, the changes here make sure that it is (note that theauthoption ofmaybeStartOrUpdateRemoteProxySession, if provided, takes precedence over this id value).The changes here also fix the same issue for
wrangler devandgetPlatformProxy(since they usemaybeStartOrUpdateRemoteProxySessionunder the hook).Do not attempt to update queue producer settings when deploying a Worker with a queue binding
Previously, each deployed Worker would update a subset of the queue producer's settings for each queue binding, which could result in broken queue producers or at least conflicts where different Workers tried to set different producer settings on a shared queue.
Add experimental API to expose Wrangler command tree structure for documentation generation
Add the option to allow all tiers when creating a container
re-push container images on deploy even if the only change was to the Dockerfile
Prevent defining multiple workflows with the same "name" property in the same wrangler file
Include containers API calls in output of WRANGLER_LOG=debug
- Removed
Remove async_hooks polyfill - now uses native workerd implementation
The async_hooks module is now provided natively by workerd, making the polyfill unnecessary. This improves performance and ensures better compatibility with Node.js async_hooks APIs.
Fix
NonRetryableErrorthrown with an empty error message not stopping workflow retries locally
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.