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 new5 fixed2 internal
Release note
Minor Changes
Add telemetry for detecting whether AI coding agents have Cloudflare skills installed
Wrangler now includes a
currentAgentSkillsInstalledproperty in telemetry events that reports whether the current AI coding agent has Cloudflare skills present on disk. The value distinguishes between skills installed automatically by Wrangler ("automatic"), skills installed manually by the user ("manual"), no skills present (false), or no supported agent detected (null). Skill names are fetched from the GitHub Contents API with a 24-hour disk cache to avoid rate limits.Add
--x-deploy-helpersto gate an upcoming deploy path refactor.
Patch Changes
Reject
remote: falseon always-remote bindings (AI, AI Search, Media, Artifacts, Flagship, VPC Service, VPC Network)These binding types have no local simulator and the resource is fundamentally remote-only. Setting
remote: falsewas previously silently accepted but produced a non-functional binding.wrangler devnow fails with a clear error directing users to either remove theremotefield or set it totrue.Preserve
--compatibility-flagsin the interactive deploy config flowWhen running
wrangler deploywithout a config file and going through the interactive setup flow, any--compatibility-flagspassed on the command line (e.g.--compatibility-flags=nodejs_compat) were lost in two places:The generated
wrangler.jsoncfile did not includecompatibility_flags.The suggested CLI command shown when declining the config file write did not include
--compatibility-flags.
Both are now fixed. Compatibility flags are persisted to the generated config and included in the suggested command.
Improve error messages for Pages CLI commands
Error messages across
wrangler pagessubcommands (deploy, dev, secret, project, etc.) now provide clearer descriptions and actionable guidance. For example, instead of "Must specify a project name.", you'll now see "Missing Pages project name. Use --project-name <name> or set the name in your wrangler.jsonc configuration file."Warn when a remote-bindings request is blocked by Cloudflare Access
When
wrangler devis used with remote bindings and a request from the local remote-bindings proxy client to the remote workers.dev proxy server is blocked by Cloudflare Access (HTTP 403 with the Cloudflare Access block page), Wrangler now:Logs a single, visually striking warning per dev session explaining how to set
CLOUDFLARE_ACCESS_CLIENT_ID/CLOUDFLARE_ACCESS_CLIENT_SECRET(Service Token credentials) or runcloudflared access loginto authenticate.Replaces the original Access HTML block page with a readable plain-text body containing the same guidance, so the message also reaches the user via binding error messages (e.g.
InferenceUpstreamErrorfromenv.AI.run()) and any browser response piped back via a service binding.fetch().
Previously the 403 was returned to user code with the full Access HTML, which both drowned out other logs and made it hard to tell that the failure was due to Cloudflare Access on workers.dev rather than a problem in the binding itself or the deployed proxy server. The detection runs inside the proxy client worker (which only ever talks to the remote-bindings proxy URL), so it does not trigger false positives on user-worker 403s.
Rename Workflow binding
scheduleproperty toschedulesThe
scheduleproperty on Workflow bindings introduced in #13467 has been renamed toschedulesto match the control plane API.Note: This remains a configuration-only change. Scheduled triggering of Workflow instances is not yet available — adding
schedulesto a Workflow binding will not result in scheduled invocations at this time.
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.