chore(deps): update dependency vite to v6.3.5
This MR contains the following updates:
Package | Change | Age | Confidence |
---|---|---|---|
vite (source) | 6.3.1 -> 6.3.5 |
Release Notes
vitejs/vite (vite)
v6.3.5
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
Object
variable in ssr transformed code (#19996) - remove
experimental.skipSsrTransform
option (#20038) - remove
HotBroadcaster
(#19988) - css: always use sass compiler API (#19978)
- bump
build.target
and 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
HotBroadcaster
related types (#19987) - remove deprecated no-op type only properties (#19985)
- remove node 18 support (#19972)
- remove deprecated hook-level
enforce
/transform
fromtransformIndexHtml
hook (#19349) - remove deprecated splitVendorChunkPlugin (#19255)
Features
- types: use terser types from terser package (#20274) (a5799fa)
- apply some middlewares before
configurePreviewServer
hook (#20224) (b989c42) - apply some middlewares before
configureServer
hook (#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.target
and 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.preprocessorMaxWorkers
and default totrue
(#19992) (70aee13) - stabilize
optimizeDeps.noDiscovery
(#19984) (6d2dcb4)
Bug Fixes
- deps: update all non-major dependencies (#20271) (6b64d63)
- keep
import.meta.url
in 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.input
resolution with rollup (#20080) (9759c29) -
ssr: don't access
Object
variable 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.noExternal
properly (#20077) (daf4a25) - merge
server.allowedHosts: true
correctly (#20138) (2ade756) - optimizer: non object module.exports for Node builtin modules in CJS external facade (#20048) (00ac6e4)
-
optimizer: show error when
computeEntries
failed (#20079) (b742b46) - treat all
optimizeDeps.entries
values 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.createResolver
and 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-types
plugin 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.ts
tosrc/node/index.ts
(#20086) (999a1ed) - remove
experimental.skipSsrTransform
option (#20038) (6c3dd8e) - remove
HotBroadcaster
(#19988) (cda8c94) - remove
options?.ssr
support in clientInjectionsPlugin (#19589) (88e0076) - remove backward compat for calling internal plugins directly (#20001) (9072a72)
- remove deprecated
HotBroadcaster
related types (#19987) (86b5e00) - remove deprecated env api properties (#19986) (52e5a1b)
- remove deprecated hook-level
enforce
/transform
fromtransformIndexHtml
hook (#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
mergeWithDefaults
for experimental option (#20012) (98c5741) - use hook filters from rollup (#19755) (0d18fc1)
Tests
- correct esbuild
useDefineForClassFields
test (#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.4
Bug Fixes
- check static serve file inside sirv (#19965) (c22c43d)
-
optimizer: return plain object when using
require
to import externals in optimized dependencies (#19940) (efc5eab)
Code Refactoring
v6.3.3
Bug Fixes
- assets: ensure ?no-inline is not included in the asset url in the production environment (#19496) (16a73c0)
- css: resolve relative imports in sass properly on Windows (#19920) (ffab442)
- deps: update all non-major dependencies (#19899) (a4b500e)
- ignore malformed uris in tranform middleware (#19853) (e4d5201)
- ssr: fix execution order of re-export (#19841) (ed29dee)
- ssr: fix live binding of default export declaration and hoist exports getter (#19842) (80a91ff)
Performance Improvements
Tests
v6.3.2
Features
Bug Fixes
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate