What changed in Vite from 7 to 8

22 releases numbered after v7.3.8 up to and including v8.3.8, stable releases only. v7.3.8 and v8.3.8 are the newest stable releases of 7 and 8 we track; this page follows them as new ones ship.

175 changes across 22 releases · 4 landed on more than one version

Added 9

v8.3.4

  • Support `import.meta.hot.acceptExports` in bundled dev

v8.3.0

  • Avoid settling seen preload dependencies for performance in build

v8.2.2

  • Widen @vitejs/devtools peer range to v0.5.0

v8.2.0

  • Add `input` to `server.fs.allow`
  • Support worker file update accepted by HMR in bundled-dev
  • Include column in config incompatibility location
  • Resolve interface name for explicit host in network URLs

v8.1.4

  • Prefer oxc as minifier for legacy builds

v8.1.1

  • Update dynamic import warning to link to Vite docs
Changed 28

v8.3.8

  • Import sass once instead of per file to improve CSS processing performance
  • Defer net use until a UNC path is resolved on Windows to improve performance
  • Update dependency @types/node to v26
  • Enable vitest plugin in Oxlint
  • Enable vitest style rules in Oxlint
  • Use non-capturing group for external types regex in optimizer

v8.3.7

  • Enable more lint rules
  • Use onTestFinished for test tear downs
  • Generate sourcemaps in the shim-deps plugin

v8.3.6

  • Updated @rollup/plugin-alias to v6.0.1
  • Updated all non-major dependencies
  • Updated rolldown-related dependencies

v8.3.5

  • Update all non-major dependenciesalso inv8.3.4v8.1.4
  • Update rolldown-related dependenciesalso inv8.3.4v8.1.4
  • Update resolve.exports to 2.0.4

v8.3.4

  • Skip cloning call sites that have no source map in the module runner
  • Import CSS HMR helpers from `/@vite/client` in bundled dev

v8.3.3

  • Update launch-editor to v2.14.2

v8.3.2

  • Avoid encoding intermediate source maps for performance
  • Avoid quadratic link scan in the preload helper
  • Only register time middleware when debug logging is enabled
  • Use tinyexec instead of cross-spawn

v8.3.0

  • Pre-compile context matchers at server creation for proxy performance

v8.2.1

  • Look up pure CSS chunks through a Set for improved performance

v8.2.0

  • Reload once after rebuild instead of via the fallback page in bundled-dev

v8.1.4

  • Update dependency postcss-modules to v9
  • Replace deprecated `onwarn` with `onLog`

v8.1.1

  • Improve dependency optimizer messages
Fixed 133

v8.3.8

  • Emit assets referenced by inline workers during load in bundled dev mode
  • Skip native loader compatibility checks for type-only imports in config loading
  • Reject CSS entrypoints when build.cssCodeSplit is false
  • Update all non-major dependenciesalso inv8.2.2v8.1.5
  • Hide console window when running yarn config get on Windows

v8.3.7

  • Update Rolldown to v1.2.18

v8.3.6

  • Overlapping plugin container close calls are now awaited
  • Dynamic imports with queries appended are resolved when collecting CSS dependencies during build
  • Chunk import map hash signatures use stable module ids
  • Named imports from Node built-ins are allowed in bundled dev
  • Bundled dev reloads when HMR cannot run an entry again
  • ANSI escape sequences are escaped for server.forwardConsole
  • Adjacent module tags on the first line of HTML are removed
  • pnpm's .modules.yaml is ignored as a Vite Task input
  • Optimizer detects the cache directory precisely
  • Optimizer resolves subpath imports (#) with Vite's resolver
  • build.sourcemap from the environment is respected
  • Dollar sign patterns are preserved in static alias replacements
  • External require against built-in modules is converted to import for ssr.target=webworker
  • Top-level input is used for SSR build when build.ssr is true
  • Files referenced with a query or hash via new URL(..., import.meta.url) are watched
  • Chunks conflicting with unused workers are kept when still used by a live worker

v8.3.5

  • Handle missing chunk import maps in the build
  • Include preload dependencies in chunk import map hashing
  • Apply server.origin to asset URLs in bundled dev mode
  • Declare utf-8 charset in the bundled dev fallback page
  • Ignore build.chunkImportMap in bundled dev mode
  • Include user import.meta.env.* defines in the import.meta.env object in bundled dev mode
  • Map forwarded error stacks through bundle source maps in bundled dev mode
  • Normalize served output files in bundled dev mode
  • Stop HMR propagation at modules that are no longer imported in bundled dev mode
  • Avoid failing on a literal % in url() in CSS
  • Fall back to yarn.lock for the optimizer lockfile hash
  • Scan oxc.jsxInject imports in the optimizer
  • Skip patches directory check for the yarn.lock fallback in the optimizer
  • Skip patches directory hash for the nub lockfile in the optimizer
  • Support subpath imports containing multiple # characters in resolve
  • Handle socket errors on upgrade requests not taken by the HMR server
  • Only strip base when the path matches a full path segment

v8.3.4

  • Avoid mutating HMR defaults
  • Correct preloads when chunkImportMap is enabled with a non-root base
  • Wait for in-flight stylesheets in the preload helper
  • Serve `/@vite/client` and stub `@vite/env` in bundled dev
  • Skip rewriting unchanged adopted styles in the client
  • Resolve imported preprocessors from their file path when using lightningcss
  • A restart requested during a restart is no longer dropped in dev
  • Modules ending with a JS-like query are no longer treated as JS
  • Avoid adding the filesystem root to the watcher in HTML handling
  • Skip caching CSS of chunks that form a cycle
  • Scan deep imports with custom extensions in the optimizer
  • Match static aliases on path boundaries in the server
  • Normalize file before root check in `ensureWatchedFile`

v8.3.3

  • Filename passed to transformIndexHtml should not include queries
  • Check fs.serve for ?vite-wasm-instance
  • Store ids to safeModulePaths rather than URLs

v8.3.2

  • Preload CSS correctly when renderBuiltUrl returns URLs with queries
  • Serve lazy chunk sourcemaps in bundled-dev
  • Serve the rolldown runtime from the installed rolldown in bundled-dev
  • Resolve percent-encoded srcset urls in HTML
  • Limit size of object and array printing via forwardConsole
  • Merge build.rolldownOptions.output.minify correctly
  • Avoid unsupported warnings for browser:false mappings in optimize-deps
  • Preserve excluded optional peer require fallbacks in optimizer
  • Pass queries to renderBuiltUrl
  • Handle file watcher errors without crashing in server
  • Release previous environments after initialization in server
  • Encode whitespace in module runner sourceURL for SSR
  • Align worker urls in client and server when using terser

v8.3.1

  • Handle `server.ws: false` in mergeConfig
  • Merge `build.rolldownOptions.output.comments` correctly
  • Don't skip imports whose binding starts with type in optimizer
  • Resolve pending discovered dep processing on close before init in optimizer
  • Avoid reinitializing watcher when adding file after server close
  • Skip URL source roots when injecting sources content in sourcemap

v8.3.0

  • Handle CRLF line endings in code frame positions
  • Only treat whole node_modules path segments as dependencies

v8.2.2

  • Handle lazy request error in bundled-dev
  • Hot update through circular imports instead of reloading in bundled-dev
  • Resolve sourcemap paths against sourcemap location
  • Don't pass empty targets to lightningcss
  • Fix match escaped dots to support $-prefixed define keys
  • Update rolldown-related dependenciesalso inv8.1.5
  • Exclude completed modules from in-flight cycle detection in module-runner
  • Close custom extension analysis bundles in optimizer
  • Reduce Windows 8.3-short-name detection false-positives
  • Respect resolve.preserveSymlinks when resolving root
  • Rewrite computed key of destructing parameter in SSR
  • Update outdated upstream file links in license comments

v8.2.1

  • Make client chunkImportMap work with `sharedPlugins: true`
  • Inject client script tag before chunk scripts in bundled-dev
  • Don't re-run lightningcss visitor during minify
  • Don't mutate the user config when resolving the lib entry from the top-level `input`
  • Handle shebang ending with uncommon line terminators
  • Use a random port when port is 0 in server

v8.2.0

  • Print build errors to the terminal when an HMR update fails in bundledDev
  • Preserve environment snapshot during server restart
  • Interop imports injected into optimized dep files by plugins
  • Keep stack trace interception working when `Object.prototype` is frozen in module-runner
  • Strip base in indexHtml module graph lookup
  • Support resolving top-level input option with plugins

v8.1.5

  • Avoid duplicated buildEnd in bundled-dev
  • Align overlay error message format with rolldown
  • Don't crash stack-trace source mapping in module-runner when globalThis.Buffer is absent
  • Respect importer module format for dynamic import interop with CJS deps in optimizer
  • Scope switch-case declarations to the switch, not the function in SSR

v8.1.4

  • Add workaround for building on stackblitz
  • Keep `import.meta.url` in preload function as-is
  • Avoid backtracking in import-only check
  • Avoid optimizer run for transform request before init
  • Align named export function call stacktrace column with Node in SSR
  • Strip pure CSS chunk imports when chunkImportMap is enabled

v8.1.3

  • Inject inlined CSS after the shebang line
  • Bump es-module-lexer to 2.3.0
  • Preload CSS for nested dynamic imports
  • Correct stacktrace column position for first line in SSR

v8.1.2

  • revert es-module-lexer to 2.1.0
  • restore fix for resolving pnpm .modules.yaml from workspace root instead of cwd
  • revert fix for escaping ids with multiple null bytes
  • revert fix for resolving pnpm .modules.yaml from workspace root instead of cwd

v8.1.1

  • Avoid stack overflow on import.meta.hot.invalidate() in bundled dev
  • Serve assets emitted during HMR/lazy compile in bundled dev
  • Skip plugin transform hooks for rolldown-lazy stub modules in bundledDev
  • Preserve dollar signs in external @import urls with lightningcss
  • Resolve tsconfig paths in CSS and Sass @import
  • Escape ids with multiple null bytes
  • Hide console window when running 'net use' on Windows
  • Ignore bundled config temp dir
  • Invert esbuild.jsxSideEffects when converting to oxc.jsx.pure
  • Ignore ERR_CLOSED_SERVER in optimize-deps scanner
  • Scanner should resolve input from root in optimizer
  • Resolve pnpm .modules.yaml from workspace root instead of cwd
  • Return sourcemap field from some plugins that were lacking
  • Handle malformed URI in indexHtmlMiddleware on server
Removed 3

v8.3.4

  • Remove input option unescaping

v8.1.4

  • Eliminate ineffectiveDynamicImport warn

v8.1.1

  • Remove lightningcss null byte bug workaround in CSS
Security 2

v8.3.6

  • HTML attributes are escaped by the server
  • .wasm files outside server.fs are rejected

5 releases in the range carry no categorized changes yet: v8.1.7v8.2.6v8.2.5v8.1.6v8.2.4. Their original notes, where the vendor published any, are below.

Original release notes, newest first

The list above is our reading of these notes; the originals from Vite are here, one fold per release.

v8.3.8
Bug Fixes
  • build: keep magicString and ast in transform hook meta (#24012) (a3b28e8)
  • bundled-dev: emit assets referenced by inline workers during load (#23103) (5e50bae)
  • config: skip native loader compat checks for type-only imports (#24021) (e554294)
  • css: reject CSS entrypoints when build.cssCodeSplit: false (#23112) (e4ad62b)
  • deps: update all non-major dependencies (#24027) (a13aa04)
  • hide console window when running yarn config get on Windows (#24013) (3f6c4cd)
Performance Improvements
  • css: import sass once instead of per file (#24041) (db8b119)
  • defer net use until a UNC path is resolved on Windows (#24014) (b643046)
Miscellaneous Chores
Code Refactoring
  • optimizer: use non-capturing group for external types regex (#24048) (ef23433)
Tests

View originalPermalink

v8.1.7

Please refer to CHANGELOG.md for details.

View originalPermalink

v8.2.6

Please refer to CHANGELOG.md for details.

View originalPermalink

v8.2.5

Please refer to CHANGELOG.md for details.

View originalPermalink

v8.3.7
Bug Fixes
Miscellaneous Chores
Tests
Build System

View originalPermalink

v8.3.6
Bug Fixes
  • await overlapping plugin container close calls (#23935) (175bbeb)
  • build: resolve dynamic imports with queries appended when collecting CSS dependencies (#23909) (df36558)
  • build: use stable module ids in chunk import map hash signatures (fix #23975) (#23976) (8069835)
  • bundled-dev: allow named imports from Node built-ins (#23858) (4260c75)
  • bundled-dev: reload when hmr cannot run an entry again (#23849) (a236886)
  • deps: update @rollup/plugin-alias to v6.0.1 (#23862) (67c965b)
  • deps: update all non-major dependencies (#23896) (46b91c5)
  • deps: update all non-major dependencies (#23966) (b3cb057)
  • deps: update rolldown-related dependencies (#23868) (a63eb87)
  • deps: update rolldown-related dependencies (#23967) (0105733)
  • dev: escape ANSI escape sequence for server.forwardConsole (#23933) (4f340fd)
  • html: remove adjacent module tags on the first line (#23823) (eab1dc2)
  • ignore pnpm's .modules.yaml as a Vite Task input (#23634) (95c2daf)
  • optimizer: detect cache dir precisely (#23912) (cc9bc21)
  • optimizer: resolve subpath imports (#) with Vite's resolver (#23959) (0fdd81e)
  • respect build.sourcemap from environment (#23879) (82e7aa0)
  • server: escape HTML attributes (#23995) (a270391)
  • server: preserve $ patterns in static alias replacements (#23703) (1b6ed05)
  • ssr: convert external require against built-in modules to import for ssr.target=webworker (#23759) (a711f1c)
  • use top-level input for SSR build when build.ssr: true (#23898) (90bc034)
  • wasm: reject .wasm outside server.fs (#23914) (64e2467)
  • watch files that have a query or hash referenced with new URL(..., import.meta.url) (#23780) (e954a9c)
  • worker: keep chunks conflicted with unused workers that are still used by a live worker (#23956) (7139ef3)
Performance Improvements
Miscellaneous Chores
Build System
  • generate sourcemaps in import-meta-current-dirname plugin (#23904) (20d355a)

View originalPermalink

v8.3.5
Bug Fixes
  • build: handle missing chunk import maps (#23777) (8d7623d)
  • build: include preload dependencies to chunk import map hashing (#23793) (4d16e7c)
  • bundled-dev: apply server.origin to asset URLs (#23683) (52ba877)
  • bundled-dev: declare utf-8 charset in fallback page (#23846) (197daf6)
  • bundled-dev: ignore build.chunkImportMap (#23685) (cfe917d)
  • bundled-dev: include user import.meta.env.* defines in the import.meta.env object (#23713) (6019aa7)
  • bundled-dev: map forwarded error stacks through the bundle source maps (#23741) (11fe1e4)
  • bundled-dev: normalize served output files (#23684) (df4e02c)
  • bundled-dev: stop hmr propagation at modules that are no longer imported (#23839) (7471e8c)
  • css: don't fail on a literal % in url() (#23676) (50b382d)
  • deps: update all non-major dependencies (#23731) (cf80aa5)
  • deps: update all non-major dependencies (#23826) (77d8373)
  • deps: update rolldown-related dependencies (#23733) (43f0d05)
  • deps: update rolldown-related dependencies (#23827) (c2e0418)
  • optimizer: fall back to yarn.lock for lockfile hash (#23667) (f206096)
  • optimizer: scan oxc.jsxInject imports (#23758) (38f3cb4)
  • optimizer: skip patches dir check for yarn.lock fallback (#23725) (8e890e1)
  • optimizer: skip patches dir hash for nub lockfile (#23761) (a7d5696)
  • resolve: support subpath imports with multiple # (#23631) (0d86b34)
  • resolve: update resolve.exports to 2.0.4 (#23739) (4ea708a)
  • server: handle socket errors on upgrade requests not taken by the HMR server (#23728) (c2c9ef4)
  • server: only strip base when path matches a full segment (#23641) (3dfde87)
Performance Improvements
  • ssr: extract inline source maps without a regexp (#23775) (6a02780)
Miscellaneous Chores
Code Refactoring
  • deps: replace @vercel/detect-agent with std-env (#23744) (ce4293f)
  • dev: consolidate moduleURL to file path utilities (#23828) (df7b40e)
  • dev: separate import resolution from URL conversion (#23791) (6116689)
  • dev: share ModuleURL and BrowserURL conversions (#23790) (446954c)
  • dev: use ModuleURLs throughout HTML transforms (#23815) (a162990)

View originalPermalink

v8.3.4
Features
  • bundled-dev: support import.meta.hot.acceptExports (#23463) (bc0f21c)
Bug Fixes
  • avoid mutating hmr defaults (fix #23575) (#23576) (574d5e3)
  • build: correct preloads when chunkImportMap is enabled with non-root base (#23698) (2a8c0f0)
  • build: wait for in-flight stylesheets in preload helper (fix #23652) (#23662) (036b745)
  • bundled-dev: serve /@vite/client and stub @vite/env (#23664) (5afc5a8)
  • client: skip rewriting unchanged adopted styles (#23697) (fa71469)
  • css: resolve imported preprocessors from their file path with lightningcss (#23688) (cf52011)
  • deps: update all non-major dependencies (#23648) (8a4c19c)
  • deps: update rolldown-related dependencies (#23649) (794516d)
  • dev: a restart requested during a restart used to be dropped (fix #23392) (#23484) (70d56ea)
  • don't treat modules ending with js-like query as js (#23687) (fcb6f12)
  • html: avoid adding filesystem root to watcher (#23689) (3a7f2ae)
  • html: skip caching CSS of chunks in a cycle (fix #23628) (#23636) (15d82f7)
  • optimizer: scan deep imports with custom extensions (#23678) (8579189)
  • remove input option unescaping for now (#23694) (facc2fb)
  • server: match static aliases on path boundaries (#23643) (b28db28)
  • watcher: normalize file before root check in ensureWatchedFile (#23673) (12bb28c)
Performance Improvements
  • module-runner: skip cloning call sites that have no source map (#23646) (3d67486)
Code Refactoring
  • bundled-dev: import CSS HMR helpers from /@vite/client (#23674) (182f5b2)

View originalPermalink

v8.1.6

Please refer to CHANGELOG.md for details.

View originalPermalink

v8.2.4

Please refer to CHANGELOG.md for details.

View originalPermalink

v8.3.3
Bug Fixes
  • deps: update launch-editor to v2.14.2 (#23654) (22fd1d5)
  • html: filename passed to transformIndexHtml should not include queries (#23653) (7dafd8e)
  • server: check fs.serve for ?vite-wasm-instance (#23655) (ba8b7ab)
  • server: store ids to safeModulePaths rather than URLs (#23656) (c3e06f9)

View originalPermalink

v8.3.2
Bug Fixes
  • build: preload CSS correctly when renderBuiltUrl returns URLs with queries (#23611) (64e0a21)
  • bundled-dev: serve lazy chunk sourcemaps (#23026) (eb7aa9a)
  • bundled-dev: serve the rolldown runtime from the installed rolldown (#23568) (bc598a6)
  • deps: update all non-major dependencies (#23601) (9944fa6)
  • deps: update rolldown-related dependencies (#23602) (88c1741)
  • html: resolve percent-encoded srcset urls (#23609) (53f1ce7)
  • limit size of object and array printing via forwardConsole (#23565) (e64a587)
  • merge build.rolldownOptions.output.minify correctly (#23536) (bba3bb8)
  • optimize-deps: avoid "unsupported" warnings for browser:false mappings (#23590) (5e4b9ca)
  • optimizer: preserve excluded optional peer require fallbacks (#23600) (a2bd6fa)
  • pass queries to renderBuiltUrl (#23586) (744269e)
  • server: handle file watcher errors without crashing (#23503) (6894f5c)
  • server: release previous environments after initialization (#23499) (5a3a010)
  • ssr: encode whitespace in module runner sourceURL (#23513) (bbc8812)
  • worker: align worker urls in client and server when using terser (#23614) (24bd331)
Performance Improvements
  • avoid encoding intermediate source maps (#23461) (89574f6)
  • build: avoid quadratic link scan in the preload helper (#23510) (cf5c028)
  • only register time middleware when debug logging is enabled (#23621) (94d0080)
Documentation
  • fix dead og-image PNG links in vite6/vite7 changelog entries (#23594) (1929b4c)
Miscellaneous Chores
Code Refactoring
Tests
  • bundled-dev: accept a rolldown dev runtime with no helper imports (#23606) (634745d)

View originalPermalink

v8.3.1
Bug Fixes
  • deps: update all non-major dependencies (#23482) (3c752c8)
  • deps: update all non-major dependencies (#23537) (e8990c4)
  • deps: update rolldown-related dependencies (#23483) (9aecbbf)
  • handle server.ws: false in mergeConfig (#23511) (f68c0d5)
  • merge build.rolldownOptions.output.comments correctly (#23514) (4aba8d8)
  • optimizer: don't skip imports whose binding starts with type (#23540) (39330f4)
  • optimizer: resolve pending discovered dep processing on close before init (#23567) (5f89433)
  • server: avoid reinitializing watcher when adding file after server close (#23572) (6f831f9)
  • sourcemap: skip URL source roots when injecting sources content (#23519) (04fc30a)
Miscellaneous Chores
Code Refactoring

View originalPermalink

v8.3.0
Features
  • build: avoid settling seen preload dependencies for performance (#23446) (e6f6b3e)
Bug Fixes
  • handle CRLF line endings in code frame positions (#23219) (9913672)
  • only treat whole node_modules path segments as dependencies (fix #17467) (#23437) (ef0dc17)
Performance Improvements
  • proxy: pre-compile context matchers at server creation (#23263) (8abf700)

View originalPermalink

v8.2.2
Features
  • deps: widen @vitejs/devtools peer range to v0.5.0 (#23302) (495d9ff)
Bug Fixes
  • bundled-dev: handle lazy request error (#23291) (3ba026d)
  • bundled-dev: hot update through circular imports instead of reloading (#23259) (3dbddef)
  • config: resolve sourcemap paths against sourcemap location (#23239) (05a003e)
  • css: don't pass empty targets to lightningcss (#23295) (2804636)
  • define: fix match escaped dots to support $-prefixed define keys (#23249) (dcf88bd)
  • deps: update all non-major dependencies (#23217) (ba958bd)
  • deps: update rolldown-related dependencies (#23218) (83ecb2c)
  • module-runner: exclude completed modules from in-flight cycle detection (fix #22999) (#23009) (d9b10a9)
  • optimizer: close custom extension analysis bundles (#23207) (8fb7675)
  • reduce Windows 8.3-short-name detection false-positives (#23066) (02cffa9)
  • respect resolve.preserveSymlinks when resolving root (fix #23197) (#23198) (8413052)
  • ssr: rewrite computed key of destructing parameter (#23307) (9db0b61)
  • vite: update outdated upstream file links in license comments (#23285) (c0f2fc6)
Documentation
Miscellaneous Chores
Code Refactoring
  • use JSON import attributes instead of readFileSync in constants (#23258) (1d9fa39)
  • use named regex constants over inline literals (#22964) (5c1c6c6)
Tests
  • define: close rolldown bundler after generate (#23231) (b4d66fe)
  • module-runner: add TLA circular import case (#23299) (4a261f2)
  • module-runner: simplify server-hmr tests (#23300) (599b44b)
  • ssr: add destructing assignment case for moduleRunnerTransform (#23308) (cb77e2a)
Build System
  • use JSON import attributes instead of readFIleSync in rolldown configs (#23251) (d615bcd)

View originalPermalink

v8.2.1
Bug Fixes
  • build: make client chunkImportMap work with sharedPlugins: true (#23184) (15f0307)
  • bundled-dev: inject client script tag before chunk scripts (#23161) (eac0cc8)
  • css: don't re-run lightningcss visitor during minify (fix #23146) (#23147) (de041a7)
  • deps: update all non-major dependencies (#23136) (14454fd)
  • deps: update rolldown-related dependencies (#23070) (7ac6f7f)
  • don't mutate the user config when resolving the lib entry from the top-level input (#23135) (b4bf596)
  • handle shebang ending with uncommon line terminators (#23038) (17f7b2f)
  • server: use a random port when port is 0 (#23158) (fddf4ea)
Performance Improvements
Documentation
  • build: fix incomplete @default for build.minify (#23177) (ef02435)
Miscellaneous Chores
  • deps: update dependency rolldown-plugin-dts to ^0.28.0 (#23137) (4adc1e7)
  • deps: update dependency strip-literal to v4 (#23140) (9db65ce)
Code Refactoring
  • bundled-dev: avoid injecting server values in the bundle (#22967) (23b8a08)
  • bundled-dev: remove rolldown lazy stub module workaround (#23129) (e72036e)
Tests

View originalPermalink

v8.2.0
Features
  • add input to server.fs.allow (#23035) (95a3cda)
  • bundled-dev: reload once after rebuild instead of via the fallback page (#23106) (b24381d)
  • bundled-dev: support worker file update accepted by HMR (#23068) (0d04351)
  • config: include column in config incompatibility location (#23064) (8a24572)
  • dev: resolve interface name for explicit host in network URLs (#22965) (3ac77d9)
Bug Fixes
  • bundledDev: print build errors to the terminal when an HMR update fails (#23024) (41c4658)
  • deps: update all non-major dependencies (#23069) (4c07b74)
  • hmr: preserve environment snapshot during server restart (#22992) (b1186c3)
  • importAnalysis: interop imports injected into optimized dep files by plugins (#23029) (8c2a87d)
  • module-runner: keep stack trace interception working when Object.prototype is frozen (#23073) (599c5b0)
  • server: strip base in indexHtml module graph lookup (#22932) (fa005d1)
  • support resolving top-level input option with plugins (#23101) (41df81a)
Documentation
  • config: correct cacheDir default fallback description (#23060) (aafa103)
Tests

View originalPermalink

v8.1.5
Bug Fixes
  • bundled-dev: avoid duplicated buildEnd (#22931) (8100320)
  • client: overlay error message format align rolldown (#22869) (5a72b87)
  • deps: update all non-major dependencies (#22921) (fef682d)
  • deps: update rolldown-related dependencies (#22922) (3c345e4)
  • module-runner: don't crash stack-trace source mapping when globalThis.Buffer is absent (#22945) (f8b38e3)
  • optimizer: respect importer module format for dynamic import interop with CJS deps (#22951) (6c08c39)
  • ssr: scope switch-case declarations to the switch, not the function (#22893) (b59a73f)
Documentation
  • build: fix incorrect @default for build.cssMinify (#22948) (c88c236)
  • build: fix incorrect @default for build.lib.formats (#22911) (369ed60)
Tests
  • avoid scanner scanning all files under __tests__ (#22912) (c961cae)

View originalPermalink

v8.1.4
Features
Bug Fixes
  • build: add workaround for building on stackblitz (#22840) (575c32c)
  • build: keep import.meta.url in preload function as-is (#22839) (f1f90ed)
  • deps: update all non-major dependencies (#22865) (d4295a9)
  • deps: update rolldown-related dependencies (#22866) (7cf07e4)
  • html: avoid backtracking in import-only check (#22848) (b5868c0)
  • optimizer: avoid optimizer run for transform request before init (#22852) (72a5e21)
  • ssr: align named export function call stacktrace column with Node (#22829) (173a1b6)
  • strip pure CSS chunk imports when chunkImportMap is enabled (#22841) (648bd04)
Documentation
Miscellaneous Chores
  • deps: update dependency postcss-modules to v9 (#22867) (a9539d6)
Code Refactoring
Tests
Build System

View originalPermalink

v8.1.3
Bug Fixes

View originalPermalink

v8.1.2
Bug Fixes
  • deps: revert es-module-lexer to 2.1.0 (#22827) (0d3bd7c)
  • restore, "fix: resolve pnpm .modules.yaml from workspace root instead of cwd (#22757)" (#22825) (efb98cc)
  • revert, "fix: escape ids with multiple null bytes (#22687)" (cccef55)
  • revert, "fix: resolve pnpm .modules.yaml from workspace root instead of cwd (#22757)" (cf97711)

View originalPermalink

v8.1.1
Features
  • update dynamic import warning to link to Vite docs (#22823) (62bd7af)
Bug Fixes
  • bundled-dev: avoid stack overflow on import.meta.hot.invalidate() (#22797) (709eb8e)
  • bundled-dev: serve assets emitted during HMR/lazy compile (#22745) (5876b2c)
  • bundledDev: skip plugin transform hooks for rolldown-lazy stub modules (#22778) (8f925e2)
  • css: preserve dollar signs in external @import urls with lightningcss (#22718) (9fa7ab4)
  • css: resolve tsconfig paths in CSS and Sass @import (#22775) (ef0b891)
  • deps: update all non-major dependencies (#22734) (e635f49)
  • deps: update all non-major dependencies (#22804) (8837400)
  • deps: update rolldown-related dependencies (#22591) (2ce6677)
  • escape ids with multiple null bytes (#22687) (833fc30)
  • hide console window when running 'net use' on Windows (#22698) (92b63f2)
  • ignore bundled config temp dir (#22800) (043a810)
  • invert esbuild.jsxSideEffects when converting to oxc.jsx.pure (#22809) (33895ba)
  • optimize-deps: ignore ERR_CLOSED_SERVER in scanner (#22784) (085a0ab)
  • optimizer: scanner should resolve input from root (#22769) (9722b07)
  • resolve pnpm .modules.yaml from workspace root instead of cwd (#22757) (2531ac7)
  • return sourcemap field from some plugins that were lacking (#22782) (7e18bf8)
  • server: handle malformed URI in indexHtmlMiddleware (#22781) (84f5ccc)
Miscellaneous Chores
Code Refactoring
  • css: remove lightningcss null byte bug workaround (#22822) (2dafd3b)
  • use pre-defined environments variable to avoid duplicate Object.values calls (#22790) (1113acf)
Tests
  • enable "manual chunk path" test and remove "worker.format error" test (#22824) (c088511)

View originalPermalink