vitest-dev/vitest (@vitest/coverage-v8)
### [`v1.3.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0)
##### 🚀 Features
- Deprecate watchExclude - by [@patak-dev](https://togithub.com/patak-dev) in [https://github.com/vitest-dev/vitest/issues/5171](https://togithub.com/vitest-dev/vitest/issues/5171) [(82885)](https://togithub.com/vitest-dev/vitest/commit/828858f8)
- **browser**:
- Run test files in isolated iframes - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5036](https://togithub.com/vitest-dev/vitest/issues/5036) [(4f401)](https://togithub.com/vitest-dev/vitest/commit/4f40177e)
- **config**:
- Add `snapshotSerializers` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5092](https://togithub.com/vitest-dev/vitest/issues/5092) [(5b102)](https://togithub.com/vitest-dev/vitest/commit/5b1021da)
- **reporters**:
- Support custom options - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5111](https://togithub.com/vitest-dev/vitest/issues/5111) [(fec9c)](https://togithub.com/vitest-dev/vitest/commit/fec9ca0b)
- **runner**:
- Support automatic fixtures - by [@fenghan34](https://togithub.com/fenghan34) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5102](https://togithub.com/vitest-dev/vitest/issues/5102) [(0441f)](https://togithub.com/vitest-dev/vitest/commit/0441f761)
- **ui**:
- Save splitpanes size to local storage - by [@posva](https://togithub.com/posva) in [https://github.com/vitest-dev/vitest/issues/5166](https://togithub.com/vitest-dev/vitest/issues/5166) [(c28b4)](https://togithub.com/vitest-dev/vitest/commit/c28b4c26)
- **vitest**:
- Add onTestFinished hook - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5128](https://togithub.com/vitest-dev/vitest/issues/5128) [(6f5b4)](https://togithub.com/vitest-dev/vitest/commit/6f5b42b7)
- Add github actions reporter - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5093](https://togithub.com/vitest-dev/vitest/issues/5093) [(40afb)](https://togithub.com/vitest-dev/vitest/commit/40afbe3a)
- Expose jsdom global if jsdom environment is enabled - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5155](https://togithub.com/vitest-dev/vitest/issues/5155) [(567d2)](https://togithub.com/vitest-dev/vitest/commit/567d20b9)
- Add new CLI options - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5163](https://togithub.com/vitest-dev/vitest/issues/5163) [(4e179)](https://togithub.com/vitest-dev/vitest/commit/4e179426)
- "test" accepts options object as the second parameter - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5142](https://togithub.com/vitest-dev/vitest/issues/5142) [(7d9b1)](https://togithub.com/vitest-dev/vitest/commit/7d9b1fb0)
- **vm**:
- Support wasm module - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5131](https://togithub.com/vitest-dev/vitest/issues/5131) [(5ed53)](https://togithub.com/vitest-dev/vitest/commit/5ed537f0)
##### 🐞 Bug Fixes
- Fix sourcemap in vm pools - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5063](https://togithub.com/vitest-dev/vitest/issues/5063) [(81105)](https://togithub.com/vitest-dev/vitest/commit/8110540a)
- Don't optimize react/jsx-runtime by default when running in Node - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5079](https://togithub.com/vitest-dev/vitest/issues/5079) [(0d2bf)](https://togithub.com/vitest-dev/vitest/commit/0d2bfeac)
- Rpc timeout error messages to include caller - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5103](https://togithub.com/vitest-dev/vitest/issues/5103) [(a6e04)](https://togithub.com/vitest-dev/vitest/commit/a6e04bd8)
- Requires fixed version across the monorepo - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/5208](https://togithub.com/vitest-dev/vitest/issues/5208) [(68f51)](https://togithub.com/vitest-dev/vitest/commit/68f51961)
- Prevent merging of `poolOptions` - by [@penalosa](https://togithub.com/penalosa) in [https://github.com/vitest-dev/vitest/issues/5221](https://togithub.com/vitest-dev/vitest/issues/5221) [(bc5b2)](https://togithub.com/vitest-dev/vitest/commit/bc5b2d04)
- **browser**:
- Don't exclude node builtins from optimization - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5082](https://togithub.com/vitest-dev/vitest/issues/5082) [(714c9)](https://togithub.com/vitest-dev/vitest/commit/714c911f)
- Support `coverage.reportsDirectory` with multiple directories - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5056](https://togithub.com/vitest-dev/vitest/issues/5056) [(ae73f)](https://togithub.com/vitest-dev/vitest/commit/ae73f273)
- **cli**:
- Parse `--browser=` correctly - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5179](https://togithub.com/vitest-dev/vitest/issues/5179) [(656e2)](https://togithub.com/vitest-dev/vitest/commit/656e210b)
- **coverage**:
- `.tmp` directory conflicts with `--shard` option - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5184](https://togithub.com/vitest-dev/vitest/issues/5184) [(5749d)](https://togithub.com/vitest-dev/vitest/commit/5749d2c2)
- **deps**:
- Update dependency strip-literal to v2 - by [@renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/5136](https://togithub.com/vitest-dev/vitest/issues/5136)6 [(ef557)](https://togithub.com/vitest-dev/vitest/commit/ef557243)
- **reporters**:
- Testsuite name should include project root in Junit output - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5116](https://togithub.com/vitest-dev/vitest/issues/5116) [(2494f)](https://togithub.com/vitest-dev/vitest/commit/2494fbf2)
- **typecheck**:
- Fix suite collection while-loop - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5065](https://togithub.com/vitest-dev/vitest/issues/5065) [(35675)](https://togithub.com/vitest-dev/vitest/commit/35675bd3)
- **ui**:
- Fix tests duration time - by [@vovsemenv](https://togithub.com/vovsemenv) in [https://github.com/vitest-dev/vitest/issues/5219](https://togithub.com/vitest-dev/vitest/issues/5219) [(58103)](https://togithub.com/vitest-dev/vitest/commit/581030ee)
- **utils**:
- Fix asymmetric matcher diff inside array - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5189](https://togithub.com/vitest-dev/vitest/issues/5189) [(3ffcd)](https://togithub.com/vitest-dev/vitest/commit/3ffcd2ea)
- **vitest**:
- Correctly report failed test files as failures in json reporter, export json reporter types - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5081](https://togithub.com/vitest-dev/vitest/issues/5081) [(0417b)](https://togithub.com/vitest-dev/vitest/commit/0417ba20)
- Don't run typecheck tests in browser if both are enabled - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5080](https://togithub.com/vitest-dev/vitest/issues/5080) [(1045b)](https://togithub.com/vitest-dev/vitest/commit/1045b98b)
- Handle function config inside `defineWorkspace` - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5089](https://togithub.com/vitest-dev/vitest/issues/5089) [(0bf52)](https://togithub.com/vitest-dev/vitest/commit/0bf52533)
- Remove excessive listeners when running without isolation, don't reset the state - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5132](https://togithub.com/vitest-dev/vitest/issues/5132) [(b607f)](https://togithub.com/vitest-dev/vitest/commit/b607f1ea)
- Auto-enable "github-actions" only where users didn't configure reporters - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5158](https://togithub.com/vitest-dev/vitest/issues/5158) [(ef044)](https://togithub.com/vitest-dev/vitest/commit/ef0440cb)
- Support more array cli options - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5162](https://togithub.com/vitest-dev/vitest/issues/5162) [(3afe6)](https://togithub.com/vitest-dev/vitest/commit/3afe68f1)
- Add types for the new global `jsdom` variable - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5164](https://togithub.com/vitest-dev/vitest/issues/5164) [(0f898)](https://togithub.com/vitest-dev/vitest/commit/0f898d87)
- Expose onTestFinished globally - by [@sheremet-va](https://togithub.com/sheremet-va) [(1304f)](https://togithub.com/vitest-dev/vitest/commit/1304fed7)
- Disable optimizer by default until it's stable - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5156](https://togithub.com/vitest-dev/vitest/issues/5156) [(e1bd8)](https://togithub.com/vitest-dev/vitest/commit/e1bd8d5d)
- Delegate snapshot options to workspace from root config - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5199](https://togithub.com/vitest-dev/vitest/issues/5199) [(86297)](https://togithub.com/vitest-dev/vitest/commit/86297d42)
- Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5215](https://togithub.com/vitest-dev/vitest/issues/5215) [(1aecd)](https://togithub.com/vitest-dev/vitest/commit/1aecd650)
- **vm**:
- Handle `disableConsoleIntercept` config - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5074](https://togithub.com/vitest-dev/vitest/issues/5074) [(a55ad)](https://togithub.com/vitest-dev/vitest/commit/a55adac6)
- Improve error when module is not found - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5053](https://togithub.com/vitest-dev/vitest/issues/5053) [(79a50)](https://togithub.com/vitest-dev/vitest/commit/79a50c3f)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.2...v1.3.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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.2.2
->1.3.0
Release Notes
vitest-dev/vitest (@vitest/coverage-v8)
### [`v1.3.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0) ##### 🚀 Features - Deprecate watchExclude - by [@patak-dev](https://togithub.com/patak-dev) in [https://github.com/vitest-dev/vitest/issues/5171](https://togithub.com/vitest-dev/vitest/issues/5171) [(82885)](https://togithub.com/vitest-dev/vitest/commit/828858f8) - **browser**: - Run test files in isolated iframes - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5036](https://togithub.com/vitest-dev/vitest/issues/5036) [(4f401)](https://togithub.com/vitest-dev/vitest/commit/4f40177e) - **config**: - Add `snapshotSerializers` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5092](https://togithub.com/vitest-dev/vitest/issues/5092) [(5b102)](https://togithub.com/vitest-dev/vitest/commit/5b1021da) - **reporters**: - Support custom options - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5111](https://togithub.com/vitest-dev/vitest/issues/5111) [(fec9c)](https://togithub.com/vitest-dev/vitest/commit/fec9ca0b) - **runner**: - Support automatic fixtures - by [@fenghan34](https://togithub.com/fenghan34) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5102](https://togithub.com/vitest-dev/vitest/issues/5102) [(0441f)](https://togithub.com/vitest-dev/vitest/commit/0441f761) - **ui**: - Save splitpanes size to local storage - by [@posva](https://togithub.com/posva) in [https://github.com/vitest-dev/vitest/issues/5166](https://togithub.com/vitest-dev/vitest/issues/5166) [(c28b4)](https://togithub.com/vitest-dev/vitest/commit/c28b4c26) - **vitest**: - Add onTestFinished hook - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5128](https://togithub.com/vitest-dev/vitest/issues/5128) [(6f5b4)](https://togithub.com/vitest-dev/vitest/commit/6f5b42b7) - Add github actions reporter - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5093](https://togithub.com/vitest-dev/vitest/issues/5093) [(40afb)](https://togithub.com/vitest-dev/vitest/commit/40afbe3a) - Expose jsdom global if jsdom environment is enabled - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5155](https://togithub.com/vitest-dev/vitest/issues/5155) [(567d2)](https://togithub.com/vitest-dev/vitest/commit/567d20b9) - Add new CLI options - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5163](https://togithub.com/vitest-dev/vitest/issues/5163) [(4e179)](https://togithub.com/vitest-dev/vitest/commit/4e179426) - "test" accepts options object as the second parameter - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5142](https://togithub.com/vitest-dev/vitest/issues/5142) [(7d9b1)](https://togithub.com/vitest-dev/vitest/commit/7d9b1fb0) - **vm**: - Support wasm module - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5131](https://togithub.com/vitest-dev/vitest/issues/5131) [(5ed53)](https://togithub.com/vitest-dev/vitest/commit/5ed537f0) ##### 🐞 Bug Fixes - Fix sourcemap in vm pools - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5063](https://togithub.com/vitest-dev/vitest/issues/5063) [(81105)](https://togithub.com/vitest-dev/vitest/commit/8110540a) - Don't optimize react/jsx-runtime by default when running in Node - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5079](https://togithub.com/vitest-dev/vitest/issues/5079) [(0d2bf)](https://togithub.com/vitest-dev/vitest/commit/0d2bfeac) - Rpc timeout error messages to include caller - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5103](https://togithub.com/vitest-dev/vitest/issues/5103) [(a6e04)](https://togithub.com/vitest-dev/vitest/commit/a6e04bd8) - Requires fixed version across the monorepo - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/5208](https://togithub.com/vitest-dev/vitest/issues/5208) [(68f51)](https://togithub.com/vitest-dev/vitest/commit/68f51961) - Prevent merging of `poolOptions` - by [@penalosa](https://togithub.com/penalosa) in [https://github.com/vitest-dev/vitest/issues/5221](https://togithub.com/vitest-dev/vitest/issues/5221) [(bc5b2)](https://togithub.com/vitest-dev/vitest/commit/bc5b2d04) - **browser**: - Don't exclude node builtins from optimization - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5082](https://togithub.com/vitest-dev/vitest/issues/5082) [(714c9)](https://togithub.com/vitest-dev/vitest/commit/714c911f) - Support `coverage.reportsDirectory` with multiple directories - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5056](https://togithub.com/vitest-dev/vitest/issues/5056) [(ae73f)](https://togithub.com/vitest-dev/vitest/commit/ae73f273) - **cli**: - Parse `--browser=Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.