Packages

wrangler

4.164.0 · 17 Nov 2026MIT OR Apache-2.049.3M / weekRepositoryHomepagenpmAtom feed

Your version

4.59.2

15 Jan 2026Where it was published

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 issues

    • File system permission errors (EPERM, EACCES) - caused by insufficient permissions, locked files, or antivirus software

    • DNS resolution failures (ENOTFOUND) - caused by network connectivity issues or DNS configuration problems

  • Improve the error message for wrangler secret put when using Worker versions or gradual deployments. wrangler versions secret put should be used instead, or ensure to deploy the latest version before using wrangler secret put. wrangler secret put alone 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.