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 new3 fixed2 internal
Release note
Patch Changes
Add a provisioning delay note when custom domain Preview URLs change
Wrangler now explains that DNS and TLS certificate provisioning may continue after a deploy adds a custom domain or enables its Preview URLs. Stable redeploys don't repeat the note.
This assumes that a request which matches the stored custom domain state doesn't restart provisioning. The client infers this from the API changeset and current domain record because this repository can't verify the backend behavior.
Clarify production status labels for custom domain routes
Wrangler now prefixes explicit custom domain production states with
production:so they match Preview labels. The updated labels appear in deployed trigger output andWRANGLER_OUTPUT_FILE_PATH.Avoid replacement prompts for custom domains already on the Worker
Wrangler now updates Preview settings without asking to replace a custom domain when that domain already belongs to the deployed Worker. It still asks before replacing domains attached to another Worker.
Explain how to enable Preview URLs when a Preview deployment has none
wrangler previewnow shows URL shapes and configuration snippets for Workers.dev and custom domains. The custom domain snippet preserves every configured route, and the guidance distinguishes missing settings from disabled ones.This changes a private beta feature. The warning also makes clear that
wrangler deploypublishes code from the current checkout.
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.