chore(deps): update dependency vite to v7
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| vite (source) | ^6.3.5 -> ^7.1.9 |
Release Notes
vitejs/vite (vite)
v7.1.9
Reverts
v7.1.8
Bug Fixes
- css: improve url escape characters handling (#20847) (24a61a3)
- deps: update all non-major dependencies (#20855) (788a183)
- deps: update artichokie to 0.4.2 (#20864) (e670799)
- dev: skip JS responses for document requests (#20866) (6bc6c4d)
- glob: fix HMR for array patterns with exclusions (#20872) (63e040f)
- keep ids for virtual modules as-is (#20808) (d4eca98)
- server: drain stdin when not interactive (#20837) (bb950e9)
- server: improve malformed URL handling in middlewares (#20830) (d65a983)
Documentation
Miscellaneous Chores
- deps: update rolldown-related dependencies (#20810) (ea68a88)
- deps: update rolldown-related dependencies (#20854) (4dd06fd)
- update url of
create-react-applicense (#20865) (166a178)
v7.1.7
Bug Fixes
-
build: fix ssr environment
emitAssets: truewhensharedConfigBuild: 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.prunecallbacks to complete before running other HMRs (#20698) (98a3484)
v7.1.6
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
skipLibCheckisfalse(#20755) (cc54e29)
Miscellaneous Chores
- deps: update rolldown-related dependencies (#20675) (a67bb5f)
- deps: update rolldown-related dependencies (#20772) (d785e72)
v7.1.5
Bug Fixes
- apply
fs.strictcheck to HTML files (#20736) (14015d7) - deps: update all non-major dependencies (#20732) (122bfba)
- upgrade sirv to 3.0.2 (#20735) (09f2b52)
v7.1.4
Bug Fixes
- add missing awaits (#20697) (79d10ed)
- deps: update all non-major dependencies (#20676) (5a274b2)
- deps: update all non-major dependencies (#20709) (0401feb)
- pass rollup watch options when building in watch mode (#20674) (f367453)
Miscellaneous Chores
Code Refactoring
v7.1.3
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
- replace startsWith with strict equality (#20603) (42816de)
- use
importin worker threads (#20641) (530687a)
Tests
v7.1.2
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/remappingfrom@ampproject/remapping(#20577) (0a6048a) - deps: update rolldown-related dependencies (#20586) (77632c5)
v7.1.1
Bug Fixes
Miscellaneous Chores
v7.1.0
Features
- support files with more than 1000 lines by
generateCodeFrame(#20508) (e7d0b2a) - add
import.meta.mainsupport in config (bundle config loader) (#20516) (5d3e3c2) - optimizer: improve dependency optimization error messages with esbuild formatMessages (#20525) (d17cfed)
-
ssr: add
import.meta.mainsupport for Node.js module runner (#20517) (794a8f2) - add
future: 'warn'(#20473) (e6aaf17) - add
removeServerPluginContainerfuture deprecation (#20437) (c1279e7) - add
removeServerReloadModulefuture deprecation (#20436) (6970d17) - add
server.warmupRequestto future deprecation (#20431) (8ad388a) - add
ssrFixStacktrace/ssrRewriteStacktracetoremoveSsrLoadModulefuture deprecation (#20435) (8c8f587) - client: ping from SharedWorker (#19057) (5c97c22)
-
dev: add
this.fssupport (#20301) (0fe3f2f) - export
defaultExternalConditions(#20279) (344d302) - implement
removePluginHookSsrArgumentfuture deprecation (#20433) (95927d9) - implement
removeServerHotfuture deprecation (#20434) (259f45d) - resolve server URLs before calling other listeners (#19981) (45f6443)
-
ssr: resolve externalized packages with
resolve.externalConditionsand addmodule-syncto default external condition (#20409) (c669c52) -
ssr: support
import.meta.resolvein module runner (#20260) (62835f7)
Bug Fixes
-
css: avoid warnings for
image-setcontaining__VITE_ASSET__(#20520) (f1a2635) - css: empty CSS entry points should generate CSS files, not JS files (#20518) (bac9f3e)
- dev: denied request stalled when requested concurrently (#20503) (64a52e7)
-
manifest: initialize
entryCssAssetFileNamesas an empty Set (#20542) (6a46cda) - skip prepareOutDirPlugin in workers (#20556) (97d5111)
-
asset: only watch existing files for
new URL(, import.meta.url)(#20507) (1b211fd) - client: keep ping on WS constructor error (#20512) (3676da5)
- deps: update all non-major dependencies (#20537) (fc9a9d3)
- don't resolve as relative for specifiers starting with a dot (#20528) (c5a10ec)
- html: allow control character in input stream (#20483) (c12a4a7)
- merge old and new
noExternal: truecorrectly (#20502) (9ebe4a5) - deps: update all non-major dependencies (#20489) (f6aa04a)
- dev: denied requests overly (#20410) (4be5270)
-
hmr: register css deps as
type: asset(#20391) (7eac8dd) - optimizer: discover correct jsx runtime during scan (#20495) (10d48bb)
-
preview: set correct host for
resolvedUrls(#20496) (62b3e0d) - worker: resolve WebKit compat with inline workers by deferring blob URL revocation (#20460) (8033e5b)
Performance Improvements
Miscellaneous Chores
- deps: update rolldown-related dependencies (#20536) (8be2787)
- deps: update dependency parse5 to v8 (#20490) (744582d)
- format (f20addc)
- stablize
cssScopeTo(#19592) (ced1343)
Code Refactoring
- use hook filters in the worker plugin (#20527) (958cdf2)
- extract prepareOutDir as a plugin (#20373) (2c4af1f)
- extract resolve rollup options (#20375) (61a9778)
- rewrite openchrome.applescript to JXA (#20424) (7979f9d)
- use
http-proxy-3(#20402) (26d9872) - use hook filters in internal plugins (#20358) (f19c4d7)
- use hook filters in internal resolve plugin (#20480) (acd2a13)
Tests
- detect ts support via
process.features(#20544) (856d3f0) - fix unimportant errors in test-unit (#20545) (1f23554)
Beta Changelogs
7.1.0-beta.1 (2025-08-05)
7.1.0-beta.0 (2025-07-30)
v7.0.7
Please refer to CHANGELOG.md for details.
v7.0.6
Features
- support files with more than 1000 lines by
generateCodeFrame(#20508) (e7d0b2a) - add
import.meta.mainsupport in config (bundle config loader) (#20516) (5d3e3c2) - optimizer: improve dependency optimization error messages with esbuild formatMessages (#20525) (d17cfed)
-
ssr: add
import.meta.mainsupport for Node.js module runner (#20517) (794a8f2) - add
future: 'warn'(#20473) (e6aaf17) - add
removeServerPluginContainerfuture deprecation (#20437) (c1279e7) - add
removeServerReloadModulefuture deprecation (#20436) (6970d17) - add
server.warmupRequestto future deprecation (#20431) (8ad388a) - add
ssrFixStacktrace/ssrRewriteStacktracetoremoveSsrLoadModulefuture deprecation (#20435) (8c8f587) - client: ping from SharedWorker (#19057) (5c97c22)
-
dev: add
this.fssupport (#20301) (0fe3f2f) - export
defaultExternalConditions(#20279) (344d302) - implement
removePluginHookSsrArgumentfuture deprecation (#20433) (95927d9) - implement
removeServerHotfuture deprecation (#20434) (259f45d) - resolve server URLs before calling other listeners (#19981) (45f6443)
-
ssr: resolve externalized packages with
resolve.externalConditionsand addmodule-syncto default external condition (#20409) (c669c52) -
ssr: support
import.meta.resolvein module runner (#20260) (62835f7)
Bug Fixes
-
css: avoid warnings for
image-setcontaining__VITE_ASSET__(#20520) (f1a2635) - css: empty CSS entry points should generate CSS files, not JS files (#20518) (bac9f3e)
- dev: denied request stalled when requested concurrently (#20503) (64a52e7)
-
manifest: initialize
entryCssAssetFileNamesas an empty Set (#20542) (6a46cda) - skip prepareOutDirPlugin in workers (#20556) (97d5111)
-
asset: only watch existing files for
new URL(, import.meta.url)(#20507) (1b211fd) - client: keep ping on WS constructor error (#20512) (3676da5)
- deps: update all non-major dependencies (#20537) (fc9a9d3)
- don't resolve as relative for specifiers starting with a dot (#20528) (c5a10ec)
- html: allow control character in input stream (#20483) (c12a4a7)
- merge old and new
noExternal: truecorrectly (#20502) (9ebe4a5) - deps: update all non-major dependencies (#20489) (f6aa04a)
- dev: denied requests overly (#20410) (4be5270)
-
hmr: register css deps as
type: asset(#20391) (7eac8dd) - optimizer: discover correct jsx runtime during scan (#20495) (10d48bb)
-
preview: set correct host for
resolvedUrls(#20496) (62b3e0d) - worker: resolve WebKit compat with inline workers by deferring blob URL revocation (#20460) (8033e5b)
Performance Improvements
Miscellaneous Chores
- deps: update rolldown-related dependencies (#20536) (8be2787)
- deps: update dependency parse5 to v8 (#20490) (744582d)
- format (f20addc)
- stablize
cssScopeTo(#19592) (ced1343)
Code Refactoring
- use hook filters in the worker plugin (#20527) (958cdf2)
- extract prepareOutDir as a plugin (#20373) (2c4af1f)
- extract resolve rollup options (#20375) (61a9778)
- rewrite openchrome.applescript to JXA (#20424) (7979f9d)
- use
http-proxy-3(#20402) (26d9872) - use hook filters in internal plugins (#20358) (f19c4d7)
- use hook filters in internal resolve plugin (#20480) (acd2a13)
Tests
- detect ts support via
process.features(#20544) (856d3f0) - fix unimportant errors in test-unit (#20545) (1f23554)
Beta Changelogs
7.1.0-beta.1 (2025-08-05)
7.1.0-beta.0 (2025-07-30)
v7.0.5
Bug Fixes
- deps: update all non-major dependencies (#20406) (1a1cc8a)
- remove special handling for
Accept: text/html(#20376) (c9614b9) - watch assets referenced by
new URL(, import.meta.url)(#20382) (6bc8bf6)
Miscellaneous Chores
Code Refactoring
v7.0.4
Bug Fixes
Build System
v7.0.3
Bug Fixes
- client: protect against window being defined but addEv undefined (#20359) (31d1467)
- define: replace optional values (#20338) (9465ae1)
- deps: update all non-major dependencies (#20366) (43ac73d)
Miscellaneous Chores
- deps: update dependency dotenv to v17 (#20325) (45040d4)
- deps: update dependency rolldown to ^1.0.0-beta.24 (#20365) (5ab25e7)
- use
n/prefer-node-protocolrule (#20368) (38bb268)
Code Refactoring
v7.0.2
Bug Fixes
v7.0.1
Bug Fixes
- css: skip resolving resolved paths in sass (#20300) (ac528a4)
- deps: update all non-major dependencies (#20324) (3e81af3)
- types: add a global interface for Worker (#20243) (37bdfc1)
Miscellaneous Chores
- deps: update rolldown-related dependencies (#20323) (30d2f1b)
- fix typos and grammatical errors across documentation and comments (#20337) (c1c951d)
- group commits by category in changelog (#20310) (41e83f6)
- rearrange 7.0 changelog (#20280) (eafd28a)
v7.0.0
Today, we're excited to announce the release of the next Vite major:
- Vite 7.0 announcement blog post
- Docs (translations: 简体中文, 日本語, Español, Português, 한국어, Deutsch, فارسی)
- Migration Guide
⚠ BREAKING CHANGES
-
ssr: don't access
Objectvariable in ssr transformed code (#19996) - remove
experimental.skipSsrTransformoption (#20038) - remove
HotBroadcaster(#19988) - css: always use sass compiler API (#19978)
- bump
build.targetand name itbaseline-widely-available(#20007) - bump required node version to 20.19+, 22.12+ and remove cjs build (#20032)
- css: remove sass legacy API support (#19977)
- remove deprecated
HotBroadcasterrelated types (#19987) - remove deprecated no-op type only properties (#19985)
- remove node 18 support (#19972)
- remove deprecated hook-level
enforce/transformfromtransformIndexHtmlhook (#19349) - remove deprecated splitVendorChunkPlugin (#19255)
Features
- types: use terser types from terser package (#20274) (a5799fa)
- apply some middlewares before
configurePreviewServerhook (#20224) (b989c42) - apply some middlewares before
configureServerhook (#20222) (f5cc4c0) - add base option to import.meta.glob (#20163) (253d6c6)
- add
this.meta.viteVersion(#20088) (f55bf41) - allow passing down resolved config to vite's
createServer(#19894) (c1ae9bd) - buildApp hook (#19971) (5da659d)
- build: provide names for asset entrypoints (#19912) (c4e01dc)
- bump
build.targetand name itbaseline-widely-available(#20007) (4a8aa82) - client: support opening fileURL in editor (#20040) (1bde4d2)
- make PluginContext available for Vite-specific hooks (#19936) (7063839)
- resolve environments plugins at config time (#20120) (f6a28d5)
- stabilize
css.preprocessorMaxWorkersand default totrue(#19992) (70aee13) - stabilize
optimizeDeps.noDiscovery(#19984) (6d2dcb4)
Bug Fixes
- deps: update all non-major dependencies (#20271) (6b64d63)
- keep
import.meta.urlin bundled Vite (#20235) (3bf3a8a) -
module-runner: export
ssrExportNameKey(#20266) (ac302a7) -
module-runner: expose
normalizeModuleId(#20277) (9b98dcb) - deps: update all non-major dependencies (#20181) (d91d4f7)
- deps: update all non-major dependencies (#20212) (a80339b)
- align dynamic import detection (#20115) (1ea2222)
- applyToEnvironment after configResolved (#20170) (a330b80)
- deps: update all non-major dependencies (#20141) (89ca65b)
- handle dynamic import with
.then(m => m.a)(#20117) (7b7410a) - hmr: use monotonicDateNow for timestamp (#20158) (8d26785)
-
optimizer: align relative
build.rollupOptions.inputresolution with rollup (#20080) (9759c29) -
ssr: don't access
Objectvariable in ssr transformed code (#19996) (fceff60) -
types: prefer sass-embedded types over sass types for
preprocessorOptions.sass(fix #20150) (#20166) (7db56be) - virtual svg module (#20144) (7dfcb31)
- client: render the last part of the stacktrace (#20039) (c7c1743)
-
cli: make
cleanGlobalCLIOptions()clean--force(#19999) (d4a171a) - css: remove alias exclude logic from rebaseUrl (#20100) (44c6d01)
- css: sass rebase url in relative imported modules (#20067) (261fad9)
- css: should not wrap with double quote when the url rebase feature bailed out (#20068) (a33d0c7)
- deps: update all non-major dependencies (#19953) (ac8e1fb)
- deps: update all non-major dependencies (#20061) (7b58856)
- importing an optional peer dep should throw an runtime error (#20029) (d0221cd)
- merge
environments.*.resolve.noExternalproperly (#20077) (daf4a25) - merge
server.allowedHosts: truecorrectly (#20138) (2ade756) - optimizer: non object module.exports for Node builtin modules in CJS external facade (#20048) (00ac6e4)
-
optimizer: show error when
computeEntriesfailed (#20079) (b742b46) - treat all
optimizeDeps.entriesvalues as globs (#20045) (1422395) - types: expose additional PluginContext types (#20129) (b6df9aa)
Performance Improvements
Documentation
Miscellaneous Chores
- "indentity" → "identity" in test description (#20225) (ea9aed7)
- deps: update rolldown-related dependencies (#20270) (f7377c3)
- typos in comments (#20259) (b135918)
- deps: update rolldown-related dependencies (#20182) (6172f41)
- deps: update rolldown-related dependencies (#20211) (b13b7f5)
- add a way to disable source maps when developing Vite (#20168) (3a30c0a)
- deps: update rolldown-related dependencies (#20140) (0387447)
- fix source map support when developing Vite (#20167) (279ab0d)
- use destructuring alias in buildEnvironment function (#19472) (501572a)
- declare version range for peer dependencies (#19979) (c9bfd57)
- deprecate
ResolvedConfig.createResolverand recommendcreateIdResolver(#20031) (d101d64) - fix comment for
devEnvironmentOptions.moduleRunnerTransform(#20035) (338081d) - generate dts internally by rolldown-plugin-dts (#20093) (a66afa3)
- remove deprecated splitVendorChunkPlugin (#19255) (91a92c7)
- remove node 18 support (#19972) (00b8a98)
- remove redundant word in comment (#20139) (9b2964d)
- remove unused deps (#20097) (d11ae6b)
- rename rollup to rolldown where appropriate (#20096) (306e250)
- speed up typechecking (#20131) (a357c19)
- use plugin hooks filter for
patch-typesplugin for bundling vite (#20089) (c127955) - use rolldown to bundle Vite itself (#19925) (7753b02)
- use rolldown-plugin-dts for dts bundling (#19990) (449d7f3)
Code Refactoring
- worker: set virtual file content in load hook (#20160) (0d60667)
- bump required node version to 20.19+, 22.12+ and remove cjs build (#20032) (2b80243)
- css: always use sass compiler API (#19978) (3bfe5c5)
- css: remove sass legacy API support (#19977) (6eaccc9)
- merge
src/node/publicUtils.tstosrc/node/index.ts(#20086) (999a1ed) - remove
experimental.skipSsrTransformoption (#20038) (6c3dd8e) - remove
HotBroadcaster(#19988) (cda8c94) - remove
options?.ssrsupport in clientInjectionsPlugin (#19589) (88e0076) - remove backward compat for calling internal plugins directly (#20001) (9072a72)
- remove deprecated
HotBroadcasterrelated types (#19987) (86b5e00) - remove deprecated env api properties (#19986) (52e5a1b)
- remove deprecated hook-level
enforce/transformfromtransformIndexHtmlhook (#19349) (6198b9d) - remove deprecated no-op type only properties (#19985) (9151c24)
- remove no-op
legacy.proxySsrExternalModules(#20013) (a37ac83) - ssr: remove ssrTransform line offset preservation (#19829) (61b6b96)
- use
hostValidationMiddleware(#20019) (83bf90e) - use
mergeWithDefaultsfor experimental option (#20012) (98c5741) - use hook filters from rollup (#19755) (0d18fc1)
Tests
- correct esbuild
useDefineForClassFieldstest (#20143) (d90796e) - skip writing files in build hook filter test (#20076) (bf8b07d)
Continuous Integration
Beta Changelogs
7.0.0-beta.2 (2025-06-17)
7.0.0-beta.1 (2025-06-10)
7.0.0-beta.0 (2025-06-02)
v6.3.6
Please refer to CHANGELOG.md for details.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
