vitest-dev/vitest (vitest)
### [`v1.6.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.6.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0)
##### 🚀 Features
- Support standalone mode - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5565](https://togithub.com/vitest-dev/vitest/issues/5565) [(bdce0)](https://togithub.com/vitest-dev/vitest/commit/bdce0a29)
- Custom "snapshotEnvironment" option - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5449](https://togithub.com/vitest-dev/vitest/issues/5449) [(30f72)](https://togithub.com/vitest-dev/vitest/commit/30f728bc)
- **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://togithub.com/hi-ogawa) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5398](https://togithub.com/vitest-dev/vitest/issues/5398) [(f8d3d)](https://togithub.com/vitest-dev/vitest/commit/f8d3d22e)
- **browser**: Allow injecting scripts - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5656](https://togithub.com/vitest-dev/vitest/issues/5656) [(21e58)](https://togithub.com/vitest-dev/vitest/commit/21e58bd8)
- **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5659](https://togithub.com/vitest-dev/vitest/issues/5659) [(2f913)](https://togithub.com/vitest-dev/vitest/commit/2f913222)
- **ui**: Sort items by file name - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/5652](https://togithub.com/vitest-dev/vitest/issues/5652) [(1f726)](https://togithub.com/vitest-dev/vitest/commit/1f7268fa)
##### 🐞 Bug Fixes
- Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5640](https://togithub.com/vitest-dev/vitest/issues/5640) [(7d57c)](https://togithub.com/vitest-dev/vitest/commit/7d57c116)
- Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5646](https://togithub.com/vitest-dev/vitest/issues/5646) [(f5faf)](https://togithub.com/vitest-dev/vitest/commit/f5faf423)
- Hash the name of the file when caching - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5654](https://togithub.com/vitest-dev/vitest/issues/5654) [(c9e68)](https://togithub.com/vitest-dev/vitest/commit/c9e68ced)
- Don't panic on empty files in node_modules - by [@sheremet-va](https://togithub.com/sheremet-va) [(40c29)](https://togithub.com/vitest-dev/vitest/commit/40c299fe)
- Use `toJSON` for error serialization - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5526](https://togithub.com/vitest-dev/vitest/issues/5526) [(19a21)](https://togithub.com/vitest-dev/vitest/commit/19a21e49)
- **coverage**:
- Exclude `*.test-d.*` by default - by [@MindfulPol](https://togithub.com/MindfulPol) in [https://github.com/vitest-dev/vitest/issues/5634](https://togithub.com/vitest-dev/vitest/issues/5634) [(bfe8a)](https://togithub.com/vitest-dev/vitest/commit/bfe8ad9d)
- Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5642](https://togithub.com/vitest-dev/vitest/issues/5642) [(c9883)](https://togithub.com/vitest-dev/vitest/commit/c9883f3e)
- **vm**:
- Support network imports - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5610](https://togithub.com/vitest-dev/vitest/issues/5610) [(103a6)](https://togithub.com/vitest-dev/vitest/commit/103a6002)
##### 🏎 Performance
- Improve performance of forks pool - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5592](https://togithub.com/vitest-dev/vitest/issues/5592) [(d8304)](https://togithub.com/vitest-dev/vitest/commit/d8304bb4)
- Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5658](https://togithub.com/vitest-dev/vitest/issues/5658) [(c5712)](https://togithub.com/vitest-dev/vitest/commit/c571276a)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0)
### [`v1.5.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.5.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3)
##### 🐞 Bug Fixes
- Use package.json name for a workspace project if not provided - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5608](https://togithub.com/vitest-dev/vitest/issues/5608) [(48fba)](https://togithub.com/vitest-dev/vitest/commit/48fba190)
- Backport jest iterable equality within object - by [@sukovanej](https://togithub.com/sukovanej) in [https://github.com/vitest-dev/vitest/issues/5621](https://togithub.com/vitest-dev/vitest/issues/5621) [(30e5d)](https://togithub.com/vitest-dev/vitest/commit/30e5dc1b)
- **browser**: Support benchmark - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5622](https://togithub.com/vitest-dev/vitest/issues/5622) [(becab)](https://togithub.com/vitest-dev/vitest/commit/becabb5e)
- **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5629](https://togithub.com/vitest-dev/vitest/issues/5629) [(20060)](https://togithub.com/vitest-dev/vitest/commit/200609cc)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3)
### [`v1.5.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.5.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2)
##### 🐞 Bug Fixes
- Check for null before storing in weakmap - by [@sheremet-va](https://togithub.com/sheremet-va) [(ce368)](https://togithub.com/vitest-dev/vitest/commit/ce368457)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2)
### [`v1.5.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.5.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1)
##### 🚀 Features
- **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5493](https://togithub.com/vitest-dev/vitest/issues/5493) [(780b1)](https://togithub.com/vitest-dev/vitest/commit/780b187f)
- This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver.
##### 🐞 Bug Fixes
- Close vite servers on all resolved projects - by [@surc54](https://togithub.com/surc54) in [https://github.com/vitest-dev/vitest/issues/5544](https://togithub.com/vitest-dev/vitest/issues/5544) [(413ec)](https://togithub.com/vitest-dev/vitest/commit/413ec5e6)
- Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5561](https://togithub.com/vitest-dev/vitest/issues/5561) [(9c649)](https://togithub.com/vitest-dev/vitest/commit/9c64967f)
- Resolve cwd correctly when initiating projects - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5582](https://togithub.com/vitest-dev/vitest/issues/5582) [(ec9d7)](https://togithub.com/vitest-dev/vitest/commit/ec9d7c93)
- Always run `onTestFinished` in reverse order - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5598](https://togithub.com/vitest-dev/vitest/issues/5598) [(23f29)](https://togithub.com/vitest-dev/vitest/commit/23f29cea)
- **browser**:
- Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5528](https://togithub.com/vitest-dev/vitest/issues/5528) [(5c69f)](https://togithub.com/vitest-dev/vitest/commit/5c69f3f5)
- Dispose tester iframe on done - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5595](https://togithub.com/vitest-dev/vitest/issues/5595) [(b2135)](https://togithub.com/vitest-dev/vitest/commit/b2135710)
- **coverage**:
- Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5549](https://togithub.com/vitest-dev/vitest/issues/5549) [(df6a4)](https://togithub.com/vitest-dev/vitest/commit/df6a4328)
- Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5540](https://togithub.com/vitest-dev/vitest/issues/5540) [(ea3c1)](https://togithub.com/vitest-dev/vitest/commit/ea3c16e4)
- `thresholds` to compare files relative to root - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5574](https://togithub.com/vitest-dev/vitest/issues/5574) [(80265)](https://togithub.com/vitest-dev/vitest/commit/80265b40)
- **expect**:
- Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5535](https://togithub.com/vitest-dev/vitest/issues/5535) [(9e641)](https://togithub.com/vitest-dev/vitest/commit/9e6417c9)
- **vitest**:
- Fix false positive file filter match with leading slash - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5578](https://togithub.com/vitest-dev/vitest/issues/5578) [(316eb)](https://togithub.com/vitest-dev/vitest/commit/316eb739)
- Watch the output directory correctly - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5584](https://togithub.com/vitest-dev/vitest/issues/5584) [(e40f9)](https://togithub.com/vitest-dev/vitest/commit/e40f9924)
- StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5590](https://togithub.com/vitest-dev/vitest/issues/5590) [(4da88)](https://togithub.com/vitest-dev/vitest/commit/4da88045)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1)
### [`v1.5.0`](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0)
### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0)
##### 🚀 Features
- Throw error when using snapshot assertion with `not` - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [(b9d37)](https://togithub.com/vitest-dev/vitest/commit/b9d378f5)
- Add a flag to include test location in tasks - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [(d627e)](https://togithub.com/vitest-dev/vitest/commit/d627e209)
- **cli**:
- Support wildcards in `--project` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [(201bd)](https://togithub.com/vitest-dev/vitest/commit/201bd067)
- **config**:
- Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [(356db)](https://togithub.com/vitest-dev/vitest/commit/356db87b)
- Deprecate `cache.dir` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [(d7e8b)](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e)
- **coverage**:
- Support `--changed` option - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [(600b4)](https://togithub.com/vitest-dev/vitest/commit/600b44d6)
- **vitest**:
- Support `clearScreen` cli flag - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [(e1735)](https://togithub.com/vitest-dev/vitest/commit/e1735fb6)
##### 🐞 Bug Fixes
- Repeatable `--project` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [(d1a06)](https://togithub.com/vitest-dev/vitest/commit/d1a06730)
- `--inspect-brk` to pause before execution - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [(e77c5)](https://togithub.com/vitest-dev/vitest/commit/e77c553f)
- Correct locations in test.each tasks - by [@sheremet-va](https://togithub.com/sheremet-va) [(4f6e3)](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1)
- **api**:
- Use resolvedUrls from devserver - by [@saitonakamura](https://togithub.com/saitonakamura) and [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [(2fef5)](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e)
- **browser**:
- Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [(8f04e)](https://togithub.com/vitest-dev/vitest/commit/8f04e798)
- **coverage**:
- Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [(d68a7)](https://togithub.com/vitest-dev/vitest/commit/d68a7390)
- V8 to ignore type-only files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [(c3eb8)](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb)
- Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [(6eda4)](https://togithub.com/vitest-dev/vitest/commit/6eda473f)
- Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [(07ec3)](https://togithub.com/vitest-dev/vitest/commit/07ec3779)
- **expect**:
- Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [(8ee59)](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d)
- **forks**:
- Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [(5b58b)](https://togithub.com/vitest-dev/vitest/commit/5b58b399)
- **typecheck**:
- Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [(bdc37)](https://togithub.com/vitest-dev/vitest/commit/bdc371ee)
- **ui**:
- Escape html in error diff - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [(ab60b)](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d)
- **vitest**:
- Loosen `onConsoleLog` return type - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [(6d1b1)](https://togithub.com/vitest-dev/vitest/commit/6d1b1451)
- Ensure restoring terminal cursor on close - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [(0bea2)](https://togithub.com/vitest-dev/vitest/commit/0bea2247)
- Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://togithub.com/sheremet-va) [(38119)](https://togithub.com/vitest-dev/vitest/commit/38119b75)
- Correctly override api with --no-api flag - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [(51d1d)](https://togithub.com/vitest-dev/vitest/commit/51d1d472)
- Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [(ce5ca)](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf)
- **workspace**:
- Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [(29f98)](https://togithub.com/vitest-dev/vitest/commit/29f98cd3)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0)
### [`v1.3.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1)
##### 🚀 Features
- **vitest**: Expose parseCLI method - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5248](https://togithub.com/vitest-dev/vitest/issues/5248) [(c793a)](https://togithub.com/vitest-dev/vitest/commit/c793a136)
- This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html).
##### 🐞 Bug Fixes
- Add task tests iteratively - by [@DerYeger](https://togithub.com/DerYeger) in [https://github.com/vitest-dev/vitest/issues/5235](https://togithub.com/vitest-dev/vitest/issues/5235) [(38155)](https://togithub.com/vitest-dev/vitest/commit/38155548)
- **coverage**: Ignore generated TS decorators - by [@AriPerkkio](https://togithub.com/AriPerkkio) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5206](https://togithub.com/vitest-dev/vitest/issues/5206) [(a2804)](https://togithub.com/vitest-dev/vitest/commit/a280451b)
- **ui**: Auto reload coverage iframe after test run - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5242](https://togithub.com/vitest-dev/vitest/issues/5242) [(5376d)](https://togithub.com/vitest-dev/vitest/commit/5376d5be)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1)
### [`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/5](https://togithub.com/vitest-dev/vitest/issues/5)[15](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:16)5 [(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/5](https://togithub.com/vitest-dev/vitest/issues/5)[16](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:17)3 [(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/5](https://togithub.com/vitest-dev/vitest/issues/5)[17](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:18)9 [(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/5](https://togithub.com/vitest-dev/vitest/issues/5)[18](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:19)4 [(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/52](https://togithub.com/vitest-dev/vitest/issues/52)[19](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:20) [(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/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\))
- 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/5](https://togithub.com/vitest-dev/vitest/issues/5)[21](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:22)5 [(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/[50](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74 [(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/50](https://togithub.com/vitest-dev/vitest/issues/50)[53](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:54) [(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)
### [`v1.2.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)
##### 🐞 Bug Fixes
- **coverage**:
- Remove `coverage/.tmp` files after run - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5008](https://togithub.com/vitest-dev/vitest/issues/5008) [(d53b8)](https://togithub.com/vitest-dev/vitest/commit/d53b8580)
- Don't crash when re-run removes earlier run's reports - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5022](https://togithub.com/vitest-dev/vitest/issues/5022) [(66898)](https://togithub.com/vitest-dev/vitest/commit/6689856f)
- **expect**:
- Improve `toThrow(asymmetricMatcher)` failure message - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5000](https://togithub.com/vitest-dev/vitest/issues/5000) [(a199a)](https://togithub.com/vitest-dev/vitest/commit/a199ac2d)
- **forks**:
- Set correct `VITEST_POOL_ID` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5002](https://togithub.com/vitest-dev/vitest/issues/5002) [(7d0a4)](https://togithub.com/vitest-dev/vitest/commit/7d0a4692)
- **threads**:
- Mention common work-around for the logged error - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5024](https://togithub.com/vitest-dev/vitest/issues/5024) [(915d6)](https://togithub.com/vitest-dev/vitest/commit/915d6c43)
- **typecheck**:
- Fix `ignoreSourceErrors` in run mode - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5044](https://togithub.com/vitest-dev/vitest/issues/5044) [(6dae3)](https://togithub.com/vitest-dev/vitest/commit/6dae3feb)
- **vite-node**:
- Provide import.meta.filename and dirname - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5011](https://togithub.com/vitest-dev/vitest/issues/5011) [(73148)](https://togithub.com/vitest-dev/vitest/commit/73148575)
- **vitest**:
- Expose getHooks & setHooks - by [@adriencaccia](https://togithub.com/adriencaccia) in [https://github.com/vitest-dev/vitest/issues/5032](https://togithub.com/vitest-dev/vitest/issues/5032) [(73448)](https://togithub.com/vitest-dev/vitest/commit/73448706)
- Test deep dependencies change detection - by [@blake-newman](https://togithub.com/blake-newman) in [https://github.com/vitest-dev/vitest/issues/4934](https://togithub.com/vitest-dev/vitest/issues/4934) [(9c7c0)](https://togithub.com/vitest-dev/vitest/commit/9c7c0fc9)
- Throw an error if vi.mock is exported - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5034](https://togithub.com/vitest-dev/vitest/issues/5034) [(253df)](https://togithub.com/vitest-dev/vitest/commit/253df1cc)
- Allow `useFakeTimers` to fake `requestIdleCallback` on non browser - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5028](https://togithub.com/vitest-dev/vitest/issues/5028) [(a9a48)](https://togithub.com/vitest-dev/vitest/commit/a9a486f2)
- Support older NodeJS with async `import.meta.resolve` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5045](https://togithub.com/vitest-dev/vitest/issues/5045) [(cf564)](https://togithub.com/vitest-dev/vitest/commit/cf5641a9)
- Don't throw an error if mocked file was already imported - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5050](https://togithub.com/vitest-dev/vitest/issues/5050) [(fff1a)](https://togithub.com/vitest-dev/vitest/commit/fff1a270)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)
### [`v1.2.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1)
##### 🐞 Bug Fixes
- **browser**:
- Apply inlined workspace config to browser mode vite server - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4947](https://togithub.com/vitest-dev/vitest/issues/4947) [(db01f)](https://togithub.com/vitest-dev/vitest/commit/db01f6c2)
- Fix browser testing url for https - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4855](https://togithub.com/vitest-dev/vitest/issues/4855) [(6c1cc)](https://togithub.com/vitest-dev/vitest/commit/6c1cc78b)
- Don't fail when calling vi.useFakeTimers - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4992](https://togithub.com/vitest-dev/vitest/issues/4992) [(6c5fe)](https://togithub.com/vitest-dev/vitest/commit/6c5fe49b)
- **coverage**:
- `thresholds.autoUpdate` to work with arrow function configuration files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4959](https://togithub.com/vitest-dev/vitest/issues/4959) [(4b411)](https://togithub.com/vitest-dev/vitest/commit/4b41131a)
- **expect**:
- Implement chai inspect for `AsymmetricMatcher` - by [@hi-ogawa](https://togithub.com/hi-ogawa) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4942](https://togithub.com/vitest-dev/vitest/issues/4942) [(06bae)](https://togithub.com/vitest-dev/vitest/commit/06bae4dd)
- **vite-node**:
- Externalize network imports - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4987](https://togithub.com/vitest-dev/vitest/issues/4987) [(21f57)](https://togithub.com/vitest-dev/vitest/commit/21f5744d)
- **vitest**:
- Handle single `await vi.hoisted` - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4962](https://togithub.com/vitest-dev/vitest/issues/4962) [(dcf2e)](https://togithub.com/vitest-dev/vitest/commit/dcf2e9f2)
- Simplify hoist transform check regex to avoid expensive regex match - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4974](https://togithub.com/vitest-dev/vitest/issues/4974) [(df0db)](https://togithub.com/vitest-dev/vitest/commit/df0db6a9)
- Correctly find module if it has a version query - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4976](https://togithub.com/vitest-dev/vitest/issues/4976) [(952c3)](https://togithub.com/vitest-dev/vitest/commit/952c31df)
- Check color support for intercepted console logging - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4966](https://togithub.com/vitest-dev/vitest/issues/4966) [(39a71)](https://togithub.com/vitest-dev/vitest/commit/39a7169c)
- Use development/production conditions when resolving external modules - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4980](https://togithub.com/vitest-dev/vitest/issues/4980) [(8877e)](https://togithub.com/vitest-dev/vitest/commit/8877e22a)
- Throw a syntax error if vi.hoisted is directly exported - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4969](https://togithub.com/vitest-dev/vitest/issues/4969) [(f8bff)](https://togithub.com/vitest-dev/vitest/commit/f8bff9ef)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1)
### [`v1.2.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0)
##### 🚀 Features
- Support case-insensitive path matching in cli - by [@tigranmk](https://togithub.com/tigranmk) in [https://github.com/vitest-dev/vitest/issues/3567](https://togithub.com/vitest-dev/vitest/issues/3567) and [https://github.com/vitest-dev/vitest/issues/4911](https://togithub.com/vitest-dev/vitest/issues/4911) [(1326c)](https://togithub.com/vitest-dev/vitest/commit/1326c6ef)
- Add typeahead search - by [@bonyuta0204](https://togithub.com/bonyuta0204) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4275](https://togithub.com/vitest-dev/vitest/issues/4275) and [https://github.com/vitest-dev/vitest/issues/4733](https://togithub.com/vitest-dev/vitest/issues/4733) [(480d8)](https://togithub.com/vitest-dev/vitest/commit/480d866a)
- Add syntax highlighting to error messages - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4813](https://togithub.com/vitest-dev/vitest/issues/4813) [(8c969)](https://togithub.com/vitest-dev/vitest/commit/8c969de2)
- Allow extending toEqual - by [@tigranmk](https://togithub.com/tigranmk) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2875](https://togithub.com/vitest-dev/vitest/issues/2875) and [https://github.com/vitest-dev/vitest/issues/4880](https://togithub.com/vitest-dev/vitest/issues/4880) [(463be)](https://togithub.com/vitest-dev/vitest/commit/463bee38)
- **coverage**:
- Custom reporter support - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4828](https://togithub.com/vitest-dev/vitest/issues/4828) [(96dc6)](https://togithub.com/vitest-dev/vitest/commit/96dc6e9a)
- **ui**:
- Show unhandled errors on the ui - by [@spiroka](https://togithub.com/spiroka) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4380](https://togithub.com/vitest-dev/vitest/issues/4380) [(7f59a)](https://togithub.com/vitest-dev/vitest/commit/7f59a1b8)
- **vitest**:
- Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4786](https://togithub.com/vitest-dev/vitest/issues/4786) [(43fa6)](https://togithub.com/vitest-dev/vitest/commit/43fa6baa)
- Show slow test duration in verbose reporter on CI - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4929](https://togithub.com/vitest-dev/vitest/issues/4929) [(ccb25)](https://togithub.com/vitest-dev/vitest/commit/ccb25836)
- Allow overiding package installer with public API - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4936](https://togithub.com/vitest-dev/vitest/issues/4936) [(c2cce)](https://togithub.com/vitest-dev/vitest/commit/c2cceebb)
##### 🐞 Bug Fixes
- **browser**:
- Support vite config `server.headers` - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4890](https://togithub.com/vitest-dev/vitest/issues/4890) [(55f53)](https://togithub.com/vitest-dev/vitest/commit/55f5349f)
- Fix `testNamePattern` config - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4909](https://togithub.com/vitest-dev/vitest/issues/4909) [(4add9)](https://togithub.com/vitest-dev/vitest/commit/4add9516)
- Fix updating snapshot during watch mode - by [@hi-ogawa](https://togithub.com/hi-ogawa) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4867](https://togithub.com/vitest-dev/vitest/issues/4867) [(508fc)](https://togithub.com/vitest-dev/vitest/commit/508fced9)
- Remove redundant test failure logging - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4891](https://togithub.com/vitest-dev/vitest/issues/4891) [(7fd44)](https://togithub.com/vitest-dev/vitest/commit/7fd44dc3)
- **happy-dom**:
- Window.close() for environment teardown - by [@capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4931](https://togithub.com/vitest-dev/vitest/issues/4931) [(91719)](https://togithub.com/vitest-dev/vitest/commit/91719bbd)
- **utils**:
- Fix `objDisplay` default truncate option for `test.each` title - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4917](https://togithub.com/vitest-dev/vitest/issues/4917) [(9ae9d)](https://togithub.com/vitest-dev/vitest/commit/9ae9dac9)
- **vitest**:
- Fix tap reporter to handle custom error - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4897](https://togithub.com/vitest-dev/vitest/issues/4897) [(f8ba8)](https://togithub.com/vitest-dev/vitest/commit/f8ba80f2)
- Gracefully exit Vitest if `process.exit` is called inside the test - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4903](https://togithub.com/vitest-dev/vitest/issues/4903) [(8e6c1)](https://togithub.com/vitest-dev/vitest/commit/8e6c104a)
- Throw "cannot mock" error only in isolated pools - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4905](https://togithub.com/vitest-dev/vitest/issues/4905) [(f99cc)](https://togithub.com/vitest-dev/vitest/commit/f99cc313)
- Don't throw SyntaxError when "await vi.hoisted" is used - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4915](https://togithub.com/vitest-dev/vitest/issues/4915) [(ca62f)](https://togithub.com/vitest-dev/vitest/commit/ca62f37a)
- Correctly parse --maxWorkers/--minWorkers - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4924](https://togithub.com/vitest-dev/vitest/issues/4924) [(0e77e)](https://togithub.com/vitest-dev/vitest/commit/0e77e697)
- Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4916](https://togithub.com/vitest-dev/vitest/issues/4916) [(c4eac)](https://togithub.com/vitest-dev/vitest/commit/c4eacbb7)
- Call global teardown when using workspaces - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4935](https://togithub.com/vitest-dev/vitest/issues/4935) [(528bd)](https://togithub.com/vitest-dev/vitest/commit/528bd558)
- Use file instead of id for HMR - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4938](https://togithub.com/vitest-dev/vitest/issues/4938) [(ca76f)](https://togithub.com/vitest-dev/vitest/commit/ca76f457)
- Add inlined deps to ssr.noExternal so they are added to the module graph - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4945](https://togithub.com/vitest-dev/vitest/issues/4945) [(1663f)](https://togithub.com/vitest-dev/vitest/commit/1663f5ca)
- **workspace**:
- Support overring `pool` and `poolOptions` on project level - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4765](https://togithub.com/vitest-dev/vitest/issues/4765) [(e9fe4)](https://togithub.com/vitest-dev/vitest/commit/e9fe4181)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0)
### [`v1.1.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3)
##### 🐞 Bug Fixes
- **vitest**:
- Vi.mock breaks tests when using imported variables inside the factory - by [@sheremet-va](https://togithub.com/sheremet-va) and **Dunqing** in [https://github.com/vitest-dev/vitest/issues/4873](https://togithub.com/vitest-dev/vitest/issues/4873) [(7719e)](https://togithub.com/vitest-dev/vitest/commit/7719e79e)
- Apply `slowTestThreshold` to all reporters - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4876](https://togithub.com/vitest-dev/vitest/issues/4876) [(1769c)](https://togithub.com/vitest-dev/vitest/commit/1769c796)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3)
### [`v1.1.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2)
##### 🐞 Bug Fixes
- Remove internal flag from UI option in the config - by [@sheremet-va](https://togithub.com/sheremet-va) [(7b4a2)](https://togithub.com/vitest-dev/vitest/commit/7b4a2fce)
- **browser**:
- Avoid safaridriver collision - by [@mbland](https://togithub.com/mbland) in [https://github.com/vitest-dev/vitest/issues/4863](https://togithub.com/vitest-dev/vitest/issues/4863) [(345a2)](https://togithub.com/vitest-dev/vitest/commit/345a25d6)
- Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@zmullett](https://togithub.com/zmullett), **Zac Mullett** and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4839](https://togithub.com/vitest-dev/vitest/issues/4839) [(b8140)](https://togithub.com/vitest-dev/vitest/commit/b8140fca)
- Handle config.base - by [@mbland](https://togithub.com/mbland) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4686](https://togithub.com/vitest-dev/vitest/issues/4686) and [https://github.com/vitest-dev/vitest/issues/4692](https://togithub.com/vitest-dev/vitest/issues/4692) [(9e345)](https://togithub.com/vitest-dev/vitest/commit/9e34557e)
- **deps**:
- Update dependency acorn-walk to ^8.3.1 - by [@renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4837](https://togithub.com/vitest-dev/vitest/issues/4837)7 [(47bc2)](https://togithub.com/vitest-dev/vitest/commit/47bc233d)
- Update dependency sirv to ^2.0.4 - by [@renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4838](https://togithub.com/vitest-dev/vitest/issues/4838)8 [(df261)](https://togithub.com/vitest-dev/vitest/commit/df261ae1)
- **runner**:
- Fix fixture cleanup for concurrent tests - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4827](https://togithub.com/vitest-dev/vitest/issues/4827) [(1fee6)](https://togithub.com/vitest-dev/vitest/commit/1fee63f2)
- **spy**:
- Don't allow Promise in mockImplementation - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4859](https://togithub.com/vitest-dev/vitest/issues/4859) [(072e0)](https://togithub.com/vitest-dev/vitest/commit/072e02bf)
- **vite-node**:
- Correctly return cached result - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4870](https://togithub.com/vitest-dev/vitest/issues/4870) [(15bbb)](https://togithub.com/vitest-dev/vitest/commit/15bbbf81)
- **vitest**:
- Throw an error if mock was already loaded when vi.mock is called - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4862](https://togithub.com/vitest-dev/vitest/issues/4862) [(e12a5)](https://togithub.com/vitest-dev/vitest/commit/e12a5a36)
- Correctly rerun test files on change if server was restarted - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4871](https://togithub.com/vitest-dev/vitest/issues/4871) [(6088b)](https://togithub.com/vitest-dev/vitest/commit/6088b372)
- **vm-threads**:
- Don't crash on percentage based `memoryLimit` - by [@inottn](https://togithub.com/inottn) and [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4802](https://togithub.com/vitest-dev/vitest/issues/4802) [(70e8a)](https://togithub.com/vitest-dev/vitest/commit/70e8a389)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2)
### [`v1.1.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1)
##### 🐞 Bug Fixes
- Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@wojtekmaj](https://togithub.com/wojtekmaj) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4698](https://togithub.com/vitest-dev/vitest/issues/4698) [(ee8b4)](https://togithub.com/vitest-dev/vitest/commit/ee8b46db)
- Don't fail if `inline: true` is set - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4815](https://togithub.com/vitest-dev/vitest/issues/4815) [(8f622)](https://togithub.com/vitest-dev/vitest/commit/8f6225b8)
- Correct option name `--no-parallelism` - by [@bonyuta0204](https://togithub.com/bonyuta0204) in [https://github.com/vitest-dev/vitest/issues/4831](https://togithub.com/vitest-dev/vitest/issues/4831) [(5053a)](https://togithub.com/vitest-dev/vitest/commit/5053a5dd)
- Match jest json output by making json reporter output ndjson-compatible - by [@bard](https://togithub.com/bard) in [https://github.com/vitest-dev/vitest/issues/4824](https://togithub.com/vitest-dev/vitest/issues/4824) [(7e6a6)](https://togithub.com/vitest-dev/vitest/commit/7e6a62af)
- **runner**:
- Reset "current test" state on dynamic `skip` - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4814](https://togithub.com/vitest-dev/vitest/issues/4814) [(19faf)](https://togithub.com/vitest-dev/vitest/commit/19faf00e)
- **vitest**:
- Don't hang when mocking files with cyclic dependencies - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4811](https://togithub.com/vitest-dev
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" in timezone Asia/Tokyo, Automerge - "before 4am" in timezone Asia/Tokyo.
🚦 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:
^0.34.6
->^1.6.0
Release Notes
vitest-dev/vitest (vitest)
### [`v1.6.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5565](https://togithub.com/vitest-dev/vitest/issues/5565) [(bdce0)](https://togithub.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5449](https://togithub.com/vitest-dev/vitest/issues/5449) [(30f72)](https://togithub.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://togithub.com/hi-ogawa) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5398](https://togithub.com/vitest-dev/vitest/issues/5398) [(f8d3d)](https://togithub.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5656](https://togithub.com/vitest-dev/vitest/issues/5656) [(21e58)](https://togithub.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5659](https://togithub.com/vitest-dev/vitest/issues/5659) [(2f913)](https://togithub.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/5652](https://togithub.com/vitest-dev/vitest/issues/5652) [(1f726)](https://togithub.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5640](https://togithub.com/vitest-dev/vitest/issues/5640) [(7d57c)](https://togithub.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5646](https://togithub.com/vitest-dev/vitest/issues/5646) [(f5faf)](https://togithub.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5654](https://togithub.com/vitest-dev/vitest/issues/5654) [(c9e68)](https://togithub.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@sheremet-va](https://togithub.com/sheremet-va) [(40c29)](https://togithub.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5526](https://togithub.com/vitest-dev/vitest/issues/5526) [(19a21)](https://togithub.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@MindfulPol](https://togithub.com/MindfulPol) in [https://github.com/vitest-dev/vitest/issues/5634](https://togithub.com/vitest-dev/vitest/issues/5634) [(bfe8a)](https://togithub.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5642](https://togithub.com/vitest-dev/vitest/issues/5642) [(c9883)](https://togithub.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5610](https://togithub.com/vitest-dev/vitest/issues/5610) [(103a6)](https://togithub.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5592](https://togithub.com/vitest-dev/vitest/issues/5592) [(d8304)](https://togithub.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5658](https://togithub.com/vitest-dev/vitest/issues/5658) [(c5712)](https://togithub.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ### [`v1.5.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.5.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5608](https://togithub.com/vitest-dev/vitest/issues/5608) [(48fba)](https://togithub.com/vitest-dev/vitest/commit/48fba190) - Backport jest iterable equality within object - by [@sukovanej](https://togithub.com/sukovanej) in [https://github.com/vitest-dev/vitest/issues/5621](https://togithub.com/vitest-dev/vitest/issues/5621) [(30e5d)](https://togithub.com/vitest-dev/vitest/commit/30e5dc1b) - **browser**: Support benchmark - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5622](https://togithub.com/vitest-dev/vitest/issues/5622) [(becab)](https://togithub.com/vitest-dev/vitest/commit/becabb5e) - **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5629](https://togithub.com/vitest-dev/vitest/issues/5629) [(20060)](https://togithub.com/vitest-dev/vitest/commit/200609cc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) ### [`v1.5.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.5.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@sheremet-va](https://togithub.com/sheremet-va) [(ce368)](https://togithub.com/vitest-dev/vitest/commit/ce368457) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ### [`v1.5.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.5.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5493](https://togithub.com/vitest-dev/vitest/issues/5493) [(780b1)](https://togithub.com/vitest-dev/vitest/commit/780b187f) - This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver. ##### 🐞 Bug Fixes - Close vite servers on all resolved projects - by [@surc54](https://togithub.com/surc54) in [https://github.com/vitest-dev/vitest/issues/5544](https://togithub.com/vitest-dev/vitest/issues/5544) [(413ec)](https://togithub.com/vitest-dev/vitest/commit/413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5561](https://togithub.com/vitest-dev/vitest/issues/5561) [(9c649)](https://togithub.com/vitest-dev/vitest/commit/9c64967f) - Resolve cwd correctly when initiating projects - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5582](https://togithub.com/vitest-dev/vitest/issues/5582) [(ec9d7)](https://togithub.com/vitest-dev/vitest/commit/ec9d7c93) - Always run `onTestFinished` in reverse order - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5598](https://togithub.com/vitest-dev/vitest/issues/5598) [(23f29)](https://togithub.com/vitest-dev/vitest/commit/23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5528](https://togithub.com/vitest-dev/vitest/issues/5528) [(5c69f)](https://togithub.com/vitest-dev/vitest/commit/5c69f3f5) - Dispose tester iframe on done - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5595](https://togithub.com/vitest-dev/vitest/issues/5595) [(b2135)](https://togithub.com/vitest-dev/vitest/commit/b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5549](https://togithub.com/vitest-dev/vitest/issues/5549) [(df6a4)](https://togithub.com/vitest-dev/vitest/commit/df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5540](https://togithub.com/vitest-dev/vitest/issues/5540) [(ea3c1)](https://togithub.com/vitest-dev/vitest/commit/ea3c16e4) - `thresholds` to compare files relative to root - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5574](https://togithub.com/vitest-dev/vitest/issues/5574) [(80265)](https://togithub.com/vitest-dev/vitest/commit/80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5535](https://togithub.com/vitest-dev/vitest/issues/5535) [(9e641)](https://togithub.com/vitest-dev/vitest/commit/9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5578](https://togithub.com/vitest-dev/vitest/issues/5578) [(316eb)](https://togithub.com/vitest-dev/vitest/commit/316eb739) - Watch the output directory correctly - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5584](https://togithub.com/vitest-dev/vitest/issues/5584) [(e40f9)](https://togithub.com/vitest-dev/vitest/commit/e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5590](https://togithub.com/vitest-dev/vitest/issues/5590) [(4da88)](https://togithub.com/vitest-dev/vitest/commit/4da88045) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) ### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [(b9d37)](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [(d627e)](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [(201bd)](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [(356db)](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [(d7e8b)](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [(600b4)](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [(e1735)](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [(d1a06)](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [(e77c5)](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://togithub.com/sheremet-va) [(4f6e3)](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://togithub.com/saitonakamura) and [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [(2fef5)](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [(8f04e)](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [(d68a7)](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [(c3eb8)](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [(6eda4)](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [(07ec3)](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [(8ee59)](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [(5b58b)](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [(bdc37)](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [(ab60b)](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [(6d1b1)](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [(0bea2)](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://togithub.com/sheremet-va) [(38119)](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [(51d1d)](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [(ce5ca)](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [(29f98)](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ### [`v1.3.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ##### 🚀 Features - **vitest**: Expose parseCLI method - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5248](https://togithub.com/vitest-dev/vitest/issues/5248) [(c793a)](https://togithub.com/vitest-dev/vitest/commit/c793a136) - This feature is not affected by SemVer because it is part of an [experimental API](https://vitest.dev/advanced/api.html). ##### 🐞 Bug Fixes - Add task tests iteratively - by [@DerYeger](https://togithub.com/DerYeger) in [https://github.com/vitest-dev/vitest/issues/5235](https://togithub.com/vitest-dev/vitest/issues/5235) [(38155)](https://togithub.com/vitest-dev/vitest/commit/38155548) - **coverage**: Ignore generated TS decorators - by [@AriPerkkio](https://togithub.com/AriPerkkio) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5206](https://togithub.com/vitest-dev/vitest/issues/5206) [(a2804)](https://togithub.com/vitest-dev/vitest/commit/a280451b) - **ui**: Auto reload coverage iframe after test run - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5242](https://togithub.com/vitest-dev/vitest/issues/5242) [(5376d)](https://togithub.com/vitest-dev/vitest/commit/5376d5be) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1) ### [`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/5](https://togithub.com/vitest-dev/vitest/issues/5)[15](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:16)5 [(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/5](https://togithub.com/vitest-dev/vitest/issues/5)[16](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:17)3 [(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 - "before 4am on Monday" in timezone Asia/Tokyo, Automerge - "before 4am" in timezone Asia/Tokyo.
🚦 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.