releases.shpreview

Local testing paths rewritten to avoid production collisions

@cloudflare/vite-plugin@1.49.1

July 31, 2026Workers SDKView original ↗
1 enhancementThis release1 enhancementImprovements to existing featuresAI-tallied from the release notes
From the original release noteView original ↗

Patch Changes

  • #14586 5a56dda Thanks @emily-shen! - 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/*
  • Updated dependencies [5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda, 5a56dda]:

Fetched July 31, 2026