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 new1 fixed3 internal
Release note
Patch Changes
- Deprecated
Deprecate shared tooling helper exports from Miniflare
Miniflare continues to export
getNodeCompat,NodeJSCompatMode, andgetFreshSourceMapSupportfor compatibility. These exports are deprecated and now use the implementations in@cloudflare/workers-utils. Add a dependency on that package and replace the Miniflare imports with:import { getNodeCompat, type NodeJSCompatMode, } from "@cloudflare/workers-utils/node-compat"; import { getFreshSourceMapSupport } from "@cloudflare/workers-utils/sourcemap";Wrangler and the Cloudflare Vite and Vitest plugins now use the shared helpers directly. The helpers retain their behavior and can be imported without loading the Workers runtime.
The deprecated Miniflare exports will be removed in a later release, allowing downstream tools such as cf to migrate and release independently first.
Avoid unrelated route permission checks when comparing dashboard configuration
When a Worker was last updated from the dashboard,
wrangler deployandwrangler versions uploadfetched route and custom-domain metadata even when the command could not change it. Wrangler now fetches only the route categories configured for deployment, allowing Worker-scoped Editor tokens to upload Workers without routes or custom domains.
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.