vite 8.1.0-beta.0
8.1.0-beta.0 (2026-06-15)
Features
import.meta.globsupportcaseSensitiveoption (#21707) (2ad6737)- add warning to discourage Vite with yarn pnp (#21906) (3fbb55a)
- build: chunk importmap (#21580) (e180312)
- css: support lightningcss plugin dependency (#21748) (0b7aaed)
- deps: bump @vitejs/devtools peer dependency version (#22542) (d2c2bc0)
- html: add
html.additionalAssetSourcesoption (#21412) (a41404b) - integrate with Vite Task for zero-config build caching (#22453) (f8d75f7)
- rename
server.hmroptions toserver.wsoptions (#21357) (9ce3036) - server: support multiple hosts in __VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS (#21501) (735f9a1)
- track dependencies when loading config with native (#22602) (a7e2da8)
- types: add more precise typing for known
querytypes to match knownastypes (#21863) (cc39e55) - update rolldown to 1.1.1 (#22593) (8a13d63)
- wasm: direct .wasm imports (WASM ESM Integration) (#21779) (c23d85b)
Bug Fixes
- apply correct fs restrictions for pnpm gvs (#22415) (092320b)
- css: support external CSS with lightningcss (#18389) (d64a1a5)
- deps: update all non-major dependencies (#22637) (44bb9d9)
- deps: update all non-major dependencies (#22681) (f4f0633)
- html: insert import map before modulepreload that is not self-close tag (#21409) (e399c89)
- optimizer: preserve sourcemaps for transformed optimized deps with follow-up transforms (#22428) (1298951)
- use node_modules/.vite as cacheDir when node_modules exists (#21777) (4417b4f)
Documentation
Miscellaneous Chores
- bundle ViteTask client (#22604) (00edb41)
- clean up eslint config (#22616) (2292140)
- correct
parseAst/parseAstAsyncdeprecation hints (#22656) (983b7e3) - update
create-react-applinks (#22659) (6ebcf6a) - update
es-module-lexerto 2.0.0 (#22288) (d1e8a78)
Code Refactoring
- include optional
bundledDevinDevEnvironmentinstead of having a separate FBMDevEnvironment(#22587) (5edd1d5) - match import glob common base by path segment correctly (#22558) (eb12604)
- use rolldownOptions where possible (#21205) (7ca7c1b)
8.0.16 (2026-06-01)
Bug Fixes
- deps: reject UNC paths for launch-editor-middleware (#22571) (50b9512)
- reject windows alternate paths (#22572) (dc245c7)
8.0.15 (2026-06-01)
Features
Bug Fixes
- capitalize error messages and remove spurious space in parse error (#22488) (85a0eff)
- deps: update all non-major dependencies (#22511) (2686d7d)
- dev: fix html-proxy cache key mismatch for /@fs/ HTML paths (#21762) (47c4213)
- glob: error on relative glob in virtual module when no files match (#22497) (5c8e98f)
- optimizer: close the rolldown bundle when write() rejects (#22528) (e3cfb9d)
- resolve: provide onWarn for viteResolvePlugin in JS plugin containers (#22509) (40985f1)
Miscellaneous Chores
Code Refactoring
8.0.14 (2026-05-21)
Features
Bug Fixes
- deps: update all non-major dependencies (#22471) (98b8163)
- dev: handle errors when sending messages to vite server (#22450) (e8e9a34)
- html: handle trailing slash paths in transformIndexHtml (#22480) (5d94d1b)
- optimizer: pass oxc jsx options to transformSync in dependency scan (#22342) (b3132da)
Miscellaneous Chores
- deps: update rolldown-related dependencies (#22470) (7cb728e)
- remove irrelevant commits from changelog (2c69495)
Code Refactoring
Tests
8.0.13 (2026-05-14)
Features
- bundled-dev: add lazy bundling support (#21406) (4f0949f)
- optimizer: improve the esbuild plugin converter to pass some properties of build result to
onEnd(#22357) (47071ce) - update rolldown to 1.0.1 (#22444) (8c766a6)
Bug Fixes
- build: copy public directory after building same environment with
write=false(#22328) (158e8ae) - css: await sass/less/styl worker disposal on teardown (fix #22274) (#22275) (b7edcb7)
- css: keep deprecated
name/originalFileNamein syntheticassetFileNamescall (#22439) (8e59c97) - make
isBundledper environment (#22257) (a576326) - ssr: avoid rewriting labels that collide with imports (#22451) (d9b18e0)
Miscellaneous Chores
8.0.12 (2026-05-11)
Features
Bug Fixes
- deps: update all non-major dependencies (#22420) (2be6000)
- module-runner: prevent partial-exports race on concurrent imports of in-flight invalidated re-export chains (#22369) (f5a22e6)
- refer to
rolldownOptionsinstead of deprecatedrollupOptionsin messages (#22400) (b675c7b) - worker: apply
build.targetto worker bundle (#22404) (3c93fde) - worker: forward define to worker bundle transform (#22408) (d4838a0)
Miscellaneous Chores
- deps: update dependency eslint-plugin-n to v18 (#22423) (2fe7bd2)
- deps: update rolldown-related dependencies (#22421) (66b9eb3)
8.0.11 (2026-05-07)
Features
Bug Fixes
- deps: update all non-major dependencies (#22334) (672c962)
- deps: update all non-major dependencies (#22382) (5c0cfcb)
- glob: align hmr matcher options with glob enumeration (#22306) (30028f9)
- make separate object instance for each environment (#22276) (7c2aa3b)
Documentation
- create-vite: list react-compiler templates in README (#22347) (7c3a61f)
- explain mergeConfig skips null/undefined (#22325) (2151f70)
- mention native config loader in CLI options (#22348) (0420c5d)
- update evan's x handle (640202a)
Miscellaneous Chores
- deps: update dependency tsdown to ^0.21.10 (#22333) (3b51e05)
- deps: update rolldown-related dependencies (#22383) (555ff36)
- deps: update transitive packages to fix npm audit alerts (#22316) (86aee62)
Code Refactoring
- devtools integration (#22312) (3c8bf06)
- remove unnecessary async (#22296) (b31fd35)
- show direct path type in bad character warning (#22339) (0c162e9)
Tests
8.0.10 (2026-04-23)
Features
Bug Fixes
hmrClient.logger.debugandhmrClient.logger.errorlooked different from other HMR logs (#22147) (a4d828f)- css: show filename in CSS minification warnings for
.css?inline(#22292) (83f0a78) - optimizer: allow user transform.target to override default in optimizeDeps (#22273) (5c7cec6)
- remove format sniffing module resolution from JS resolver (#22297) (b8a21cc)
Code Refactoring
8.0.9 (2026-04-20)
Features
Bug Fixes
- allow binding when strictPort is set but wildcard port is in use (#22150) (dfc8aa5)
- build: emptyOutDir should happen for watch rebuilds (#22207) (ee52267)
- bundled-dev: reject requests to HMR patch files in non potentially trustworthy origins (#22269) (868f141)
- css: use unique key for cssEntriesMap to prevent same-basename collision (#22039) (374bb5d)
- deps: update all non-major dependencies (#22219) (4cd0d67)
- deps: update all non-major dependencies (#22268) (c28e9c1)
- detect Deno workspace root (fix #22237) (#22238) (1b793c0)
- dev: handle errors in
watchChangehook (#22188) (fc08bda) - optimizer: handle more chars that will be sanitized (#22208) (3f24533)
- skip fallback sourcemap generation for
?rawimports (#22148) (3ec9cda)
Documentation
- align the descriptions in READMEs (#22231) (44c42b9)
- fix reuses wording in dev environment comment (#22173) (9163412)
- fix wording in sass error comment (#22214) (bc5c6a7)
- update build CLI defaults (#22261) (605bb97)
Miscellaneous Chores
8.0.8 (2026-04-09)
Features
Bug Fixes
- avoid
dns.getDefaultResultOrdertemporary (#22202) (15f1c15) - ssr: class property keys hoisting matching imports (#22199) (e137601)
8.0.7 (2026-04-07)
Bug Fixes
8.0.6 (2026-04-07)
Features
Bug Fixes
- css: avoid mutating sass error multiple times (#22115) (d5081c2)
- optimize-deps: hoist CJS interop assignment (#22156) (17a8f9e)
Performance Improvements
Miscellaneous Chores
- create-vite: remove unnecessary DOM.Iterable (#22168) (bdc53ab)
- replace remaining prettier script (#22179) (af71fb2)
8.0.5 (2026-04-06)
Bug Fixes
- apply server.fs check to env transport (#22159) (f02d9fd)
- avoid path traversal with optimize deps sourcemap handler (#22161) (79f002f)
- check
server.fsafter stripping query as well (#22160) (a9a3df2) - disallow referencing files outside the package from sourcemap (#22158) (f05f501)
8.0.4 (2026-04-06)
Features
- allow esbuild 0.28 as peer deps (#22155) (b0da973)
- hmr: truncate list of files on hmr update (#21535) (d00e806)
- optimizer: log when dependency scanning or bundling takes over 1s (#21797) (f61a1ab)
Bug Fixes
hasBothRollupOptionsAndRolldownOptionsshould returnfalsefor proxy case (#22043) (99897d2)- add types for
vite/modulepreload-polyfill(#22126) (17330d2) - deps: update all non-major dependencies (#22073) (6daa10f)
- deps: update all non-major dependencies (#22143) (22b0166)
- resolve: resolve tsconfig paths starting with
#(#22038) (3460fc5) - ssr: use browser platform for webworker SSR builds (fix #21969) (#21963) (364c227)
Documentation
Miscellaneous Chores
Code Refactoring
8.0.3 (2026-03-26)
Features
Bug Fixes
- html: cache unfiltered CSS list to prevent missing styles across entries (#22017) (5464190)
- module-runner: handle non-ascii characters in base64 sourcemaps (#21985) (77c95bf)
- module-runner: skip re-import if the runner is closed (#22020) (ee2c2cd)
- optimizer: scan is not resolving sub path import if used in a glob import (#22018) (ddfe20d)
- ssr: ssrTransform incorrectly rewrites
metaidentifier insideimport.metawhen a binding namedmetaexists (#22019) (cff5f0c)
Miscellaneous Chores
Tests
8.0.2 (2026-03-23)
Features
Bug Fixes
Miscellaneous Chores
8.0.1 (2026-03-19)
Features
Bug Fixes
- bundled-dev: properly disable
inlineConstoptimization (#21865) (6d97142) - css: lightningcss minify failed when
build.target: 'es6'(#21933) (5fcce46) - deps: update all non-major dependencies (#21878) (6dbbd7f)
- dev: always use ESM Oxc runtime (#21829) (d323ed7)
- dev: handle concurrent restarts in
_createServer(#21810) (40bc729) - handle
+symbol in package subpath exports during dep optimization (#21886) (86db93d) - improve
no-corsrequest block error (#21902) (5ba688b) - use precise regexes for transform filter to avoid backtracking (#21800) (dbe41bd)
- worker:
require(json)result should not be wrapped (#21847) (0672fd2) - worker: make worker output consistent with client and SSR (#21871) (69454d7)