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
2 fixed4 internal
Release note
Patch Changes
Show helpful messages for errors outside of Wrangler's control. This prevents unnecessary Sentry reports.
Errors now handled with user-friendly messages:
Connection timeouts to Cloudflare's API (
UND_ERR_CONNECT_TIMEOUT) - typically due to slow networks or connectivity issuesFile system permission errors (
EPERM,EACCES) - caused by insufficient permissions, locked files, or antivirus softwareDNS resolution failures (
ENOTFOUND) - caused by network connectivity issues or DNS configuration problems
Improve the error message for
wrangler secret putwhen using Worker versions or gradual deployments.wrangler versions secret putshould be used instead, or ensure to deploy the latest version before usingwrangler secret put.wrangler secret putalone will add the new secret to the latest version (possibly undeployed) and immediately deploy that which is usually not intended.
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.