Closed renovate[bot] closed 2 years ago
This PR contains the following updates:
3.0.6
3.1.3
📅 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.
This PR contains the following updates:
3.0.6
->3.1.3
Release Notes
vitejs/vite
### [`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)Configuration
📅 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.