Vite 8.4 landed on November 26, 2026, and its headline feature is the kind of change you should adopt before it becomes mandatory: an opt-in allow-list for dev server file serving. The Vite team has said plainly that they intend to make it the default in the next major version — so the time to test it against your project is now, while it's still optional and the failure mode is a config tweak, not a broken build.
This post walks through what changed, how to enable the allow-list in about ten minutes, what will break (and how to fix it), and the rest of the 8.4 release — including dynamic imports that can finally recover from a failed fetch.
The problem: a block-list can't keep up
Since Vite 2.7, the dev server has had a server.fs file serve check — a security feature that stops the dev server from handing out files if it becomes reachable by a threat actor.…