buhodev / sveltekit-tailwind-starter

SvelteKit + TailwindCSS + TypeScript starter template
38 stars 10 forks source link

chore(deps): update dependency vitest to ^0.34.0 #5

Closed renovate[bot] closed 1 day ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest (source) ^0.31.0 -> ^0.34.0 age adoption passing confidence

Release Notes

vitest-dev/vitest (vitest) ### [`v0.34.6`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.34.6) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) #####    🐞 Bug Fixes - Overwrite global URL with environment's  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4164](https://redirect.github.com/vitest-dev/vitest/issues/4164) [(cbe13)](https://redirect.github.com/vitest-dev/vitest/commit/cbe133da) - Correctly resolve external dependencies loaded by custom environments  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4196](https://redirect.github.com/vitest-dev/vitest/issues/4196) [(e3408)](https://redirect.github.com/vitest-dev/vitest/commit/e340802f) - **runner**: The fixture of `test.extend` should be init once time in all test  -  by [@​Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4168](https://redirect.github.com/vitest-dev/vitest/issues/4168) [(730b2)](https://redirect.github.com/vitest-dev/vitest/commit/730b29ec) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ### [`v0.34.5`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) #####    🚀 Features - **config**: - Add `diff` option  -  by [@​fenghan34](https://redirect.github.com/fenghan34) and [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4063](https://redirect.github.com/vitest-dev/vitest/issues/4063) [(b50cf)](https://redirect.github.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider  -  by [@​marcelobotega](https://redirect.github.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4109](https://redirect.github.com/vitest-dev/vitest/issues/4109) [(a7e09)](https://redirect.github.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method  -  by [@​Dunqing](https://redirect.github.com/Dunqing) and [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4113](https://redirect.github.com/vitest-dev/vitest/issues/4113) [(d79cb)](https://redirect.github.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4098](https://redirect.github.com/vitest-dev/vitest/issues/4098) [(1aee1)](https://redirect.github.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method  -  by [@​Dunqing](https://redirect.github.com/Dunqing) and [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4129](https://redirect.github.com/vitest-dev/vitest/issues/4129) [(e0ac9)](https://redirect.github.com/vitest-dev/vitest/commit/e0ac97cf) #####    🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12  -  by [@​anthonyblond](https://redirect.github.com/anthonyblond) in [https://github.com/vitest-dev/vitest/issues/4135](https://redirect.github.com/vitest-dev/vitest/issues/4135) [(e8797)](https://redirect.github.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4137](https://redirect.github.com/vitest-dev/vitest/issues/4137) [(e649d)](https://redirect.github.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example  -  by [@​marcelobotega](https://redirect.github.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4116](https://redirect.github.com/vitest-dev/vitest/issues/4116) [(ba1e7)](https://redirect.github.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow`  -  by [@​Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3979](https://redirect.github.com/vitest-dev/vitest/issues/3979) [(725a0)](https://redirect.github.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom  -  by [@​capricorn86](https://redirect.github.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4140](https://redirect.github.com/vitest-dev/vitest/issues/4140) [(c21c0)](https://redirect.github.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern`  -  by [@​segrey](https://redirect.github.com/segrey) in [https://github.com/vitest-dev/vitest/issues/4103](https://redirect.github.com/vitest-dev/vitest/issues/4103) and [https://github.com/vitest-dev/vitest/issues/4104](https://redirect.github.com/vitest-dev/vitest/issues/4104) [(3c305)](https://redirect.github.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test  -  by [@​Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4065](https://redirect.github.com/vitest-dev/vitest/issues/4065) [(175c7)](https://redirect.github.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots  -  by [@​RobertPechaCZ](https://redirect.github.com/RobertPechaCZ) in [https://github.com/vitest-dev/vitest/issues/4118](https://redirect.github.com/vitest-dev/vitest/issues/4118) [(01e01)](https://redirect.github.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff  -  by [@​so1ve](https://redirect.github.com/so1ve) and [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3810](https://redirect.github.com/vitest-dev/vitest/issues/3810) [(8c315)](https://redirect.github.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT  -  by [@​Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4128](https://redirect.github.com/vitest-dev/vitest/issues/4128) [(ca70a)](https://redirect.github.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) [(90ff8)](https://redirect.github.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4130](https://redirect.github.com/vitest-dev/vitest/issues/4130) [(a084c)](https://redirect.github.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4096](https://redirect.github.com/vitest-dev/vitest/issues/4096) [(b4d5a)](https://redirect.github.com/vitest-dev/vitest/commit/b4d5ae23) #####    🏎 Performance - Use lazy require in vm pool  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4136](https://redirect.github.com/vitest-dev/vitest/issues/4136) [(21ba4)](https://redirect.github.com/vitest-dev/vitest/commit/21ba4935) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) #####    🐞 Bug Fixes - Resolving dep optimizer issues with workspace  -  by [@​thebanjomatic](https://redirect.github.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://redirect.github.com/vitest-dev/vitest/issues/4036) [(0c13c)](https://redirect.github.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://redirect.github.com/vitest-dev/vitest/issues/4077) [(a84a8)](https://redirect.github.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://redirect.github.com/vitest-dev/vitest/issues/4027) [(9f043)](https://redirect.github.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11  -  by [@​capricorn86](https://redirect.github.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://redirect.github.com/vitest-dev/vitest/issues/4090) [(59434)](https://redirect.github.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching  -  by [@​Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://redirect.github.com/vitest-dev/vitest/issues/4071) [(b5bf3)](https://redirect.github.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths  -  by [@​danielroe](https://redirect.github.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://redirect.github.com/vitest-dev/vitest/issues/4049) [(80741)](https://redirect.github.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://redirect.github.com/vitest-dev/vitest/issues/4031) [(0d0f3)](https://redirect.github.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://redirect.github.com/vitest-dev/vitest/issues/4080) [(410bc)](https://redirect.github.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://redirect.github.com/vitest-dev/vitest/issues/4095) [(00e81)](https://redirect.github.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://redirect.github.com/vitest-dev/vitest/issues/4083) [(f8ea7)](https://redirect.github.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://redirect.github.com/vitest-dev/vitest/issues/4085) [(8b39c)](https://redirect.github.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://redirect.github.com/vitest-dev/vitest/issues/4014) [(e78a4)](https://redirect.github.com/vitest-dev/vitest/commit/e78a449d) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) #####    🚀 Features - **coverage**: Add `allowExternal` option  -  by [@​vojvodics](https://redirect.github.com/vojvodics) and [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://redirect.github.com/vitest-dev/vitest/issues/3894) [(c03fa)](https://redirect.github.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters`  -  by [@​Dunqing](https://redirect.github.com/Dunqing) and [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://redirect.github.com/vitest-dev/vitest/issues/3980) [(5704b)](https://redirect.github.com/vitest-dev/vitest/commit/5704b341) #####    🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed  -  by [@​miserylee](https://redirect.github.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://redirect.github.com/vitest-dev/vitest/issues/3971) [(5eb85)](https://redirect.github.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes  -  by [@​FelixGraf](https://redirect.github.com/FelixGraf) and [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://redirect.github.com/vitest-dev/vitest/issues/3973) [(20263)](https://redirect.github.com/vitest-dev/vitest/commit/20263d9d) - Report file error as a on JUnit  -  by [@​3c1u](https://redirect.github.com/3c1u) in [https://github.com/vitest-dev/vitest/issues/3997](https://redirect.github.com/vitest-dev/vitest/issues/3997) [(00c43)](https://redirect.github.com/vitest-dev/vitest/commit/00c432fa) - **jsdom**: Correctly resolve buffer on typed arrays  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3998](https://redirect.github.com/vitest-dev/vitest/issues/3998) [(b42cf)](https://redirect.github.com/vitest-dev/vitest/commit/b42cf36e) - **ui**: Use web hash history in ui  -  by [@​segevfiner](https://redirect.github.com/segevfiner) and [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3481](https://redirect.github.com/vitest-dev/vitest/issues/3481) and [https://github.com/vitest-dev/vitest/issues/3487](https://redirect.github.com/vitest-dev/vitest/issues/3487) [(8caab)](https://redirect.github.com/vitest-dev/vitest/commit/8caabaa1) - **vite-node**: Inline HMR types  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3993](https://redirect.github.com/vitest-dev/vitest/issues/3993) [(dff60)](https://redirect.github.com/vitest-dev/vitest/commit/dff60e82) - **vitest**: Correctly resolve optimizer status  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3992](https://redirect.github.com/vitest-dev/vitest/issues/3992) [(74dc5)](https://redirect.github.com/vitest-dev/vitest/commit/74dc5967) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ### [`v0.34.2`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.34.2) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) #####    🚀 Features - Allow importing CSS and assets inside external dependencies when using `--experimental-vm-threads`  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3880](https://redirect.github.com/vitest-dev/vitest/issues/3880) [(f4e6e)](https://redirect.github.com/vitest-dev/vitest/commit/f4e6e99f) - **vitest**: Allow calling `ctx.skip()` inside the running test  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3966](https://redirect.github.com/vitest-dev/vitest/issues/3966) [(5c88d)](https://redirect.github.com/vitest-dev/vitest/commit/5c88d8e5) #####    🐞 Bug Fixes - Don't bundle utils' source-map entry  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3865](https://redirect.github.com/vitest-dev/vitest/issues/3865) [(a08e5)](https://redirect.github.com/vitest-dev/vitest/commit/a08e5993) - Reduce the memory consumption when running --experimental-vm-threads  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3872](https://redirect.github.com/vitest-dev/vitest/issues/3872) [(d1a08)](https://redirect.github.com/vitest-dev/vitest/commit/d1a08c88) - Indicator position of error message  -  by [@​fenghan34](https://redirect.github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3855](https://redirect.github.com/vitest-dev/vitest/issues/3855) [(3e1e7)](https://redirect.github.com/vitest-dev/vitest/commit/3e1e7a1f) - Don't crash when using --experimental-vm-threads, interop CJS default inside node_modules  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3876](https://redirect.github.com/vitest-dev/vitest/issues/3876) [(0c53e)](https://redirect.github.com/vitest-dev/vitest/commit/0c53e098) - Don't crash if total memory is not supported  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3879](https://redirect.github.com/vitest-dev/vitest/issues/3879) [(7d1f8)](https://redirect.github.com/vitest-dev/vitest/commit/7d1f86b8) - Check memory and limit value  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) [(f8dfb)](https://redirect.github.com/vitest-dev/vitest/commit/f8dfbd38) - Update module warning as it is moved into server config  -  by [@​jellyfishgh](https://redirect.github.com/jellyfishgh) in [https://github.com/vitest-dev/vitest/issues/3931](https://redirect.github.com/vitest-dev/vitest/issues/3931) [(3a3eb)](https://redirect.github.com/vitest-dev/vitest/commit/3a3eb22c) - Define process variable and using import.meta.env together did not work  -  by [@​Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3944](https://redirect.github.com/vitest-dev/vitest/issues/3944) [(e73ca)](https://redirect.github.com/vitest-dev/vitest/commit/e73ca9ed) - Correctly resolve config in a workspace  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3947](https://redirect.github.com/vitest-dev/vitest/issues/3947) [(1c08d)](https://redirect.github.com/vitest-dev/vitest/commit/1c08d5da) - Don't crash when calling useFakeTimers in VM pool  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3958](https://redirect.github.com/vitest-dev/vitest/issues/3958) [(91fe4)](https://redirect.github.com/vitest-dev/vitest/commit/91fe4853) - Restrict access to file system via API  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3956](https://redirect.github.com/vitest-dev/vitest/issues/3956) [(bcb41)](https://redirect.github.com/vitest-dev/vitest/commit/bcb41e51) - Typo of mocks plugin name  -  by [@​antfu](https://redirect.github.com/antfu) [(3073b)](https://redirect.github.com/vitest-dev/vitest/commit/3073b9a2) - Build not generated `execute.d.ts`  -  by [@​btea](https://redirect.github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3970](https://redirect.github.com/vitest-dev/vitest/issues/3970) [(0f8e6)](https://redirect.github.com/vitest-dev/vitest/commit/0f8e60b7) - **css**: - Don't mock css-module if `?inline` query is specified  -  by [@​thebanjomatic](https://redirect.github.com/thebanjomatic) and **Adam Hines** in [https://github.com/vitest-dev/vitest/issues/3952](https://redirect.github.com/vitest-dev/vitest/issues/3952) [(3891d)](https://redirect.github.com/vitest-dev/vitest/commit/3891d055) - **expect**: - Correctly show async matcher diff  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3960](https://redirect.github.com/vitest-dev/vitest/issues/3960) [(9423b)](https://redirect.github.com/vitest-dev/vitest/commit/9423b6f8) - **snapshots**: - Update inline snapshot correctly  -  by [@​fenghan34](https://redirect.github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3887](https://redirect.github.com/vitest-dev/vitest/issues/3887) [(7b740)](https://redirect.github.com/vitest-dev/vitest/commit/7b740a27) - **ui**: - Incorrect duration time in vitest ui  -  by [@​Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3945](https://redirect.github.com/vitest-dev/vitest/issues/3945) [(35139)](https://redirect.github.com/vitest-dev/vitest/commit/351399f2) - Add support for ui coverage with subdir option  -  by [@​userquin](https://redirect.github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3917](https://redirect.github.com/vitest-dev/vitest/issues/3917) [(6ecfc)](https://redirect.github.com/vitest-dev/vitest/commit/6ecfc4e1) - **vitest**: - Use esm module resolution to resolve env  -  by [@​danielroe](https://redirect.github.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3951](https://redirect.github.com/vitest-dev/vitest/issues/3951) [(edb32)](https://redirect.github.com/vitest-dev/vitest/commit/edb322fe) - Allow rewriting process.env.NODE_MODE when using web transform mode  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3957](https://redirect.github.com/vitest-dev/vitest/issues/3957) [(eca4b)](https://redirect.github.com/vitest-dev/vitest/commit/eca4b87f) - Only consider cwd when using glob  -  by [@​g-plane](https://redirect.github.com/g-plane) in [https://github.com/vitest-dev/vitest/issues/3802](https://redirect.github.com/vitest-dev/vitest/issues/3802) and [https://github.com/vitest-dev/vitest/issues/3949](https://redirect.github.com/vitest-dev/vitest/issues/3949) [(15b4f)](https://redirect.github.com/vitest-dev/vitest/commit/15b4fd6d) - Pass environmentOptions to happy-dom integration  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) and **Raul de Melo** in [https://github.com/vitest-dev/vitest/issues/3972](https://redirect.github.com/vitest-dev/vitest/issues/3972) [(6a0cb)](https://redirect.github.com/vitest-dev/vitest/commit/6a0cb647) - **web**: - Correctly resolve assets in new URL  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3950](https://redirect.github.com/vitest-dev/vitest/issues/3950) [(a428f)](https://redirect.github.com/vitest-dev/vitest/commit/a428f8d4) #####    🏎 Performance - **dot-renderer**: Speed up getTests  -  by [@​gtm-nayan](https://redirect.github.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3923](https://redirect.github.com/vitest-dev/vitest/issues/3923) [(e9404)](https://redirect.github.com/vitest-dev/vitest/commit/e94044d7) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.1...v0.34.2) ### [`v0.34.1`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) #####    🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool`  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3856](https://redirect.github.com/vitest-dev/vitest/issues/3856) [(3c67a)](https://redirect.github.com/vitest-dev/vitest/commit/3c67a4cb) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) #####    🚨 Breaking Changes - Transform mode affects only test files, not regular files  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3491](https://redirect.github.com/vitest-dev/vitest/issues/3491) [(9608b)](https://redirect.github.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Custom environment now should be processed before Vitest can consume it. It means that you cannot specify a path to a TS file or use import paths that should be processed by Vite. - Disable `coverage.reportOnFailure` by default  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3615](https://redirect.github.com/vitest-dev/vitest/issues/3615) [(0c6f6)](https://redirect.github.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3614](https://redirect.github.com/vitest-dev/vitest/issues/3614) [(a90d6)](https://redirect.github.com/vitest-dev/vitest/commit/a90d64fe) - `@vitest/coverage-c8` is no longer supported. Please, use `@vitest/coverage-v8` instead. - Support running tests using VM context  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) and [@​dammy001](https://redirect.github.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3203](https://redirect.github.com/vitest-dev/vitest/issues/3203) [(b0929)](https://redirect.github.com/vitest-dev/vitest/commit/b0929852) - To address speed issues in some applications, Vitest now provides `experimentalVmThreads` pool to run your tests using VM Sandboxes environment. Make sure you understand [all pitfalls](https://vitest.dev/config/#experimentalvmthreads) of this pool before opening an issue. - Introduce `server` option  -  by [@​fenghan34](https://redirect.github.com/fenghan34) and [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3725](https://redirect.github.com/vitest-dev/vitest/issues/3725) [(dc4fa)](https://redirect.github.com/vitest-dev/vitest/commit/dc4faf64) - Most of `deps.` options are now moved to `server.deps` with a deprecation warning. Please, consider using `deps.optimizer` instead of `deps.inline`/`deps.external`. Ideally, we would like to move away from using `server.deps.inline` altogether. - **vite-node**: Make CLI arguments parsing behavior consistent with node/tsx/ts-node  -  by [@​rxliuli](https://redirect.github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3574](https://redirect.github.com/vitest-dev/vitest/issues/3574) [(1cd4e)](https://redirect.github.com/vitest-dev/vitest/commit/1cd4eb0f) - You now have to provide CLI arguments before the entry point. For example, instead of `vite-node index.ts --watch`, you now have to do `vite-node --watch index.ts`. - Add preact example, remove optimizer experimental status, enable by default  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) and [@​eryue0220](https://redirect.github.com/eryue0220) in [https://github.com/vitest-dev/vitest/issues/3854](https://redirect.github.com/vitest-dev/vitest/issues/3854) [(4b946)](https://redirect.github.com/vitest-dev/vitest/commit/4b946ca9) - `deps.optimizer` is now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options from `optimizeDeps` and `ssr.optimizeDeps` which are populated by other plugins (like, Svelte). #####    🚀 Features - Support `describe.sequential`  -  by [@​fenghan34](https://redirect.github.com/fenghan34) and [@​dammy001](https://redirect.github.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3771](https://redirect.github.com/vitest-dev/vitest/issues/3771) [(86934)](https://redirect.github.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env  -  by [@​InfiniteXyy](https://redirect.github.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/3808](https://redirect.github.com/vitest-dev/vitest/issues/3808) [(e8bc4)](https://redirect.github.com/vitest-dev/vitest/commit/e8bc46b6) - Running vitest with `--related --watch` reruns non-affected tests if they were changed during a run  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3844](https://redirect.github.com/vitest-dev/vitest/issues/3844) [(c9aea)](https://redirect.github.com/vitest-dev/vitest/commit/c9aeac4c) #####    🐞 Bug Fixes - Isolate workers between envs and workspaces  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) [(ed4e0)](https://redirect.github.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition  -  by [@​btea](https://redirect.github.com/btea) [(a78e6)](https://redirect.github.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view  -  by [@​g4rry420](https://redirect.github.com/g4rry420) [(3b5f9)](https://redirect.github.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite  -  by [@​sodatea](https://redirect.github.com/sodatea) in [https://github.com/vitest-dev/vitest/issues/3804](https://redirect.github.com/vitest-dev/vitest/issues/3804) [(9c8e3)](https://redirect.github.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3828](https://redirect.github.com/vitest-dev/vitest/issues/3828) [(cdab4)](https://redirect.github.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3829](https://redirect.github.com/vitest-dev/vitest/issues/3829) [(17988)](https://redirect.github.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3726](https://redirect.github.com/vitest-dev/vitest/issues/3726) [(ee937)](https://redirect.github.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage  -  by [@​elby22](https://redirect.github.com/elby22) in [https://github.com/vitest-dev/vitest/issues/3806](https://redirect.github.com/vitest-dev/vitest/issues/3806) [(5de9a)](https://redirect.github.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual`  -  by [@​Dunqing](https://redirect.github.com/Dunqing) [(52aef)](https://redirect.github.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3784](https://redirect.github.com/vitest-dev/vitest/issues/3784) [(280e6)](https://redirect.github.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3814](https://redirect.github.com/vitest-dev/vitest/issues/3814) [(f3bd9)](https://redirect.github.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3794](https://redirect.github.com/vitest-dev/vitest/issues/3794) [(3c851)](https://redirect.github.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info  -  by [@​btea](https://redirect.github.com/btea) [(88b39)](https://redirect.github.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3830](https://redirect.github.com/vitest-dev/vitest/issues/3830) [(51ab8)](https://redirect.github.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3836](https://redirect.github.com/vitest-dev/vitest/issues/3836) [(45521)](https://redirect.github.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3834](https://redirect.github.com/vitest-dev/vitest/issues/3834) [(711a6)](https://redirect.github.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3661](https://redirect.github.com/vitest-dev/vitest/issues/3661) [(8bd26)](https://redirect.github.com/vitest-dev/vitest/commit/8bd26b01) #####    🏎 Performance - Deprecate deps.registerNodeLoader  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) [(7f45b)](https://redirect.github.com/vitest-dev/vitest/commit/7f45bf2d) - This option was introduced to support aliasing inside external packages. Please, use `deps.optimizer.web` instead. If you test Node.js applications, consider adding external packages to `server.deps.inline`. #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ### [`v0.33.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.33.0) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) #####    🚨 Breaking Changes - Revert default include patterns  -  by [@​so1ve](https://redirect.github.com/so1ve) [#​3729](https://redirect.github.com/vitest-dev/vitest/issues/3729) - `0.32.0` changed the default `include` globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive. #####    🐞 Bug Fixes - Add missing JSDom living keys  -  by [@​DerZade](https://redirect.github.com/DerZade) in [https://github.com/vitest-dev/vitest/issues/3702](https://redirect.github.com/vitest-dev/vitest/issues/3702) [(83a86)](https://redirect.github.com/vitest-dev/vitest/commit/83a86a75) - **vite-node**: - Don't fail when importing Promise module  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) [(08192)](https://redirect.github.com/vitest-dev/vitest/commit/0819275a) - Allow importing node:test  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) [(db22c)](https://redirect.github.com/vitest-dev/vitest/commit/db22c677) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ### [`v0.32.4`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.32.4) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) #####    🐞 Bug Fixes - **browser**: Correctly optimize CJS dependencies  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) [(3d090)](https://redirect.github.com/vitest-dev/vitest/commit/3d0908e7) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.32.3) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) #####    🚀 Features - Add `concurrent` option to `sequence` config  -  by [@​fenghan34](https://redirect.github.com/fenghan34) and [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://redirect.github.com/vitest-dev/vitest/issues/3604) [(f427f)](https://redirect.github.com/vitest-dev/vitest/commit/f427f004) - Introduce global configuration for retry setting  -  by [@​imentu](https://redirect.github.com/imentu) and [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://redirect.github.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://redirect.github.com/vitest-dev/vitest/issues/3603) [(9a117)](https://redirect.github.com/vitest-dev/vitest/commit/9a117627) - Don't rely on util package in [@​vitest/utils](https://redirect.github.com/vitest/utils)  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://redirect.github.com/vitest-dev/vitest/issues/3685) [(f91da)](https://redirect.github.com/vitest-dev/vitest/commit/f91da484) - Support accessing other fixtures in fixture function  -  by [@​fenghan34](https://redirect.github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://redirect.github.com/vitest-dev/vitest/issues/3651) [(1621c)](https://redirect.github.com/vitest-dev/vitest/commit/1621cc63) - Support use function/class as `bench` name  -  by [@​fenghan34](https://redirect.github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://redirect.github.com/vitest-dev/vitest/issues/3711) [(a749a)](https://redirect.github.com/vitest-dev/vitest/commit/a749a6c0) - **reporters**: Show full test suite when testing 1 spec file at a time  -  by [@​Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://redirect.github.com/vitest-dev/vitest/issues/3543) [(7531c)](https://redirect.github.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend`  -  by [@​fenghan34](https://redirect.github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://redirect.github.com/vitest-dev/vitest/issues/3554) [(2db1a)](https://redirect.github.com/vitest-dev/vitest/commit/2db1a737) #####    🐞 Bug Fixes - Remove "concordance" from dependencies list  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://redirect.github.com/vitest-dev/vitest/issues/3597) [(969dc)](https://redirect.github.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://redirect.github.com/vitest-dev/vitest/issues/3620) [(73dd4)](https://redirect.github.com/vitest-dev/vitest/commit/73dd4ab5) - Util import  -  by [@​fubhy](https://redirect.github.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://redirect.github.com/vitest-dev/vitest/issues/3621) [(2fb4c)](https://redirect.github.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math  -  by [@​turadg](https://redirect.github.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://redirect.github.com/vitest-dev/vitest/issues/3527) [(0db67)](https://redirect.github.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://redirect.github.com/vitest-dev/vitest/issues/3642) [(fa663)](https://redirect.github.com/vitest-dev/vitest/commit/fa6637d3) - Run mode stuck in TTY terminals  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://redirect.github.com/vitest-dev/vitest/issues/3690) [(141a8)](https://redirect.github.com/vitest-dev/vitest/commit/141a86ac) - Use first stack frame in json reporter  -  by [@​tim-smart](https://redirect.github.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://redirect.github.com/vitest-dev/vitest/issues/3645) [(80ea7)](https://redirect.github.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes`  -  by [@​antfu](https://redirect.github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://redirect.github.com/vitest-dev/vitest/issues/3696) [(d3640)](https://redirect.github.com/vitest-dev/vitest/commit/d3640437) - **benchmark**: - Don't fail when running correct benchmarks  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://redirect.github.com/vitest-dev/vitest/issues/3629) [(edad9)](https://redirect.github.com/vitest-dev/vitest/commit/edad9b19) - **browser**: - Correctly print diff  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://redirect.github.com/vitest-dev/vitest/issues/3627) [(d756e)](https://redirect.github.com/vitest-dev/vitest/commit/d756ee24) - Esm injector doesn't replace class expressions  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://redirect.github.com/vitest-dev/vitest/issues/3641) [(5c0ac)](https://redirect.github.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://redirect.github.com/vitest-dev/vitest/issues/3681) [(a1e04)](https://redirect.github.com/vitest-dev/vitest/commit/a1e043bd) - **coverage**: - `v8` to prevent crash on dynamic CJS files  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://redirect.github.com/vitest-dev/vitest/issues/3657) [(40f18)](https://redirect.github.com/vitest-dev/vitest/commit/40f18a07) - **runner**: - Make the default value of `retry` and `repeats` 0  -  by [@​Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://redirect.github.com/vitest-dev/vitest/issues/3638) [(6d146)](https://redirect.github.com/vitest-dev/vitest/commit/6d146d16) - **utils**: - Respect all flags in format function  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://redirect.github.com/vitest-dev/vitest/issues/3695) [(91e16)](https://redirect.github.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://redirect.github.com/vitest-dev/vitest/issues/3618) [(60c36)](https://redirect.github.com/vitest-dev/vitest/commit/60c36faf) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ### [`v0.32.2`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) #####    🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) [(00b0e)](https://redirect.github.com/vitest-dev/vitest/commit/00b0e6a3) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) #####    🚀 Features - Export `registerConsoleShortcuts` from `vitest/node`  -  by [@​deot](https://redirect.github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://redirect.github.com/vitest-dev/vitest/issues/3563) [(bc49b)](https://redirect.github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable`  -  by [@​fenghan34](https://redirect.github.com/fenghan34) and [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://redirect.github.com/vitest-dev/vitest/issues/3556) [(8e385)](https://redirect.github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function  -  by [@​btea](https://redirect.github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://redirect.github.com/vitest-dev/vitest/issues/3562) [(3d436)](https://redirect.github.com/vitest-dev/vitest/commit/3d43638c) #####    🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://redirect.github.com/vitest-dev/vitest/issues/3060))  -  by [@​nathanmmiller](https://redirect.github.com/nathanmmiller) and [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://redirect.github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://redirect.github.com/vitest-dev/vitest/issues/3060) [(02196)](https://redirect.github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration  -  by [@​btea](https://redirect.github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://redirect.github.com/vitest-dev/vitest/issues/3552) [(368b8)](https://redirect.github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks`  -  by [@​Max10240](https://redirect.github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://redirect.github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://redirect.github.com/vitest-dev/vitest/issues/3579) [(24ec8)](https://redirect.github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://redirect.github.com/vitest-dev/vitest/issues/3582) [(9c7ea)](https://redirect.github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion  -  by [@​Krisell](https://redirect.github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://redirect.github.com/vitest-dev/vitest/issues/3583) [(68985)](https://redirect.github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest`  -  by [@​userquin](https://redirect.github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://redirect.github.com/vitest-dev/vitest/issues/3580) [(b4ac8)](https://redirect.github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://redirect.github.com/vitest-dev/vitest/issues/3587) [(d9e14)](https://redirect.github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://redirect.github.com/vitest-dev/vitest/issues/3547) [(158c4)](https://redirect.github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page  -  by [@​userquin](https://redirect.github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://redirect.github.com/vitest-dev/vitest/issues/3529) [(bc283)](https://redirect.github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://redirect.github.com/vitest-dev/vitest/issues/3544) [(0cbb0)](https://redirect.github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references  -  by [@​rxliuli](https://redirect.github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://redirect.github.com/vitest-dev/vitest/issues/3570) [(b097c)](https://redirect.github.com/vitest-dev/vitest/commit/b097cef8) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ### [`v0.32.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.32.0) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) #####    🚨 Breaking Changes - Throw an error, if the module cannot be resolved  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3307](https://redirect.github.com/vitest-dev/vitest/issues/3307) [(1ad63)](https://redirect.github.com/vitest-dev/vitest/commit/1ad63b0c) - Vitest used to fall back to the original import when it could not resolve it to the file path or the virtual module. This leads to hard-to-find module graph mismatches if you had incorrect alias or relied on relative imports to be resolved to the project root (which is usual behavior in TypeScript) because the code accidentally "worked". With this release, Vitest will now throw an error if it cannot resolve the module - there are possible edge cases that are not covered yet, so if you have any problems with this, please open a separate issue with reproduction. - Improve globs  -  by [@​nickmccurdy](https://redirect.github.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/3392](https://redirect.github.com/vitest-dev/vitest/issues/3392) [(19ecc)](https://redirect.github.com/vitest-dev/vitest/commit/19ecc6c7) - Vitest now has glob patterns similar to Jest for better compatibility. It's possible that some files will be considered test files when previously they were not. For example, Vitest now considers `test.js` to be a test file. Also any file in `__tests__` is now considered to be a test, not just files with `test` or `spec` suffix. - Add `@vitest/coverage-v8` package  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3339](https://redirect.github.com/vitest-dev/vitest/issues/3339) [(82112)](https://redirect.github.com/vitest-dev/vitest/commit/821126f1) - Vitest now uses v8 code coverage directly for better performance. `@vitest/coverage-c8` is deprecated as Vitest no longer uses c8 package for coverage output. It will not be updated anymore, and Vitest will fail in the next version if the user has `c8` as their coverage provider. Please, install the new `@vitest/coverage-v8` package if you previously used `@vitest/coverage-c8`. - **mocker**: Don't restore mock to the original if the module is automocked  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3518](https://redirect.github.com/vitest-dev/vitest/issues/3518) [(c1004)](https://redirect.github.com/vitest-dev/vitest/commit/c1004e14) - `spy.mockRestore` on auto-mocked named exports will no longer restore their implementation to the actual function. This behavior better matches what Jest does. #####    🚀 Features - Support ssr optimizer  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3490](https://redirect.github.com/vitest-dev/vitest/issues/3490) [(89842)](https://redirect.github.com/vitest-dev/vitest/commit/898422b0) - Image type add apng  -  by [@​btea](https://redirect.github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3498](https://redirect.github.com/vitest-dev/vitest/issues/3498) [(a53c2)](https://redirect.github.com/vitest-dev/vitest/commit/a53c2151) - **expect**: Support `expect.soft`  -  by [@​Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3507](https://redirect.github.com/vitest-dev/vitest/issues/3507) [(7c687)](https://redirect.github.com/vitest-dev/vitest/commit/7c687ada) - **runner**: Support using function/class as `describe`/`test` name  -  by [@​fenghan34](https://redirect.github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3497](https://redirect.github.com/vitest-dev/vitest/issues/3497) [(15253)](https://redirect.github.com/vitest-dev/vitest/commit/15253890) #####    🐞 Bug Fixes - The cli option is passed to coverage.exclude  -  by [@​btea](https://redirect.github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3506](https://redirect.github.com/vitest-dev/vitest/issues/3506) [(c37cd)](https://redirect.github.com/vitest-dev/vitest/commit/c37cdebe) - **optimizer**: Always respect optimizeDeps even if include/exclude is overridden  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3488](https://redirect.github.com/vitest-dev/vitest/issues/3488) [(eb285)](https://redirect.github.com/vitest-dev/vitest/commit/eb285ea0) - **runner**: Ensure Vitest is deduped  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3489](https://redirect.github.com/vitest-dev/vitest/issues/3489) [(2deb7)](https://redirect.github.com/vitest-dev/vitest/commit/2deb70ab) - **ui**: Don't cache coverage assets  -  by [@​userquin](https://redirect.github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3508](https://redirect.github.com/vitest-dev/vitest/issues/3508) [(952b5)](https://redirect.github.com/vitest-dev/vitest/commit/952b5be6) - **vite-node**: Circular import stuck  -  by [@​Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3480](https://redirect.github.com/vitest-dev/vitest/issues/3480) [(50f07)](https://redirect.github.com/vitest-dev/vitest/commit/50f0700d) - **watch**: Junit reporter fails to re-generate report  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3496](https://redirect.github.com/vitest-dev/vitest/issues/3496) [(5b73c)](https://redirect.github.com/vitest-dev/vitest/commit/5b73cbf8) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.