Skip to content

vite 7.2.0-beta.0

7.2.0-beta.0 (2025-10-28)

Features

  • add import.meta.resolve support for ESM config (bundle config loader) (#20962) (f86789a)
  • add perEnvironmentWatchChangeDuringDev (#20996) (a5e98e6)
  • add vite client connect events (#20978) (543d87c)
  • build: emit license (#18546) (b42c3fb)
  • dev: support HTTP2 even if proxy feature is used (#20869) (fc21af7)
  • lib: enable minification but keep pure annotations for es output with terser (#20522) (df997d0)
  • optimizer: add rush lockfile support (#20833) (718ca2d)
  • utils: support multiple certificates in resolveServerUrls (#20707) (24513e5)

Bug Fixes

  • build: ensure amd bundles request require to be injected (#20861) (bb85bd7)
  • build: replace names in the manifest with unmangled name for CSS assets (#20585) (4abf056)
  • deps: downgrade commonjs plugin to 28.0.6 to avoid rollup/plugins#1909 (#20988) (856e683)
  • deps: update all non-major dependencies (#21008) (185641e)
  • disable optional peer dep handling for nodeResolveWithVite (#20989) (ca18b23)
  • handle query parameters for /@vite/* modules (#20998) (6843a6a)
  • module-runner: resolve resolvedSources correctly (#20959) (c4f6039)
  • resolve: match resolved subpath import path's relative prefix with regex (fix #20972) (#20973) (ff2d83e)
  • update build log to include environment name (#20987) (77c25c1)
  • use esm entrypoint for css preprocessors and terser (#20918) (1460824)

Performance Improvements

  • module-runner: add client-side builtin module check (#20924) (ccffead)
  • module-runner: use module.registerHooks when available (#20980) (9c8a780)
  • run dev.createEnvironment and build.createEnvironment concurrently (#20699) (d636220)
  • worker: rebuild only when affected (#20559) (5cd3890)

Miscellaneous Chores

Code Refactoring

Build System

7.1.11 (2025-10-20)

Bug Fixes

  • dev: trim trailing slash before server.fs.deny check (#20968) (f479cc5)

Miscellaneous Chores

Code Refactoring

  • use subpath imports for types module reference (#20921) (d0094af)

Build System

7.1.10 (2025-10-14)

Bug Fixes

  • css: avoid duplicate style for server rendered stylesheet link and client inline style during dev (#20767) (3a92bc7)
  • css: respect emitAssets when cssCodeSplit=false (#20883) (d3e7eee)
  • deps: update all non-major dependencies (879de86)
  • deps: update all non-major dependencies (#20894) (3213f90)
  • dev: allow aliases starting with // (#20760) (b95fa2a)
  • dev: remove timestamp query consistently (#20887) (6537d15)
  • esbuild: inject esbuild helpers correctly for esbuild 0.25.9+ (#20906) (446eb38)
  • normalize path before calling fileToBuiltUrl (#20898) (73b6d24)
  • preserve original sourcemap file field when combining sourcemaps (#20926) (c714776)

Documentation

Miscellaneous Chores

7.1.9 (2025-10-03)

Reverts

7.1.8 (2025-10-02)

Bug Fixes

Documentation

Miscellaneous Chores

7.1.7 (2025-09-22)

Bug Fixes

  • build: fix ssr environment emitAssets: true when sharedConfigBuild: true (#20787) (4c4583c)
  • client: use CSP nonce when rendering error overlay (#20791) (9bc9d12)
  • deps: update all non-major dependencies (#20811) (9f2247c)
  • glob: handle glob imports from folders starting with dot (#20800) (105abe8)
  • hmr: trigger prune event when import is removed from non hmr module (#20768) (9f32b1d)
  • hmr: wait for import.meta.hot.prune callbacks to complete before running other HMRs (#20698) (98a3484)

7.1.6 (2025-09-18)

Bug Fixes

  • deps: update all non-major dependencies (#20773) (88af2ae)
  • esbuild: inject esbuild helper functions with minified $ variables correctly (#20761) (7e8e004)
  • fallback terser to main thread when nameCache is provided (#20750) (a679a64)
  • types: strict env typings fail when skipLibCheck is false (#20755) (cc54e29)

Miscellaneous Chores

7.1.5 (2025-09-08)

Bug Fixes

7.1.4 (2025-09-01)

Bug Fixes

Miscellaneous Chores

  • remove unused constants entry from rolldown.config.ts (#20710) (537fcf9)

Code Refactoring

  • remove unnecessary minify parameter from finalizeCss (#20701) (8099582)

7.1.3 (2025-08-19)

Features

  • cli: add Node.js version warning for unsupported versions (#20638) (a1be1bf)
  • generate code frame for parse errors thrown by terser (#20642) (a9ba017)
  • support long lines in generateCodeFrame (#20640) (1559577)

Bug Fixes

  • deps: update all non-major dependencies (#20634) (4851cab)
  • optimizer: incorrect incompatible error (#20439) (446fe83)
  • support multiline new URL(..., import.meta.url) expressions (#20644) (9ccf142)

Performance Improvements

Miscellaneous Chores

Code Refactoring

Tests

7.1.2 (2025-08-12)

Bug Fixes

  • client: add [vite] prefixes to debug logs (#20595) (7cdef61)
  • config: make debugger work with bundle loader (#20573) (c583927)
  • deps: update all non-major dependencies (#20587) (20d4817)
  • don't consider ids with npm: prefix as a built-in module (#20558) (ab33803)
  • hmr: watch non-inlined assets referenced by CSS (#20581) (b7d494b)
  • module-runner: prevent crash when sourceMappingURL pattern appears in string literals (#20554) (2770478)

Miscellaneous Chores

  • deps: migrate to @jridgewell/remapping from @ampproject/remapping (#20577) (0a6048a)
  • deps: update rolldown-related dependencies (#20586) (77632c5)

7.1.1 (2025-08-08)

Bug Fixes

Miscellaneous Chores