@cloudflare/vite-plugin
1.70.1 · 19 Nov 2026MIT12.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @cloudflare/vite-plugin From 0.1.20 to 1.6.0
28 releases in betweenevery note read
Before you upgrade
Tick each one off as you go- Breaking1.0.0
Security
Fixes 1 advisory affecting 0.1.20
- Cloudflare Vite plugin exposes secrets over the built-in dev servermoderate · GHSA-4pfg-2mw5-f8jx
Release by release
- New
Enhanced build support for Workers with assets.
- Fixed
Ensure that .dev.vars files cannot be accessed via the dev server or preview server.
- New
1.5.1nothing new or fixed in the note
- New
Support loading all asset types via assets binding. Previously only HTML assets could be loaded via the assets binding. The binding now integrates with Vite's internal middleware to load all asset types.
- New
- New
Enable cross-process Service bindings and Tail workers with the Dev Registry
- Fixed
Silence
remotewrangler config warnings when mixed mode is enabled
- New
- New
Add new
mixedModeexperimental option - Fixed
Prevent leaking Miniflare server logs. Logs that were previously filtered were leaking as they were changed to include colors. We now override the new Miniflare
Log.logReadymethod with a noop rather than filtering the logs.
- New
- New
Updated internal configuration to use Miniflare’s new
defaultPersistRootinstead of per-pluginpersistflags
- New
- Fixed
Fix regex to correctly detect additional module imports with __ in path
- Fixed
- Fixed
74 internal lines (docs, tests, tooling) left out.
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.