Closed renovate[bot] closed 2 years ago
This PR contains the following updates:
^2.9.9
3.1.7
š Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
š¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
The latest updates on your projects. Learn more about Vercel for Git āļø
This PR contains the following updates:
^2.9.9
->3.1.7
Release Notes
vitejs/vite
### [`v3.1.7`](https://togithub.com/vitejs/vite/releases/tag/v3.1.7) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.6...v3.1.7) Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v3.1.7/packages/vite/CHANGELOG.md) for details. ### [`v3.1.6`](https://togithub.com/vitejs/vite/releases/tag/v3.1.6) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.5...v3.1.6) Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v3.1.6/packages/vite/CHANGELOG.md) for details. ### [`v3.1.5`](https://togithub.com/vitejs/vite/releases/tag/v3.1.5) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.4...v3.1.5) Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v3.1.5/packages/vite/CHANGELOG.md) for details. ### [`v3.1.4`](https://togithub.com/vitejs/vite/releases/tag/v3.1.4) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.3...v3.1.4) Please refer to [CHANGELOG.md](https://togithub.com/vitejs/vite/blob/v3.1.4/packages/vite/CHANGELOG.md) for details. ### [`v3.1.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small313-2022-09-19-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.2...v3.1.3) - fix: esbuildOutputFromId for symlinked root ([#10154](https://togithub.com/vitejs/vite/issues/10154)) ([fc5310f](https://togithub.com/vitejs/vite/commit/fc5310f)), closes [#10154](https://togithub.com/vitejs/vite/issues/10154) - fix(hmr): dedupe virtual modules in module graph ([#10144](https://togithub.com/vitejs/vite/issues/10144)) ([71f08e7](https://togithub.com/vitejs/vite/commit/71f08e7)), closes [#10144](https://togithub.com/vitejs/vite/issues/10144) - fix(lib): respect `rollupOptions.input` in lib mode ([#10116](https://togithub.com/vitejs/vite/issues/10116)) ([c948e7d](https://togithub.com/vitejs/vite/commit/c948e7d)), closes [#10116](https://togithub.com/vitejs/vite/issues/10116) ### [`v3.1.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small312-2022-09-17-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.1.1...v3.1.2) - fix: use isOptimizable to ensure version query ([#10141](https://togithub.com/vitejs/vite/issues/10141)) ([23a51c6](https://togithub.com/vitejs/vite/commit/23a51c6)), closes [#10141](https://togithub.com/vitejs/vite/issues/10141) ### [`v3.1.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small311-2022-09-15-small) [Compare Source](https://togithub.com/vitejs/vite/compare/b1ad82def57f1e07233d5011489900bb38a8fe6b...v3.1.1) - fix: ensure version query for relative node_modules imports ([#10016](https://togithub.com/vitejs/vite/issues/10016)) ([1b822d0](https://togithub.com/vitejs/vite/commit/1b822d0)), closes [#10016](https://togithub.com/vitejs/vite/issues/10016) - fix: no quote on attrs ([#10117](https://togithub.com/vitejs/vite/issues/10117)) ([f541239](https://togithub.com/vitejs/vite/commit/f541239)), closes [#10117](https://togithub.com/vitejs/vite/issues/10117) - fix: prevent error overlay style being overridden (fixes [#9969](https://togithub.com/vitejs/vite/issues/9969)) ([#9971](https://togithub.com/vitejs/vite/issues/9971)) ([a7706d0](https://togithub.com/vitejs/vite/commit/a7706d0)), closes [#9969](https://togithub.com/vitejs/vite/issues/9969) [#9971](https://togithub.com/vitejs/vite/issues/9971) - fix: proxy to secured websocket server ([#10045](https://togithub.com/vitejs/vite/issues/10045)) ([9de9bc4](https://togithub.com/vitejs/vite/commit/9de9bc4)), closes [#10045](https://togithub.com/vitejs/vite/issues/10045) - fix: replace white with reset ([#10104](https://togithub.com/vitejs/vite/issues/10104)) ([5d56e42](https://togithub.com/vitejs/vite/commit/5d56e42)), closes [#10104](https://togithub.com/vitejs/vite/issues/10104) - fix(deps): update all non-major dependencies ([#10077](https://togithub.com/vitejs/vite/issues/10077)) ([caf00c8](https://togithub.com/vitejs/vite/commit/caf00c8)), closes [#10077](https://togithub.com/vitejs/vite/issues/10077) - fix(deps): update all non-major dependencies ([#9985](https://togithub.com/vitejs/vite/issues/9985)) ([855f2f0](https://togithub.com/vitejs/vite/commit/855f2f0)), closes [#9985](https://togithub.com/vitejs/vite/issues/9985) - fix(preview): send configured headers ([#9976](https://togithub.com/vitejs/vite/issues/9976)) ([0d20eae](https://togithub.com/vitejs/vite/commit/0d20eae)), closes [#9976](https://togithub.com/vitejs/vite/issues/9976) - chore: cleanup old changelogs ([#10056](https://togithub.com/vitejs/vite/issues/10056)) ([9e65a41](https://togithub.com/vitejs/vite/commit/9e65a41)), closes [#10056](https://togithub.com/vitejs/vite/issues/10056) - chore: update 3.1 changelog ([#9994](https://togithub.com/vitejs/vite/issues/9994)) ([44dbcbe](https://togithub.com/vitejs/vite/commit/44dbcbe)), closes [#9994](https://togithub.com/vitejs/vite/issues/9994) - chore(deps): update [@rollup/plugin-node-resolve](https://togithub.com/rollup/plugin-node-resolve) to v14 ([#10078](https://togithub.com/vitejs/vite/issues/10078)) ([3390c87](https://togithub.com/vitejs/vite/commit/3390c87)), closes [#10078](https://togithub.com/vitejs/vite/issues/10078) - refactor: config hook helper function ([#9982](https://togithub.com/vitejs/vite/issues/9982)) ([9c1be10](https://togithub.com/vitejs/vite/commit/9c1be10)), closes [#9982](https://togithub.com/vitejs/vite/issues/9982) - refactor: optimize `async` and `await` in code ([#9854](https://togithub.com/vitejs/vite/issues/9854)) ([31f5ff3](https://togithub.com/vitejs/vite/commit/31f5ff3)), closes [#9854](https://togithub.com/vitejs/vite/issues/9854) ### [`v3.1.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#310-2022-09-05) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.0.9...b1ad82def57f1e07233d5011489900bb38a8fe6b) ##### Main Changes - Vite now uses [parse5](https://togithub.com/inikulin/parse5), which parses HTML in the same way as the latest browser versions. This migration gives us a more robust HTML story moving forward ([#9678](https://togithub.com/vitejs/vite/issues/9678)). - Vite now supports using objects as hooks to change execution order ([#9634](https://togithub.com/vitejs/vite/issues/9634)). Check out the [RFC](https://togithub.com/vitejs/rfcs/discussions/12) and the implementation upstream at [rollup/rollup#4600](https://togithub.com/rollup/rollup/pull/4600) for details and rationale. ```js import { resolve } from 'node:path'; import { readdir } from 'node:fs/promises'; export default function getFilesOnDisk() { return { name: 'getFilesOnDisk', writeBundle: { // run this hook sequentially even if the hook is parallel sequential: true, // push this hook to the 'post' stage, after all normal hooks order: 'post', // hook implementation async handler({ dir }) { const topLevelFiles = await readdir(resolve(dir)) console.log(topLevelFiles) } } } } ``` Read the updated [Rollup Plugin docs](https://rollupjs.org/guide/en/#build-hooks) for more information. > **Note** > After Vite 3.1, you are no longer going to see `[vite] hot updated` log messages in the browser console. These messages have been moved to the debug channel ([#8855](https://togithub.com/vitejs/vite/issues/8855)). Check your browser docs to [show debug logs](https://developer.chrome.com/docs/devtools/console/log/#level). ##### Features - feat(css): format error ([#9909](https://togithub.com/vitejs/vite/issues/9909)) ([632fedf](https://togithub.com/vitejs/vite/commit/632fedf)), closes [#9909](https://togithub.com/vitejs/vite/issues/9909) - perf: bundle create-vite ([#9034](https://togithub.com/vitejs/vite/issues/9034)) ([37ac91e](https://togithub.com/vitejs/vite/commit/37ac91e)), closes [#9034](https://togithub.com/vitejs/vite/issues/9034) - feat: stabilize server.resolvedUrls ([#9866](https://togithub.com/vitejs/vite/issues/9866)) ([c3f6731](https://togithub.com/vitejs/vite/commit/c3f6731)), closes [#9866](https://togithub.com/vitejs/vite/issues/9866) - feat(client): use debug channel on hot updates ([#8855](https://togithub.com/vitejs/vite/issues/8855)) ([0452224](https://togithub.com/vitejs/vite/commit/0452224)), closes [#8855](https://togithub.com/vitejs/vite/issues/8855) - feat: relax dep browser externals as warning ([#9837](https://togithub.com/vitejs/vite/issues/9837)) ([71cb374](https://togithub.com/vitejs/vite/commit/71cb374)), closes [#9837](https://togithub.com/vitejs/vite/issues/9837) - feat: support object style hooks ([#9634](https://togithub.com/vitejs/vite/issues/9634)) ([757a92f](https://togithub.com/vitejs/vite/commit/757a92f)), closes [#9634](https://togithub.com/vitejs/vite/issues/9634) - refactor: migrate from vue/compiler-dom to parse5 ([#9678](https://togithub.com/vitejs/vite/issues/9678)) ([05b3ce6](https://togithub.com/vitejs/vite/commit/05b3ce6)), closes [#9678](https://togithub.com/vitejs/vite/issues/9678) - refactor: use `server.ssrTransform` ([#9769](https://togithub.com/vitejs/vite/issues/9769)) ([246a087](https://togithub.com/vitejs/vite/commit/246a087)), closes [#9769](https://togithub.com/vitejs/vite/issues/9769) - perf: legacy avoid insert the entry module css ([#9761](https://togithub.com/vitejs/vite/issues/9761)) ([0765ab8](https://togithub.com/vitejs/vite/commit/0765ab8)), closes [#9761](https://togithub.com/vitejs/vite/issues/9761) ##### Bug Fixes - fix(css): remove css-post plugin sourcemap ([#9914](https://togithub.com/vitejs/vite/issues/9914)) ([c9521e7](https://togithub.com/vitejs/vite/commit/c9521e7)), closes [#9914](https://togithub.com/vitejs/vite/issues/9914) - fix(hmr): duplicated modules because of query params mismatch (fixes [#2255](https://togithub.com/vitejs/vite/issues/2255)) ([#9773](https://togithub.com/vitejs/vite/issues/9773)) ([86bf776](https://togithub.com/vitejs/vite/commit/86bf776)), closes [#2255](https://togithub.com/vitejs/vite/issues/2255) [#9773](https://togithub.com/vitejs/vite/issues/9773) - fix(ssr): enable `inlineDynamicImports` when input has length 1 ([#9904](https://togithub.com/vitejs/vite/issues/9904)) ([9ac5075](https://togithub.com/vitejs/vite/commit/9ac5075)), closes [#9904](https://togithub.com/vitejs/vite/issues/9904) - fix(types): mark explicitImportRequired optional and experimental ([#9962](https://togithub.com/vitejs/vite/issues/9962)) ([7b618f0](https://togithub.com/vitejs/vite/commit/7b618f0)), closes [#9962](https://togithub.com/vitejs/vite/issues/9962) - fix: bump esbuild to 0.15.6 ([#9934](https://togithub.com/vitejs/vite/issues/9934)) ([091537c](https://togithub.com/vitejs/vite/commit/091537c)), closes [#9934](https://togithub.com/vitejs/vite/issues/9934) - refactor(hmr): simplify fetchUpdate ([#9881](https://togithub.com/vitejs/vite/issues/9881)) ([8872aba](https://togithub.com/vitejs/vite/commit/8872aba)), closes [#9881](https://togithub.com/vitejs/vite/issues/9881) - fix: ensure version query for direct node_modules imports ([#9848](https://togithub.com/vitejs/vite/issues/9848)) ([e7712ff](https://togithub.com/vitejs/vite/commit/e7712ff)), closes [#9848](https://togithub.com/vitejs/vite/issues/9848) - fix: escape glob path ([#9842](https://togithub.com/vitejs/vite/issues/9842)) ([6be971e](https://togithub.com/vitejs/vite/commit/6be971e)), closes [#9842](https://togithub.com/vitejs/vite/issues/9842) - fix(build): build project path error ([#9793](https://togithub.com/vitejs/vite/issues/9793)) ([cc8800a](https://togithub.com/vitejs/vite/commit/cc8800a)), closes [#9793](https://togithub.com/vitejs/vite/issues/9793) - fix(types): explicitly set Vite hooks' `this` to `void` ([#9885](https://togithub.com/vitejs/vite/issues/9885)) ([2d2f2e5](https://togithub.com/vitejs/vite/commit/2d2f2e5)), closes [#9885](https://togithub.com/vitejs/vite/issues/9885) - fix: `completeSystemWrapPlugin` captures `function ()` (fixes [#9807](https://togithub.com/vitejs/vite/issues/9807)) ([#9821](https://togithub.com/vitejs/vite/issues/9821)) ([1ee0364](https://togithub.com/vitejs/vite/commit/1ee0364)), closes [#9807](https://togithub.com/vitejs/vite/issues/9807) [#9821](https://togithub.com/vitejs/vite/issues/9821) - fix: `injectQuery` break relative path ([#9760](https://togithub.com/vitejs/vite/issues/9760)) ([61273b2](https://togithub.com/vitejs/vite/commit/61273b2)), closes [#9760](https://togithub.com/vitejs/vite/issues/9760) - fix: close socket when client error handled ([#9816](https://togithub.com/vitejs/vite/issues/9816)) ([ba62be4](https://togithub.com/vitejs/vite/commit/ba62be4)), closes [#9816](https://togithub.com/vitejs/vite/issues/9816) - fix: handle resolve optional peer deps ([#9321](https://togithub.com/vitejs/vite/issues/9321)) ([eec3886](https://togithub.com/vitejs/vite/commit/eec3886)), closes [#9321](https://togithub.com/vitejs/vite/issues/9321) - fix: module graph ensureEntryFromUrl based on id ([#9759](https://togithub.com/vitejs/vite/issues/9759)) ([01857af](https://togithub.com/vitejs/vite/commit/01857af)), closes [#9759](https://togithub.com/vitejs/vite/issues/9759) - fix: sanitize asset filenames ([#9737](https://togithub.com/vitejs/vite/issues/9737)) ([2f468bb](https://togithub.com/vitejs/vite/commit/2f468bb)), closes [#9737](https://togithub.com/vitejs/vite/issues/9737) - fix: Skip inlining Git LFS placeholders (fix [#9714](https://togithub.com/vitejs/vite/issues/9714)) ([#9795](https://togithub.com/vitejs/vite/issues/9795)) ([9c7e43d](https://togithub.com/vitejs/vite/commit/9c7e43d)), closes [#9714](https://togithub.com/vitejs/vite/issues/9714) [#9795](https://togithub.com/vitejs/vite/issues/9795) - fix(html): move importmap before module scripts ([#9392](https://togithub.com/vitejs/vite/issues/9392)) ([b386fba](https://togithub.com/vitejs/vite/commit/b386fba)), closes [#9392](https://togithub.com/vitejs/vite/issues/9392) ##### Previous Changelogs ##### [3.1.0-beta.2](https://togithub.com/vitejs/vite/compare/v3.1.0-beta.1...v3.1.0-beta.2) (2022-09-02) See [3.1.0-beta.2 changelog](https://togithub.com/vitejs/vite/blob/v3.1.0-beta.2/packages/vite/CHANGELOG.md) ##### [3.1.0-beta.1](https://togithub.com/vitejs/vite/compare/v3.1.0-beta.0...v3.1.0-beta.1) (2022-08-29) See [3.1.0-beta.1 changelog](https://togithub.com/vitejs/vite/blob/v3.1.0-beta.1/packages/vite/CHANGELOG.md) ##### [3.1.0-beta.0](https://togithub.com/vitejs/vite/compare/v3.0.0...v3.1.0-beta.0) (2022-08-25) See [3.1.0-beta.0 changelog](https://togithub.com/vitejs/vite/blob/v3.1.0-beta.0/packages/vite/CHANGELOG.md) ### [`v3.0.9`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small309-2022-08-19-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.0.8...v3.0.9) - feat(ssr): warn if cant analyze dynamic import ([#9738](https://togithub.com/vitejs/vite/issues/9738)) ([e0ecb80](https://togithub.com/vitejs/vite/commit/e0ecb80)), closes [#9738](https://togithub.com/vitejs/vite/issues/9738) - fix: dynamic import path contain ../ and its own directory ([#9350](https://togithub.com/vitejs/vite/issues/9350)) ([c6870f3](https://togithub.com/vitejs/vite/commit/c6870f3)), closes [#9350](https://togithub.com/vitejs/vite/issues/9350) - fix: legacy no resolve asset urls ([#9507](https://togithub.com/vitejs/vite/issues/9507)) ([1d6a1eb](https://togithub.com/vitejs/vite/commit/1d6a1eb)), closes [#9507](https://togithub.com/vitejs/vite/issues/9507) - fix: print error file path when using `rollupOptions.output.dir` (fix [#9100](https://togithub.com/vitejs/vite/issues/9100)) ([#9111](https://togithub.com/vitejs/vite/issues/9111)) ([3bffd14](https://togithub.com/vitejs/vite/commit/3bffd14)), closes [#9100](https://togithub.com/vitejs/vite/issues/9100) [#9111](https://togithub.com/vitejs/vite/issues/9111) - fix: skip undefined proxy entry ([#9622](https://togithub.com/vitejs/vite/issues/9622)) ([e396d67](https://togithub.com/vitejs/vite/commit/e396d67)), closes [#9622](https://togithub.com/vitejs/vite/issues/9622) - fix(hmr): duplicate link tags ([#9697](https://togithub.com/vitejs/vite/issues/9697)) ([9aa9515](https://togithub.com/vitejs/vite/commit/9aa9515)), closes [#9697](https://togithub.com/vitejs/vite/issues/9697) - fix(import-analysis): escape quotes ([#9729](https://togithub.com/vitejs/vite/issues/9729)) ([21515f1](https://togithub.com/vitejs/vite/commit/21515f1)), closes [#9729](https://togithub.com/vitejs/vite/issues/9729) - docs: fix typos in comments and documentation ([#9711](https://togithub.com/vitejs/vite/issues/9711)) ([0571232](https://togithub.com/vitejs/vite/commit/0571232)), closes [#9711](https://togithub.com/vitejs/vite/issues/9711) - docs: update import.meta.glob jsdocs ([#9709](https://togithub.com/vitejs/vite/issues/9709)) ([15ff3a2](https://togithub.com/vitejs/vite/commit/15ff3a2)), closes [#9709](https://togithub.com/vitejs/vite/issues/9709) - chore(deps): update all non-major dependencies ([#9675](https://togithub.com/vitejs/vite/issues/9675)) ([4e56e87](https://togithub.com/vitejs/vite/commit/4e56e87)), closes [#9675](https://togithub.com/vitejs/vite/issues/9675) - chore(deps): update dependency es-module-lexer to v1 ([#9576](https://togithub.com/vitejs/vite/issues/9576)) ([1d8613f](https://togithub.com/vitejs/vite/commit/1d8613f)), closes [#9576](https://togithub.com/vitejs/vite/issues/9576) - perf: avoid `ssrTransform` object allocation ([#9706](https://togithub.com/vitejs/vite/issues/9706)) ([6e58d9d](https://togithub.com/vitejs/vite/commit/6e58d9d)), closes [#9706](https://togithub.com/vitejs/vite/issues/9706) ### [`v3.0.8`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small308-2022-08-16-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.0.7...v3.0.8) - fix: allow ping to http from https website ([#9561](https://togithub.com/vitejs/vite/issues/9561)) ([f4b4405](https://togithub.com/vitejs/vite/commit/f4b4405)), closes [#9561](https://togithub.com/vitejs/vite/issues/9561) - fix: use browser field if likely esm (fixes [#9652](https://togithub.com/vitejs/vite/issues/9652)) ([#9653](https://togithub.com/vitejs/vite/issues/9653)) ([85e387a](https://togithub.com/vitejs/vite/commit/85e387a)), closes [#9652](https://togithub.com/vitejs/vite/issues/9652) [#9653](https://togithub.com/vitejs/vite/issues/9653) - fix(ssr-manifest): filter path undefined when dynamic import ([#9655](https://togithub.com/vitejs/vite/issues/9655)) ([1478a2f](https://togithub.com/vitejs/vite/commit/1478a2f)), closes [#9655](https://togithub.com/vitejs/vite/issues/9655) - docs: update WSL2 watch limitation explanation ([#8939](https://togithub.com/vitejs/vite/issues/8939)) ([afbb87d](https://togithub.com/vitejs/vite/commit/afbb87d)), closes [#8939](https://togithub.com/vitejs/vite/issues/8939) ### [`v3.0.7`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small307-2022-08-12-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.0.6...v3.0.7) - chore: fix typo in error message ([#9645](https://togithub.com/vitejs/vite/issues/9645)) ([7121ee0](https://togithub.com/vitejs/vite/commit/7121ee0)), closes [#9645](https://togithub.com/vitejs/vite/issues/9645) - fix(config): don't use file url for external files with cjs output ([#9642](https://togithub.com/vitejs/vite/issues/9642)) ([73ad707](https://togithub.com/vitejs/vite/commit/73ad707)), closes [#9642](https://togithub.com/vitejs/vite/issues/9642) ### [`v3.0.6`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small306-2022-08-11-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.0.5...v3.0.6) - chore: narrow down rollup version ([#9637](https://togithub.com/vitejs/vite/issues/9637)) ([fcf4d98](https://togithub.com/vitejs/vite/commit/fcf4d98)), closes [#9637](https://togithub.com/vitejs/vite/issues/9637) - feat: show warning on 431 response ([#9324](https://togithub.com/vitejs/vite/issues/9324)) ([e8b61bb](https://togithub.com/vitejs/vite/commit/e8b61bb)), closes [#9324](https://togithub.com/vitejs/vite/issues/9324) - fix: avoid using `import.meta.url` for relative assets if output is not ESM (fixes [#9297](https://togithub.com/vitejs/vite/issues/9297)) ([#9381](https://togithub.com/vitejs/vite/issues/9381)) ([6d95225](https://togithub.com/vitejs/vite/commit/6d95225)), closes [#9297](https://togithub.com/vitejs/vite/issues/9297) [#9381](https://togithub.com/vitejs/vite/issues/9381) - fix: json HMR (fixes [#9521](https://togithub.com/vitejs/vite/issues/9521)) ([#9610](https://togithub.com/vitejs/vite/issues/9610)) ([e45d95f](https://togithub.com/vitejs/vite/commit/e45d95f)), closes [#9521](https://togithub.com/vitejs/vite/issues/9521) [#9610](https://togithub.com/vitejs/vite/issues/9610) - fix: legacy no emit worker ([#9500](https://togithub.com/vitejs/vite/issues/9500)) ([9d0b18b](https://togithub.com/vitejs/vite/commit/9d0b18b)), closes [#9500](https://togithub.com/vitejs/vite/issues/9500) - fix: use browser field if it is not likely UMD or CJS (fixes [#9445](https://togithub.com/vitejs/vite/issues/9445)) ([#9459](https://togithub.com/vitejs/vite/issues/9459)) ([c868e64](https://togithub.com/vitejs/vite/commit/c868e64)), closes [#9445](https://togithub.com/vitejs/vite/issues/9445) [#9459](https://togithub.com/vitejs/vite/issues/9459) - fix(optimizer): ignore EACCES errors while scanner (fixes [#8916](https://togithub.com/vitejs/vite/issues/8916)) ([#9509](https://togithub.com/vitejs/vite/issues/9509)) ([4e6a77f](https://togithub.com/vitejs/vite/commit/4e6a77f)), closes [#8916](https://togithub.com/vitejs/vite/issues/8916) [#9509](https://togithub.com/vitejs/vite/issues/9509) - fix(ssr): rename objectPattern dynamic key (fixes [#9585](https://togithub.com/vitejs/vite/issues/9585)) ([#9609](https://togithub.com/vitejs/vite/issues/9609)) ([ee7f78f](https://togithub.com/vitejs/vite/commit/ee7f78f)), closes [#9585](https://togithub.com/vitejs/vite/issues/9585) [#9609](https://togithub.com/vitejs/vite/issues/9609) ### [`v3.0.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small305-2022-08-09-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.0.4...v3.0.5) - fix: allow tree-shake glob eager css in js ([#9547](https://togithub.com/vitejs/vite/issues/9547)) ([2e309d6](https://togithub.com/vitejs/vite/commit/2e309d6)), closes [#9547](https://togithub.com/vitejs/vite/issues/9547) - fix: ignore tsconfig target when bundling config ([#9457](https://togithub.com/vitejs/vite/issues/9457)) ([c5e7895](https://togithub.com/vitejs/vite/commit/c5e7895)), closes [#9457](https://togithub.com/vitejs/vite/issues/9457) - fix: log worker plugins in debug mode ([#9553](https://togithub.com/vitejs/vite/issues/9553)) ([c1fa219](https://togithub.com/vitejs/vite/commit/c1fa219)), closes [#9553](https://togithub.com/vitejs/vite/issues/9553) - fix: tree-shake modulepreload polyfill ([#9531](https://togithub.com/vitejs/vite/issues/9531)) ([1f11a70](https://togithub.com/vitejs/vite/commit/1f11a70)), closes [#9531](https://togithub.com/vitejs/vite/issues/9531) - fix: update dep types (fixes [#9475](https://togithub.com/vitejs/vite/issues/9475)) ([#9489](https://togithub.com/vitejs/vite/issues/9489)) ([937cecc](https://togithub.com/vitejs/vite/commit/937cecc)), closes [#9475](https://togithub.com/vitejs/vite/issues/9475) [#9489](https://togithub.com/vitejs/vite/issues/9489) - fix(build): normalized output log ([#9594](https://togithub.com/vitejs/vite/issues/9594)) ([8bae103](https://togithub.com/vitejs/vite/commit/8bae103)), closes [#9594](https://togithub.com/vitejs/vite/issues/9594) - fix(config): try catch unlink after load ([#9577](https://togithub.com/vitejs/vite/issues/9577)) ([d35a1e2](https://togithub.com/vitejs/vite/commit/d35a1e2)), closes [#9577](https://togithub.com/vitejs/vite/issues/9577) - fix(config): use file url for import path (fixes [#9471](https://togithub.com/vitejs/vite/issues/9471)) ([#9473](https://togithub.com/vitejs/vite/issues/9473)) ([22084a6](https://togithub.com/vitejs/vite/commit/22084a6)), closes [#9471](https://togithub.com/vitejs/vite/issues/9471) [#9473](https://togithub.com/vitejs/vite/issues/9473) - fix(deps): update all non-major dependencies ([#9575](https://togithub.com/vitejs/vite/issues/9575)) ([8071325](https://togithub.com/vitejs/vite/commit/8071325)), closes [#9575](https://togithub.com/vitejs/vite/issues/9575) - fix(ssr): check root import extension for external ([#9494](https://togithub.com/vitejs/vite/issues/9494)) ([ff89df5](https://togithub.com/vitejs/vite/commit/ff89df5)), closes [#9494](https://togithub.com/vitejs/vite/issues/9494) - fix(ssr): use appendRight for import ([#9554](https://togithub.com/vitejs/vite/issues/9554)) ([dfec6ca](https://togithub.com/vitejs/vite/commit/dfec6ca)), closes [#9554](https://togithub.com/vitejs/vite/issues/9554) - refactor(resolve): remove commonjs plugin handling ([#9460](https://togithub.com/vitejs/vite/issues/9460)) ([2042b91](https://togithub.com/vitejs/vite/commit/2042b91)), closes [#9460](https://togithub.com/vitejs/vite/issues/9460) - chore: init imports var before use ([#9569](https://togithub.com/vitejs/vite/issues/9569)) ([905b8eb](https://togithub.com/vitejs/vite/commit/905b8eb)), closes [#9569](https://togithub.com/vitejs/vite/issues/9569) - chore: node prefix lint ([#9514](https://togithub.com/vitejs/vite/issues/9514)) ([9e9cd23](https://togithub.com/vitejs/vite/commit/9e9cd23)), closes [#9514](https://togithub.com/vitejs/vite/issues/9514) - chore: tidy up eslint config ([#9468](https://togithub.com/vitejs/vite/issues/9468)) ([f4addcf](https://togithub.com/vitejs/vite/commit/f4addcf)), closes [#9468](https://togithub.com/vitejs/vite/issues/9468) - chore(deps): update all non-major dependencies ([#9478](https://togithub.com/vitejs/vite/issues/9478)) ([c530d16](https://togithub.com/vitejs/vite/commit/c530d16)), closes [#9478](https://togithub.com/vitejs/vite/issues/9478) - docs: fix incomplete comment ([#9466](https://togithub.com/vitejs/vite/issues/9466)) ([5169c51](https://togithub.com/vitejs/vite/commit/5169c51)), closes [#9466](https://togithub.com/vitejs/vite/issues/9466) - feat(ssr): debug failed node resolve ([#9432](https://togithub.com/vitejs/vite/issues/9432)) ([364aae1](https://togithub.com/vitejs/vite/commit/364aae1)), closes [#9432](https://togithub.com/vitejs/vite/issues/9432) ### [`v3.0.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small304-2022-07-29-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v3.0.3...v3.0.4) - fix: **VITE_PUBLIC_ASSET\_\_hash** in HTML ([#9247](https://togithub.com/vitejs/vite/issues/9247)) ([a2b24ee](https://togithub.com/vitejs/vite/commit/a2b24ee)), closes [#9247](https://togithub.com/vitejs/vite/issues/9247) - fix: inline dynamic imports for ssr-webworker (fixes [#9385](https://togithub.com/vitejs/vite/issues/9385)) ([#9401](https://togithub.com/vitejs/vite/issues/9401)) ([cd69358](https://togithub.com/vitejs/vite/commit/cd69358)), closes [#9385](https://togithub.com/vitejs/vite/issues/9385) [#9401](https://togithub.com/vitejs/vite/issues/9401) - fix: normalise css paths in manifest on windows (fixes [#9295](https://togithub.com/vitejs/vite/issues/9295)) ([#9353](https://togithub.com/vitejs/vite/issues/9353)) ([13e6450](https://togithub.com/vitejs/vite/commit/13e6450)), closes [#9295](https://togithub.com/vitejs/vite/issues/9295) [#9353](https://togithub.com/vitejs/vite/issues/9353) - fix: support stylesheets with link tag and media/disable prop ([#6751](https://togithub.com/vitejs/vite/issues/6751)) ([e6c8965](https://togithub.com/vitejs/vite/commit/e6c8965)), closes [#6751](https://togithub.com/vitejs/vite/issues/6751) - fix: url constructor import asset no as url ([#9399](https://togithub.com/vitejs/vite/issues/9399)) ([122c6e7](https://togithub.com/vitejs/vite/commit/122c6e7)), closes [#9399](https://togithub.com/vitejs/vite/issues/9399) - fix(glob): server perf when globbing huge dirs ([#9425](https://togithub.com/vitejs/vite/issues/9425)) ([156a3a4](https://togithub.com/vitejs/vite/commit/156a3a4)), closes [#9425](https://togithub.com/vitejs/vite/issues/9425) - fix(glob): support static template literals ([#9352](https://togithub.com/vitejs/vite/issues/9352)) ([183c6fb](https://togithub.com/vitejs/vite/commit/183c6fb)), closes [#9352](https://togithub.com/vitejs/vite/issues/9352) - fix(ssr): allow virtual paths on node modules ([#9405](https://togithub.com/vitejs/vite/issues/9405)) ([e60368f](https://togithub.com/vitejs/vite/commit/e60368f)), closes [#9405](https://togithub.com/vitejs/vite/issues/9405) - chore(deps): update all non-major dependencies ([#9347](https://togithub.com/vitejs/vite/issues/9347)) ([2fcb027](https://togithub.com/vitejs/vite/commit/2fcb027)), closes [#9347](https://togithub.com/vitejs/vite/issues/9347) ### [`v3.0.3`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small303-2022-07-25-small) [Compare Source](https://togithub.com/vitejs/vite/compare/af6088f40ad89579f39f8d2d93ae2d11168847c1...v3.0.3) - fix: client type error ([#9289](https://togithub.com/vitejs/vite/issues/9289)) ([b82ddfb](https://togithub.com/vitejs/vite/commit/b82ddfb)), closes [#9289](https://togithub.com/vitejs/vite/issues/9289) - fix: don't modify config ([#9262](https://togithub.com/vitejs/vite/issues/9262)) ([bbc8318](https://togithub.com/vitejs/vite/commit/bbc8318)), closes [#9262](https://togithub.com/vitejs/vite/issues/9262) - fix: entries in ssr.external ([#9286](https://togithub.com/vitejs/vite/issues/9286)) ([d420f01](https://togithub.com/vitejs/vite/commit/d420f01)), closes [#9286](https://togithub.com/vitejs/vite/issues/9286) - fix: externalize explicitly configured linked packages ([#9346](https://togithub.com/vitejs/vite/issues/9346)) ([c33e365](https://togithub.com/vitejs/vite/commit/c33e365)), closes [#9346](https://togithub.com/vitejs/vite/issues/9346) - fix: make `resolveConfig()` concurrent safe ([#9224](https://togithub.com/vitejs/vite/issues/9224)) ([dfaeb2b](https://togithub.com/vitejs/vite/commit/dfaeb2b)), closes [#9224](https://togithub.com/vitejs/vite/issues/9224) - fix: scanner and optimizer should skip wasm ([#9257](https://togithub.com/vitejs/vite/issues/9257)) ([c616077](https://togithub.com/vitejs/vite/commit/c616077)), closes [#9257](https://togithub.com/vitejs/vite/issues/9257) - fix: ssrLoadModule executes code in non-strict mode, fixes [#9197](https://togithub.com/vitejs/vite/issues/9197) ([#9199](https://togithub.com/vitejs/vite/issues/9199)) ([5866cfb](https://togithub.com/vitejs/vite/commit/5866cfb)), closes [#9197](https://togithub.com/vitejs/vite/issues/9197) [#9199](https://togithub.com/vitejs/vite/issues/9199) - fix: support multiline dynamic imports ([#9314](https://togithub.com/vitejs/vite/issues/9314)) ([e66cf69](https://togithub.com/vitejs/vite/commit/e66cf69)), closes [#9314](https://togithub.com/vitejs/vite/issues/9314) - fix: support vite client in safari 13 ([#9315](https://togithub.com/vitejs/vite/issues/9315)) ([2415193](https://togithub.com/vitejs/vite/commit/2415193)), closes [#9315](https://togithub.com/vitejs/vite/issues/9315) - fix: worker relative base should use import.meta.url ([#9204](https://togithub.com/vitejs/vite/issues/9204)) ([0358b04](https://togithub.com/vitejs/vite/commit/0358b04)), closes [#9204](https://togithub.com/vitejs/vite/issues/9204) - fix(glob): handle glob prop access ([#9281](https://togithub.com/vitejs/vite/issues/9281)) ([0580215](https://togithub.com/vitejs/vite/commit/0580215)), closes [#9281](https://togithub.com/vitejs/vite/issues/9281) - fix(scan): handle .ts import as .js alias ([#9282](https://togithub.com/vitejs/vite/issues/9282)) ([0b083ca](https://togithub.com/vitejs/vite/commit/0b083ca)), closes [#9282](https://togithub.com/vitejs/vite/issues/9282) - fix(ssr): no external symlink package ([#9296](https://togithub.com/vitejs/vite/issues/9296)) ([ea27701](https://togithub.com/vitejs/vite/commit/ea27701)), closes [#9296](https://togithub.com/vitejs/vite/issues/9296) - chore: adjust comments/typos ([#9325](https://togithub.com/vitejs/vite/issues/9325)) ([ffb2ba3](https://togithub.com/vitejs/vite/commit/ffb2ba3)), closes [#9325](https://togithub.com/vitejs/vite/issues/9325) - chore: fix code typos ([#9033](https://togithub.com/vitejs/vite/issues/9033)) ([ed02861](https://togithub.com/vitejs/vite/commit/ed02861)), closes [#9033](https://togithub.com/vitejs/vite/issues/9033) - docs: fix `@rollup/plugin-commonjs` name ([#9313](https://togithub.com/vitejs/vite/issues/9313)) ([c417364](https://togithub.com/vitejs/vite/commit/c417364)), closes [#9313](https://togithub.com/vitejs/vite/issues/9313) - docs: fix server options link ([#9242](https://togithub.com/vitejs/vite/issues/9242)) ([29db3ea](https://togithub.com/vitejs/vite/commit/29db3ea)), closes [#9242](https://togithub.com/vitejs/vite/issues/9242) - docs: update browser baseline features ([#9316](https://togithub.com/vitejs/vite/issues/9316)) ([b82ee5d](https://togithub.com/vitejs/vite/commit/b82ee5d)), closes [#9316](https://togithub.com/vitejs/vite/issues/9316) - feat: supports cts and mts files ([#9268](https://togithub.com/vitejs/vite/issues/9268)) ([0602017](https://togithub.com/vitejs/vite/commit/0602017)), closes [#9268](https://togithub.com/vitejs/vite/issues/9268) - feat: worker config call config hook ([#9212](https://togithub.com/vitejs/vite/issues/9212)) ([3e510ab](https://togithub.com/vitejs/vite/commit/3e510ab)), closes [#9212](https://togithub.com/vitejs/vite/issues/9212) - feat(css): use esbuild.log\* options when minifying ([#9210](https://togithub.com/vitejs/vite/issues/9210)) ([88baa53](https://togithub.com/vitejs/vite/commit/88baa53)), closes [#9210](https://togithub.com/vitejs/vite/issues/9210) ### [`v3.0.2`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small302-2022-07-18-small) [Compare Source](https://togithub.com/vitejs/vite/compare/8db00d86032ef52c3774f7fe6debf9d50b633316...af6088f40ad89579f39f8d2d93ae2d11168847c1) - fix: fs serve only edit pathname (fixes [#9148](https://togithub.com/vitejs/vite/issues/9148)) ([#9173](https://togithub.com/vitejs/vite/issues/9173)) ([28cffc9](https://togithub.com/vitejs/vite/commit/28cffc9)), closes [#9148](https://togithub.com/vitejs/vite/issues/9148) [#9173](https://togithub.com/vitejs/vite/issues/9173) - fix: prevent null pathname error ([#9188](https://togithub.com/vitejs/vite/issues/9188)) ([d66ffd0](https://togithub.com/vitejs/vite/commit/d66ffd0)), closes [#9188](https://togithub.com/vitejs/vite/issues/9188) - fix: return 500 on proxy error only if possible (fixes [#9172](https://togithub.com/vitejs/vite/issues/9172)) ([#9193](https://togithub.com/vitejs/vite/issues/9193)) ([b2f6bdc](https://togithub.com/vitejs/vite/commit/b2f6bdc)), closes [#9172](https://togithub.com/vitejs/vite/issues/9172) [#9193](https://togithub.com/vitejs/vite/issues/9193) - fix(deps): update all non-major dependencies ([#9176](https://togithub.com/vitejs/vite/issues/9176)) ([31d3b70](https://togithub.com/vitejs/vite/commit/31d3b70)), closes [#9176](https://togithub.com/vitejs/vite/issues/9176) - fix(dev): build.ssr is set during dev, fix [#9134](https://togithub.com/vitejs/vite/issues/9134) ([#9187](https://togithub.com/vitejs/vite/issues/9187)) ([99b0e67](https://togithub.com/vitejs/vite/commit/99b0e67)), closes [#9134](https://togithub.com/vitejs/vite/issues/9134) [#9187](https://togithub.com/vitejs/vite/issues/9187) - fix(ssr): strip NULL_BYTE_PLACEHOLDER before import ([#9124](https://togithub.com/vitejs/vite/issues/9124)) ([c5f2dc7](https://togithub.com/vitejs/vite/commit/c5f2dc7)), closes [#9124](https://togithub.com/vitejs/vite/issues/9124) ### [`v3.0.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small301-2022-07-18-small) [Compare Source](https://togithub.com/vitejs/vite/compare/b8c625cec4db938032ad754c7095bd246a4698ee...8db00d86032ef52c3774f7fe6debf9d50b633316) - fix: avoid errors when loading the overlay code in workers ([#9064](https://togithub.com/vitejs/vite/issues/9064)) ([a52b45e](https://togithub.com/vitejs/vite/commit/a52b45e)), closes [#9064](https://togithub.com/vitejs/vite/issues/9064) - fix: check server after tsconfig reload ([#9106](https://togithub.com/vitejs/vite/issues/9106)) ([d12d469](https://togithub.com/vitejs/vite/commit/d12d469)), closes [#9106](https://togithub.com/vitejs/vite/issues/9106) - fix: disable keepNames in `vite:esbuild` (fixes [#9164](https://togithub.com/vitejs/vite/issues/9164)) ([#9166](https://togithub.com/vitejs/vite/issues/9166)) ([e6f3b02](https://togithub.com/vitejs/vite/commit/e6f3b02)), closes [#9164](https://togithub.com/vitejs/vite/issues/9164) [#9166](https://togithub.com/vitejs/vite/issues/9166) - fix: externalize workspace relative import when bundle config ([#9140](https://togithub.com/vitejs/vite/issues/9140)) ([5a8a3ab](https://togithub.com/vitejs/vite/commit/5a8a3ab)), closes [#9140](https://togithub.com/vitejs/vite/issues/9140) - fix: mention that Node.js 13/15 support is dropped (fixes [#9113](https://togithub.com/vitejs/vite/issues/9113)) ([#9116](https://togithub.com/vitejs/vite/issues/9116)) ([2826303](https://togithub.com/vitejs/vite/commit/2826303)), closes [#9113](https://togithub.com/vitejs/vite/issues/9113) [#9116](https://togithub.com/vitejs/vite/issues/9116) - fix: resolve drive relative path ([#9097](https://togithub.com/vitejs/vite/issues/9097)) ([b393451](https://togithub.com/vitejs/vite/commit/b393451)), closes [#9097](https://togithub.com/vitejs/vite/issues/9097) - fix: respect .mjs .cjs extension in all modes ([#9141](https://togithub.com/vitejs/vite/issues/9141)) ([5ea70b3](https://togithub.com/vitejs/vite/commit/5ea70b3)), closes [#9141](https://togithub.com/vitejs/vite/issues/9141) - fix: return 500 on proxy error only if possible (fixes [#9172](https://togithub.com/vitejs/vite/issues/9172)) ([#9175](https://togithub.com/vitejs/vite/issues/9175)) ([d2f02a8](https://togithub.com/vitejs/vite/commit/d2f02a8)), closes [#9172](https://togithub.com/vitejs/vite/issues/9172) [#9175](https://togithub.com/vitejs/vite/issues/9175) - fix: server.proxy ws error causes crash ([#9123](https://togithub.com/vitejs/vite/issues/9123)) ([c2426d1](https://togithub.com/vitejs/vite/commit/c2426d1)), closes [#9123](https://togithub.com/vitejs/vite/issues/9123) - fix: ssr.external/noExternal should apply to packageName ([#9146](https://togithub.com/vitejs/vite/issues/9146)) ([5844d8e](https://togithub.com/vitejs/vite/commit/5844d8e)), closes [#9146](https://togithub.com/vitejs/vite/issues/9146) - fix: use correct require extension to load config ([#9118](https://togithub.com/vitejs/vite/issues/9118)) ([ebf682e](https://togithub.com/vitejs/vite/commit/ebf682e)), closes [#9118](https://togithub.com/vitejs/vite/issues/9118) - fix(esbuild): always support dynamic import and import meta ([#9105](https://togithub.com/vitejs/vite/issues/9105)) ([57a7936](https://togithub.com/vitejs/vite/commit/57a7936)), closes [#9105](https://togithub.com/vitejs/vite/issues/9105) - feat: allow declaring dirname ([#9154](https://togithub.com/vitejs/vite/issues/9154)) ([1e078ad](https://togithub.com/vitejs/vite/commit/1e078ad)), closes [#9154](https://togithub.com/vitejs/vite/issues/9154) - refactor: always load config with esbuild bundled code ([#9121](https://togithub.com/vitejs/vite/issues/9121)) ([a2b3131](https://togithub.com/vitejs/vite/commit/a2b3131)), closes [#9121](https://togithub.com/vitejs/vite/issues/9121) - docs: update default for optimizeDeps.disabled ([#9078](https://togithub.com/vitejs/vite/issues/9078)) ([4fbf9a8](https://togithub.com/vitejs/vite/commit/4fbf9a8)), closes [#9078](https://togithub.com/vitejs/vite/issues/9078) - chore: 3.0 release notes and bump peer deps ([#9072](https://togithub.com/vitejs/vite/issues/9072)) ([427ba26](https://togithub.com/vitejs/vite/commit/427ba26)), closes [#9072](https://togithub.com/vitejs/vite/issues/9072) ### [`v3.0.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#300-2022-07-13) [Compare Source](https://togithub.com/vitejs/vite/compare/v2.9.15...b8c625cec4db938032ad754c7095bd246a4698ee) ##### Main Changes > **Vite 3 is out!** > Read the [Vite 3 Announcement blog post](https://vitejs.dev/blog/announcing-vite3) - New docs theme using [VitePress](https://vitepress.vuejs.org/) v1 alpha: https://vitejs.dev - Vite CLI - The default dev server port is now 5173, with the preview server starting at 4173. - The default dev server host is now `localhost` instead of `127.0.0.1`. - Compatibility - Vite no longer supports Node v12, which reached its EOL. Node 14.18+ is now required. - Vite is now published as ESM, with a CJS proxy to the ESM entry for compatibility. - The Modern Browser Baseline now targets browsers which support the [native ES Modules](https://caniuse.com/es6-module) and [native ESM dynamic import](https://caniuse.com/es6-module-dynamic-import) and [`import.meta`](https://caniuse.com/mdn-javascript_statements_import_meta). - JS file extensions in SSR and lib mode now use a valid extension (`js`, `mjs`, or `cjs`) for output JS entries and chunks based on their format and the package type. - Architecture changes - Vite now avoids full reload during cold start when imports are injected by plugins in while crawling the initial statically imported modules ([#8869](https://togithub.com/vitejs/vite/issues/8869)). - Vite uses ESM for the SSR build by default, and previous [SSR externalization heuristics](https://vitejs.dev/guide/ssr.html#ssr-externals) are no longer needed. - `import.meta.glob` has been improved, read about the new features in the [Glob Import Guide](https://vitejs.dev/guide/features.html#glob-import) - The WebAssembly import API has been revised to avoid collisions with future standards. Read more in the [WebAssembly guide](https://vitejs.dev/guide/features.html#webassembly) - Improved support for relative base. - Experimental Features - [Build Advanced Base Options](https://vitejs.dev/guide/build.html#advanced-base-options) - [HMR Partial Accept](https://togithub.com/vitejs/vite/pull/7324) - Vite now allows the use of [esbuild to optimize dependencies during build time](https://vitejs.dev/guide/migration.html#using-esbuild-deps-optimization-at-build-time) avoiding the need of [`@rollup/plugin-commonjs`](https://togithub.com/rollup/plugins/tree/master/packages/commonjs), removing one of the difference id dependency handling between dev and prod. - Bundle size reduction - Terser is now an optional dependency. If you use `build.minify: 'terser'`, you'll need to install it (`npm add -D terser`) - node-forge moved out of the monorepo to [@vitejs/plugin-basic-ssl](https://vitejs.dev/guide/migration.html#automatic-https-certificate-generation) - Options that were [already deprecated in v2](https://vitejs.dev/guide/migration.html#config-options-changes) have been removed. > **Note** > Before updating, check out the [migration guide from v2](https://vitejs.dev/guide/migration) ##### Features - feat: expose server resolved urls ([#8986](https://togithub.com/vitejs/vite/issues/8986)) ([26bcdc3](https://togithub.com/vitejs/vite/commit/26bcdc3)), closes [#8986](https://togithub.com/vitejs/vite/issues/8986) - feat: show ws connection error ([#9007](https://togithub.com/vitejs/vite/issues/9007)) ([da7c3ae](https://togithub.com/vitejs/vite/commit/da7c3ae)), closes [#9007](https://togithub.com/vitejs/vite/issues/9007) - docs: update api-javascript ([#8999](https://togithub.com/vitejs/vite/issues/8999)) ([05b17df](https://togithub.com/vitejs/vite/commit/05b17df)), closes [#8999](https://togithub.com/vitejs/vite/issues/8999) - refactor: opt-in optimizeDeps during build and SSR ([#8965](https://togithub.com/vitejs/vite/issues/8965)) ([f8c8cf2](https://togithub.com/vitejs/vite/commit/f8c8cf2)), closes [#8965](https://togithub.com/vitejs/vite/issues/8965) - refactor!: move basic ssl setup to external plugin, fix [#8532](https://togithub.com/vitejs/vite/issues/8532) ([#8961](https://togithub.com/vitejs/vite/issues/8961)) ([5c6cf5a](https://togithub.com/vitejs/vite/commit/5c6cf5a)), closes [#8532](https://togithub.com/vitejs/vite/issues/8532) [#8961](https://togithub.com/vitejs/vite/issues/8961) - feat: avoid scanner during build and only optimize CJS in SSR ([#8932](https://togithub.com/vitejs/vite/issues/8932)) ([339d9e3](https://togithub.com/vitejs/vite/commit/339d9e3)), closes [#8932](https://togithub.com/vitejs/vite/issues/8932) - feat: improved cold start using deps scanner ([#8869](https://togithub.com/vitejs/vite/issues/8869)) ([188f188](https://togithub.com/vitejs/vite/commit/188f188)), closes [#8869](https://togithub.com/vitejs/vite/issues/8869) - feat: ssr.optimizeDeps ([#8917](https://togithub.com/vitejs/vite/issues/8917)) ([f280dd9](https://togithub.com/vitejs/vite/commit/f280dd9)), closes [#8917](https://togithub.com/vitejs/vite/issues/8917) - feat: support import assertions ([#8937](https://togithub.com/vitejs/vite/issues/8937)) ([2390422](https://togithub.com/vitejs/vite/commit/2390422)), closes [#8937](https://togithub.com/vitejs/vite/issues/8937) - feat: accept AcceptedPlugin type for postcss plugin ([#8830](https://togithub.com/vitejs/vite/issues/8830)) ([6886078](https://togithub.com/vitejs/vite/commit/6886078)), closes [#8830](https://togithub.com/vitejs/vite/issues/8830) - feat: ssrBuild flag in config env ([#8863](https://togithub.com/vitejs/vite/issues/8863)) ([b6d655a](https://togithub.com/vitejs/vite/commit/b6d655a)), closes [#8863](https://togithub.com/vitejs/vite/issues/8863) - feat: experimental.renderBuiltUrl (revised build base options) ([#8762](https://togithub.com/vitejs/vite/issues/8762)) ([895a7d6](https://togithub.com/vitejs/vite/commit/895a7d6)), closes [#8762](https://togithub.com/vitejs/vite/issues/8762) - feat: respect esbuild minify config for css ([#8811](https://togithub.com/vitejs/vite/issues/8811)) ([d90409e](https://togithub.com/vitejs/vite/commit/d90409e)), closes [#8811](https://togithub.com/vitejs/vite/issues/8811) - feat: use esbuild supported feature ([#8665](https://togithub.com/vitejs/vite/issues/8665)) ([2061d41](https://togithub.com/vitejs/vite/commit/2061d41)), closes [#8665](https://togithub.com/vitejs/vite/issues/8665) - feat: respect esbuild minify config ([#8754](https://togithub.com/vitejs/vite/issues/8754)) ([8b77695](https://togithub.com/vitejs/vite/commit/8b77695)), closes [#8754](https://togithub.com/vitejs/vite/issues/8754) - feat: update rollup commonjs plugin to v22 ([#8743](https://togithub.com/vitejs/vite/issues/8743)) ([d4dcdd1](https://togithub.com/vitejs/vite/commit/d4dcdd1)), closes [#8743](https://togithub.com/vitejs/vite/issues/8743) - feat: enable tree-shaking for lib es ([#8737](https://togithub.com/vitejs/vite/issues/8737)) ([5dc0f72](https://togithub.com/vitejs/vite/commit/5dc0f72)), closes [#8737](https://togithub.com/vitejs/vite/issues/8737) - feat: supports cts and mts config ([#8729](https://togithub.com/vitejs/vite/issues/8729)) ([c2b09db](https://togithub.com/vitejs/vite/commit/c2b09db)), closes [#8729](https://togithub.com/vitejs/vite/issues/8729) - feat: bump minimum node version to 14.18.0 ([#8662](https://togithub.com/vitejs/vite/issues/8662)) ([8a05432](https://togithub.com/vitejs/vite/commit/8a05432)), closes [#8662](https://togithub.com/vitejs/vite/issues/8662) - feat: experimental.buildAdvancedBaseOptions ([#8450](https://togithub.com/vitejs/vite/issues/8450)) ([8ef7333](https://togithub.com/vitejs/vite/commit/8ef7333)), closes [#8450](https://togithub.com/vitejs/vite/issues/8450) - feat: export esbuildVersion and rollupVersion ([#8675](https://togithub.com/vitejs/vite/issues/8675)) ([15ebe1e](https://togithub.com/vitejs/vite/commit/15ebe1e)), closes [#8675](https://togithub.com/vitejs/vite/issues/8675) - feat: print resolved address for localhost ([#8647](https://togithub.com/vitejs/vite/issues/8647)) ([eb52d36](https://togithub.com/vitejs/vite/commit/eb52d36)), closes [#8647](https://togithub.com/vitejs/vite/issues/8647) - feat(hmr): experimental.hmrPartialAccept ([#7324](https://togithub.com/vitejs/vite/issues/7324)) ([83dab7e](https://togithub.com/vitejs/vite/commit/83dab7e)), closes [#7324](https://togithub.com/vitejs/vite/issues/7324) - refactor: type client maps ([#8626](https://togithub.com/vitejs/vite/issues/8626)) ([cf87882](https://togithub.com/vitejs/vite/commit/cf87882)), closes [#8626](https://togithub.com/vitejs/vite/issues/8626) - feat: cleaner default dev output ([#8638](https://togithub.com/vitejs/vite/issues/8638)) ([dbd9688](https://togithub.com/vitejs/vite/commit/dbd9688)), closes [#8638](https://togithub.com/vitejs/vite/issues/8638) - feat: legacy options to revert to v2 strategies ([#8623](https://togithub.com/vitejs/vite/issues/8623)) ([993b842](https://togithub.com/vitejs/vite/commit/993b842)), closes [#8623](https://togithub.com/vitejs/vite/issues/8623) - feat: support async plugins ([#8574](https://togithub.com/vitejs/vite/issues/8574)) ([caa8a58](https://togithub.com/vitejs/vite/commit/caa8a58)), closes [#8574](https://togithub.com/vitejs/vite/issues/8574) - feat: support cjs noExternal in SSR dev, fix [#2579](https://togithub.com/vitejs/vite/issues/2579) ([#8430](https://togithub.com/vitejs/vite/issues/8430)) ([11d2191](https://togithub.com/vitejs/vite/commit/11d2191)), closes [#2579](https://togithub.com/vitejs/vite/issues/2579) [#8430](https://togithub.com/vitejs/vite/issues/8430) - feat(dev): added assets to manifest ([#6649](https://togithub.com/vitejs/vite/issues/6649)) ([cdf744d](https://togithub.com/vitejs/vite/commit/cdf744d)), closes [#6649](https://togithub.com/vitejs/vite/issues/6649) - feat!: appType (spa, mpa, custom), boolean middlewareMode ([#8452](https://togithub.com/vitejs/vite/issues/8452)) ([14db473](https://togithub.com/vitejs/vite/commit/14db473)), closes [#8452](https://togithub.com/vitejs/vite/issues/8452) - feat: 500 response if the node proxy request fails ([#7398](https://togithub.com/vitejs/vite/issues/7398)) ([73e1775](https://togithub.com/vitejs/vite/commit/73e1775)), closes [#7398](https://togithub.com/vitejs/vite/issues/7398) - feat: expose createFilter util ([#8562](https://togithub.com/vitejs/vite/issues/8562)) ([c5c424a](https://togithub.com/vitejs/vite/commit/c5c424a)), closes [#8562](https://togithub.com/vitejs/vite/issues/8562) - feat: better config `__dirname` support ([#8442](https://togithub.com/vitejs/vite/issues/8442)) ([51e9195](https://togithub.com/vitejs/vite/commit/51e9195)), closes [#8442](https://togithub.com/vitejs/vite/issues/8442) - feat: expose `version` ([#8456](https://togithub.com/vitejs/vite/issues/8456)) ([e992594](https://togithub.com/vitejs/vite/commit/e992594)), closes [#8456](https://togithub.com/vitejs/vite/issues/8456) - feat: handle named imports of builtin modules ([#8338](https://togithub.com/vitejs/vite/issues/8338)) ([e2e44ff](https://togithub.com/vitejs/vite/commit/e2e44ff)), closes [#8338](https://togithub.com/vitejs/vite/issues/8338) - feat: preserve process env vars in lib build ([#8090](https://togithub.com/vitejs/vite/issues/8090)) ([908c9e4](https://togithub.com/vitejs/vite/commit/908c9e4)), closes [#8090](https://togithub.com/vitejs/vite/issues/8090) - refactor!: make terser an optional dependency ([#8049](https://togithub.com/vitejs/vite/issues/8049)) ([164f528](https://togithub.com/vitejs/vite/commit/164f528)), closes [#8049](https://togithub.com/vitejs/vite/issues/8049) - chore: resolve ssr options ([#8455](https://togithub.com/vitejs/vite/issues/8455)) ([d97e402](https://togithub.com/vitejs/vite/commit/d97e402)), closes [#8455](https://togithub.com/vitejs/vite/issues/8455) - perf: disable postcss sourcemap when unused ([#8451](https://togithub.com/vitejs/vite/issues/8451)) ([64fc61c](https://togithub.com/vitejs/vite/commit/64fc61c)), closes [#8451](https://togithub.com/vitejs/vite/issues/8451) - feat: add ssr.format to force esm output for ssr ([#6812](https://togithub.com/vitejs/vite/issues/6812)) ([337b197](https://togithub.com/vitejs/vite/commit/337b197)), closes [#6812](https://togithub.com/vitejs/vite/issues/6812) - feat: default esm SSR build, simplified externalization ([#8348](https://togithub.com/vitejs/vite/issues/8348)) ([f8c92d1](https://togithub.com/vitejs/vite/commit/f8c92d1)), closes [#8348](https://togithub.com/vitejs/vite/issues/8348) - feat: derive proper js extension from package type ([#8382](https://togithub.com/vitejs/vite/issues/8382)) ([95cdd81](https://togithub.com/vitejs/vite/commit/95cdd81)), closes [#8382](https://togithub.com/vitejs/vite/issues/8382) - feat: ssr build using optimized deps ([#8403](https://togithub.com/vitejs/vite/issues/8403)) ([6a5a5b5](https://togithub.com/vitejs/vite/commit/6a5a5b5)), closes [#8403](https://togithub.com/vitejs/vite/issues/8403) - refactor: `ExportData.imports` to `ExportData.hasImports` ([#8355](https://togithub.com/vitejs/vite/issues/8355)) ([168de2d](https://togithub.com/vitejs/vite/commit/168de2d)), closes [#8355](https://togithub.com/vitejs/vite/issues/8355) - feat: scan free dev server ([#8319](https://togithub.com/vitejs/vite/issues/8319)) ([3f742b6](https://togithub.com/vitejs/vite/commit/3f742b6)), closes [#8319](https://togithub.com/vitejs/vite/issues/8319) - feat: non-blocking esbuild optimization at build time ([#8280](https://togithub.com/vitejs/vite/issues/8280)) ([909cf9c](https://togithub.com/vitejs/vite/commit/909cf9c)), closes [#8280](https://togithub.com/vitejs/vite/issues/8280) - feat: non-blocking needs interop ([#7568](https://togithub.com/vitejs/vite/issues/7568)) ([531cd7b](https://togithub.com/vitejs/vite/commit/531cd7b)), closes [#7568](https://togithub.com/vitejs/vite/issues/7568) - refactor(cli): improve output aesthetics ([#6997](https://togithub.com/vitejs/vite/issues/6997)) ([809ab47](https://togithub.com/vitejs/vite/commit/809ab47)), closes [#6997](https://togithub.com/vitejs/vite/issues/6997) - dx: sourcemap combine debug utils ([#8307](https://togithub.com/vitejs/vite/issues/8307)) ([45dba50](https://togithub.com/vitejs/vite/commit/45dba50)), closes [#8307](https://togithub.com/vitejs/vite/issues/8307) - feat: sourcemap for importAnalysis ([#8258](https://togithub.com/vitejs/vite/issues/8258)) ([a4e4d39](https://togithub.com/vitejs/vite/commit/a4e4d39)), closes [#8258](https://togithub.com/vitejs/vite/issues/8258) - feat: spa option, `preview` and `dev` for MPA and SSR apps ([#8217](https://togithub.com/vitejs/vite/issuConfiguration
š Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
š¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.