Skip to content

Latest commit

 

History

History
1133 lines (837 loc) · 127 KB

File metadata and controls

1133 lines (837 loc) · 127 KB

7.0.4 (2025-07-10)

Bug Fixes

  • allow resolving bare specifiers to relative paths for entries (#20379) (324669c)

Build System

7.0.3 (2025-07-08)

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

Code Refactoring

  • minor changes to reduce diff between normal Vite and rolldown-vite (#20354) (2e8050e)

7.0.2 (2025-07-04)

Bug Fixes

7.0.1 (2025-07-03)

Bug Fixes

Miscellaneous Chores

7.0.0 (2025-06-24)

Vite 7 is out!

Today, we're excited to announce the release of the next Vite major:

⚠ 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 it baseline-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 from transformIndexHtml hook (#19349)
  • remove deprecated splitVendorChunkPlugin (#19255)

Features

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

Code Refactoring

Tests

Continuous Integration

Beta Changelogs

7.0.0-beta.2 (2025-06-17)

See 7.0.0-beta.2 changelog

7.0.0-beta.1 (2025-06-10)

See 7.0.0-beta.1 changelog

7.0.0-beta.0 (2025-06-02)

See 7.0.0-beta.0 changelog

6.3.5 (2025-05-05)

Bug Fixes

  • ssr: handle uninitialized export access as undefined (#19959) (fd38d07)

6.3.4 (2025-04-30)

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

6.3.3 (2025-04-24)

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

  • skip sourcemap generation for renderChunk hook of import-analysis-build plugin (#19921) (55cfd04)

Tests

  • ssr: test ssrTransform re-export deps and test stacktrace with first line (#19629) (9399cda)

6.3.2 (2025-04-18)

Features

Bug Fixes

  • css: respect css.lightningcss option in css minification process (#19879) (b5055e0)
  • deps: update all non-major dependencies (#19698) (bab4cb9)
  • match default asserts case insensitive (#19852) (cbdab1d)
  • open first url if host does not match any urls (#19886) (6abbdce)

6.3.1 (2025-04-17)

Bug Fixes

  • avoid using Promise.allSettled in preload function (#19805) (35c7f35)
  • backward compat for internal plugin transform calls (#19878) (a152b7c)

6.3.0 (2025-04-16)

Bug Fixes

  • hmr: avoid infinite loop happening with hot.invalidate in circular deps (#19870) (d4ee5e8)
  • preview: use host url to open browser (#19836) (5003434)

6.3.0-beta.2 (2025-04-11)

Bug Fixes

  • addWatchFile doesn't work if base is specified (fixes #19792) (#19794) (8bed1de)
  • correct the behavior when multiple transform filter options are specified (#19818) (7200dee)
  • css: remove empty chunk imports correctly when chunk file name contained special characters (#19814) (b125172)
  • dev: make query selector regexes more inclusive (fix #19213) (#19767) (f530a72)
  • fs check with svg and relative paths (#19782) (62d7e81)
  • hmr: run HMR handler sequentially (#19793) (380c10e)
  • keep entry asset files imported by other files (#19779) (2fa1495)
  • module-runner: allow already resolved id as entry (#19768) (e2e11b1)
  • reject requests with # in request-target (#19830) (175a839)
  • types: remove the keepProcessEnv from the DefaultEnvironmentOptions type (#19796) (36935b5)
  • unbundle fdir to fix commonjsOptions.dynamicRequireTargets (#19791) (71227be)

Performance Improvements

Documentation

  • vite: fix description of transformIndexHtml hook (#19799) (a0e1a04)

Miscellaneous Chores

Code Refactoring

Tests

6.3.0-beta.1 (2025-04-03)

Features

  • env: add false option for envDir to disable env loading (#19503) (bca89e1)
  • types: make CustomPluginOptionsVite backward compatible (#19760) (821edf1)

Bug Fixes

  • align plugin hook filter behavior with pluginutils (#19736) (0bbdd2c)
  • fs check in transform middleware (#19761) (5967313)
  • hmr: throw non-standard error info causes logical error (#19776) (6b648c7)

Performance Improvements

Miscellaneous Chores

6.3.0-beta.0 (2025-03-26)

Features

Bug Fixes

Miscellaneous Chores

Code Refactoring

6.2.2 (2025-03-14)

Features

Bug Fixes

  • await client buildStart on top level buildStart (#19624) (b31faab)
  • css: inline css correctly for double quote use strict (#19590) (d0aa833)
  • deps: update all non-major dependencies (#19613) (363d691)
  • indexHtml: ensure correct URL when querying module graph (#19601) (dc5395a)
  • preview: use preview https config, not server (#19633) (98b3160)
  • ssr: use optional chaining to prevent "undefined is not an object" happening in ssrRewriteStacktrace (#19612) (4309755)

Miscellaneous Chores

  • extend commit hash correctly when ambigious with a non-commit object (#19600) (89a6287)

6.2.1 (2025-03-07)

Features

  • add *?url&no-inline type and warning for .json?inline / .json?no-inline (#19566) (c0d3667)

Bug Fixes

  • css: stabilize css module hashes with lightningcss in dev mode (#19481) (92125b4)
  • deps: update all non-major dependencies (#19555) (f612e0f)
  • reporter: fix incorrect bundle size calculation with non-ASCII characters (#19561) (437c0ed)
  • sourcemap: combine sourcemaps with multiple sources without matched source (#18971) (e3f6ae1)
  • ssr: named export should overwrite export all (#19534) (2fd2fc1)

Performance Improvements

Miscellaneous Chores

  • css: move environment destructuring after condition check (#19492) (c9eda23)
  • html: remove unnecessary value check (#19491) (797959f)

Code Refactoring

Tests

6.2.0 (2025-02-25)

Bug Fixes

  • deps: update all non-major dependencies (#19501) (c94c9e0)
  • worker: string interpolation in dynamic worker options (#19476) (07091a1)

Miscellaneous Chores

6.2.0-beta.1 (2025-02-21)

Bug Fixes

  • css: temporary add ?. after this.getModuleInfo in vite:css-post (#19478) (12b0b8a)

6.2.0-beta.0 (2025-02-21)

Features

Miscellaneous Chores

6.1.1 (2025-02-19)

Features

Bug Fixes

Miscellaneous Chores

Code Refactoring

6.1.0 (2025-02-05)

Features

Bug Fixes

  • avoid builtStart during vite optimize (#19356) (fdb36e0)
  • build: fix stale build manifest on watch rebuild (#19361) (fcd5785)
  • allow expanding env vars in reverse order (#19352) (3f5f2bd)
  • avoid packageJson without name in resolveLibCssFilename (#19324) (f183bdf)
  • html: fix css disorder when building multiple entry html (#19143) (e7b4ba3)
  • css: less [@plugin](https://github.com/plugin) imports of JS files treated as CSS and rebased (fix #19268) (#19269) (602b373)
  • deps: update all non-major dependencies (#19296) (2bea7ce)
  • don't call buildStart hooks for vite optimize (#19347) (19ffad0)
  • don't call next middleware if user sent response in proxy.bypass (#19318) (7e6364d)
  • resolve: preserve hash/search of file url (#19300) (d1e1b24)
  • resolve: warn if node-like builtin was imported when resolve.builtin is empty (#19312) (b7aba0b)
  • respect top-level server.preTransformRequests (#19272) (12aaa58)
  • ssr: fix transform error due to export all id scope (#19331) (e28bce2)
  • ssr: pretty print plugin error in ssrLoadModule (#19290) (353c467)
  • use nodeLikeBuiltins for ssr.target: 'webworker' without noExternal: true (#19313) (9fc31b6)
  • change ResolvedConfig type to interface to allow extending it (#19210) (bc851e3)
  • correctly resolve hmr dep ids and fallback to url (#18840) (b84498b)
  • deps: update all non-major dependencies (#19190) (f2c07db)
  • hmr: register inlined assets as a dependency of CSS file (#18979) (eb22a74)
  • make --force work for all environments (#18901) (51a42c6)
  • resolve: support resolving TS files by JS extension specifiers in JS files (#18889) (612332b)
  • ssr: combine empty source mappings (#19226) (ba03da2)
  • use loc.file from rollup errors if available (#19222) (ce3fe23)
  • utils: clone RegExp values with new RegExp instead of structuredClone (fix #19245, fix #18875) (#19247) (56ad2be)

Performance Improvements

Documentation

Code Refactoring

Miscellaneous Chores

Beta Changelogs

6.1.0-beta.2 (2025-02-04)

See 6.1.0-beta.2 changelog

6.1.0-beta.1 (2025-02-04)

See 6.1.0-beta.1 changelog

6.1.0-beta.0 (2025-01-24)

See 6.1.0-beta.0 changelog

6.0.11 (2025-01-21)

Bug Fixes

  • preview.allowedHosts with specific values was not respected (#19246) (aeb3ec8)
  • allow CORS from loopback addresses by default (#19249) (3d03899)

6.0.10 (2025-01-20)

Bug Fixes

6.0.9 (2025-01-20)

⚠ BREAKING CHANGES

  • check host header to prevent DNS rebinding attacks and introduce server.allowedHosts
  • default server.cors: false to disallow fetching from untrusted origins

Bug Fixes

  • check host header to prevent DNS rebinding attacks and introduce server.allowedHosts (bd896fb)
  • default server.cors: false to disallow fetching from untrusted origins (b09572a)
  • verify token for HMR WebSocket connection (029dcd6)

6.0.8 (2025-01-20)

Bug Fixes

  • avoid SSR HMR for HTML files (#19193) (3bd55bc)
  • build time display 7m 60s (#19108) (cf0d2c8)
  • deps: update all non-major dependencies (#19098) (8639538)
  • don't resolve URL starting with double slash (#19059) (35942cd)
  • ensure server.close() only called once (#19204) (db81c2d)
  • optimizer: use correct default install state path for yarn PnP (#19119) (e690d8b)
  • resolve.conditions in ResolvedConfig was defaultServerConditions (#19174) (ad75c56)
  • tree shake stringified JSON imports (#19189) (f2aed62)
  • types: improve ESBuildOptions.include / exclude type to allow readonly (string | RegExp)[] (#19146) (ea53e70)
  • use shared sigterm callback (#19203) (47039f4)

Miscellaneous Chores

6.0.7 (2025-01-02)

Features

Bug Fixes

  • fix minify when builder.sharedPlugins: true (#19025) (f7b1964)
  • html: error while removing vite-ignore attribute for inline script (#19062) (a492253)
  • skip the plugin if it has been called before with the same id and importer (#19016) (b178c90)
  • ssr: fix semicolon injection by ssr transform (#19097) (1c102d5)

Performance Improvements

6.0.6 (2024-12-26)

Bug Fixes

  • css: resolve style tags in HTML files correctly for lightningcss (#19001) (afff05c)
  • css: show correct error when unknown placeholder is used for CSS modules pattern in lightningcss (#19070) (9290d85)
  • replace runner-side path normalization with fetchModule-side resolve (#18361) (9f10261)
  • resolve: handle package.json with UTF-8 BOM (#19000) (902567a)
  • ssrTransform: preserve line offset when transforming imports (#19004) (1aa434e)

Reverts

Miscellaneous Chores

Tests

6.0.5 (2024-12-20)

Bug Fixes

6.0.4 (2024-12-19)

Bug Fixes

  • this.resolve skipSelf should not skip for different id or import (#18903) (4727320)
  • css: escape double quotes in url() when lightningcss is used (#18997) (3734f80)
  • css: root relative import in sass modern API on Windows (#18945) (c4b532c)
  • css: skip non css in custom sass importer (#18970) (21680bd)
  • deps: update all non-major dependencies (#18967) (d88d000)
  • deps: update all non-major dependencies (#18996) (2b4f115)
  • fallback terser to main thread when function options are used (#18987) (12b612d)
  • merge client and ssr values for pluginContainer.getModuleInfo (#18895) (258cdd6)
  • optimizer: keep NODE_ENV as-is when keepProcessEnv is true (#18899) (8a6bb4e)
  • ssr: recreate ssrCompatModuleRunner on restart (#18973) (7d6dd5d)

Miscellaneous Chores

  • better validation error message for dts build (#18948) (63b82f1)
  • deps: update all non-major dependencies (#18916) (ef7a6a3)
  • deps: update dependency @rollup/plugin-node-resolve to v16 (#18968) (62fad6d)

Code Refactoring

  • make internal invoke event to use the same interface with handleInvoke (#18902) (27f691b)
  • simplify manifest plugin code (#18890) (1bfe21b)

Tests

6.0.3 (2024-12-05)

Bug Fixes

  • config: bundle files referenced with imports field (#18887) (2b5926a)
  • config: make stacktrace path correct when sourcemap is enabled (#18833) (20fdf21)
  • css: rewrite url when image-set and url exist at the same time (#18868) (d59efd8)
  • deps: update all non-major dependencies (#18853) (5c02236)
  • handle postcss load unhandled rejections (#18886) (d5fb653)
  • html: allow unexpected question mark in tag name (#18852) (1b54e50)
  • make handleInvoke interface compatible with invoke (#18876) (a1dd396)
  • make result interfaces for ModuleRunnerTransport[#invoke](https://github.com/vitejs/vite/issues/invoke) more explicit (#18851) (a75fc31)
  • merge environments.ssr.resolve with root ssr config (#18857) (3104331)
  • module-runner: decode uri for file url passed to import (#18837) (88e49aa)
  • no permission to create vite config file (#18844) (ff47778)
  • remove CSS import in CJS correctly in some cases (#18885) (690a36f)

Miscellaneous Chores

  • fix duplicate attributes issue number in comment (#18860) (ffee618)

Code Refactoring

  • fix logic errors found by no-unnecessary-condition rule (#18891) (ea802f8)

6.0.2 (2024-12-02)

Features

Bug Fixes

  • css: referencing aliased svg asset with lightningcss enabled errored (#18819) (ae68958)
  • don't store temporary vite config file in node_modules if deno (#18823) (a20267b)
  • manifest: use style.css as a key for the style file for cssCodesplit: false (#18820) (ec51115)
  • optimizer: resolve all promises when cancelled (#18826) (d6e6194)
  • resolve: don't set builtinModules to external by default (#18821) (2250ffa)
  • ssr: set ssr.target: 'webworker' defaults as fallback (#18827) (b39e696)

Miscellaneous Chores

Code Refactoring

  • make properties of ResolvedServerOptions and ResolvedPreviewOptions required (#18796) (51a5569)

6.0.1 (2024-11-27)

Bug Fixes

  • default empty server proxy prevents starting http2 server (#18788) (bbaf514)
  • manifest: do not override existing js manifest entry (#18776) (3b0837e)
  • server: close _ssrCompatModuleRunner on server close (#18784) (9b4c410)
  • server: skip hot channel client normalization for wsServer (#18782) (cc7670a)
  • worker: fix applyToEnvironment hooks on worker build (#18793) (0c6cdb0)

Reverts

Miscellaneous Chores

6.0.0 (2024-11-26)

Vite 6 is out!

Today, we're taking another big step in Vite's story. The Vite team, contributors, and ecosystem partners are excited to announce the release of the next Vite major:

We want to thank the more than 1K contributors to Vite Core and the maintainers and contributors of Vite plugins, integrations, tools, and translations that have helped us craft this new major. We invite you to get involved and help us improve Vite for the whole ecosystem. Learn more at our Contributing Guide.

⚠ BREAKING CHANGES

  • drop node 21 support in version ranges (#18729)
  • deps: update dependency dotenv-expand to v12 (#18697)
  • resolve: allow removing conditions (#18395)
  • html: support more asset sources (#11138)
  • remove fs.cachedChecks option (#18493)
  • proxy bypass with WebSocket (#18070)
  • css: remove default import in ssr dev (#17922)
  • lib: use package name for css output file name (#18488)
  • update to chokidar v4 (#18453)
  • support file:// resolution (#18422)
  • deps: update postcss-load-config to v6 (#15235)
  • css: change default sass api to modern/modern-compiler (#17937)
  • css: load postcss config within workspace root only (#18440)
  • default build.cssMinify to 'esbuild' for SSR (#15637)
  • json: add json.stringify: 'auto' and make that the default (#18303)
  • bump minimal terser version to 5.16.0 (#18209)
  • deps: migrate fast-glob to tinyglobby (#18243)

Features

Bug Fixes

  • createRunnableDevEnvironment returns RunnableDevEnvironment, not DevEnvironment (#18673) (74221c3)
  • getModulesByFile should return a serverModule (#18715) (b80d5ec)
  • catch error in full reload handler (#18713) (a10e741)
  • client: overlay not appearing when multiple vite clients were loaded (#18647) (27d70b5)
  • deps: update all non-major dependencies (#18691) (f005461)
  • deps: update dependency dotenv-expand to v12 (#18697) (0c658de)
  • display pre-transform error details (#18764) (554f45f)
  • exit code on SIGTERM (#18741) (cc55e36)
  • expose missing InterceptorOptions type (#18766) (6252c60)
  • html: fix inline proxy modules invalidation (#18696) (8ab04b7)
  • log error when send in module runner failed (#18753) (ba821bb)
  • module-runner: make evaluator optional (#18672) (fd1283f)
  • optimizer: detect npm / yarn / pnpm dependency changes correctly (#17336) (#18560) (818cf3e)
  • optimizer: trigger onCrawlEnd after manual included deps are registered (#18733) (dc60410)
  • optimizer: workaround firefox's false warning for no sources source map (#18665) (473424e)
  • ssr: replace __vite_ssr_identity__ with (0, ...) and inject ; between statements (#18748) (94546be)
  • cjs build for perEnvironmentState et al (#18656) (95c4b3c)
  • html: externalize rollup.external scripts correctly (#18618) (55461b4)
  • include more modules to prefix-only module list (#18667) (5a2103f)
  • ssr: format ssrTransform parse error (#18644) (d9be921)
  • ssr: preserve fetchModule error details (#18626) (866a433)
  • browser field should not be included by default for consumer: 'server' (#18575) (87b2347)
  • client: detect ws close correctly (#18548) (637d31b)
  • resolve: run ensureVersionQuery for SSR (#18591) (63207e5)
  • use server.perEnvironmentStartEndDuringDev (#18549) (fe30349)
  • allow nested dependency selector to be used for optimizeDeps.include for SSR (#18506) (826c81a)
  • asset new URL(,import.meta.url) match (#18194) (5286a90)
  • close watcher if it's disabled (#18521) (85bd0e9)
  • config: write temporary vite config to node_modules (#18509) (72eaef5)
  • css: cssCodeSplit uses the current environment configuration (#18486) (eefe895)
  • json: don't json.stringify arrays (#18541) (fa50b03)
  • less: prevent rebasing [@import](https://github.com/import) url(...) (#17857) (aec5fdd)
  • lib: only resolve css bundle name if have styles (#18530) (5d6dc49)
  • scss: improve error logs (#18522) (3194a6a)
  • define in environment config was not working (#18515) (052799e)
  • build: apply resolve.external/noExternal to server environments (#18495) (5a967cb)
  • config: remove error if require resolve to esm (#18437) (f886f75)
  • consider URLs with any protocol to be external (#17369) (a0336bd)
  • css: remove default import in ssr dev (#17922) (eccf663)
  • use picomatch to align with tinyglobby (#18503) (437795d)
  • css: cssCodeSplit in environments.xxx.build is invalid (#18464) (993e71c)
  • css: make sass types work with sass-embedded (#18459) (89f8303)
  • deps: update all non-major dependencies (#18484) (2ec12df)
  • handle warmup glob hang (#18462) (409fa5c)
  • manifest: non entry CSS chunk src was wrong (#18133) (c148676)
  • module-runner: delay function eval until module runner instantiation (#18480) (472afbd)
  • plugins: noop if config hook returns same config reference (#18467) (bd540d5)
  • return the same instance of ModuleNode for the same EnvironmentModuleNode (#18455) (5ead461)
  • set scripts imported by HTML moduleSideEffects=true (#18411) (2ebe4b4)
  • use websocket to test server liveness before client reload (#17891) (7f9f8c6)
  • add typing to CSSOptions.preprocessorOptions (#18001) (7eeb6f2)
  • default build.cssMinify to 'esbuild' for SSR (#15637) (f1d3bf7)
  • dev: prevent double URL encoding in server.open on macOS (#18443) (56b7176)
  • preview: set resolvedUrls null after close (#18445) (65014a3)
  • ssr: inject identity function at the top (#18449) (0ab20a3)
  • ssr: preserve source maps for hoisted imports (fix #16355) (#16356) (8e382a6)
  • augment hash for CSS files to prevent chromium erroring by loading previous files (#18367) (a569f42)
  • cli: --watch should not override build.watch options (#18390) (b2965c8)
  • css: don't transform sass function calls with namespace (#18414) (dbb2604)
  • deps: update open dependency to 10.1.0 (#18349) (5cca4bf)
  • deps: update all non-major dependencies (#18345) (5552583)
  • more robust plugin.sharedDuringBuild (#18351) (47b1270)
  • ssr: this in exported function should be undefined (#18329) (bae6a37)
  • worker: rewrite rollup output.format with worker.format on worker build error (#18165) (dc82334)
  • injectQuery double encoding (#18246) (2c5f948)
  • add position to import analysis resolve exception (#18344) (0fe95d4)
  • assets: make srcset parsing HTML spec compliant (#16323) (#18242) (0e6d4a5)
  • css: dont remove JS chunk for pure CSS chunk when the export is used (#18307) (889bfc0)
  • deps: bump tsconfck (#18322) (67783b2)
  • deps: update all non-major dependencies (#18292) (5cac054)
  • destroy the runner when runnable environment is closed (#18282) (5212d09)
  • handle yarn command fail when root does not exist (#18141) (460aaff)
  • hmr: don't try to rewrite imports for direct CSS soft invalidation (#18252) (a03bb0e)
  • make it easier to configure environment runner (#18273) (fb35a78)
  • middleware-mode: call all hot.listen when server restart (#18261) (007773b)
  • optimizer: don't externalize transitive dep package name with asset extension (#18152) (fafc7e2)
  • resolve: fix resolve cache key for external conditions (#18332) (93d286c)
  • resolve: fix resolve cache to consider conditions and more (#18302) (2017a33)
  • types: add more overload to defineConfig (#18299) (94e34cf)
  • asset import should skip handling data URIs (#18163) (70813c7)
  • cache the runnable environment module runner (#18215) (95020ab)
  • call this.hot.close for non-ws HotChannel (#18212) (bad0ccc)
  • close HotChannel on environment close (#18206) (2d148e3)
  • config: treat all files as ESM on deno (#18081) (c1ed8a5)
  • css: ensure sass compiler initialized only once (#18128) (4cc5322)
  • css: fix lightningcss dep url resolution with custom root (#18125) (eb08f60)
  • css: fix missing source file warning with sass modern api custom importer (#18113) (d7763a5)
  • data-uri: only match ids starting with data: (#18241) (ec0efe8)
  • deps: update all non-major dependencies (#18170) (c8aea5a)
  • deps: upgrade rollup 4.22.4+ to ensure avoiding XSS (#18180) (ea1d0b9)
  • html: make build-html plugin work with sharedPlugins (#18214) (34041b9)
  • mixedModuleGraph: handle undefined id in getModulesByFile (#18201) (768a50f)
  • optimizer: re-optimize when changing config webCompatible (#18221) (a44b0a2)
  • require serialization for HMRConnection.send on implementation side (#18186) (9470011)
  • ssr: fix source map remapping with multiple sources (#18150) (e003a2c)
  • use config.consumer instead of options?.ssr / config.build.ssr (#18140) (21ec1ce)
  • vite: refactor "module cache" to "evaluated modules", pass down module to "runInlinedModule" (#18092) (e83beff)
  • avoid DOM Clobbering gadget in getRelativeUrlFromDocument (#18115) (ade1d89)
  • fs raw query (#18112) (9d2413c)
  • preload: throw error preloading module as well (#18098) (ba56cf4)
  • allow scanning exports from script module in svelte (#18063) (7d699aa)
  • build: declare preload-helper has no side effects (#18057) (587ad7b)
  • css: fallback to mainthread if logger or pkgImporter option is set for sass (#18071) (d81dc59)
  • dynamicImportVars: correct glob pattern for paths with parentheses (#17940) (2a391a7)
  • ensure req.url matches moduleByEtag URL to avoid incorrect 304 (#17997) (abf04c3)
  • html: escape html attribute (#18067) (5983f36)
  • incorrect environment consumer option resolution (#18079) (0e3467e)
  • preload: allow ignoring dep errors (#18046) (3fb2889)
  • store backwards compatible ssrModule and ssrError (#18031) (cf8ced5)

Performance Improvements

  • reduce bundle size for Object.keys(import.meta.glob(...)) / Object.values(import.meta.glob(...)) (#18666) (ed99a2c)
  • worker: inline worker without base64 (#18752) (90c66c9)
  • remove strip-ansi for a node built-in (#18630) (5182272)
  • css: skip style.css extraction if code-split css (#18470) (34fdb6b)
  • call module.enableCompileCache() (#18323) (18f1dad)
  • use crypto.hash when available (#18317) (2a14884)

Documentation

Reverts

Miscellaneous Chores

Code Refactoring

Build System

Tests

Beta Changelogs

6.0.0-beta.10 (2024-11-14)

See 6.0.0-beta.10 changelog

6.0.0-beta.9 (2024-11-07)

See 6.0.0-beta.9 changelog

6.0.0-beta.8 (2024-11-01)

See 6.0.0-beta.8 changelog

6.0.0-beta.7 (2024-10-30)

See 6.0.0-beta.7 changelog

6.0.0-beta.6 (2024-10-28)

See 6.0.0-beta.6 changelog

6.0.0-beta.5 (2024-10-24)

See 6.0.0-beta.5 changelog

6.0.0-beta.4 (2024-10-23)

See 6.0.0-beta.4 changelog

6.0.0-beta.3 (2024-10-15)

See 6.0.0-beta.3 changelog

6.0.0-beta.2 (2024-10-01)

See 6.0.0-beta.2 changelog

6.0.0-beta.1 (2024-09-16)

See 6.0.0-beta.1 changelog

6.0.0-beta.0 (2024-09-12)

See 6.0.0-beta.0 changelog

Previous Changelogs

5.4.x (2024-08-07 - 2024-11-11)

See 5.4.11 changelog

5.3.x (2024-06-13 - 2024-07-25)

See 5.3.5 changelog

5.2.x (2024-03-20 - 2024-05-28)

See 5.2.12 changelog

5.1.x (2024-02-08 - 2024-03-11)

See 5.1.6 changelog

5.0.x (2023-11-16 - 2024-01-05)

See 5.0.11 changelog

4.5.x (2023-10-18)

See 4.5.0 changelog

4.4.x (2023-07-06 - 2023-10-05)

See 4.4.11 changelog

4.3.x (2023-04-20 - 2023-05-26)

See 4.3.0 changelog

4.2.x (2023-03-16 - 2023-04-18)

See 4.2.2 changelog

4.1.x (2023-02-02 - 2023-02-21)

See 4.1.4 changelog

4.0.x (2022-12-09 - 2023-01-03)

See 4.0.4 changelog

3.2.x (2022-10-26 - 2023-04-18)

See 3.2.6 changelog

3.1.x (2022-09-05 - 2022-09-19)

See 3.1.3 changelog

3.0.x (2022-07-13 - 2022-08-19)

See 3.0.9 changelog

2.9.x (2022-03-30 - 2022-08-12)

See 2.9.15 changelog

2.8.x (2022-02-09 - 2022-03-01)

See 2.8.6 changelog

2.7.x (2021-10-28 - 2021-12-28)

See 2.7.13 changelog

2.6.x (2021-09-20 - 2021-10-27)

See 2.6.14 changelog

2.5.x (2021-08-03 - 2021-09-13)

See 2.5.10 changelog

2.4.x (2021-06-27 - 2021-07-27)

See 2.4.4 changelog

2.3.x (2021-05-11 - 2021-06-19)

See 2.3.8 changelog

2.2.x (2021-04-19 - 2021-05-03)

See 2.2.4 changelog

2.1.x (2021-03-15 - 2021-03-31)

See 2.1.5 changelog

2.0.x (2021-02-16 - 2021-03-02)

See 2.0.5 changelog