Packages

wrangler

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

Your version

4.117.0

31 Jul 2026Where it was published

4.167.0 is the newest release of 4.x.

In short

1 removed1 fixed1 internal

  • Removed

    Remove containerEngine from the worker options returned by unstable_getMiniflareWorkerOptions

Release note

Minor Changes

  • Removed

    Remove containerEngine from the worker options returned by unstable_getMiniflareWorkerOptions

    unstable_getMiniflareWorkerOptions no longer includes containerEngine in the returned workerOptions, since the container engine is a Miniflare instance-wide setting rather than a per-worker one. Callers that build a Miniflare instance from these options should set containerEngine at the top level instead.

Patch Changes

  • Rewrite local testing paths (/cdn-cgi/*)

    Miniflare v5 moved its internal local testing endpoints to /cdn-cgi/local/* (and /__cf_local/* for endpoints that must remain reachable over tunnels) to prevent any potential collision with production routes. wrangler dev and the Vite plugin now transparently rewrite the old paths to the new ones, meaning you can continue to use the old paths without issue.

    These are the new paths:

    • /cdn-cgi/handler/scheduled → /cdn-cgi/local/scheduled

    • /cdn-cgi/handler/email → /cdn-cgi/local/email

    • /cdn-cgi/explorer/* → /cdn-cgi/local/explorer/*

    • /cdn-cgi/mf/scheduled → /cdn-cgi/local/scheduled (Note /cdn-cgi/mf/scheduled is already deprecated)

    • /cdn-cgi/mf/stream/* → /__cf_local/stream/*

    • /cdn-cgi/mf/imagedelivery/* → /__cf_local/imagedelivery/*

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.