From f24b44888ea02023925e82782de450ce691efc17 Mon Sep 17 00:00:00 2001 From: patak-dev Date: Sat, 27 Jul 2024 13:07:12 +0200 Subject: [PATCH] release: v6.0.0-alpha.19 --- packages/vite/CHANGELOG.md | 462 +++++++++++++++++++++++++++---------- packages/vite/package.json | 2 +- 2 files changed, 335 insertions(+), 129 deletions(-) diff --git a/packages/vite/CHANGELOG.md b/packages/vite/CHANGELOG.md index 7b40b982d554b7..acdb83d2b44aa8 100644 --- a/packages/vite/CHANGELOG.md +++ b/packages/vite/CHANGELOG.md @@ -1,18 +1,224 @@ +## 6.0.0-alpha.19 (2024-07-27) + +* chore: add node:sqlite to prefixedbuiltins ([4e81092](https://github.com/vitejs/vite/commit/4e810921b9ece3f6737f3a94bfd8369707feaaa5)) +* chore: cleanup this.environment ([7a25ff1](https://github.com/vitejs/vite/commit/7a25ff1d3b9068276075e4394e60dcbd7337cf6e)) +* chore: fix types ([8a9d2fd](https://github.com/vitejs/vite/commit/8a9d2fd78379fd8e698fed926493a29153d9e317)) +* chore: fix types ([0da251b](https://github.com/vitejs/vite/commit/0da251be033b43fc4c89cefc19b0db1b46c6bd7b)) +* chore: reduce diff ([0f67e42](https://github.com/vitejs/vite/commit/0f67e42e94af623429ec1e92cd291feea74928e2)) +* chore: remove deprecations ([a863e9e](https://github.com/vitejs/vite/commit/a863e9e70af59e3fd2d964bdb24c7d8abf9ad733)) +* chore: remove unneded condition ([9a8c41f](https://github.com/vitejs/vite/commit/9a8c41f0e119763ca2859081f35af33906a8423a)) +* chore: remove unused type ([c661ed5](https://github.com/vitejs/vite/commit/c661ed5048cebd7a389f65287bff61654771eda9)) +* chore: remove unusued condition ([9f8747e](https://github.com/vitejs/vite/commit/9f8747ed384dd2131a3dc11657baa1ef29187d4c)) +* feat: environment api config options rework (#17756) ([904087d](https://github.com/vitejs/vite/commit/904087d6f43ccc1f254bd5f48e9ad09c79871bde)), closes [#17756](https://github.com/vitejs/vite/issues/17756) +* feat: environment.options.ssr ([90185f7](https://github.com/vitejs/vite/commit/90185f793247023e5d2464ff38fe8929582acf28)) +* feat: support `resolve.alias` per environment in Environment API (#17583) ([8794c49](https://github.com/vitejs/vite/commit/8794c49cae685749834ff03d54415a429f7fc4b9)), closes [#17583](https://github.com/vitejs/vite/issues/17583) +* docs: use slugs instead of codes for major changes ([d9130ce](https://github.com/vitejs/vite/commit/d9130cefa10cf7fb1d8bf439bac725b824714d4a)) +* docs: vt001/vt002 ([024fe62](https://github.com/vitejs/vite/commit/024fe62a4e148d6d13339066956ab01af1803134)) +* fix: keep `.hot` for now as a wrapper around `ws` ([2eaeae9](https://github.com/vitejs/vite/commit/2eaeae961c20cf17e225abad74d78314c38f8ca2)) +* fix: this.environment in hotUpdate ([667c304](https://github.com/vitejs/vite/commit/667c304e55ff6c121bc803712612a5d18bfeb056)) +* fix(module-runner): check if module is curcular using the importers to avoid deadlock ([ccc73a9](https://github.com/vitejs/vite/commit/ccc73a977640d3eeedee3b3bfd86748097bd6f9f)) +* fix(module-runner): normalize absolute path ([01246e5](https://github.com/vitejs/vite/commit/01246e51cb4032124d7bc7ee0853eb40b1e4cd4f)) +* fix(v6): fix maximum call stack error in `ModuleRunner.isCurcularImport` (#17740) ([4b1080a](https://github.com/vitejs/vite/commit/4b1080a55ac5ec6c65c91327c3f4e5e4eb3b5aee)), closes [#17740](https://github.com/vitejs/vite/issues/17740) +* chpre: run prettier ([55904ab](https://github.com/vitejs/vite/commit/55904ab6357143d0d8226a939dc044d8716ae3ca)) + + + +## 6.0.0-alpha.18 (2024-06-04) + +* release: v6.0.0-alpha.18 ([bbca0b4](https://github.com/vitejs/vite/commit/bbca0b402959ceeb71e08588808fab045f58b887)) +* feat: expose createIdResolver ([3635ed8](https://github.com/vitejs/vite/commit/3635ed8d6061d762e0daa7781c2656beda737fb6d6061d762e0daa7781c2656beda737fb6)) +* feat: non-nullable this.environment (#17302) ([bdd1b91](https://github.com/vitejs/vite/commit/bdd1b912d84204a581770ff162849349f453173f2d84204a581770ff162849349f453173f)), closes [#17302](https://github.com/vitejs/vite/issues/17302) +* feat(types): `defineVitePlugin` utils (#17298) ([398a49c](https://github.com/vitejs/vite/commit/398a49c3a3ab85102dafa1c3660cba55211e49223a3ab85102dafa1c3660cba55211e4922)), closes [#17298](https://github.com/vitejs/vite/issues/17298) +* docs: assign code for each deprecation changes, provide option to opt-in (#17305) ([d8aa74c](https://github.com/vitejs/vite/commit/d8aa74c9099f34fc27121dc468fc4fedb19a61ef9099f34fc27121dc468fc4fedb19a61ef)), closes [#17305](https://github.com/vitejs/vite/issues/17305) +* docs: update ([8649049](https://github.com/vitejs/vite/commit/8649049c8199f0e2f46303540a821e4ee36e4ef8c8199f0e2f46303540a821e4ee36e4ef8)) +* chore: cleanup ([28e22c6](https://github.com/vitejs/vite/commit/28e22c600e85819a7aade8825c59915f88670dbb00e85819a7aade8825c59915f88670dbb)) +* chore: fix build ([2b3329d](https://github.com/vitejs/vite/commit/2b3329d4aa0b91a5920527a9712b82ae59becba34aa0b91a5920527a9712b82ae59becba3)) +* chore: ignore test-dts in tsconfig ([1af7081](https://github.com/vitejs/vite/commit/1af7081cf9124c271b10ff2ae7a0420bd42a66d4cf9124c271b10ff2ae7a0420bd42a66d4)) +* chore: prettier ([c373251](https://github.com/vitejs/vite/commit/c373251123ffbfddf2f703b6a62a5d9b1a03db67123ffbfddf2f703b6a62a5d9b1a03db67)) +* chore: refactor code style ([ca940e8](https://github.com/vitejs/vite/commit/ca940e8a0c4312dbf0938075ba55bebbf31510bda0c4312dbf0938075ba55bebbf31510bd)) +* refactor: plugin container (#17288) ([909782f](https://github.com/vitejs/vite/commit/909782f2924262e7a9c7b0674acafb67b7c17a9f2924262e7a9c7b0674acafb67b7c17a9f)), closes [#17288](https://github.com/vitejs/vite/issues/17288) +* refactor: reporter using custom per env api (#17297) ([c43c987](https://github.com/vitejs/vite/commit/c43c9875b79358729c4ad5343ec61015b8fcf0ee5b79358729c4ad5343ec61015b8fcf0ee)), closes [#17297](https://github.com/vitejs/vite/issues/17297) +* fix: check last invalidation time ([e91e269](https://github.com/vitejs/vite/commit/e91e269a28403fd85d2c015045e19d86c601564aa28403fd85d2c015045e19d86c601564a)) +* fix: check lastHMRTimestamp for entries in moduleRunner ([611ce5c](https://github.com/vitejs/vite/commit/611ce5c6779bd44c4dc31438d8c4714c56cb46496779bd44c4dc31438d8c4714c56cb4649)) +* fix: correctly invalidate module in the module runner if it was invalidated on the server ([fd46a2a](https://github.com/vitejs/vite/commit/fd46a2a420b5a45e69bc93be4be15d30b07e75ae420b5a45e69bc93be4be15d30b07e75ae)) +* fix: default value of `depOptimization` ([da354ea](https://github.com/vitejs/vite/commit/da354ea3b8ba27c1fd1f3e5c72e15068534d78b53b8ba27c1fd1f3e5c72e15068534d78b5)) +* fix: do not invalidate modules in the runner if not invalidated on the server ([a63263c](https://github.com/vitejs/vite/commit/a63263cb1c9b482c4c17974a535bb68530fc5b01b1c9b482c4c17974a535bb68530fc5b01)) +* fix: improve invalidation sync in the module runner ([03bc590](https://github.com/vitejs/vite/commit/03bc5904380eb6a9cc61bb68f89298bb1bd3cabf4380eb6a9cc61bb68f89298bb1bd3cabf)) +* fix: lastHMRTimestamp compat ([909fe28](https://github.com/vitejs/vite/commit/909fe2838c4a12bfb81be67926611205fd37f61c38c4a12bfb81be67926611205fd37f61c)) +* fix: missing HMRPayload export ([b7cbd3d](https://github.com/vitejs/vite/commit/b7cbd3d3ea32e1cac4e071c71644669fe720e1213ea32e1cac4e071c71644669fe720e121)) +* test(v6): test ssrLoadModule and virtual module invalidation (#17313) ([7d78761](https://github.com/vitejs/vite/commit/7d78761a04c3b12a19256e81cb5d89e15ede92eba04c3b12a19256e81cb5d89e15ede92eb)), closes [#17313](https://github.com/vitejs/vite/issues/17313) + + + +## 6.0.0-alpha.17 (2024-05-24) + +* release: v6.0.0-alpha.17 ([e45881c](https://github.com/vitejs/vite/commit/e45881c8277db1ec3b820f7e39efa2df0a1eea778277db1ec3b820f7e39efa2df0a1eea77)) +* refactor!: rename to HMRPayload to HotPayload and remove HMRBroadcaster (#16875) ([87bbb04](https://github.com/vitejs/vite/commit/87bbb040cb5efc848234d9fb79634e15eae15e4c0cb5efc848234d9fb79634e15eae15e4c0cb5efc848234d9fb79634e15eae15e4c)), closes [#16875](https://github.com/vitejs/vite/issues/16875) +* fix: dep optimization options ([624e751](https://github.com/vitejs/vite/commit/624e751513c70ce788b9f79c469fe9faa95b899c513c70ce788b9f79c469fe9faa95b899c513c70ce788b9f79c469fe9faa95b899c)) +* fix: DepOptimizationConfig ([5c655e6](https://github.com/vitejs/vite/commit/5c655e65cf070eee7517ef9a0df0ac2ff86bb8a55cf070eee7517ef9a0df0ac2ff86bb8a55cf070eee7517ef9a0df0ac2ff86bb8a5)) +* fix: handleHotUpdate compat (#17295) ([11bddb0](https://github.com/vitejs/vite/commit/11bddb0503fd5522bce8c8cd8396ec4eb6825c4d503fd5522bce8c8cd8396ec4eb6825c4d503fd5522bce8c8cd8396ec4eb6825c4d)), closes [#17295](https://github.com/vitejs/vite/issues/17295) +* fix: optimizeDeps back compat ([478a9aa](https://github.com/vitejs/vite/commit/478a9aa7bd3317a7e00ec45d2dfb0e7b040222f27bd3317a7e00ec45d2dfb0e7b040222f27bd3317a7e00ec45d2dfb0e7b040222f2)) +* fix(types): avoid referencing `WeakKey` type ([e339959](https://github.com/vitejs/vite/commit/e33995902885e6bad9e89aa968dd8cf98726f94002885e6bad9e89aa968dd8cf98726f94002885e6bad9e89aa968dd8cf98726f940)) +* feat: per-environment optimizeDeps entries and force ([006cfb7](https://github.com/vitejs/vite/commit/006cfb7362c8ce6215e98ec8524686f69b8b6818362c8ce6215e98ec8524686f69b8b6818362c8ce6215e98ec8524686f69b8b6818)) +* feat: reporter as shared plugin using createWeakData (#17293) ([2b69389](https://github.com/vitejs/vite/commit/2b69389ba4f24064513331cdeca9b3d7af9d36fcba4f24064513331cdeca9b3d7af9d36fcba4f24064513331cdeca9b3d7af9d36fc)), closes [#17293](https://github.com/vitejs/vite/issues/17293) +* chore: refactor isDepsOptimizerEnabled ([5f36aa6](https://github.com/vitejs/vite/commit/5f36aa6ebb72a37db6f059d364949fa7cddc6b5aebb72a37db6f059d364949fa7cddc6b5aebb72a37db6f059d364949fa7cddc6b5a)) + + + +## 6.0.0-alpha.16 (2024-05-23) + +* release: v6.0.0-alpha.16 ([c7d02ac](https://github.com/vitejs/vite/commit/c7d02ac6511074ad83d8357e64c0c2a4fdd792376511074ad83d8357e64c0c2a4fdd79237)) +* feat: createWeakData ([bcb1959](https://github.com/vitejs/vite/commit/bcb19591adbfbc78c66190fd2a3a4c105755a21f1adbfbc78c66190fd2a3a4c105755a21f1adbfbc78c66190fd2a3a4c105755a21f)) +* feat: improve Plugin option types ([21225c9](https://github.com/vitejs/vite/commit/21225c9fdf6047e863d5c31a8445900916d3d754fdf6047e863d5c31a8445900916d3d754fdf6047e863d5c31a8445900916d3d754)) +* feat: only shared plugins (#17289) ([e36f2f3](https://github.com/vitejs/vite/commit/e36f2f3f417dab6b9ea9c1a457aff55a9849db6af417dab6b9ea9c1a457aff55a9849db6af417dab6b9ea9c1a457aff55a9849db6a)), closes [#17289](https://github.com/vitejs/vite/issues/17289) +* feat: provide `environment` in every hook context ([53734a8](https://github.com/vitejs/vite/commit/53734a8faee7ed6e2323c9fbbfbebd30acd40accfaee7ed6e2323c9fbbfbebd30acd40accfaee7ed6e2323c9fbbfbebd30acd40acc)) +* feat(types): expose PluginEnvironment type ([4d03124](https://github.com/vitejs/vite/commit/4d03124bc2cd65eba8ab925989294a2dcef56821bc2cd65eba8ab925989294a2dcef56821bc2cd65eba8ab925989294a2dcef56821)) +* fix: argument rollup types for plugin context instead of wrapping ([89ec69c](https://github.com/vitejs/vite/commit/89ec69c63f1e7dba4bb515447ad3f02707f8930063f1e7dba4bb515447ad3f02707f8930063f1e7dba4bb515447ad3f02707f89300)) +* fix: avoid duplicating values in shared optimizeDeps config (#16737) ([a3ee7f5](https://github.com/vitejs/vite/commit/a3ee7f54759ea67d591d427c257e3f6f8f2ce7544759ea67d591d427c257e3f6f8f2ce7544759ea67d591d427c257e3f6f8f2ce754)), closes [#16737](https://github.com/vitejs/vite/issues/16737) +* fix: back compat for server.pluginContainer.buildStart ([46f21b8](https://github.com/vitejs/vite/commit/46f21b8754ad2c0758e6ec60ffc97fefdf075fb7754ad2c0758e6ec60ffc97fefdf075fb7754ad2c0758e6ec60ffc97fefdf075fb7)) +* fix: backcompat with config.optimizeDeps ([778e39d](https://github.com/vitejs/vite/commit/778e39d2f2e388e1b9d3cfefd12ee2a2cd7bc3092f2e388e1b9d3cfefd12ee2a2cd7bc3092f2e388e1b9d3cfefd12ee2a2cd7bc309)) +* fix: keep plugin with environmentPlugins hook ([63de43a](https://github.com/vitejs/vite/commit/63de43a5cda8fbab73e3487a168161d4172ef31e5cda8fbab73e3487a168161d4172ef31e5cda8fbab73e3487a168161d4172ef31e)) +* chore: remove extra symbol ([431455f](https://github.com/vitejs/vite/commit/431455f44815273aa2d1824e6ff92cd376f8379d44815273aa2d1824e6ff92cd376f8379d44815273aa2d1824e6ff92cd376f8379d)) +* chore: rename to BaseEnvironment (#16797) ([d86553a](https://github.com/vitejs/vite/commit/d86553ac51d3cea0c1d1aefc60ebd1e1b8e4b912c51d3cea0c1d1aefc60ebd1e1b8e4b912c51d3cea0c1d1aefc60ebd1e1b8e4b912)), closes [#16797](https://github.com/vitejs/vite/issues/16797) + + + +## 6.0.0-alpha.15 (2024-05-20) + +* release: v6.0.0-alpha.15 ([d231966](https://github.com/vitejs/vite/commit/d231966f03ecc31bab3282e663ab22b0519583aff03ecc31bab3282e663ab22b0519583af)) +* fix: only join base url in none ssr env ([7e9dd25](https://github.com/vitejs/vite/commit/7e9dd25fe2cd8ee55330bd8eaa78ee624a69862afe2cd8ee55330bd8eaa78ee624a69862afe2cd8ee55330bd8eaa78ee624a69862a)) +* fix: svelte back compat ([0166bfe](https://github.com/vitejs/vite/commit/0166bfe90846df7f99c05f26f674627d1ee8a0b890846df7f99c05f26f674627d1ee8a0b890846df7f99c05f26f674627d1ee8a0b8)) +* fix hmr connected message on client ([acb208e](https://github.com/vitejs/vite/commit/acb208ed985dc487d9163c3d7b98370cb6c7aedcd985dc487d9163c3d7b98370cb6c7aedcd985dc487d9163c3d7b98370cb6c7aedc)) + + + +## 6.0.0-alpha.14 (2024-05-20) + +* release: v6.0.0-alpha.14 ([2b2d010](https://github.com/vitejs/vite/commit/2b2d010e8674d0f45216f60f01c0fee248ad33d7e8674d0f45216f60f01c0fee248ad33d7)) +* feat: back to environmentPlugins hook (#16732) ([54c219e](https://github.com/vitejs/vite/commit/54c219eeb0f81181665121cff7475650acf969a5eb0f81181665121cff7475650acf969a5eb0f81181665121cff7475650acf969a5)), closes [#16732](https://github.com/vitejs/vite/issues/16732) +* fix: export isFileLoadingAllowed ([34d8518](https://github.com/vitejs/vite/commit/34d851874a092da187b0cadc3450df40caeb5cbd74a092da187b0cadc3450df40caeb5cbd74a092da187b0cadc3450df40caeb5cbd)) +* fix: rely on the current environment in resolveId, if known ([8ee7fcd](https://github.com/vitejs/vite/commit/8ee7fcdd9e2c848358a94c2e41fb5cfbf03f8547d9e2c848358a94c2e41fb5cfbf03f8547d9e2c848358a94c2e41fb5cfbf03f8547)) +* fix: revert resolveId importer require ([3546d1e](https://github.com/vitejs/vite/commit/3546d1e3cdf2e2d97055251ba65386e3a29e606b3cdf2e2d97055251ba65386e3a29e606b3cdf2e2d97055251ba65386e3a29e606b)) + + + +## 6.0.0-alpha.13 (2024-05-20) + +* release: v6.0.0-alpha.13 ([2ae2fca](https://github.com/vitejs/vite/commit/2ae2fca9db1c6834a0f8156ccbf28551215ee0e99db1c6834a0f8156ccbf28551215ee0e9)) +* fix: types ([82111bf](https://github.com/vitejs/vite/commit/82111bfb4134646f5ea03a6bead16ebdf67bbe15b4134646f5ea03a6bead16ebdf67bbe15b4134646f5ea03a6bead16ebdf67bbe15)) + + + +## 6.0.0-alpha.12 (2024-05-20) + +* release: v6.0.0-alpha.12 ([371f7a0](https://github.com/vitejs/vite/commit/371f7a02a74a5e43536b2ab5725814b43a4db4e62a74a5e43536b2ab5725814b43a4db4e6)) +* chore: export ssrTransform ([0b3cf69](https://github.com/vitejs/vite/commit/0b3cf69b2ea1fc1230486b7e5610da4a8a642ac6b2ea1fc1230486b7e5610da4a8a642ac6b2ea1fc1230486b7e5610da4a8a642ac6)) +* chore: respect ssr flag in clientInjectsions transform ([8c5674e](https://github.com/vitejs/vite/commit/8c5674e10deb67aaf23b74fddedb5ff750ba3bb710deb67aaf23b74fddedb5ff750ba3bb710deb67aaf23b74fddedb5ff750ba3bb7)) +* fix: remove enforce inside IsolatedPlugins ([a5efd56](https://github.com/vitejs/vite/commit/a5efd56f0db58a9114f61e3def8a7541d1ef5956f0db58a9114f61e3def8a7541d1ef5956f0db58a9114f61e3def8a7541d1ef5956)) + + + +## 6.0.0-alpha.11 (2024-05-04) + +* release: v6.0.0-alpha.11 ([8851d9d](https://github.com/vitejs/vite/commit/8851d9d1c97cdce0807edd45e33e70446e5459561c97cdce0807edd45e33e70446e545956)) +* refactor: BoundedPlugin -> IsolatedPlugin ([1ec07a4](https://github.com/vitejs/vite/commit/1ec07a4fe6337cec6da9637bcbf0d93d14e1c5dbfe6337cec6da9637bcbf0d93d14e1c5dbfe6337cec6da9637bcbf0d93d14e1c5db)) + + + +## 6.0.0-alpha.10 (2024-05-02) + +* release: v6.0.0-alpha.10 ([57871a4](https://github.com/vitejs/vite/commit/57871a4bdc7ef2a70d6483a9ec8ffd71fed6ae1dbdc7ef2a70d6483a9ec8ffd71fed6ae1dbdc7ef2a70d6483a9ec8ffd71fed6ae1d)) +* feat: sharedDuringBuild for bounded plugins ([d213865](https://github.com/vitejs/vite/commit/d2138656258781fac70b59e8ed808aac5d9be8846258781fac70b59e8ed808aac5d9be8846258781fac70b59e8ed808aac5d9be8846258781fac70b59e8ed808aac5d9be884)) + + + +## 6.0.0-alpha.9 (2024-05-01) + +* release: v6.0.0-alpha.9 ([2e6abb3](https://github.com/vitejs/vite/commit/2e6abb34cf1449207079d37a0d6d281ad67e3ba04cf1449207079d37a0d6d281ad67e3ba04cf1449207079d37a0d6d281ad67e3ba0)) +* fix: lint ([848af54](https://github.com/vitejs/vite/commit/848af54aa72b9f0badc59599630140c13de68d09aa72b9f0badc59599630140c13de68d09aa72b9f0badc59599630140c13de68d09aa72b9f0badc59599630140c13de68d09)) +* fix: module-runner bundle issue with chokidar dep ([b8ef8ff](https://github.com/vitejs/vite/commit/b8ef8ffe9444ddd455f8066c2cb867c2f9865b5fe9444ddd455f8066c2cb867c2f9865b5fe9444ddd455f8066c2cb867c2f9865b5fe9444ddd455f8066c2cb867c2f9865b5f)) +* refactor: bounded plugins factory instead of create hook ([6b74221](https://github.com/vitejs/vite/commit/6b74221266aed7bb413fc2eca6f24c08accb9a73266aed7bb413fc2eca6f24c08accb9a73266aed7bb413fc2eca6f24c08accb9a73266aed7bb413fc2eca6f24c08accb9a73)) +* refactor: move reload on tsconfig change to the server ([1bcb67d](https://github.com/vitejs/vite/commit/1bcb67dee22e624182fa6f360d1e9ff53e3d7741ee22e624182fa6f360d1e9ff53e3d7741ee22e624182fa6f360d1e9ff53e3d7741ee22e624182fa6f360d1e9ff53e3d7741)) + + + +## 6.0.0-alpha.8 (2024-04-30) + +* release: v6.0.0-alpha.8 ([1d9caef](https://github.com/vitejs/vite/commit/1d9caefe5a54c00a3245cfc90179309288422ef3e5a54c00a3245cfc90179309288422ef3e5a54c00a3245cfc90179309288422ef3)) +* fix: keep plugins with create hook ([12d467f](https://github.com/vitejs/vite/commit/12d467f642a0d71fcc718d036d20dc4b6efda549642a0d71fcc718d036d20dc4b6efda549642a0d71fcc718d036d20dc4b6efda549642a0d71fcc718d036d20dc4b6efda549)) +* refactor: environment hooks guard ([527621e](https://github.com/vitejs/vite/commit/527621e72e007e8b1dd0c7381c5c91e875b7212072e007e8b1dd0c7381c5c91e875b7212072e007e8b1dd0c7381c5c91e875b7212072e007e8b1dd0c7381c5c91e875b72120)) +* feat: define and html plugins ([7566aae](https://github.com/vitejs/vite/commit/7566aae1ce4769130da48a1c58fcceff4438d4191ce4769130da48a1c58fcceff4438d4191ce4769130da48a1c58fcceff4438d4191ce4769130da48a1c58fcceff4438d419)) + + + +## 6.0.0-alpha.7 (2024-04-29) + +* release: v6.0.0-alpha.7 ([05943cf](https://github.com/vitejs/vite/commit/05943cf28bce536aab5b26eadc35bcf67a337c4128bce536aab5b26eadc35bcf67a337c4128bce536aab5b26eadc35bcf67a337c41)) +* feat: remove config.build from dynamicImportVars plugin ([8231283](https://github.com/vitejs/vite/commit/8231283065fa79509cc42934bb15f7a485d1d786065fa79509cc42934bb15f7a485d1d786065fa79509cc42934bb15f7a485d1d786065fa79509cc42934bb15f7a485d1d786)) +* feat: this.environment in buildStart, rework more internal plugins ([bda0dc5](https://github.com/vitejs/vite/commit/bda0dc50b446340f6e83e24c18c305c39e289aeb0b446340f6e83e24c18c305c39e289aeb0b446340f6e83e24c18c305c39e289aeb0b446340f6e83e24c18c305c39e289aeb)) +* feat: this.environment in renderChunk and generateBundle ([a6fc1dd](https://github.com/vitejs/vite/commit/a6fc1ddcf921236cb914f0f3a0c7926bd66c6a65cf921236cb914f0f3a0c7926bd66c6a65cf921236cb914f0f3a0c7926bd66c6a65cf921236cb914f0f3a0c7926bd66c6a65)) + + + +## 6.0.0-alpha.6 (2024-04-28) + +* release: v6.0.0-alpha.6 ([e8473a6](https://github.com/vitejs/vite/commit/e8473a635caa0bdc9f0e42335d52e4c2669428e935caa0bdc9f0e42335d52e4c2669428e935caa0bdc9f0e42335d52e4c2669428e9)) +* fix: custom environment preload injection (#16541) ([00079da](https://github.com/vitejs/vite/commit/00079da0e20203eb9b789b74e1d221c8fb7de62d0e20203eb9b789b74e1d221c8fb7de62d0e20203eb9b789b74e1d221c8fb7de62d0e20203eb9b789b74e1d221c8fb7de62d)), closes [#16541](https://github.com/vitejs/vite/issues/16541) + + + +## 6.0.0-alpha.5 (2024-04-26) + +* release: v6.0.0-alpha.5 ([a8adcac](https://github.com/vitejs/vite/commit/a8adcac0b05874d1e0f44cdef50a374312a77d580b05874d1e0f44cdef50a374312a77d580b05874d1e0f44cdef50a374312a77d58)) +* fix: use environment.plugins during build, support create hook ([a44810a](https://github.com/vitejs/vite/commit/a44810a7d08e59ff29db4d57fb7985bf600c67c17d08e59ff29db4d57fb7985bf600c67c17d08e59ff29db4d57fb7985bf600c67c17d08e59ff29db4d57fb7985bf600c67c1)) + + + +## 6.0.0-alpha.4 (2024-04-26) + +* release: v6.0.0-alpha.4 ([e6fa9d9](https://github.com/vitejs/vite/commit/e6fa9d9e2f238cbc959a1a70e326c45b86ceea92e2f238cbc959a1a70e326c45b86ceea92e2f238cbc959a1a70e326c45b86ceea92)) +* fix: backcompat merging ([294a84e](https://github.com/vitejs/vite/commit/294a84e0b9f5f95ba4baa51a2974c8323f7c36160b9f5f95ba4baa51a2974c8323f7c36160b9f5f95ba4baa51a2974c8323f7c36160b9f5f95ba4baa51a2974c8323f7c3616)) +* fix: disable hmr for ssrLoadModule ([33ef0fb](https://github.com/vitejs/vite/commit/33ef0fb6e0d9f046183eb5fb986883be045b85116e0d9f046183eb5fb986883be045b85116e0d9f046183eb5fb986883be045b85116e0d9f046183eb5fb986883be045b8511)) +* fix: rework backcompat patching of environment config ([72150d6](https://github.com/vitejs/vite/commit/72150d6f750ece20f936f38922d61bd3a863f3bff750ece20f936f38922d61bd3a863f3bff750ece20f936f38922d61bd3a863f3bff750ece20f936f38922d61bd3a863f3bf)) +* fix: sharedPlugins ([a63190c](https://github.com/vitejs/vite/commit/a63190c45165ad8860c916f3fa06f77eeed05ff045165ad8860c916f3fa06f77eeed05ff045165ad8860c916f3fa06f77eeed05ff045165ad8860c916f3fa06f77eeed05ff0)) +* fix(cli): -> ([4cf322d](https://github.com/vitejs/vite/commit/4cf322d16ac1a5cd13ab836f5ca6f4af44cb3c4216ac1a5cd13ab836f5ca6f4af44cb3c4216ac1a5cd13ab836f5ca6f4af44cb3c4216ac1a5cd13ab836f5ca6f4af44cb3c42)) +* fix(v6): fix `ssrEmitAssets` compat (#16480) ([5c5efe4](https://github.com/vitejs/vite/commit/5c5efe46948b0593a008475a0abcb65ebc6602a16948b0593a008475a0abcb65ebc6602a16948b0593a008475a0abcb65ebc6602a16948b0593a008475a0abcb65ebc6602a1)), closes [#16480](https://github.com/vitejs/vite/issues/16480) +* feat: builder.entireApp, remove --environment ([1925eeb](https://github.com/vitejs/vite/commit/1925eeb430323f13568c0ee9492a80d749b7480e430323f13568c0ee9492a80d749b7480e430323f13568c0ee9492a80d749b7480e430323f13568c0ee9492a80d749b7480e)) +* feat: opt-in shared plugins during build ([2866d4f](https://github.com/vitejs/vite/commit/2866d4f2f6cbd184c9d94bc0cdda3c79e790b1aa2f6cbd184c9d94bc0cdda3c79e790b1aa2f6cbd184c9d94bc0cdda3c79e790b1aa2f6cbd184c9d94bc0cdda3c79e790b1aa)) +* feat: use environment.logger in buildEnvironment ([8843221](https://github.com/vitejs/vite/commit/8843221c22753b4c284eeaa87afea2cd383855f3c22753b4c284eeaa87afea2cd383855f3c22753b4c284eeaa87afea2cd383855f3c22753b4c284eeaa87afea2cd383855f3)) +* refactor: align createBuilder params with createServer ([62921e6](https://github.com/vitejs/vite/commit/62921e6bafd5a866b79d5cd23071d550f491f9ccbafd5a866b79d5cd23071d550f491f9ccbafd5a866b79d5cd23071d550f491f9ccbafd5a866b79d5cd23071d550f491f9cc)) +* refactor: build --app ([29dd26e](https://github.com/vitejs/vite/commit/29dd26e8384a44a2339cd1e775515b81104577a88384a44a2339cd1e775515b81104577a88384a44a2339cd1e775515b81104577a88384a44a2339cd1e775515b81104577a8)) +* refactor: remove server from createServerModuleRunner ([9d6a152](https://github.com/vitejs/vite/commit/9d6a152ddb381f0fc8631b2f66f26386446aa1e3ddb381f0fc8631b2f66f26386446aa1e3ddb381f0fc8631b2f66f26386446aa1e3ddb381f0fc8631b2f66f26386446aa1e3)) +* refactor: rename createViteBuilder to createBuilder, align with createServer ([4dc2a75](https://github.com/vitejs/vite/commit/4dc2a757afd75d39d7d5579c57f6057e11f6d9f97afd75d39d7d5579c57f6057e11f6d9f97afd75d39d7d5579c57f6057e11f6d9f97afd75d39d7d5579c57f6057e11f6d9f9)) +* chore: remove the deprecation notice from ssrLoadModule for now ([bf65476](https://github.com/vitejs/vite/commit/bf65476a31cff7e2a5a67768fff6713101631da5a31cff7e2a5a67768fff6713101631da5a31cff7e2a5a67768fff6713101631da5a31cff7e2a5a67768fff6713101631da5)) + + + +## 6.0.0-alpha.3 (2024-04-20) + +* release: v6.0.0-alpha.3 ([635aad5](https://github.com/vitejs/vite/commit/635aad5f6917405005f6d5ed1677dbc425aef39bf6917405005f6d5ed1677dbc425aef39bf6917405005f6d5ed1677dbc425aef39bf6917405005f6d5ed1677dbc425aef39b)) +* fix: export missing types ([431cd4b](https://github.com/vitejs/vite/commit/431cd4b76a437a478c6645089cea4410e3c2565a76a437a478c6645089cea4410e3c2565a76a437a478c6645089cea4410e3c2565a76a437a478c6645089cea4410e3c2565a76a437a478c6645089cea4410e3c2565a)) +* chore: remove configureServer from more plugins ([ad2b0bf](https://github.com/vitejs/vite/commit/ad2b0bf5555b545314992bda69f6d8635f051e1c5555b545314992bda69f6d8635f051e1c5555b545314992bda69f6d8635f051e1c5555b545314992bda69f6d8635f051e1c5555b545314992bda69f6d8635f051e1c)) +* chore: rename plugin.split to plugin.create ([5f6b62f](https://github.com/vitejs/vite/commit/5f6b62f22144a4ca1fc82161308a204a3539b54622144a4ca1fc82161308a204a3539b54622144a4ca1fc82161308a204a3539b54622144a4ca1fc82161308a204a3539b54622144a4ca1fc82161308a204a3539b546)) +* feat: environment api (#16129) ([f684d4c](https://github.com/vitejs/vite/commit/f684d4cd5cc8ce10d93bb44a5bbca556997500f1d5cc8ce10d93bb44a5bbca556997500f1d5cc8ce10d93bb44a5bbca556997500f1d5cc8ce10d93bb44a5bbca556997500f1d5cc8ce10d93bb44a5bbca556997500f1)), closes [#16129](https://github.com/vitejs/vite/issues/16129) + + + ## 6.0.0-alpha.18 (2024-06-04) * feat: expose createIdResolver ([3635ed8](https://github.com/vitejs/vite/commit/3635ed8)) * feat: non-nullable this.environment (#17302) ([bdd1b91](https://github.com/vitejs/vite/commit/bdd1b91)), closes [#17302](https://github.com/vitejs/vite/issues/17302) * feat(types): `defineVitePlugin` utils (#17298) ([398a49c](https://github.com/vitejs/vite/commit/398a49c)), closes [#17298](https://github.com/vitejs/vite/issues/17298) -* feat(typescript): update tsconfck to add support for `${configDir}` replacement in ts 5.5 (#17350) ([4835e2b](https://github.com/vitejs/vite/commit/4835e2b)), closes [#17350](https://github.com/vitejs/vite/issues/17350) +* feat(typescript): update tsconfck to add support for `${configDir}` replacement in ts 5.5 (#17350) ([4835e2b](https://github.com/vitejs/vite/commit/4835e2bf77b84d53a94aa4d94502df974b8b7fc4)), closes [#17350](https://github.com/vitejs/vite/issues/17350) * docs: assign code for each deprecation changes, provide option to opt-in (#17305) ([d8aa74c](https://github.com/vitejs/vite/commit/d8aa74c)), closes [#17305](https://github.com/vitejs/vite/issues/17305) * docs: update ([8649049](https://github.com/vitejs/vite/commit/8649049)) -* chore: add region comment (#17370) ([a8c7083](https://github.com/vitejs/vite/commit/a8c7083)), closes [#17370](https://github.com/vitejs/vite/issues/17370) +* chore: add region comment (#17370) ([a8c7083](https://github.com/vitejs/vite/commit/a8c7083a3d7d7fe2e83e994ff008f39ee4f298f8)), closes [#17370](https://github.com/vitejs/vite/issues/17370) * chore: cleanup ([28e22c6](https://github.com/vitejs/vite/commit/28e22c6)) * chore: fix build ([2b3329d](https://github.com/vitejs/vite/commit/2b3329d)) * chore: ignore test-dts in tsconfig ([1af7081](https://github.com/vitejs/vite/commit/1af7081)) * chore: prettier ([c373251](https://github.com/vitejs/vite/commit/c373251)) * chore: refactor code style ([ca940e8](https://github.com/vitejs/vite/commit/ca940e8)) -* chore(deps): update all non-major dependencies (#17373) ([f2d52f1](https://github.com/vitejs/vite/commit/f2d52f1)), closes [#17373](https://github.com/vitejs/vite/issues/17373) +* chore(deps): update all non-major dependencies (#17373) ([f2d52f1](https://github.com/vitejs/vite/commit/f2d52f1384e4048ebe7d6bb8c5410e81540c469a)), closes [#17373](https://github.com/vitejs/vite/issues/17373) * fix: check last invalidation time ([e91e269](https://github.com/vitejs/vite/commit/e91e269)) * fix: check lastHMRTimestamp for entries in moduleRunner ([611ce5c](https://github.com/vitejs/vite/commit/611ce5c)) * fix: correctly invalidate module in the module runner if it was invalidated on the server ([fd46a2a](https://github.com/vitejs/vite/commit/fd46a2a)) @@ -21,8 +227,8 @@ * fix: improve invalidation sync in the module runner ([03bc590](https://github.com/vitejs/vite/commit/03bc590)) * fix: lastHMRTimestamp compat ([909fe28](https://github.com/vitejs/vite/commit/909fe28)) * fix: missing HMRPayload export ([b7cbd3d](https://github.com/vitejs/vite/commit/b7cbd3d)) -* fix(css): handle lightningcss minification in Deno (#17372) ([b3f5bd1](https://github.com/vitejs/vite/commit/b3f5bd1)), closes [#17372](https://github.com/vitejs/vite/issues/17372) -* fix(css): handle url replacing when preprocessing with lightningcss (#17364) ([6fbb5e0](https://github.com/vitejs/vite/commit/6fbb5e0)), closes [#17364](https://github.com/vitejs/vite/issues/17364) +* fix(css): handle lightningcss minification in Deno (#17372) ([b3f5bd1](https://github.com/vitejs/vite/commit/b3f5bd17e20aeb3a8072ca8a7ce2d5d40e1f80ff)), closes [#17372](https://github.com/vitejs/vite/issues/17372) +* fix(css): handle url replacing when preprocessing with lightningcss (#17364) ([6fbb5e0](https://github.com/vitejs/vite/commit/6fbb5e0a036faa835f4154ae0489db4c9b47c44c)), closes [#17364](https://github.com/vitejs/vite/issues/17364) * refactor: plugin container (#17288) ([909782f](https://github.com/vitejs/vite/commit/909782f)), closes [#17288](https://github.com/vitejs/vite/issues/17288) * refactor: reporter using custom per env api (#17297) ([c43c987](https://github.com/vitejs/vite/commit/c43c987)), closes [#17297](https://github.com/vitejs/vite/issues/17297) * test(v6): test ssrLoadModule and virtual module invalidation (#17313) ([7d78761](https://github.com/vitejs/vite/commit/7d78761)), closes [#17313](https://github.com/vitejs/vite/issues/17313) @@ -224,20 +430,20 @@ * feat: back to environmentPlugins hook (#16732) ([54c219e](https://github.com/vitejs/vite/commit/54c219e)), closes [#16732](https://github.com/vitejs/vite/issues/16732) * fix: export isFileLoadingAllowed ([34d8518](https://github.com/vitejs/vite/commit/34d8518)) -* fix: mention `build.rollupOptions.output.manualChunks` instead of `build.rollupOutput.manualChunks` ([89378c0](https://github.com/vitejs/vite/commit/89378c0)), closes [#16721](https://github.com/vitejs/vite/issues/16721) +* fix: mention `build.rollupOptions.output.manualChunks` instead of `build.rollupOutput.manualChunks` ([89378c0](https://github.com/vitejs/vite/commit/89378c07b64cc977fae2f231d087f24ba0e5d348)), closes [#16721](https://github.com/vitejs/vite/issues/16721) * fix: rely on the current environment in resolveId, if known ([8ee7fcd](https://github.com/vitejs/vite/commit/8ee7fcd)) * fix: revert resolveId importer require ([3546d1e](https://github.com/vitejs/vite/commit/3546d1e)) -* fix(build): make SystemJSWrapRE match lazy (#16633) ([6583ad2](https://github.com/vitejs/vite/commit/6583ad2)), closes [#16633](https://github.com/vitejs/vite/issues/16633) -* fix(css): avoid generating empty JS files when JS files becomes empty but has CSS files imported (#1 ([95fe5a7](https://github.com/vitejs/vite/commit/95fe5a7)), closes [#16078](https://github.com/vitejs/vite/issues/16078) -* fix(css): page reload was not happening with .css?raw (#16455) ([8041846](https://github.com/vitejs/vite/commit/8041846)), closes [#16455](https://github.com/vitejs/vite/issues/16455) -* fix(deps): update all non-major dependencies (#16603) ([6711553](https://github.com/vitejs/vite/commit/6711553)), closes [#16603](https://github.com/vitejs/vite/issues/16603) -* fix(deps): update all non-major dependencies (#16660) ([bf2f014](https://github.com/vitejs/vite/commit/bf2f014)), closes [#16660](https://github.com/vitejs/vite/issues/16660) -* fix(error-logging): rollup errors weren't displaying id and codeframe (#16540) ([22dc196](https://github.com/vitejs/vite/commit/22dc196)), closes [#16540](https://github.com/vitejs/vite/issues/16540) -* fix(hmr): trigger page reload when calling invalidate on root module (#16636) ([2b61cc3](https://github.com/vitejs/vite/commit/2b61cc3)), closes [#16636](https://github.com/vitejs/vite/issues/16636) -* fix(logger): truncate log over 5000 characters long (#16581) ([b0b839a](https://github.com/vitejs/vite/commit/b0b839a)), closes [#16581](https://github.com/vitejs/vite/issues/16581) -* fix(sourcemap): improve sourcemap compatibility for vue2 (#16594) ([913c040](https://github.com/vitejs/vite/commit/913c040)), closes [#16594](https://github.com/vitejs/vite/issues/16594) -* chore(deps): update all non-major dependencies (#16722) ([b45922a](https://github.com/vitejs/vite/commit/b45922a)), closes [#16722](https://github.com/vitejs/vite/issues/16722) -* docs: correct proxy shorthand example (#15938) ([abf766e](https://github.com/vitejs/vite/commit/abf766e)), closes [#15938](https://github.com/vitejs/vite/issues/15938) +* fix(build): make SystemJSWrapRE match lazy (#16633) ([6583ad2](https://github.com/vitejs/vite/commit/6583ad25a1333b80bfeb6829e6034266ab9bfc91)), closes [#16633](https://github.com/vitejs/vite/issues/16633) +* fix(css): avoid generating empty JS files when JS files becomes empty but has CSS files imported (#1 ([95fe5a7](https://github.com/vitejs/vite/commit/95fe5a79c434c0078075fc25e244689410447bab)), closes [#16078](https://github.com/vitejs/vite/issues/16078) +* fix(css): page reload was not happening with .css?raw (#16455) ([8041846](https://github.com/vitejs/vite/commit/804184654b6858d35cefe16dfe269613d56d308a)), closes [#16455](https://github.com/vitejs/vite/issues/16455) +* fix(deps): update all non-major dependencies (#16603) ([6711553](https://github.com/vitejs/vite/commit/671155337af795156fe40a95935a8d2b27af1048)), closes [#16603](https://github.com/vitejs/vite/issues/16603) +* fix(deps): update all non-major dependencies (#16660) ([bf2f014](https://github.com/vitejs/vite/commit/bf2f0145fecb67ca2342c3530716f4c5ddd35a68)), closes [#16660](https://github.com/vitejs/vite/issues/16660) +* fix(error-logging): rollup errors weren't displaying id and codeframe (#16540) ([22dc196](https://github.com/vitejs/vite/commit/22dc19601e2d83e3db3ec86eb2a274934284ac05)), closes [#16540](https://github.com/vitejs/vite/issues/16540) +* fix(hmr): trigger page reload when calling invalidate on root module (#16636) ([2b61cc3](https://github.com/vitejs/vite/commit/2b61cc39a986c44d733aba8c23036d9d83667fac)), closes [#16636](https://github.com/vitejs/vite/issues/16636) +* fix(logger): truncate log over 5000 characters long (#16581) ([b0b839a](https://github.com/vitejs/vite/commit/b0b839accc88d8b3326733a94f76cb7c527fdb06)), closes [#16581](https://github.com/vitejs/vite/issues/16581) +* fix(sourcemap): improve sourcemap compatibility for vue2 (#16594) ([913c040](https://github.com/vitejs/vite/commit/913c0403a5de13a09dd37dac71f59db3339012ce)), closes [#16594](https://github.com/vitejs/vite/issues/16594) +* chore(deps): update all non-major dependencies (#16722) ([b45922a](https://github.com/vitejs/vite/commit/b45922a91d4a73c27f78f26e369b7b1fd8d800e3)), closes [#16722](https://github.com/vitejs/vite/issues/16722) +* docs: correct proxy shorthand example (#15938) ([abf766e](https://github.com/vitejs/vite/commit/abf766e939a0f02e5c08959bd101a6c72a29558b)), closes [#15938](https://github.com/vitejs/vite/issues/15938) @@ -350,11 +556,11 @@ * fix: lint ([848af54](https://github.com/vitejs/vite/commit/848af54)) * fix: module-runner bundle issue with chokidar dep ([b8ef8ff](https://github.com/vitejs/vite/commit/b8ef8ff)) -* fix: scripts and styles were missing from built HTML on Windows (#16421) ([0e93f58](https://github.com/vitejs/vite/commit/0e93f58)), closes [#16421](https://github.com/vitejs/vite/issues/16421) -* fix(deps): update all non-major dependencies (#16549) ([2d6a13b](https://github.com/vitejs/vite/commit/2d6a13b)), closes [#16549](https://github.com/vitejs/vite/issues/16549) -* fix(preload): skip preload for non-static urls (#16556) ([bb79c9b](https://github.com/vitejs/vite/commit/bb79c9b)), closes [#16556](https://github.com/vitejs/vite/issues/16556) -* fix(ssr): handle class declaration and expression name scoping (#16569) ([c071eb3](https://github.com/vitejs/vite/commit/c071eb3)), closes [#16569](https://github.com/vitejs/vite/issues/16569) -* fix(ssr): handle function expression name scoping (#16563) ([02db947](https://github.com/vitejs/vite/commit/02db947)), closes [#16563](https://github.com/vitejs/vite/issues/16563) +* fix: scripts and styles were missing from built HTML on Windows (#16421) ([0e93f58](https://github.com/vitejs/vite/commit/0e93f588b9056ca2535c23430ea0a176c53c8202)), closes [#16421](https://github.com/vitejs/vite/issues/16421) +* fix(deps): update all non-major dependencies (#16549) ([2d6a13b](https://github.com/vitejs/vite/commit/2d6a13b0aa1f3860482dac2ce260cfbb0713033f)), closes [#16549](https://github.com/vitejs/vite/issues/16549) +* fix(preload): skip preload for non-static urls (#16556) ([bb79c9b](https://github.com/vitejs/vite/commit/bb79c9b653eeab366dccc855713369aea9f90d8f)), closes [#16556](https://github.com/vitejs/vite/issues/16556) +* fix(ssr): handle class declaration and expression name scoping (#16569) ([c071eb3](https://github.com/vitejs/vite/commit/c071eb38221bdd9981e061472a8b6f402ea21138)), closes [#16569](https://github.com/vitejs/vite/issues/16569) +* fix(ssr): handle function expression name scoping (#16563) ([02db947](https://github.com/vitejs/vite/commit/02db9479acfa022503a6e668d347360d916cc298)), closes [#16563](https://github.com/vitejs/vite/issues/16563) * refactor: bounded plugins factory instead of create hook ([6b74221](https://github.com/vitejs/vite/commit/6b74221)) * refactor: move reload on tsconfig change to the server ([1bcb67d](https://github.com/vitejs/vite/commit/1bcb67d)) @@ -392,12 +598,12 @@ * fix: backcompat merging ([294a84e](https://github.com/vitejs/vite/commit/294a84e)) * fix: disable hmr for ssrLoadModule ([33ef0fb](https://github.com/vitejs/vite/commit/33ef0fb)) -* fix: dynamic-import-vars plugin normalize path issue (#16518) ([f71ba5b](https://github.com/vitejs/vite/commit/f71ba5b)), closes [#16518](https://github.com/vitejs/vite/issues/16518) +* fix: dynamic-import-vars plugin normalize path issue (#16518) ([f71ba5b](https://github.com/vitejs/vite/commit/f71ba5b94a6e862460a96c7bf5e16d8ae66f9fe7)), closes [#16518](https://github.com/vitejs/vite/issues/16518) * fix: rework backcompat patching of environment config ([72150d6](https://github.com/vitejs/vite/commit/72150d6)) * fix: sharedPlugins ([a63190c](https://github.com/vitejs/vite/commit/a63190c)) * fix(cli): -> ([4cf322d](https://github.com/vitejs/vite/commit/4cf322d)) -* fix(deps): update all non-major dependencies (#16488) ([2d50be2](https://github.com/vitejs/vite/commit/2d50be2)), closes [#16488](https://github.com/vitejs/vite/issues/16488) -* fix(dev): watch publicDir explicitly to include it outside the root (#16502) ([4d83eb5](https://github.com/vitejs/vite/commit/4d83eb5)), closes [#16502](https://github.com/vitejs/vite/issues/16502) +* fix(deps): update all non-major dependencies (#16488) ([2d50be2](https://github.com/vitejs/vite/commit/2d50be2a5424e4f4c22774652ed313d2a232f8af)), closes [#16488](https://github.com/vitejs/vite/issues/16488) +* fix(dev): watch publicDir explicitly to include it outside the root (#16502) ([4d83eb5](https://github.com/vitejs/vite/commit/4d83eb58cdea0d2e4ec4f0da6e1dd6b72014e67e)), closes [#16502](https://github.com/vitejs/vite/issues/16502) * fix(v6): fix `ssrEmitAssets` compat (#16480) ([5c5efe4](https://github.com/vitejs/vite/commit/5c5efe4)), closes [#16480](https://github.com/vitejs/vite/issues/16480) * feat: builder.entireApp, remove --environment ([1925eeb](https://github.com/vitejs/vite/commit/1925eeb)) * feat: opt-in shared plugins during build ([2866d4f](https://github.com/vitejs/vite/commit/2866d4f)) @@ -422,128 +628,128 @@ ## 6.0.0-alpha.3 (2024-04-20) -* fix: add base to virtual html (#16442) ([721f94d](https://github.com/vitejs/vite/commit/721f94d)), closes [#16442](https://github.com/vitejs/vite/issues/16442) -* fix: adjust esm syntax judgment logic (#16436) ([af72eab](https://github.com/vitejs/vite/commit/af72eab)), closes [#16436](https://github.com/vitejs/vite/issues/16436) -* fix: don't add outDirs to watch.ignored if emptyOutDir is false (#16453) ([6a127d6](https://github.com/vitejs/vite/commit/6a127d6)), closes [#16453](https://github.com/vitejs/vite/issues/16453) +* fix: add base to virtual html (#16442) ([721f94d](https://github.com/vitejs/vite/commit/721f94ddacdc8cbc4342a9c791d7fecba5a0f7ca)), closes [#16442](https://github.com/vitejs/vite/issues/16442) +* fix: adjust esm syntax judgment logic (#16436) ([af72eab](https://github.com/vitejs/vite/commit/af72eabab170c05a7b1e7fb99000e1344ff83a37)), closes [#16436](https://github.com/vitejs/vite/issues/16436) +* fix: don't add outDirs to watch.ignored if emptyOutDir is false (#16453) ([6a127d6](https://github.com/vitejs/vite/commit/6a127d67ba953004ab10c21b50429050c7eadf11)), closes [#16453](https://github.com/vitejs/vite/issues/16453) * fix: export missing types ([431cd4b](https://github.com/vitejs/vite/commit/431cd4b)) -* fix(cspNonce): don't overwrite existing nonce values (#16415) ([b872635](https://github.com/vitejs/vite/commit/b872635)), closes [#16415](https://github.com/vitejs/vite/issues/16415) +* fix(cspNonce): don't overwrite existing nonce values (#16415) ([b872635](https://github.com/vitejs/vite/commit/b8726357c90fb6b641e8c6654e25a5d7e8fa29d4)), closes [#16415](https://github.com/vitejs/vite/issues/16415) * chore: remove configureServer from more plugins ([ad2b0bf](https://github.com/vitejs/vite/commit/ad2b0bf)) * chore: rename plugin.split to plugin.create ([5f6b62f](https://github.com/vitejs/vite/commit/5f6b62f)) -* chore(deps): update dependency eslint-plugin-n to v17 (#16381) ([6cccef7](https://github.com/vitejs/vite/commit/6cccef7)), closes [#16381](https://github.com/vitejs/vite/issues/16381) +* chore(deps): update dependency eslint-plugin-n to v17 (#16381) ([6cccef7](https://github.com/vitejs/vite/commit/6cccef78a52492c24d9b28f3a1784824f34f5cc3)), closes [#16381](https://github.com/vitejs/vite/issues/16381) * feat: environment api (#16129) ([f684d4c](https://github.com/vitejs/vite/commit/f684d4c)), closes [#16129](https://github.com/vitejs/vite/issues/16129) -* feat: show warning if root is in build.outDir (#16454) ([11444dc](https://github.com/vitejs/vite/commit/11444dc)), closes [#16454](https://github.com/vitejs/vite/issues/16454) -* feat: write cspNonce to style tags (#16419) ([8e54bbd](https://github.com/vitejs/vite/commit/8e54bbd)), closes [#16419](https://github.com/vitejs/vite/issues/16419) +* feat: show warning if root is in build.outDir (#16454) ([11444dc](https://github.com/vitejs/vite/commit/11444dcee0404bae738e61b903acf37163915d6e)), closes [#16454](https://github.com/vitejs/vite/issues/16454) +* feat: write cspNonce to style tags (#16419) ([8e54bbd](https://github.com/vitejs/vite/commit/8e54bbd74d86537b449641a6623b1bc3800e82b2)), closes [#16419](https://github.com/vitejs/vite/issues/16419) ## 6.0.0-alpha.2 (2024-04-09) -* chore: update ([46c8910](https://github.com/vitejs/vite/commit/46c8910)) -* feat: environment aware define ([9f9a716](https://github.com/vitejs/vite/commit/9f9a716)) -* feat: rework more ssr.target webworker branches ([1f644d0](https://github.com/vitejs/vite/commit/1f644d0)) +* chore: update ([46c8910](https://github.com/vitejs/vite/commit/46c8910138995fa860dfaba13b425c33afdcfd6b)) +* feat: environment aware define ([9f9a716](https://github.com/vitejs/vite/commit/9f9a716f49fcc21eb86f8815b246356324b22006)) +* feat: rework more ssr.target webworker branches ([1f644d0](https://github.com/vitejs/vite/commit/1f644d077e7acce282d2c44c108411d91dbe97e8)) ## 6.0.0-alpha.1 (2024-04-08) -* fix: `fsp.rm` removing files does not take effect (#16032) ([b05c405](https://github.com/vitejs/vite/commit/b05c405)), closes [#16032](https://github.com/vitejs/vite/issues/16032) -* fix: csp nonce injection when no closing tag (#16281) (#16282) ([67a74f8](https://github.com/vitejs/vite/commit/67a74f8)), closes [#16281](https://github.com/vitejs/vite/issues/16281) [#16282](https://github.com/vitejs/vite/issues/16282) -* fix: do not access document in `/@vite/client` when not defined (#16318) ([6c5536b](https://github.com/vitejs/vite/commit/6c5536b)), closes [#16318](https://github.com/vitejs/vite/issues/16318) -* fix: fix sourcemap when using object as `define` value (#15805) ([9699ba3](https://github.com/vitejs/vite/commit/9699ba3)), closes [#15805](https://github.com/vitejs/vite/issues/15805) -* fix: package types ([bdf13bb](https://github.com/vitejs/vite/commit/bdf13bb)) -* fix(deps): update all non-major dependencies (#16376) ([58a2938](https://github.com/vitejs/vite/commit/58a2938)), closes [#16376](https://github.com/vitejs/vite/issues/16376) -* fix(environment): use `environments.client.build.outDir` for preview (#16301) ([8621c3f](https://github.com/vitejs/vite/commit/8621c3f)), closes [#16301](https://github.com/vitejs/vite/issues/16301) -* feat: async createEnvironment ([d15a157](https://github.com/vitejs/vite/commit/d15a157)) -* feat: dedupe/preserveSymlinks ([3ba9214](https://github.com/vitejs/vite/commit/3ba9214)) -* refactor: environment.dev.recoverable ([ea1c7eb](https://github.com/vitejs/vite/commit/ea1c7eb)) -* refactor: isFileServingAllowed load fallback for SSR ([d91714b](https://github.com/vitejs/vite/commit/d91714b)) -* refactor: lib options ([70731ce](https://github.com/vitejs/vite/commit/70731ce)) -* chore: merge ([bcac048](https://github.com/vitejs/vite/commit/bcac048)) -* chore: merge ([833dabf](https://github.com/vitejs/vite/commit/833dabf)) -* chore: remove ssr.target use ([0ea8be9](https://github.com/vitejs/vite/commit/0ea8be9)) -* chore: remove ssrConfig ([27371dc](https://github.com/vitejs/vite/commit/27371dc)) -* chore: update region comment (#16380) ([77562c3](https://github.com/vitejs/vite/commit/77562c3)), closes [#16380](https://github.com/vitejs/vite/issues/16380) -* chore(deps): update all non-major dependencies (#16325) ([c7efec4](https://github.com/vitejs/vite/commit/c7efec4)), closes [#16325](https://github.com/vitejs/vite/issues/16325) -* perf: reduce size of injected __vite__mapDeps code (#16184) ([a9bf430](https://github.com/vitejs/vite/commit/a9bf430)), closes [#16184](https://github.com/vitejs/vite/issues/16184) -* perf: reduce size of injected __vite__mapDeps code (#16184) ([c0ec6be](https://github.com/vitejs/vite/commit/c0ec6be)), closes [#16184](https://github.com/vitejs/vite/issues/16184) -* perf(css): only replace empty chunk if imported (#16349) ([f61d8b1](https://github.com/vitejs/vite/commit/f61d8b1)), closes [#16349](https://github.com/vitejs/vite/issues/16349) +* fix: `fsp.rm` removing files does not take effect (#16032) ([b05c405](https://github.com/vitejs/vite/commit/b05c405f6884f9612fd8b6c1e7587a553cf58baf)), closes [#16032](https://github.com/vitejs/vite/issues/16032) +* fix: csp nonce injection when no closing tag (#16281) (#16282) ([67a74f8](https://github.com/vitejs/vite/commit/67a74f87325db9334d8a8306048ccb4553987373)), closes [#16281](https://github.com/vitejs/vite/issues/16281) [#16282](https://github.com/vitejs/vite/issues/16282) +* fix: do not access document in `/@vite/client` when not defined (#16318) ([6c5536b](https://github.com/vitejs/vite/commit/6c5536be80c699bd9d346903eac692df7b419de8)), closes [#16318](https://github.com/vitejs/vite/issues/16318) +* fix: fix sourcemap when using object as `define` value (#15805) ([9699ba3](https://github.com/vitejs/vite/commit/9699ba371450d267c4d669dc7fac5600e0ce1a6d)), closes [#15805](https://github.com/vitejs/vite/issues/15805) +* fix: package types ([bdf13bb](https://github.com/vitejs/vite/commit/bdf13bbb3f3d5ffc3f864d60cc93c177f71edd04)) +* fix(deps): update all non-major dependencies (#16376) ([58a2938](https://github.com/vitejs/vite/commit/58a2938a9766981fdc2ed89bec8ff1c96cae0716)), closes [#16376](https://github.com/vitejs/vite/issues/16376) +* fix(environment): use `environments.client.build.outDir` for preview (#16301) ([8621c3f](https://github.com/vitejs/vite/commit/8621c3f4ca4a87a4215ee9f2e3b2c982fcefeaab)), closes [#16301](https://github.com/vitejs/vite/issues/16301) +* feat: async createEnvironment ([d15a157](https://github.com/vitejs/vite/commit/d15a157a3bae1a4ca1f9c3d745e32472d59eef01)) +* feat: dedupe/preserveSymlinks ([3ba9214](https://github.com/vitejs/vite/commit/3ba9214579b39090769143dc4efefea0e6811c1f)) +* refactor: environment.dev.recoverable ([ea1c7eb](https://github.com/vitejs/vite/commit/ea1c7ebe5a89bd832610fd7eda288b57d92e56e6)) +* refactor: isFileServingAllowed load fallback for SSR ([d91714b](https://github.com/vitejs/vite/commit/d91714b97250b376660bc63a31b8c715b074c28a)) +* refactor: lib options ([70731ce](https://github.com/vitejs/vite/commit/70731ceb2e8df708fe172b5f8ef9b84760525334)) +* chore: merge ([bcac048](https://github.com/vitejs/vite/commit/bcac04841194cc9f542c554f6bf7fb837e9f6e76)) +* chore: merge ([833dabf](https://github.com/vitejs/vite/commit/833dabf24ac74b22761ce0b762b76329772f63f6)) +* chore: remove ssr.target use ([0ea8be9](https://github.com/vitejs/vite/commit/0ea8be900a518fcd165b964bd80973142829eeae)) +* chore: remove ssrConfig ([27371dc](https://github.com/vitejs/vite/commit/27371dc79af5b98e8eea7ec68d1ded50515a3ff6)) +* chore: update region comment (#16380) ([77562c3](https://github.com/vitejs/vite/commit/77562c3ff2005c7ca7fc3749214c76d019fff4e3)), closes [#16380](https://github.com/vitejs/vite/issues/16380) +* chore(deps): update all non-major dependencies (#16325) ([c7efec4](https://github.com/vitejs/vite/commit/c7efec427ffbcb8dacd1270a1af5fb5052595ab4)), closes [#16325](https://github.com/vitejs/vite/issues/16325) +* perf: reduce size of injected __vite__mapDeps code (#16184) ([a9bf430](https://github.com/vitejs/vite/commit/a9bf43088851e9136cda3b649d2998f9b0254000)), closes [#16184](https://github.com/vitejs/vite/issues/16184) +* perf: reduce size of injected __vite__mapDeps code (#16184) ([c0ec6be](https://github.com/vitejs/vite/commit/c0ec6bea69b6160553f4a5b30652dcef891788fc)), closes [#16184](https://github.com/vitejs/vite/issues/16184) +* perf(css): only replace empty chunk if imported (#16349) ([f61d8b1](https://github.com/vitejs/vite/commit/f61d8b1d58b8ff0156f48cdeb7ba4be4ebdd527b)), closes [#16349](https://github.com/vitejs/vite/issues/16349) ## 6.0.0-alpha.0 (2024-04-05) -* feat: abstract moduleGraph into ModuleExecutionEnvironment ([5f5e0ec](https://github.com/vitejs/vite/commit/5f5e0ec)) -* feat: add `hot` property to environments ([e966ba0](https://github.com/vitejs/vite/commit/e966ba0)) -* feat: build.ssrEmitAssets -> build.emitAssets ([ef8c9b9](https://github.com/vitejs/vite/commit/ef8c9b9)) -* feat: builder config, runBuildTasks option ([f4789a3](https://github.com/vitejs/vite/commit/f4789a3)) -* feat: configureDevEnvironments + configureBuildEnvironments ([88fea3b](https://github.com/vitejs/vite/commit/88fea3b)) -* feat: environment aware createIdResolver ([f1dcd2c](https://github.com/vitejs/vite/commit/f1dcd2c)) -* feat: environment aware createResolver and resolvePlugin ([dd6332e](https://github.com/vitejs/vite/commit/dd6332e)) -* feat: environment aware depsOptimizer ([a7e52aa](https://github.com/vitejs/vite/commit/a7e52aa)) -* feat: environment id resolver for css plugin ([0bec1b9](https://github.com/vitejs/vite/commit/0bec1b9)) -* feat: environment in hooks, context vs param (#16261) ([fbe6361](https://github.com/vitejs/vite/commit/fbe6361)), closes [#16261](https://github.com/vitejs/vite/issues/16261) -* feat: environment.transformRequest ([fcebb7d](https://github.com/vitejs/vite/commit/fcebb7d)) -* feat: inject environment in build hooks ([cef1091](https://github.com/vitejs/vite/commit/cef1091)) -* feat: separate module graphs per environment ([83068fe](https://github.com/vitejs/vite/commit/83068fe)) -* feat: server.runHmrTasks ([7f94c03](https://github.com/vitejs/vite/commit/7f94c03)) -* feat: ssr.external/noExternal -> resolve.external/noExternal ([2a0b524](https://github.com/vitejs/vite/commit/2a0b524)) -* feat: ssr.target -> environment.webCompatible ([1a7d290](https://github.com/vitejs/vite/commit/1a7d290)) -* feat: support transport options to communicate between the environment and the runner (#16209) ([dbcc375](https://github.com/vitejs/vite/commit/dbcc375)), closes [#16209](https://github.com/vitejs/vite/issues/16209) -* feat: vite runtime renamed to module runner (#16137) ([60f7f2b](https://github.com/vitejs/vite/commit/60f7f2b)), closes [#16137](https://github.com/vitejs/vite/issues/16137) -* feat(hmr): call `hotUpdate` hook with file create/delete (#16249) ([3d37ac1](https://github.com/vitejs/vite/commit/3d37ac1)), closes [#16249](https://github.com/vitejs/vite/issues/16249) -* refactor: allow custom connections in node module runner ([9005841](https://github.com/vitejs/vite/commit/9005841)) -* refactor: base environment.config + environment.options ([c7e4da2](https://github.com/vitejs/vite/commit/c7e4da2)) -* refactor: buildEnvironments + hmrEnvironments ([c1fc111](https://github.com/vitejs/vite/commit/c1fc111)) -* refactor: clientEnvironment instead of browserEnvironment (#16194) ([ccf3de4](https://github.com/vitejs/vite/commit/ccf3de4)), closes [#16194](https://github.com/vitejs/vite/issues/16194) -* refactor: configEnvironment hook + enviroment config resolving ([fee54ea](https://github.com/vitejs/vite/commit/fee54ea)) -* refactor: environment id,type -> name + fixes ([29f1b7b](https://github.com/vitejs/vite/commit/29f1b7b)) -* refactor: environments array to plain object ([a7a06fe](https://github.com/vitejs/vite/commit/a7a06fe)) -* refactor: environments as array instead of map (#16193) ([f1d660c](https://github.com/vitejs/vite/commit/f1d660c)), closes [#16193](https://github.com/vitejs/vite/issues/16193) -* refactor: hooks get an environment object instead of a string ([5e60d8a](https://github.com/vitejs/vite/commit/5e60d8a)) -* refactor: hooks to config for creating environments ([3e6216c](https://github.com/vitejs/vite/commit/3e6216c)) -* refactor: isolate back compat module graph in its own module ([8000e8e](https://github.com/vitejs/vite/commit/8000e8e)) -* refactor: ModuleExecutionEnvironment -> DevEnvironment ([6e71b24](https://github.com/vitejs/vite/commit/6e71b24)) -* refactor: move safeModulesPath set to server ([95ae29b](https://github.com/vitejs/vite/commit/95ae29b)) -* refactor: move transport to properties ([9cfa916](https://github.com/vitejs/vite/commit/9cfa916)) -* refactor: node -> ssr for default environment ([e03bac8](https://github.com/vitejs/vite/commit/e03bac8)) -* refactor: options and environment are required when calling container.hook ([e30b858](https://github.com/vitejs/vite/commit/e30b858)) -* refactor: pass down name to the environment factory ([52edfc9](https://github.com/vitejs/vite/commit/52edfc9)) -* refactor: remove default nodeModuleRunner because it's not used anywhere ([f29e95a](https://github.com/vitejs/vite/commit/f29e95a)) -* refactor: remove environment name from the hmr context ([a183a0f](https://github.com/vitejs/vite/commit/a183a0f)) -* refactor: rename "hmrEnvironments" to "hotUpdateEnvironments" ([a0b7edb](https://github.com/vitejs/vite/commit/a0b7edb)) -* refactor: rename createSsrEnvironment to createNodeEnvironment ([c9abcfc](https://github.com/vitejs/vite/commit/c9abcfc)) -* refactor: rename ssrInvalidates to invalidates ([72fe84e](https://github.com/vitejs/vite/commit/72fe84e)) -* refactor: rework resolveId in ModuleExecutionEnvironment constructor ([03d3889](https://github.com/vitejs/vite/commit/03d3889)) -* refactor: ssrConfig.optimizeDeps.include/exclude ([5bd8e95](https://github.com/vitejs/vite/commit/5bd8e95)) -* refactor: use ssr environment module graph in ssrFixStacktrace ([5477972](https://github.com/vitejs/vite/commit/5477972)) -* fix: add auto complete to server.environments ([a160a1b](https://github.com/vitejs/vite/commit/a160a1b)) -* fix: call updateModules for each environmnet ([281cf97](https://github.com/vitejs/vite/commit/281cf97)) -* fix: fine-grained hmr ([31e1d3a](https://github.com/vitejs/vite/commit/31e1d3a)) -* fix: HotContext only gets ModuleExecutionEnvironment ([30be775](https://github.com/vitejs/vite/commit/30be775)) -* fix: injectEnvironmentInContext ([a1d385c](https://github.com/vitejs/vite/commit/a1d385c)) -* fix: injectEnvironmentToHooks ([681ccd4](https://github.com/vitejs/vite/commit/681ccd4)) -* fix: missing externalConditions back compat ([beb40ef](https://github.com/vitejs/vite/commit/beb40ef)) -* fix: optimizeDeps backward compatibility layer ([3806fe6](https://github.com/vitejs/vite/commit/3806fe6)) -* fix: partial backward compat for config.ssr ([85ada0d](https://github.com/vitejs/vite/commit/85ada0d)) -* fix: resolve.externalConditions ([fb9365c](https://github.com/vitejs/vite/commit/fb9365c)) -* fix: use "register" event for remote environment transport ([c4f4dfb](https://github.com/vitejs/vite/commit/c4f4dfb)) -* fix(css): unknown file error happened with lightningcss (#16306) ([01af308](https://github.com/vitejs/vite/commit/01af308)), closes [#16306](https://github.com/vitejs/vite/issues/16306) -* fix(hmr): multiple updates happened when invalidate is called while multiple tabs open (#16307) ([21cc10b](https://github.com/vitejs/vite/commit/21cc10b)), closes [#16307](https://github.com/vitejs/vite/issues/16307) -* fix(scanner): duplicate modules for same id if glob is used in html-like types (#16305) ([eca68fa](https://github.com/vitejs/vite/commit/eca68fa)), closes [#16305](https://github.com/vitejs/vite/issues/16305) -* test: add test for worker transport ([a5ef42e](https://github.com/vitejs/vite/commit/a5ef42e)) -* test: fix after merge ([d9ed857](https://github.com/vitejs/vite/commit/d9ed857)) -* test(environment): add environment playground (#16299) ([a5c7e4f](https://github.com/vitejs/vite/commit/a5c7e4f)), closes [#16299](https://github.com/vitejs/vite/issues/16299) -* chore: fix lint ([b4e46fe](https://github.com/vitejs/vite/commit/b4e46fe)) -* chore: fix lint ([6040ab3](https://github.com/vitejs/vite/commit/6040ab3)) -* chore: lint ([8785f4f](https://github.com/vitejs/vite/commit/8785f4f)) -* chore: lint ([92eccf9](https://github.com/vitejs/vite/commit/92eccf9)) -* chore: lint ([f927702](https://github.com/vitejs/vite/commit/f927702)) -* chore: rename module and error back to ssrModule and ssrError ([d8ff12a](https://github.com/vitejs/vite/commit/d8ff12a)) -* chore: rename server environment to node environment ([4808b27](https://github.com/vitejs/vite/commit/4808b27)) -* chore: run prettier on environment file ([1fe63b1](https://github.com/vitejs/vite/commit/1fe63b1)) -* chore: update ([9a600fe](https://github.com/vitejs/vite/commit/9a600fe)) -* chore: update environment.server.config ([2ddf28e](https://github.com/vitejs/vite/commit/2ddf28e)) -* wip: environment config overrides ([81abf6e](https://github.com/vitejs/vite/commit/81abf6e)) +* feat: abstract moduleGraph into ModuleExecutionEnvironment ([5f5e0ec](https://github.com/vitejs/vite/commit/5f5e0ecc05fb55ba3d3f1133ef68b1f929cbfcad)) +* feat: add `hot` property to environments ([e966ba0](https://github.com/vitejs/vite/commit/e966ba0342ec5301431e44f6ee492a74e4d555ee)) +* feat: build.ssrEmitAssets -> build.emitAssets ([ef8c9b9](https://github.com/vitejs/vite/commit/ef8c9b9f2b838cd8de738a84ff7b2ad633565ef3)) +* feat: builder config, runBuildTasks option ([f4789a3](https://github.com/vitejs/vite/commit/f4789a38262878dea8f733cd615c11ea8ea5d8f8)) +* feat: configureDevEnvironments + configureBuildEnvironments ([88fea3b](https://github.com/vitejs/vite/commit/88fea3b4a4865f5d758b44c12fdeaee2312f813a)) +* feat: environment aware createIdResolver ([f1dcd2c](https://github.com/vitejs/vite/commit/f1dcd2c9fc12d5a157257077438c252aa764dc4d)) +* feat: environment aware createResolver and resolvePlugin ([dd6332e](https://github.com/vitejs/vite/commit/dd6332e4c555171251b2521b1c0b671c8ead9ae0)) +* feat: environment aware depsOptimizer ([a7e52aa](https://github.com/vitejs/vite/commit/a7e52aa28db498af91219c5ff0981eb42c2273e8)) +* feat: environment id resolver for css plugin ([0bec1b9](https://github.com/vitejs/vite/commit/0bec1b91fa9a5c96158d88f0da5cbcc19453a61b)) +* feat: environment in hooks, context vs param (#16261) ([fbe6361](https://github.com/vitejs/vite/commit/fbe6361d99f1198ca1ddd388032f15169d36292c)), closes [#16261](https://github.com/vitejs/vite/issues/16261) +* feat: environment.transformRequest ([fcebb7d](https://github.com/vitejs/vite/commit/fcebb7dbaf46592bc4f4064888d4bcdf439f466c)) +* feat: inject environment in build hooks ([cef1091](https://github.com/vitejs/vite/commit/cef10915d2713847e257a731b430d172b10dea9f)) +* feat: separate module graphs per environment ([83068fe](https://github.com/vitejs/vite/commit/83068fe3561b3f88be41d8bbea556637a04f35aa)) +* feat: server.runHmrTasks ([7f94c03](https://github.com/vitejs/vite/commit/7f94c0337c77675d44a4707e120651e809834dba)) +* feat: ssr.external/noExternal -> resolve.external/noExternal ([2a0b524](https://github.com/vitejs/vite/commit/2a0b524ff825c1c28612207676300d1a8d3db151)) +* feat: ssr.target -> environment.webCompatible ([1a7d290](https://github.com/vitejs/vite/commit/1a7d2909d76b7905076da7f786ffe304e5e4d26e)) +* feat: support transport options to communicate between the environment and the runner (#16209) ([dbcc375](https://github.com/vitejs/vite/commit/dbcc375f8c4b444a24ee9d0967dfdd17e2b2dcd1)), closes [#16209](https://github.com/vitejs/vite/issues/16209) +* feat: vite runtime renamed to module runner (#16137) ([60f7f2b](https://github.com/vitejs/vite/commit/60f7f2bc7cb73530f528e03dc23872eb58d8fe71)), closes [#16137](https://github.com/vitejs/vite/issues/16137) +* feat(hmr): call `hotUpdate` hook with file create/delete (#16249) ([3d37ac1](https://github.com/vitejs/vite/commit/3d37ac18d8665cb5e46adb754b331dbcbdd629fc)), closes [#16249](https://github.com/vitejs/vite/issues/16249) +* refactor: allow custom connections in node module runner ([9005841](https://github.com/vitejs/vite/commit/90058415d02e562ed77abb920d3df85b14383047)) +* refactor: base environment.config + environment.options ([c7e4da2](https://github.com/vitejs/vite/commit/c7e4da2e88d176a81c21781e9387b6900853cc29)) +* refactor: buildEnvironments + hmrEnvironments ([c1fc111](https://github.com/vitejs/vite/commit/c1fc1119cdbe18391d9c135196776cf7ae6cf038)) +* refactor: clientEnvironment instead of browserEnvironment (#16194) ([ccf3de4](https://github.com/vitejs/vite/commit/ccf3de4660fc7b9273e6f0c4646f20404c6b65d8)), closes [#16194](https://github.com/vitejs/vite/issues/16194) +* refactor: configEnvironment hook + enviroment config resolving ([fee54ea](https://github.com/vitejs/vite/commit/fee54ea14b6c038358ec5c9f4a3ed7e8cb0bff83)) +* refactor: environment id,type -> name + fixes ([29f1b7b](https://github.com/vitejs/vite/commit/29f1b7b4f9a16129103a99badab52cb709aaf1d1)) +* refactor: environments array to plain object ([a7a06fe](https://github.com/vitejs/vite/commit/a7a06fe25323ed6982c040e6d18456786969f1b7)) +* refactor: environments as array instead of map (#16193) ([f1d660c](https://github.com/vitejs/vite/commit/f1d660c68f043cdbc7aa4e0268cd6d156040dc4c)), closes [#16193](https://github.com/vitejs/vite/issues/16193) +* refactor: hooks get an environment object instead of a string ([5e60d8a](https://github.com/vitejs/vite/commit/5e60d8aaa54d170f156333736af9394455e6266a)) +* refactor: hooks to config for creating environments ([3e6216c](https://github.com/vitejs/vite/commit/3e6216cf3e5a6f9cc7769cf5ae0509d781637a42)) +* refactor: isolate back compat module graph in its own module ([8000e8e](https://github.com/vitejs/vite/commit/8000e8e05c0ce9ad1cdbec49ec41ad5a2762a6d4)) +* refactor: ModuleExecutionEnvironment -> DevEnvironment ([6e71b24](https://github.com/vitejs/vite/commit/6e71b244e71b520b2e59476413e0bbcae7c72331)) +* refactor: move safeModulesPath set to server ([95ae29b](https://github.com/vitejs/vite/commit/95ae29ba4ae62d81f1e07bbc3a649e9b29f70496)) +* refactor: move transport to properties ([9cfa916](https://github.com/vitejs/vite/commit/9cfa91656ba38c262743383d24f3af9bdab216d9)) +* refactor: node -> ssr for default environment ([e03bac8](https://github.com/vitejs/vite/commit/e03bac8ba4197712b304fb995c92356de3edea63)) +* refactor: options and environment are required when calling container.hook ([e30b858](https://github.com/vitejs/vite/commit/e30b858035a840e94ad00a1597b08b51971c7f13)) +* refactor: pass down name to the environment factory ([52edfc9](https://github.com/vitejs/vite/commit/52edfc95ee59968b1cfb8d622f38a074e6475bbc)) +* refactor: remove default nodeModuleRunner because it's not used anywhere ([f29e95a](https://github.com/vitejs/vite/commit/f29e95ae1c0d06c7a4df7ef2f7b4dd5bff2b0292)) +* refactor: remove environment name from the hmr context ([a183a0f](https://github.com/vitejs/vite/commit/a183a0fa0b444bb7bb14c0db53153e082535c015)) +* refactor: rename "hmrEnvironments" to "hotUpdateEnvironments" ([a0b7edb](https://github.com/vitejs/vite/commit/a0b7edbd89db328a74ef21ca401530a251d794be)) +* refactor: rename createSsrEnvironment to createNodeEnvironment ([c9abcfc](https://github.com/vitejs/vite/commit/c9abcfc996649d753412c42e7a18742aad8fc14d)) +* refactor: rename ssrInvalidates to invalidates ([72fe84e](https://github.com/vitejs/vite/commit/72fe84e2a90fb6ab73dccb9e61a17aadd79cb772)) +* refactor: rework resolveId in ModuleExecutionEnvironment constructor ([03d3889](https://github.com/vitejs/vite/commit/03d3889e787f199c9d8ac1454197d5fd21dab1f9)) +* refactor: ssrConfig.optimizeDeps.include/exclude ([5bd8e95](https://github.com/vitejs/vite/commit/5bd8e9503bea615169ddfad2bfc67327be8bce1c)) +* refactor: use ssr environment module graph in ssrFixStacktrace ([5477972](https://github.com/vitejs/vite/commit/54779728e9c8b89de501235fe419a2fba14bb5c8)) +* fix: add auto complete to server.environments ([a160a1b](https://github.com/vitejs/vite/commit/a160a1b05057407f351945d68579ce71ca4f097f)) +* fix: call updateModules for each environmnet ([281cf97](https://github.com/vitejs/vite/commit/281cf97e6b0d988fa2fe5910c810288d46935481)) +* fix: fine-grained hmr ([31e1d3a](https://github.com/vitejs/vite/commit/31e1d3a909e8007614c4fedfe61145ba0c18b9ec)) +* fix: HotContext only gets ModuleExecutionEnvironment ([30be775](https://github.com/vitejs/vite/commit/30be775c99410500f460a32a5e01e13fd4012359)) +* fix: injectEnvironmentInContext ([a1d385c](https://github.com/vitejs/vite/commit/a1d385ca1882abf93326def14d12d635b9f8b25f)) +* fix: injectEnvironmentToHooks ([681ccd4](https://github.com/vitejs/vite/commit/681ccd490c4b80ef7bf4239c176d2db993460b6a)) +* fix: missing externalConditions back compat ([beb40ef](https://github.com/vitejs/vite/commit/beb40ef0baff2c57c858fdf37ccb65a285b4ee2f)) +* fix: optimizeDeps backward compatibility layer ([3806fe6](https://github.com/vitejs/vite/commit/3806fe6fe07f0451b68c1760c1c0eb1f32553bae)) +* fix: partial backward compat for config.ssr ([85ada0d](https://github.com/vitejs/vite/commit/85ada0d21c7fb4daccb45150cc32948d95709755)) +* fix: resolve.externalConditions ([fb9365c](https://github.com/vitejs/vite/commit/fb9365cdc7f02f29157e4b58af0303414b885f95)) +* fix: use "register" event for remote environment transport ([c4f4dfb](https://github.com/vitejs/vite/commit/c4f4dfb5cdb35038c0d5f06b85de33793dbf5cc3)) +* fix(css): unknown file error happened with lightningcss (#16306) ([01af308](https://github.com/vitejs/vite/commit/01af308dfd271df604a3fc9e9b3a9fcc2063e5d8)), closes [#16306](https://github.com/vitejs/vite/issues/16306) +* fix(hmr): multiple updates happened when invalidate is called while multiple tabs open (#16307) ([21cc10b](https://github.com/vitejs/vite/commit/21cc10bfda99a5818bfd709beff260e72b4b4ec5)), closes [#16307](https://github.com/vitejs/vite/issues/16307) +* fix(scanner): duplicate modules for same id if glob is used in html-like types (#16305) ([eca68fa](https://github.com/vitejs/vite/commit/eca68fa942818b69d08eae4dceaf46a330684a5e)), closes [#16305](https://github.com/vitejs/vite/issues/16305) +* test: add test for worker transport ([a5ef42e](https://github.com/vitejs/vite/commit/a5ef42e056dbe341a6483cfed39ed6da62720069)) +* test: fix after merge ([d9ed857](https://github.com/vitejs/vite/commit/d9ed857421f2206c33f52c0cc31ec80ef0e97c5a)) +* test(environment): add environment playground (#16299) ([a5c7e4f](https://github.com/vitejs/vite/commit/a5c7e4fb280905bdadcaeaa7ebe4149ac1aece0e)), closes [#16299](https://github.com/vitejs/vite/issues/16299) +* chore: fix lint ([b4e46fe](https://github.com/vitejs/vite/commit/b4e46fe37ab9a4bf3ca5c4f6f1706a46edf4266e)) +* chore: fix lint ([6040ab3](https://github.com/vitejs/vite/commit/6040ab3b200ba51aca6521135094f531cd535f8a)) +* chore: lint ([8785f4f](https://github.com/vitejs/vite/commit/8785f4fcb57c3ab615f6b0611f10b680f0ab8a53)) +* chore: lint ([92eccf9](https://github.com/vitejs/vite/commit/92eccf9015f546d8333175a343e6aab5ff306f58)) +* chore: lint ([f927702](https://github.com/vitejs/vite/commit/f9277022b20abbb9bdb699d905428152308e2774)) +* chore: rename module and error back to ssrModule and ssrError ([d8ff12a](https://github.com/vitejs/vite/commit/d8ff12afb6d13d8f488f8b49f5f715aa3ae537cc)) +* chore: rename server environment to node environment ([4808b27](https://github.com/vitejs/vite/commit/4808b270081ddbc191550f23c5c4f939828c9273)) +* chore: run prettier on environment file ([1fe63b1](https://github.com/vitejs/vite/commit/1fe63b16732399eb622c848d07d172858966bbee)) +* chore: update ([9a600fe](https://github.com/vitejs/vite/commit/9a600fec8ae86f3f0445e4c6d12f0f0effae10f5)) +* chore: update environment.server.config ([2ddf28e](https://github.com/vitejs/vite/commit/2ddf28e93b7a94835f114fcf63f22dfff92e9cca)) +* wip: environment config overrides ([81abf6e](https://github.com/vitejs/vite/commit/81abf6e7b28922da94b3cb1298faadbdb25631a4)) diff --git a/packages/vite/package.json b/packages/vite/package.json index ae38357532e7f2..3deed769a96b36 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -1,6 +1,6 @@ { "name": "vite", - "version": "6.0.0-alpha.18", + "version": "6.0.0-alpha.19", "type": "module", "license": "MIT", "author": "Evan You",