EtherealEngine / Blockchain-in-a-Box

A batteries-included ethereum blockchain for bootstrapping the Metaverse.🚀🚀🚀
MIT License
61 stars 36 forks source link

Update dependency vite to v2.9.1 #710

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vite 2.8.6 -> 2.9.1 age adoption passing confidence

Release Notes

vitejs/vite ### [`v2.9.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small291-2022-03-31-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v2.9.0...v2.9.1) - fix: allow port 0 to be provided to server ([#​7530](https://togithub.com/vitejs/vite/issues/7530)) ([173e4c9](https://togithub.com/vitejs/vite/commit/173e4c9)), closes [#​7530](https://togithub.com/vitejs/vite/issues/7530) - fix: brotli let for reassignment ([#​7544](https://togithub.com/vitejs/vite/issues/7544)) ([d0253d7](https://togithub.com/vitejs/vite/commit/d0253d7)), closes [#​7544](https://togithub.com/vitejs/vite/issues/7544) - fix: dynamic import warning with [@​vite-ignore](https://togithub.com/vite-ignore) ([#​7533](https://togithub.com/vitejs/vite/issues/7533)) ([29c1ec0](https://togithub.com/vitejs/vite/commit/29c1ec0)), closes [#​7533](https://togithub.com/vitejs/vite/issues/7533) - fix: remove unneeded skipping optimization log ([#​7531](https://togithub.com/vitejs/vite/issues/7531)) ([41fa2f5](https://togithub.com/vitejs/vite/commit/41fa2f5)), closes [#​7531](https://togithub.com/vitejs/vite/issues/7531) - docs(changelog): fix raw glob imports syntax ([#​7540](https://togithub.com/vitejs/vite/issues/7540)) ([87fbe13](https://togithub.com/vitejs/vite/commit/87fbe13)), closes [#​7540](https://togithub.com/vitejs/vite/issues/7540) - chore: 2.9 release notes ([#​7525](https://togithub.com/vitejs/vite/issues/7525)) ([4324f48](https://togithub.com/vitejs/vite/commit/4324f48)), closes [#​7525](https://togithub.com/vitejs/vite/issues/7525) ### [`v2.9.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#​290-httpsgithubcomvitejsvitecomparev286v290-2022-03-30) [Compare Source](https://togithub.com/vitejs/vite/compare/v2.8.6...v2.9.0) ##### Faster Cold Start Before 2.9, the first time dev was run on a project Vite needed to perform a scan phase to discover dependencies and then pre-bundle them before starting the server. In 2.9 both scanning [#​7379](https://togithub.com/vitejs/vite/issues/7379) and pre-bundling [#​6758](https://togithub.com/vitejs/vite/issues/6758) of dependencies are now non-blocking, so the server starts right away during cold start. We also now allow requests to flow through the pipeline improving initial cold start load speed and increasing the chances of discovering new missing dependencies when re-processing and letting Vite populate the module graph and the browser to process files. In many cases, there is also no need to full-reload the page when new dependencies are discovered. ##### CSS Sourcemap support during dev (experimental) Vite now supports CSS sourcemaps [#​7173](https://togithub.com/vitejs/vite/issues/7173). This feature is still experimental, and it is disabled by default to avoid incurring a performance penalty for users that don't need it. To enable it, set [css.devSourcemap](https://vitejs.dev/config/#css-devsourcemap) to `true`. ##### Avoid splitting vendor chunks by default Vite's default chunking strategy was a good fit for most SPAs, but it wasn't ideal in some other use cases. Vite doesn't have enough context to make the best decision here, so in Vite 2.9 the previous chunking strategy is now [opt-in](https://vitejs.dev/guide/build.html#chunking-strategy) [#​6534](https://togithub.com/vitejs/vite/issues/6534) and Vite will no longer split vendor libs in a separate chunk. ##### Web Workers enhancements Web Workers now supports source map generation (see [#​5417](https://togithub.com/vitejs/vite/issues/5417)). The implementation is also now more robust, fixing several issues encountered in previous versions ([#​6599](https://togithub.com/vitejs/vite/issues/6599)). ##### Raw Glob Imports Glob imports support for the `raw` modifier syntax has changed to using `{ as: 'raw' }`, which works in the same way as the `?raw` suffix in regular imports: ```js const examples = import.meta.globEager('./examples/*.html', { as: 'raw' }) ``` The `{ assert: { type: 'raw' }}` syntax introduced in v2.8 has been deprecated. See [#​7017](https://togithub.com/vitejs/vite/issues/7017) for more information. ##### `envDir` changes The `envDir` now correctly loads `.env` files in the specified directory only (defaults to `root`). Previously, it would load files above the directory, which imposed security issues. If you had relied on the previous behaviour, make sure you move your `.env` files to the correct directory, or configure the `envDir` option. ##### New tools for Plugin and Framework Authors ##### Client Server Communication API Vite now provides utilities for plugins to help handle the communication with clients connected to Vite's server [#​7437](https://togithub.com/vitejs/vite/issues/7437). Reusing the open WebSocket connection between the server and clients several use cases can be simplified ([vite-plugin-inspect](https://togithub.com/antfu/vite-plugin-inspect), [SliDev](https://sli.dev), and many others). Check out the [Client Server Communication docs](https://vitejs.dev/guide/api-plugin.html#client-server-communication) for more information. ```js // Send a message from the client to the server if (import.meta.hot) { import.meta.hot.send('my:from-client', { msg: 'Hey!' }) } ``` ```js // And listen to client messages in a plugin configureServer(server) { server.ws.on('my:from-client', (data, client) => { console.log('Message from client:', data.msg) // Hey! // ... }) } ``` ##### `importedCss` and `importedAssets` to RenderedChunk type Replace the internal `chunkToEmittedCssFileMap` and `chunkToEmittedAssetsMap` variables with public properties added by Vite to `RenderedChunk` objects in the `renderChunk` phase. These is useful for Vite-based frameworks that generate their own HTML. See [#​6629](https://togithub.com/vitejs/vite/issues/6629). ##### Optimize Custom Extensions (experimental) A new `optimizeDeps.extensions: string[]` option is available to enable pre-bundling of custom extensions. A respective esbuild plugin is required to handle that extension. e.g. `['.svelte', '.svelte.md']`. See [#​6801](https://togithub.com/vitejs/vite/issues/6801) for more information. ##### Bug Fixes - fix: build path error on Windows ([#​7383](https://togithub.com/vitejs/vite/issues/7383)) ([e3c7c7a](https://togithub.com/vitejs/vite/commit/e3c7c7a)), closes [#​7383](https://togithub.com/vitejs/vite/issues/7383) - fix: import url worker two times ([#​7468](https://togithub.com/vitejs/vite/issues/7468)) ([f05a813](https://togithub.com/vitejs/vite/commit/f05a813)), closes [#​7468](https://togithub.com/vitejs/vite/issues/7468) - fix: import with query with exports/browser field ([#​7098](https://togithub.com/vitejs/vite/issues/7098)) ([9ce6732](https://togithub.com/vitejs/vite/commit/9ce6732)), closes [#​7098](https://togithub.com/vitejs/vite/issues/7098) - fix: make [@​fs](https://togithub.com/fs) URLs work with special characters ([#​7510](https://togithub.com/vitejs/vite/issues/7510)) ([2b7dad1](https://togithub.com/vitejs/vite/commit/2b7dad1)), closes [#​7510](https://togithub.com/vitejs/vite/issues/7510) - fix: tailwind css sourcemap warning ([#​7480](https://togithub.com/vitejs/vite/issues/7480)) ([90df0bb](https://togithub.com/vitejs/vite/commit/90df0bb)), closes [#​7480](https://togithub.com/vitejs/vite/issues/7480) - fix: worker match only run in js ([#​7500](https://togithub.com/vitejs/vite/issues/7500)) ([9481c7d](https://togithub.com/vitejs/vite/commit/9481c7d)), closes [#​7500](https://togithub.com/vitejs/vite/issues/7500) - fix: Correctly process urls when they are rewritten to contain space ([#​7452](https://togithub.com/vitejs/vite/issues/7452)) ([9ee2cf6](https://togithub.com/vitejs/vite/commit/9ee2cf6)), closes [#​7452](https://togithub.com/vitejs/vite/issues/7452) - fix: custom event payload type ([#​7498](https://togithub.com/vitejs/vite/issues/7498)) ([28b0660](https://togithub.com/vitejs/vite/commit/28b0660)), closes [#​7498](https://togithub.com/vitejs/vite/issues/7498) - fix: handle relative path glob raw import, fix [#​7307](https://togithub.com/vitejs/vite/issues/7307) ([#​7371](https://togithub.com/vitejs/vite/issues/7371)) ([7f8dc58](https://togithub.com/vitejs/vite/commit/7f8dc58)), closes [#​7307](https://togithub.com/vitejs/vite/issues/7307) [#​7371](https://togithub.com/vitejs/vite/issues/7371) - fix: import.meta.url in worker ([#​7464](https://togithub.com/vitejs/vite/issues/7464)) ([8ac4b12](https://togithub.com/vitejs/vite/commit/8ac4b12)), closes [#​7464](https://togithub.com/vitejs/vite/issues/7464) - fix: optimizeDeps.entries default ignore paths ([#​7469](https://togithub.com/vitejs/vite/issues/7469)) ([4c95e99](https://togithub.com/vitejs/vite/commit/4c95e99)), closes [#​7469](https://togithub.com/vitejs/vite/issues/7469) - fix: errors in worker handling ([#​7236](https://togithub.com/vitejs/vite/issues/7236)) ([77dc1a1](https://togithub.com/vitejs/vite/commit/77dc1a1)), closes [#​7236](https://togithub.com/vitejs/vite/issues/7236) - fix: consider undefined port when checking port ([#​7318](https://togithub.com/vitejs/vite/issues/7318)) ([c7fc7c3](https://togithub.com/vitejs/vite/commit/c7fc7c3)), closes [#​7318](https://togithub.com/vitejs/vite/issues/7318) - fix: inline style css sourcemap ([#​7434](https://togithub.com/vitejs/vite/issues/7434)) ([47668b5](https://togithub.com/vitejs/vite/commit/47668b5)), closes [#​7434](https://togithub.com/vitejs/vite/issues/7434) - fix: sourcemap missing source files warning with cached vue ([#​7442](https://togithub.com/vitejs/vite/issues/7442)) ([a2ce20d](https://togithub.com/vitejs/vite/commit/a2ce20d)), closes [#​7442](https://togithub.com/vitejs/vite/issues/7442) - fix: update tsconfck to 1.2.1 ([#​7424](https://togithub.com/vitejs/vite/issues/7424)) ([a90b03b](https://togithub.com/vitejs/vite/commit/a90b03b)), closes [#​7424](https://togithub.com/vitejs/vite/issues/7424) - fix: virtual html sourcemap warning ([#​7440](https://togithub.com/vitejs/vite/issues/7440)) ([476786b](https://togithub.com/vitejs/vite/commit/476786b)), closes [#​7440](https://togithub.com/vitejs/vite/issues/7440) - fix(less): empty less file error ([#​7412](https://togithub.com/vitejs/vite/issues/7412)) ([0535c70](https://togithub.com/vitejs/vite/commit/0535c70)), closes [#​7412](https://togithub.com/vitejs/vite/issues/7412) - fix(resolve): skip `module` field when the importer is a `require` call ([#​7438](https://togithub.com/vitejs/vite/issues/7438)) ([fe4c1ed](https://togithub.com/vitejs/vite/commit/fe4c1ed)), closes [#​7438](https://togithub.com/vitejs/vite/issues/7438) - fix: avoid mangling code from incorrect magic-string usage ([#​7397](https://togithub.com/vitejs/vite/issues/7397)) ([68d76c9](https://togithub.com/vitejs/vite/commit/68d76c9)), closes [#​7397](https://togithub.com/vitejs/vite/issues/7397) - fix(config): server restart on config dependencies changed on windows ([#​7366](https://togithub.com/vitejs/vite/issues/7366)) ([c43467a](https://togithub.com/vitejs/vite/commit/c43467a)), closes [#​7366](https://togithub.com/vitejs/vite/issues/7366) - fix(deps): update all non-major dependencies ([#​7392](https://togithub.com/vitejs/vite/issues/7392)) ([b63fc3b](https://togithub.com/vitejs/vite/commit/b63fc3b)), closes [#​7392](https://togithub.com/vitejs/vite/issues/7392) - fix: add version to optimized chunks, fix [#​7323](https://togithub.com/vitejs/vite/issues/7323) ([#​7350](https://togithub.com/vitejs/vite/issues/7350)) ([1be1db6](https://togithub.com/vitejs/vite/commit/1be1db6)), closes [#​7323](https://togithub.com/vitejs/vite/issues/7323) [#​7350](https://togithub.com/vitejs/vite/issues/7350) - fix: browser cache of newly discovered deps ([#​7378](https://togithub.com/vitejs/vite/issues/7378)) ([392a0de](https://togithub.com/vitejs/vite/commit/392a0de)), closes [#​7378](https://togithub.com/vitejs/vite/issues/7378) - fix: do not warn (about not being able to bundle non module scripts) when src is an external url ([#​7](https://togithub.com/vitejs/vite/issues/7) ([0646fe8](https://togithub.com/vitejs/vite/commit/0646fe8)), closes [#​7380](https://togithub.com/vitejs/vite/issues/7380) - fix: overwrite deps info browserHash only on commit ([#​7359](https://togithub.com/vitejs/vite/issues/7359)) ([1e9615d](https://togithub.com/vitejs/vite/commit/1e9615d)), closes [#​7359](https://togithub.com/vitejs/vite/issues/7359) - fix: delayed full page reload ([#​7347](https://togithub.com/vitejs/vite/issues/7347)) ([fa0820a](https://togithub.com/vitejs/vite/commit/fa0820a)), closes [#​7347](https://togithub.com/vitejs/vite/issues/7347) - fix: early discovery of missing deps, fix [#​7333](https://togithub.com/vitejs/vite/issues/7333) ([#​7346](https://togithub.com/vitejs/vite/issues/7346)) ([7d2f37c](https://togithub.com/vitejs/vite/commit/7d2f37c)), closes [#​7333](https://togithub.com/vitejs/vite/issues/7333) [#​7346](https://togithub.com/vitejs/vite/issues/7346) - fix: unhandled exception on eager transformRequest ([#​7345](https://togithub.com/vitejs/vite/issues/7345)) ([c3260a4](https://togithub.com/vitejs/vite/commit/c3260a4)), closes [#​7345](https://togithub.com/vitejs/vite/issues/7345) - fix: update to esbuild 0.14.27, fix [#​6994](https://togithub.com/vitejs/vite/issues/6994) ([#​7320](https://togithub.com/vitejs/vite/issues/7320)) ([65aaeee](https://togithub.com/vitejs/vite/commit/65aaeee)), closes [#​6994](https://togithub.com/vitejs/vite/issues/6994) [#​7320](https://togithub.com/vitejs/vite/issues/7320) - fix: `ssrExternal` should not skip nested dependencies ([#​7154](https://togithub.com/vitejs/vite/issues/7154)) ([f8f934a](https://togithub.com/vitejs/vite/commit/f8f934a)), closes [#​7154](https://togithub.com/vitejs/vite/issues/7154) - fix: dep with dynamic import wrong error log ([#​7313](https://togithub.com/vitejs/vite/issues/7313)) ([769f535](https://togithub.com/vitejs/vite/commit/769f535)), closes [#​7313](https://togithub.com/vitejs/vite/issues/7313) - fix: avoid caching transform result of invalidated module ([#​7254](https://togithub.com/vitejs/vite/issues/7254)) ([2d7ba72](https://togithub.com/vitejs/vite/commit/2d7ba72)), closes [#​7254](https://togithub.com/vitejs/vite/issues/7254) - fix: dont replace define in json ([#​7294](https://togithub.com/vitejs/vite/issues/7294)) ([fc5c937](https://togithub.com/vitejs/vite/commit/fc5c937)), closes [#​7294](https://togithub.com/vitejs/vite/issues/7294) - fix: main browserHash after stable optimization rerun ([#​7284](https://togithub.com/vitejs/vite/issues/7284)) ([98eefa8](https://togithub.com/vitejs/vite/commit/98eefa8)), closes [#​7284](https://togithub.com/vitejs/vite/issues/7284) - fix: needs es interop check for newly discovered deps ([#​7243](https://togithub.com/vitejs/vite/issues/7243)) ([ba3047d](https://togithub.com/vitejs/vite/commit/ba3047d)), closes [#​7243](https://togithub.com/vitejs/vite/issues/7243) - fix: pending requests after module invalidation ([#​7283](https://togithub.com/vitejs/vite/issues/7283)) ([a1044d7](https://togithub.com/vitejs/vite/commit/a1044d7)), closes [#​7283](https://togithub.com/vitejs/vite/issues/7283) - fix: use browserHash for imports from node_modules ([#​7278](https://togithub.com/vitejs/vite/issues/7278)) ([161f8ea](https://togithub.com/vitejs/vite/commit/161f8ea)), closes [#​7278](https://togithub.com/vitejs/vite/issues/7278) - fix: use hmr port if specified ([#​7282](https://togithub.com/vitejs/vite/issues/7282)) ([3ee04c0](https://togithub.com/vitejs/vite/commit/3ee04c0)), closes [#​7282](https://togithub.com/vitejs/vite/issues/7282) - fix: use relative paths in \_metadata.json ([#​7299](https://togithub.com/vitejs/vite/issues/7299)) ([8b945f5](https://togithub.com/vitejs/vite/commit/8b945f5)), closes [#​7299](https://togithub.com/vitejs/vite/issues/7299) - fix(asset): allow non-existent url ([#​7306](https://togithub.com/vitejs/vite/issues/7306)) ([6bc45a2](https://togithub.com/vitejs/vite/commit/6bc45a2)), closes [#​7306](https://togithub.com/vitejs/vite/issues/7306) - fix(hmr): hmr style tag no support in html ([#​7262](https://togithub.com/vitejs/vite/issues/7262)) ([fae120a](https://togithub.com/vitejs/vite/commit/fae120a)), closes [#​7262](https://togithub.com/vitejs/vite/issues/7262) - fix: `import.meta.url` should not throw ([#​7219](https://togithub.com/vitejs/vite/issues/7219)) ([5de3a98](https://togithub.com/vitejs/vite/commit/5de3a98)), closes [#​7219](https://togithub.com/vitejs/vite/issues/7219) - fix: allow `localhost` as a valid hostname ([#​7092](https://togithub.com/vitejs/vite/issues/7092)) ([4194cce](https://togithub.com/vitejs/vite/commit/4194cce)), closes [#​7092](https://togithub.com/vitejs/vite/issues/7092) - fix: build optimize deps metada location ([#​7214](https://togithub.com/vitejs/vite/issues/7214)) ([dc46adf](https://togithub.com/vitejs/vite/commit/dc46adf)), closes [#​7214](https://togithub.com/vitejs/vite/issues/7214) - fix: define plugin not ignore file names ([#​6340](https://togithub.com/vitejs/vite/issues/6340)) ([7215a03](https://togithub.com/vitejs/vite/commit/7215a03)), closes [#​6340](https://togithub.com/vitejs/vite/issues/6340) - fix: deprecate `{ assert: { type: raw }}` in favor of `{ as: raw }` (fix [#​7017](https://togithub.com/vitejs/vite/issues/7017)) ([#​7215](https://togithub.com/vitejs/vite/issues/7215)) ([87ecce5](https://togithub.com/vitejs/vite/commit/87ecce5)), closes [#​7017](https://togithub.com/vitejs/vite/issues/7017) [#​7215](https://togithub.com/vitejs/vite/issues/7215) - fix: execute classic worker in dev mode ([#​7099](https://togithub.com/vitejs/vite/issues/7099)) ([3c0a609](https://togithub.com/vitejs/vite/commit/3c0a609)), closes [#​7099](https://togithub.com/vitejs/vite/issues/7099) - fix: handle files with multiple comments ([#​7202](https://togithub.com/vitejs/vite/issues/7202)) ([3f5b645](https://togithub.com/vitejs/vite/commit/3f5b645)), closes [#​7202](https://togithub.com/vitejs/vite/issues/7202) - fix: honor the host param when creating a websocket server ([#​5617](https://togithub.com/vitejs/vite/issues/5617)) ([882c8a8](https://togithub.com/vitejs/vite/commit/882c8a8)), closes [#​5617](https://togithub.com/vitejs/vite/issues/5617) - fix: import css in less/scss (fix 3293) ([#​7147](https://togithub.com/vitejs/vite/issues/7147)) ([9b51a3a](https://togithub.com/vitejs/vite/commit/9b51a3a)), closes [#​7147](https://togithub.com/vitejs/vite/issues/7147) - fix: optimizeDeps.include missing in known imports fallback ([#​7218](https://togithub.com/vitejs/vite/issues/7218)) ([6c08c86](https://togithub.com/vitejs/vite/commit/6c08c86)), closes [#​7218](https://togithub.com/vitejs/vite/issues/7218) - fix: prevent loading env outside of root ([#​6995](https://togithub.com/vitejs/vite/issues/6995)) ([e0a4d81](https://togithub.com/vitejs/vite/commit/e0a4d81)), closes [#​6995](https://togithub.com/vitejs/vite/issues/6995) - fix: reoptimize deps on esbuild options change ([#​6855](https://togithub.com/vitejs/vite/issues/6855)) ([4517c2b](https://togithub.com/vitejs/vite/commit/4517c2b)), closes [#​6855](https://togithub.com/vitejs/vite/issues/6855) - fix: replacing compression with modern version ([#​6557](https://togithub.com/vitejs/vite/issues/6557)) ([5648d09](https://togithub.com/vitejs/vite/commit/5648d09)), closes [#​6557](https://togithub.com/vitejs/vite/issues/6557) - fix: restart optimize ([#​7004](https://togithub.com/vitejs/vite/issues/7004)) ([47fbe29](https://togithub.com/vitejs/vite/commit/47fbe29)), closes [#​7004](https://togithub.com/vitejs/vite/issues/7004) - fix: reusing variable names in html module scripts (fix [#​6851](https://togithub.com/vitejs/vite/issues/6851)) ([#​6818](https://togithub.com/vitejs/vite/issues/6818)) ([c46b56d](https://togithub.com/vitejs/vite/commit/c46b56d)), closes [#​6851](https://togithub.com/vitejs/vite/issues/6851) [#​6818](https://togithub.com/vitejs/vite/issues/6818) - fix: revert [#​6340](https://togithub.com/vitejs/vite/issues/6340), definePlugin tests, warning box ([#​7174](https://togithub.com/vitejs/vite/issues/7174)) ([6cb0647](https://togithub.com/vitejs/vite/commit/6cb0647)), closes [#​6340](https://togithub.com/vitejs/vite/issues/6340) [#​7174](https://togithub.com/vitejs/vite/issues/7174) - fix: update postcss-load-config to load PostCSS plugins based on their config file path ([#​6856](https://togithub.com/vitejs/vite/issues/6856)) ([f02f961](https://togithub.com/vitejs/vite/commit/f02f961)), closes [#​6856](https://togithub.com/vitejs/vite/issues/6856) - fix(hmr): client pinging behind a proxy on websocket disconnect (fix [#​4501](https://togithub.com/vitejs/vite/issues/4501)) ([#​5466](https://togithub.com/vitejs/vite/issues/5466)) ([96573db](https://togithub.com/vitejs/vite/commit/96573db)), closes [#​4501](https://togithub.com/vitejs/vite/issues/4501) [#​5466](https://togithub.com/vitejs/vite/issues/5466) - fix(html): build mode ignore html define transform ([#​6663](https://togithub.com/vitejs/vite/issues/6663)) ([79dd003](https://togithub.com/vitejs/vite/commit/79dd003)), closes [#​6663](https://togithub.com/vitejs/vite/issues/6663) - fix(json): load json module error ([#​6352](https://togithub.com/vitejs/vite/issues/6352)) ([c8a7ea8](https://togithub.com/vitejs/vite/commit/c8a7ea8)), closes [#​6352](https://togithub.com/vitejs/vite/issues/6352) - fix(optimizer): add missing keys to hash ([#​7189](https://togithub.com/vitejs/vite/issues/7189)) ([b0c0efe](https://togithub.com/vitejs/vite/commit/b0c0efe)), closes [#​7189](https://togithub.com/vitejs/vite/issues/7189) - fix(resolve): try .tsx extension for .js import from typescript module ([#​7005](https://togithub.com/vitejs/vite/issues/7005)) ([72b8cb6](https://togithub.com/vitejs/vite/commit/72b8cb6)), closes [#​7005](https://togithub.com/vitejs/vite/issues/7005) - fix(server): base middleware redirect with search and hash ([#​6574](https://togithub.com/vitejs/vite/issues/6574)) ([a516e85](https://togithub.com/vitejs/vite/commit/a516e85)), closes [#​6574](https://togithub.com/vitejs/vite/issues/6574) - fix(server): ensure consistency for url to file mapping in importAnalysis and static middleware ([#​65](https://togithub.com/vitejs/vite/issues/65) ([b214115](https://togithub.com/vitejs/vite/commit/b214115)), closes [#​6518](https://togithub.com/vitejs/vite/issues/6518) - fix(ssr): bypass missing resolve error in SSR ([#​7164](https://togithub.com/vitejs/vite/issues/7164)) ([a4927c5](https://togithub.com/vitejs/vite/commit/a4927c5)), closes [#​7164](https://togithub.com/vitejs/vite/issues/7164) ##### Features - feat(worker): Add sourcemap support for worker bundles ([#​5417](https://togithub.com/vitejs/vite/issues/5417)) ([465b6b9](https://togithub.com/vitejs/vite/commit/465b6b9)), closes [#​5417](https://togithub.com/vitejs/vite/issues/5417) - feat(type): support typing for custom events ([#​7476](https://togithub.com/vitejs/vite/issues/7476)) ([50a8765](https://togithub.com/vitejs/vite/commit/50a8765)), closes [#​7476](https://togithub.com/vitejs/vite/issues/7476) - refactor(types): share hot context type ([#​7475](https://togithub.com/vitejs/vite/issues/7475)) ([64ddff0](https://togithub.com/vitejs/vite/commit/64ddff0)), closes [#​7475](https://togithub.com/vitejs/vite/issues/7475) - feat: support importing css with ?raw ([#​5796](https://togithub.com/vitejs/vite/issues/5796)) ([fedb106](https://togithub.com/vitejs/vite/commit/fedb106)), closes [#​5796](https://togithub.com/vitejs/vite/issues/5796) - feat(css): css.devSourcemap option ([#​7471](https://togithub.com/vitejs/vite/issues/7471)) ([57f14cb](https://togithub.com/vitejs/vite/commit/57f14cb)), closes [#​7471](https://togithub.com/vitejs/vite/issues/7471) - feat(dev): expose APIs for client-server communication ([#​7437](https://togithub.com/vitejs/vite/issues/7437)) ([e29ea8e](https://togithub.com/vitejs/vite/commit/e29ea8e)), closes [#​7437](https://togithub.com/vitejs/vite/issues/7437) - feat: hide optimized deps found during scan phase logs ([#​7419](https://togithub.com/vitejs/vite/issues/7419)) ([f4934e8](https://togithub.com/vitejs/vite/commit/f4934e8)), closes [#​7419](https://togithub.com/vitejs/vite/issues/7419) - feat: non-blocking scanning of dependencies ([#​7379](https://togithub.com/vitejs/vite/issues/7379)) ([676f545](https://togithub.com/vitejs/vite/commit/676f545)), closes [#​7379](https://togithub.com/vitejs/vite/issues/7379) - feat: css sourcemap support during dev ([#​7173](https://togithub.com/vitejs/vite/issues/7173)) ([38a655f](https://togithub.com/vitejs/vite/commit/38a655f)), closes [#​7173](https://togithub.com/vitejs/vite/issues/7173) - feat: expose ssrRewriteStacktrace ([#​7091](https://togithub.com/vitejs/vite/issues/7091)) ([d4ae45d](https://togithub.com/vitejs/vite/commit/d4ae45d)), closes [#​7091](https://togithub.com/vitejs/vite/issues/7091) - feat: add `importedCss` and `importedAssets` to RenderedChunk type ([#​6629](https://togithub.com/vitejs/vite/issues/6629)) ([8d0fc90](https://togithub.com/vitejs/vite/commit/8d0fc90)), closes [#​6629](https://togithub.com/vitejs/vite/issues/6629) - feat: non-blocking pre bundling of dependencies ([#​6758](https://togithub.com/vitejs/vite/issues/6758)) ([24bb3e4](https://togithub.com/vitejs/vite/commit/24bb3e4)), closes [#​6758](https://togithub.com/vitejs/vite/issues/6758) - feat: optimize custom extensions ([#​6801](https://togithub.com/vitejs/vite/issues/6801)) ([c11af23](https://togithub.com/vitejs/vite/commit/c11af23)), closes [#​6801](https://togithub.com/vitejs/vite/issues/6801) - feat: show all prebundle deps when debug ([#​6726](https://togithub.com/vitejs/vite/issues/6726)) ([e626055](https://togithub.com/vitejs/vite/commit/e626055)), closes [#​6726](https://togithub.com/vitejs/vite/issues/6726) - feat(glob): import.meta.glob support alias path ([#​6526](https://togithub.com/vitejs/vite/issues/6526)) ([86882ad](https://togithub.com/vitejs/vite/commit/86882ad)), closes [#​6526](https://togithub.com/vitejs/vite/issues/6526) - feat(perf): tsconfck perf improvement ([#​7055](https://togithub.com/vitejs/vite/issues/7055)) ([993ea39](https://togithub.com/vitejs/vite/commit/993ea39)), closes [#​7055](https://togithub.com/vitejs/vite/issues/7055) - feat(worker): bundle worker emit asset file ([#​6599](https://togithub.com/vitejs/vite/issues/6599)) ([0ade335](https://togithub.com/vitejs/vite/commit/0ade335)), closes [#​6599](https://togithub.com/vitejs/vite/issues/6599) - refactor: avoid splitting vendor chunk by default ([#​6534](https://togithub.com/vitejs/vite/issues/6534)) ([849e845](https://togithub.com/vitejs/vite/commit/849e845)), closes [#​6534](https://togithub.com/vitejs/vite/issues/6534) ##### Beta Changelogs ##### [2.9.0-beta.11](https://togithub.com/vitejs/vite/compare/v2.9.0-beta.10...v2.9.0-beta.11) (2022-03-29) See [2.9.0-beta.11 changelog](https://togithub.com/vitejs/vite/blob/v2.9.0-beta.11/packages/vite/CHANGELOG.md) ##### [2.9.0-beta.10](https://togithub.com/vitejs/vite/compare/v2.9.0-beta.9...v2.9.0-beta.10) (2022-03-28) See [2.9.0-beta.10 changelog](https://togithub.com/vitejs/vite/blob/v2.9.0-beta.10/packages/vite/CHANGELOG.md) ##### [2.9.0-beta.9](https://togithub.com/vitejs/vite/compare/v2.9.0-beta.8...v2.9.0-beta.9) (2022-03-26) See [2.9.0-beta.9 changelog](https://togithub.com/vitejs/vite/blob/v2.9.0-beta.9/packages/vite/CHANGELOG.md) ##### [2.9.0-beta.8](https://togithub.com/vitejs/vite/compare/v2.9.0-beta.7...v2.9.0-beta.8) (2022-03-24) See [2.9.0-beta.8 changelog](https://togithub.com/vitejs/vite/blob/v2.9.0-beta.8/packages/vite/CHANGELOG.md) ##### [2.9.0-beta.7](https://togithub.com/vitejs/vite/compare/v2.9.0-beta.6...v2.9.0-beta.7) (2022-03-23) See [2.9.0-beta.7 changelog](https://togithub.com/vitejs/vite/blob/v2.9.0-beta.7/packages/vite/CHANGELOG.md) ##### [2.9.0-beta.6](https://togithub.com/vitejs/vite/compare/v2.9.0-beta.5...v2.9.0-beta.6) (2022-03-22) See [2.9.0-beta.6 changelog](https://togithub.com/vitejs/vite/blob/v2.9.0-beta.6/packages/vite/CHANGELOG.md) ##### [2.9.0-beta.5](https://togithub.com/vitejs/vite/compare/v2.9.0-beta.4...v2.9.0-beta.5) (2022-03-22) See [2.9.0-beta.5 changelog](https://togithub.com/vitejs/vite/blob/v2.9.0-beta.5/packages/vite/CHANGELOG.md) ##### [2.9.0-beta.4](https://togithub.com/vitejs/vite/compare/v2.9.0-beta.3...v2.9.0-beta.4) (2022-03-19) See [2.9.0-beta.4 changelog](https://togithub.com/vitejs/vite/blob/v2.9.0-beta.4/packages/vite/CHANGELOG.md) ##### [2.9.0-beta.3](https://togithub.com/vitejs/vite/compare/v2.9.0-beta.2...v2.9.0-beta.3) (2022-03-16) See [2.9.0-beta.3 changelog](https://togithub.com/vitejs/vite/blob/v2.9.0-beta.3/packages/vite/CHANGELOG.md) ##### [2.9.0-beta.2](https://togithub.com/vitejs/vite/compare/v2.9.0-beta.1...v2.9.0-beta.2) (2022-03-14) See [2.9.0-beta.2 changelog](https://togithub.com/vitejs/vite/blob/v2.9.0-beta.2/packages/vite/CHANGELOG.md) ##### [2.9.0-beta.1](https://togithub.com/vitejs/vite/compare/v2.9.0-beta.0...v2.9.0-beta.1) (2022-03-14) See [2.9.0-beta.1 changelog](https://togithub.com/vitejs/vite/blob/v2.9.0-beta.1/packages/vite/CHANGELOG.md) ##### [2.9.0-beta.0](https://togithub.com/vitejs/vite/compare/v2.8.6...v2.9.0-beta.0) (2022-03-09) See [2.9.0-beta.0 changelog](https://togithub.com/vitejs/vite/blob/v2.9.0-beta.0/packages/vite/CHANGELOG.md) #### [2.8.6](https://togithub.com/vitejs/vite/compare/v2.8.5...v2.8.6) (2022-03-01) ##### Bug Fixes - revert [#​7052](https://togithub.com/vitejs/vite/issues/7052), hmr style tag no support in html ([#​7136](https://togithub.com/vitejs/vite/issues/7136)) ([5c116ec](https://togithub.com/vitejs/vite/commit/5c116ecde0ad43409334853457d68481a22e19d4)) - throw Error when can't preload CSS ([#​7108](https://togithub.com/vitejs/vite/issues/7108)) ([d9f8edb](https://togithub.com/vitejs/vite/commit/d9f8edbd5b243f60212cc4bb9271c01b7e3fdd76)) #### [2.8.5](https://togithub.com/vitejs/vite/compare/v2.8.4...v2.8.5) (2022-02-28) ##### Bug Fixes - ?html-proxy with trailing = added by some servers ([#​7093](https://togithub.com/vitejs/vite/issues/7093)) ([5818ac9](https://togithub.com/vitejs/vite/commit/5818ac927861783ea2b05450761fed30f40e7399)) - allow optional trailing comma in asset `import.meta.url` ([#​6983](https://togithub.com/vitejs/vite/issues/6983)) ([2debb9f](https://togithub.com/vitejs/vite/commit/2debb9f4cbb6003e7d24444cf049b45582d82ff1)) - cannot reassign process.env.NODE_ENV in ssr ([#​6989](https://togithub.com/vitejs/vite/issues/6989)) ([983feb2](https://togithub.com/vitejs/vite/commit/983feb2cdc5180dc46c3f5fc5b99baaa8d6b7078)) - **config:** Warn about terserOptions in more cases ([#​7101](https://togithub.com/vitejs/vite/issues/7101)) ([79428ad](https://togithub.com/vitejs/vite/commit/79428ad5b849455e14f95d1b439ae296ba231221)) - don't override user config ([#​7034](https://togithub.com/vitejs/vite/issues/7034)) ([8fd8f6e](https://togithub.com/vitejs/vite/commit/8fd8f6e0e501c9e46bc3e179c900d31fa5cafce1)) - fileToBuiltUrl got undefined when file type is `.ico` ([#​7106](https://togithub.com/vitejs/vite/issues/7106)) ([7a1a552](https://togithub.com/vitejs/vite/commit/7a1a552ba710bad5714ef0fbb16fdd29ac58ae0b)) - **glob:** css imports injecting a ?used query to export the css string ([#​6949](https://togithub.com/vitejs/vite/issues/6949)) ([0b3f4ef](https://togithub.com/vitejs/vite/commit/0b3f4ef231004e072bf1b037f63bc4ef169d938e)) - **hmr:** hmr style tag no support in html ([#​7052](https://togithub.com/vitejs/vite/issues/7052)) ([a9dfce3](https://togithub.com/vitejs/vite/commit/a9dfce38108e796e0de0e3b43ced34d60883cef3)) - image -> image/x-icon ([#​7120](https://togithub.com/vitejs/vite/issues/7120)) ([065ceca](https://togithub.com/vitejs/vite/commit/065ceca5c7b8f1843e220fbdbe8a0da4cbb78935)) - import with query with exports field ([#​7073](https://togithub.com/vitejs/vite/issues/7073)) ([88ded7f](https://togithub.com/vitejs/vite/commit/88ded7f16382d83603511de043785e01ee1e4a3a)) - prebundle dep with colon ([#​7006](https://togithub.com/vitejs/vite/issues/7006)) ([2136f2b](https://togithub.com/vitejs/vite/commit/2136f2bb960d1a81ac3b3ca04d9ebd89dba44661)) - recycle serve to avoid preventing Node self-exit ([#​6895](https://togithub.com/vitejs/vite/issues/6895)) ([d6b2c53](https://togithub.com/vitejs/vite/commit/d6b2c53c6f0bcc4ffa9cdf48375f9bbcc98f79f7)) - resolve [@​import](https://togithub.com/import) of the proxied