@cloudflare/vite-plugin
1.70.1 · 19 Nov 2026MIT12.3M / weekRepositoryHomepagenpmAtom feed
1.70.1 is the newest release of 1.x.
In short
1 new1 fixed2 internal
Release note
Patch Changes
Add an experimental, internal
cf-vitedelegate binaryThis adds an experimental
bin/cf-vitebinary that is spawned by Cloudflare's own parent tooling to drive the plugin as a long-running dev-server subprocess. It is not part of the plugin's public API surface, is not intended to be invoked directly, and its contract may change at any time without notice.Forward response headers from the Worker on WebSocket upgrade responses
Headers set on a
new Response(null, { status: 101, webSocket, headers })returned from the Worker are now propagated to the upgrade response sent to the browser duringvite dev. Previously the headers were dropped, so cookies (Set-Cookie) and custom headers (X-*) on WebSocket handshake responses were invisible client-side — even though they were delivered correctly bywrangler dev.
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.