-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support standalone mode #5565
Conversation
✅ Deploy Preview for fastidious-cascaron-4ded94 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this something that the extension could also use? Or at least make it use less private APIs?
Good place for test would be at https://github.com/vitest-dev/vitest/tree/main/test/watch/test, maybe watch/test/standalone.test.ts
. Start Vitest in watch mode, check that it's running, press re-run and check that all expected tests ran.
I quickly tested this locally and didn't get it working:
vitest-standalone.mov
Yes, I am adding this mostly because I want to try running debugger with |
5c71318
to
1f3326e
Compare
I added a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ cd vitest/test/core
$ pnpm run test --standalone
# Press "P" for filename filter
# Type "circular"
# Press enter
> RERUN change filename pattern
> Filename pattern: circular
> Test name pattern: /^((?!does not include test that).)*$/
>
> ✓ |core| test/circular.test.ts (2)
> ✓ |core| test/expect-circular.test.ts (4)
> ✓ |core| test/mocked-circular.test.ts (1)
>
> Test Files 3 passed (3)
> Tests 7 passed (7)
# Press "A" to re-run all
# Runs only 3 tests, should run all ❌
> RERUN
>
> ✓ |core| test/expect-circular.test.ts (4)
> ✓ |core| test/mocked-circular.test.ts (1)
> ✓ |core| test/circular.test.ts (2)
>
> Test Files 3 passed (3)
> Tests 7 passed (7)
Repeat steps above with plain pnpm run test
and see how pressing "A"
re-runs all tests. ✅
Should be fixed now. It actually didn't rerun anything even on the first "A". |
2bdf925
to
bd22220
Compare
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.5.3` -> `1.6.0`](https://renovatebot.com/diffs/npm/vitest/1.5.3/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5449 [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5656 [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5659 [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [vitest-dev/vitest#5652 [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5526 [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5642 [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5610 [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5592 [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5658 [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/camunda/zeebe). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.5.3` -> `1.6.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.5.3/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.5.3` -> `1.6.0`](https://renovatebot.com/diffs/npm/vitest/1.5.3/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5449 [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5656 [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5659 [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [vitest-dev/vitest#5652 [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5526 [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5642 [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5610 [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5592 [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5658 [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Johannes-Andersen/Johannes). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.5.3` -> `1.6.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.5.3/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.5.3` -> `1.6.0`](https://renovatebot.com/diffs/npm/vitest/1.5.3/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5449 [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5656 [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5659 [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [vitest-dev/vitest#5652 [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5526 [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5642 [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5610 [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5592 [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5658 [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/line/line-bot-sdk-nodejs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY3kgdXBncmFkZSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.5.3` -> `1.6.0`](https://renovatebot.com/diffs/npm/vitest/1.5.3/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5449 [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5656 [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5659 [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [vitest-dev/vitest#5652 [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5526 [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5642 [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5610 [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5592 [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5658 [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/ariakit/ariakit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.5.3` -> `1.6.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.5.3/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/ui](https://github.com/vitest-dev/vitest/tree/main/packages/ui#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui)) | [`1.5.3` -> `1.6.0`](https://renovatebot.com/diffs/npm/@vitest%2fui/1.5.3/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fui/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fui/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fui/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fui/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.5.3` -> `1.6.0`](https://renovatebot.com/diffs/npm/vitest/1.5.3/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5449 [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5656 [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5659 [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [vitest-dev/vitest#5652 [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5526 [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5642 [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5610 [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5592 [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5658 [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/BSStudio/bss-web-graphql-backend). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react)) | [`18.2.78` -> `18.3.3`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.78/18.3.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.78/18.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.78/18.3.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin) ([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`7.6.0` -> `7.11.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/7.6.0/7.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/7.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/7.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/7.6.0/7.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/7.6.0/7.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://typescript-eslint.io/packages/parser) ([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser)) | [`7.6.0` -> `7.11.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/7.6.0/7.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/7.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/7.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/7.6.0/7.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/7.6.0/7.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.5.0` -> `1.6.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.5.0/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.5.0/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.5.0/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | [`48.2.3` -> `48.2.6`](https://renovatebot.com/diffs/npm/eslint-plugin-jsdoc/48.2.3/48.2.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-jsdoc/48.2.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-jsdoc/48.2.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-jsdoc/48.2.3/48.2.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-jsdoc/48.2.3/48.2.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) | [`7.34.1` -> `7.34.2`](https://renovatebot.com/diffs/npm/eslint-plugin-react/7.34.1/7.34.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-react/7.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-react/7.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-react/7.34.1/7.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-react/7.34.1/7.34.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint-plugin-react-hooks](https://reactjs.org/) ([source](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks)) | [`4.6.0` -> `4.6.2`](https://renovatebot.com/diffs/npm/eslint-plugin-react-hooks/4.6.0/4.6.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-react-hooks/4.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-react-hooks/4.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-react-hooks/4.6.0/4.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-react-hooks/4.6.0/4.6.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://github.com/capricorn86/happy-dom) | [`14.7.1` -> `14.11.2`](https://renovatebot.com/diffs/npm/happy-dom/14.7.1/14.11.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/14.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/14.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/14.7.1/14.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/14.7.1/14.11.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lint-staged](https://github.com/okonet/lint-staged) | [`15.2.2` -> `15.2.5`](https://renovatebot.com/diffs/npm/lint-staged/15.2.2/15.2.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.2.2/15.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.2.2/15.2.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [react](https://reactjs.org/) ([source](https://github.com/facebook/react/tree/HEAD/packages/react)) | [`18.2.0` -> `18.3.1`](https://renovatebot.com/diffs/npm/react/18.2.0/18.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react/18.2.0/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react/18.2.0/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [react-test-renderer](https://reactjs.org/) ([source](https://github.com/facebook/react/tree/HEAD/packages/react-test-renderer)) | [`18.2.0` -> `18.3.1`](https://renovatebot.com/diffs/npm/react-test-renderer/18.2.0/18.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/react-test-renderer/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-test-renderer/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-test-renderer/18.2.0/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-test-renderer/18.2.0/18.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [rimraf](https://github.com/isaacs/rimraf) | [`5.0.5` -> `5.0.7`](https://renovatebot.com/diffs/npm/rimraf/5.0.5/5.0.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/rimraf/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/rimraf/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/rimraf/5.0.5/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/rimraf/5.0.5/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [semantic-release](https://github.com/semantic-release/semantic-release) | [`23.0.8` -> `23.1.1`](https://renovatebot.com/diffs/npm/semantic-release/23.0.8/23.1.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/semantic-release/23.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/semantic-release/23.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/semantic-release/23.0.8/23.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/semantic-release/23.0.8/23.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.5.0` -> `1.6.0`](https://renovatebot.com/diffs/npm/vitest/1.5.0/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.5.0/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.5.0/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)</summary> ### [`v7.11.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#7110-2024-05-27) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.10.0...v7.11.0) ##### 🚀 Features - **eslint-plugin:** deprecate prefer-ts-expect-error in favor of ban-ts-comment ##### 🩹 Fixes - **eslint-plugin:** \[consistent-type-assertions] prevent syntax errors on arrow functions ##### ❤️ Thank You - Abraham Guo - auvred - Dom Armstrong - Kirk Waiblinger You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.10.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#7100-2024-05-20) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.9.0...v7.10.0) ##### 🚀 Features - **eslint-plugin:** \[sort-type-constituents] support case sensitive sorting ##### 🩹 Fixes - **eslint-plugin:** \[prefer-regexp-exec] fix heuristic to check whether regex may contain global flag ##### ❤️ Thank You - auvred - Emanuel Hoogeveen - jsfm01 - Kirk Waiblinger You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.9.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#790-2024-05-13) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.8.0...v7.9.0) ##### 🩹 Fixes - **eslint-plugin:** \[explicit-function-return-types] fix false positive on default parameters ##### ❤️ Thank You - Kirk Waiblinger - Sheetal Nandi - Vinccool96 You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.8.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#780-2024-04-29) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.7.1...v7.8.0) ##### 🩹 Fixes - **eslint-plugin:** \[no-unsafe-argument] handle tagged templates - **eslint-plugin:** \[prefer-optional-chain] suggests optional chaining during strict null equality check - **eslint-plugin:** \[consistent-type-assertions] handle tagged templates - **eslint-plugin:** \[no-unsafe-return] handle union types - **eslint-plugin:** \[no-unused-vars] clear error report range ##### ❤️ Thank You - auvred - Josh Goldberg ✨ - jsfm01 - Kim Sang Du - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.7.1`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#771-2024-04-22) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.7.0...v7.7.1) ##### 🩹 Fixes - **eslint-plugin:** \[no-unsafe-assignment] handle shorthand property assignment - **eslint-plugin:** \[explicit-function-return-type] fix checking wrong ancestor's return type - **eslint-plugin:** \[prefer-optional-chain] only look at left operand for `requireNullish` - **eslint-plugin:** \[no-for-in-array] refine report location - **eslint-plugin:** \[no-unnecessary-type-assertion] allow non-null assertion for void type ##### ❤️ Thank You - Abraham Guo - Kirk Waiblinger - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.7.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#770-2024-04-15) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.6.0...v7.7.0) ##### 🚀 Features - **eslint-plugin:** replace `no-new-symbol` with `no-new-native-nonconstructor` ##### ❤️ Thank You - Dave - Josh Goldberg ✨ You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>typescript-eslint/typescript-eslint (@​typescript-eslint/parser)</summary> ### [`v7.11.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7110-2024-05-27) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.10.0...v7.11.0) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.10.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7100-2024-05-20) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.9.0...v7.10.0) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.9.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#790-2024-05-13) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.8.0...v7.9.0) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.8.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#780-2024-04-29) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.7.1...v7.8.0) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.7.1`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#771-2024-04-22) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.7.0...v7.7.1) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v7.7.0`](https://github.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#770-2024-04-15) [Compare Source](https://github.com/typescript-eslint/typescript-eslint/compare/v7.6.0...v7.7.0) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5449 [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5656 [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5659 [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [vitest-dev/vitest#5652 [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5526 [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5642 [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5610 [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5592 [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5658 [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ### [`v1.5.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) [Compare Source](https://github.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://github.com/sheremet-va) in [vitest-dev/vitest#5608 [<samp>(48fba)</samp>](https://github.com/vitest-dev/vitest/commit/48fba190) - Backport jest iterable equality within object - by [@​sukovanej](https://github.com/sukovanej) in [vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](https://github.com/vitest-dev/vitest/commit/30e5dc1b) - **browser**: Support benchmark - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5622 [<samp>(becab)</samp>](https://github.com/vitest-dev/vitest/commit/becabb5e) - **reporter**: Use default error formatter for JUnit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5629 [<samp>(20060)</samp>](https://github.com/vitest-dev/vitest/commit/200609cc) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) ### [`v1.5.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](https://github.com/vitest-dev/vitest/commit/ce368457) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ### [`v1.5.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5493 [<samp>(780b1)</samp>](https://github.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://github.com/surc54) in [vitest-dev/vitest#5544 [<samp>(413ec)</samp>](https://github.com/vitest-dev/vitest/commit/413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5561 [<samp>(9c649)</samp>](https://github.com/vitest-dev/vitest/commit/9c64967f) - Resolve cwd correctly when initiating projects - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](https://github.com/vitest-dev/vitest/commit/ec9d7c93) - Always run `onTestFinished` in reverse order - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5598 [<samp>(23f29)</samp>](https://github.com/vitest-dev/vitest/commit/23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](https://github.com/vitest-dev/vitest/commit/5c69f3f5) - Dispose tester iframe on done - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5595 [<samp>(b2135)</samp>](https://github.com/vitest-dev/vitest/commit/b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](https://github.com/vitest-dev/vitest/commit/df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](https://github.com/vitest-dev/vitest/commit/ea3c16e4) - `thresholds` to compare files relative to root - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5574 [<samp>(80265)</samp>](https://github.com/vitest-dev/vitest/commit/80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5535 [<samp>(9e641)</samp>](https://github.com/vitest-dev/vitest/commit/9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5578 [<samp>(316eb)</samp>](https://github.com/vitest-dev/vitest/commit/316eb739) - Watch the output directory correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](https://github.com/vitest-dev/vitest/commit/e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5590 [<samp>(4da88)</samp>](https://github.com/vitest-dev/vitest/commit/4da88045) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) </details> <details> <summary>gajus/eslint-plugin-jsdoc (eslint-plugin-jsdoc)</summary> ### [`v48.2.6`](https://github.com/gajus/eslint-plugin-jsdoc/releases/tag/v48.2.6) [Compare Source](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.2.5...v48.2.6) ##### Bug Fixes - **`require-yields`:** avoid error when `ExportNamedDeclaration` has no `declaration` prop ([93a9415](https://github.com/gajus/eslint-plugin-jsdoc/commit/93a94158585802b1ef92bb703b06599cf19c507b)) ### [`v48.2.5`](https://github.com/gajus/eslint-plugin-jsdoc/releases/tag/v48.2.5) [Compare Source](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.2.4...v48.2.5) ##### Bug Fixes - handle deprecated `typeParameters` ([#​1229](https://github.com/gajus/eslint-plugin-jsdoc/issues/1229)) ([d417d05](https://github.com/gajus/eslint-plugin-jsdoc/commit/d417d05d946dbcb61402b94813ead1bfcee8eab1)) ### [`v48.2.4`](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.2.3...4da4aebf35f49b607e32dcfb3142dba812e6d705) [Compare Source](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.2.3...v48.2.4) </details> <details> <summary>jsx-eslint/eslint-plugin-react (eslint-plugin-react)</summary> ### [`v7.34.2`](https://github.com/jsx-eslint/eslint-plugin-react/releases/tag/v7.34.2) [Compare Source](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.1...v7.34.2) ##### Fixed - [`boolean-prop-naming`][boolean-prop-naming]: avoid a crash with a non-TSTypeReference type ([#​3718][] [@​developer-bandi](https://github.com/developer-bandi)) - [`jsx-no-leaked-render`][jsx-no-leaked-render]: invalid report if left side is boolean ([#​3746][] [@​akulsr0](https://github.com/akulsr0)) - [`jsx-closing-bracket-location`][jsx-closing-bracket-location]: message shows `{{details}}` when there are no details ([#​3759][] [@​mdjermanovic](https://github.com/mdjermanovic)) - [`no-invalid-html-attribute`][no-invalid-html-attribute]: ensure error messages are correct ([#​3759][] [@​mdjermanovic](https://github.com/mdjermanovic), [@​ljharb](https://github.com/ljharb)) ##### Changed - \[Refactor] create various eslint utils to fix eslint deprecations ([#​3759][] [@​mdjermanovic](https://github.com/mdjermanovic), [@​ljharb](https://github.com/ljharb)) [7.34.2]: https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.1...v7.34.2 [#​3759]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3759 [#​3746]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3746 [#​3718]: https://github.com/jsx-eslint/eslint-plugin-react/pull/3718 [`boolean-prop-naming`]: docs/rules/boolean-prop-naming.md [`jsx-no-leaked-render`]: docs/rules/jsx-no-leaked-render.md [`jsx-closing-bracket-location`]: docs/rules/jsx-closing-bracket-location.md [`no-invalid-html-attribute`]: docs/rules/no-invalid-html-attribute.md </details> <details> <summary>facebook/react (eslint-plugin-react-hooks)</summary> ### [`v4.6.2`](https://github.com/facebook/react/compare/a87edf62d7d69705ddbcec9a24f0780b3db7535f...a87edf62d7d69705ddbcec9a24f0780b3db7535f) [Compare Source](https://github.com/facebook/react/compare/a87edf62d7d69705ddbcec9a24f0780b3db7535f...a87edf62d7d69705ddbcec9a24f0780b3db7535f) ### [`v4.6.1`](https://github.com/facebook/react/compare/be229c5655074642ee664f532f2e7411dd7dccc7...a87edf62d7d69705ddbcec9a24f0780b3db7535f) [Compare Source](https://github.com/facebook/react/compare/be229c5655074642ee664f532f2e7411dd7dccc7...a87edf62d7d69705ddbcec9a24f0780b3db7535f) </details> <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v14.11.2`](https://github.com/capricorn86/happy-dom/compare/v14.11.1...db97904b3a11e575269a15bbb70031399729ff45) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.11.1...v14.11.2) ### [`v14.11.1`](https://github.com/capricorn86/happy-dom/compare/v14.11.0...6ada81698021c35f074e575ec232d1bb7bafb4bc) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.11.0...v14.11.1) ### [`v14.11.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.11.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.10.3...v14.11.0) ##### 🎨 Features - Adds support for `HTMLTimeElement` - By **[@​r-thomson](https://github.com/r-thomson)** in task [#​1431](https://github.com/capricorn86/happy-dom/issues/1431) ### [`v14.10.3`](https://github.com/capricorn86/happy-dom/releases/tag/v14.10.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.10.2...v14.10.3) ##### 👷♂️ Patch fixes - Adds check for if Window and MutationObserver has been destroyed when triggering listeners - By **[@​capricorn86](https://github.com/capricorn86)** in task [#​1436](https://github.com/capricorn86/happy-dom/issues/1436) ### [`v14.10.2`](https://github.com/capricorn86/happy-dom/releases/tag/v14.10.2) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.10.1...v14.10.2) ##### 👷♂️ Patch fixes - `HTMLAnchorElement`, `HTMLButtonElement`, `HTMLInputElement` and `HTMLLabelElement` checked that click events triggering native behavior was of type `PointerEvent`, but should check that they are of type `MouseEvent` - By **[@​capricorn86](https://github.com/capricorn86)** in task [#​1397](https://github.com/capricorn86/happy-dom/issues/1397) ### [`v14.10.1`](https://github.com/capricorn86/happy-dom/compare/v14.10.0...v14.10.1) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.10.0...v14.10.1) ### [`v14.10.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.10.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.9.0...v14.10.0) ##### 🎨 Features - Adds support for `Document.elementFromPoint()` - By **[@​TreyVigus](https://github.com/TreyVigus)** in task [#​1400](https://github.com/capricorn86/happy-dom/issues/1400) - The method will always return `null` as Happy DOM doesn't support rendering and can't calculate an element's position based on where it is rendered ### [`v14.9.0`](https://github.com/capricorn86/happy-dom/compare/v14.8.3...2e0329100edf7aef9987146b35024c0b90fab2aa) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.8.3...v14.9.0) ### [`v14.8.3`](https://github.com/capricorn86/happy-dom/releases/tag/v14.8.3) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.8.2...v14.8.3) ##### 👷♂️ Patch fixes - Fixes issue related to `Element.insertBefore()` not removing comment node from previous ancestor - By **[@​mdafanasev](https://github.com/mdafanasev)** in task [#​1406](https://github.com/capricorn86/happy-dom/issues/1406) ### [`v14.8.2`](https://github.com/capricorn86/happy-dom/compare/2a8030f7a990cf258d703bdcc895c36213f375ba...9095b2ddc7b013eedb83c670d29fc97b27ae0ddf) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.8.1...v14.8.2) ### [`v14.8.1`](https://github.com/capricorn86/happy-dom/compare/v14.8.0...2a8030f7a990cf258d703bdcc895c36213f375ba) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.8.0...v14.8.1) ### [`v14.8.0`](https://github.com/capricorn86/happy-dom/releases/tag/v14.8.0) [Compare Source](https://github.com/capricorn86/happy-dom/compare/v14.7.1...v14.8.0) ##### 🎨 Features - Adds support for the `HTMLIFrameElement.srcdoc` property - By **[@​jeffwcx](https://github.com/jeffwcx)** in task [#​1398](https://github.com/capricorn86/happy-dom/issues/1398) </details> <details> <summary>okonet/lint-staged (lint-staged)</summary> ### [`v15.2.5`](https://github.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1525) [Compare Source](https://github.com/okonet/lint-staged/compare/v15.2.4...v15.2.5) ##### Patch Changes - [#​1424](https://github.com/lint-staged/lint-staged/pull/1424) [`31a1f95`](https://github.com/lint-staged/lint-staged/commit/31a1f9548ea8202bc5bd718076711f747396e3ca) Thanks [@​iiroj](https://github.com/iiroj)! - Allow approximately equivalent versions of direct dependencies by using the "~" character in the version ranges. This means a more recent patch version of a dependency is allowed if available. - [#​1423](https://github.com/lint-staged/lint-staged/pull/1423) [`91abea0`](https://github.com/lint-staged/lint-staged/commit/91abea0d298154d92113ba34bae4020704e22918) Thanks [@​iiroj](https://github.com/iiroj)! - Improve error logging when failing to read or parse a configuration file - [#​1424](https://github.com/lint-staged/lint-staged/pull/1424) [`ee43f15`](https://github.com/lint-staged/lint-staged/commit/ee43f154097753dd5448766f792387e60e0ea453) Thanks [@​iiroj](https://github.com/iiroj)! - Upgrade micromatch@4.0.7 ### [`v15.2.4`](https://github.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1524) [Compare Source](https://github.com/okonet/lint-staged/compare/v15.2.2...v15.2.4) ##### Patch Changes - [`4f4537a`](https://github.com/lint-staged/lint-staged/commit/4f4537a75ebfba816826f6f67a325dbc7f25908a) Thanks [@​iiroj](https://github.com/iiroj)! - Fix release issue with previous version; update dependencies </details> <details> <summary>facebook/react (react)</summary> ### [`v18.3.1`](https://github.com/facebook/react/compare/a87edf62d7d69705ddbcec9a24f0780b3db7535f...a87edf62d7d69705ddbcec9a24f0780b3db7535f) [Compare Source](https://github.com/facebook/react/compare/v18.3.0...v18.3.1) ### [`v18.3.0`](https://github.com/facebook/react/compare/v18.2.0...a87edf62d7d69705ddbcec9a24f0780b3db7535f) [Compare Source](https://github.com/facebook/react/compare/v18.2.0...v18.3.0) </details> <details> <summary>facebook/react (react-test-renderer)</summary> ### [`v18.3.1`](https://github.com/facebook/react/compare/a87edf62d7d69705ddbcec9a24f0780b3db7535f...a87edf62d7d69705ddbcec9a24f0780b3db7535f) [Compare Source](https://github.com/facebook/react/compare/v18.3.0...v18.3.1) ### [`v18.3.0`](https://github.com/facebook/react/compare/v18.2.0...a87edf62d7d69705ddbcec9a24f0780b3db7535f) [Compare Source](https://github.com/facebook/react/compare/v18.2.0...v18.3.0) </details> <details> <summary>isaacs/rimraf (rimraf)</summary> ### [`v5.0.7`](https://github.com/isaacs/rimraf/compare/v5.0.6...v5.0.7) [Compare Source](https://github.com/isaacs/rimraf/compare/v5.0.6...v5.0.7) ### [`v5.0.6`](https://github.com/isaacs/rimraf/compare/v5.0.5...e729f762d66a30c63bf4d3f63bcf905e1faa543b) [Compare Source](https://github.com/isaacs/rimraf/compare/v5.0.5...v5.0.6) </details> <details> <summary>semantic-release/semantic-release (semantic-release)</summary> ### [`v23.1.1`](https://github.com/semantic-release/semantic-release/compare/v23.1.0...73bcd0bcdb98322c5c5224ffb55960de114c3fd1) [Compare Source](https://github.com/semantic-release/semantic-release/compare/v23.1.0...v23.1.1) ### [`v23.1.0`](https://github.com/semantic-release/semantic-release/compare/v23.0.8...3a18bf8677657ab7a88f9d57f49e12b7726c4a19) [Compare Source](https://github.com/semantic-release/semantic-release/compare/v23.0.8...v23.1.0) </details> --- ### 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/andipaetzold/react-firehooks). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM3Ny44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.5.1` -> `1.6.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.5.1/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.5.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.5.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.5.1` -> `1.6.0`](https://renovatebot.com/diffs/npm/vitest/1.5.1/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.5.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.5.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5449 [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5656 [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5659 [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [vitest-dev/vitest#5652 [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5526 [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5642 [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5610 [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5592 [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5658 [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ### [`v1.5.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) [Compare Source](https://github.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://github.com/sheremet-va) in [vitest-dev/vitest#5608 [<samp>(48fba)</samp>](https://github.com/vitest-dev/vitest/commit/48fba190) - Backport jest iterable equality within object - by [@​sukovanej](https://github.com/sukovanej) in [vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](https://github.com/vitest-dev/vitest/commit/30e5dc1b) - **browser**: Support benchmark - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5622 [<samp>(becab)</samp>](https://github.com/vitest-dev/vitest/commit/becabb5e) - **reporter**: Use default error formatter for JUnit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5629 [<samp>(20060)</samp>](https://github.com/vitest-dev/vitest/commit/200609cc) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) ### [`v1.5.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](https://github.com/vitest-dev/vitest/commit/ce368457) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) </details> --- ### 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/nuxt-modules/storybook). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`14.18.32` -> `14.18.63`](https://renovatebot.com/diffs/npm/@types%2fnode/14.18.32/14.18.63) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/14.18.63?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/14.18.63?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/14.18.32/14.18.63?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/14.18.32/14.18.63?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [np](https://github.com/sindresorhus/np) | [`10.0.0` -> `10.0.5`](https://renovatebot.com/diffs/npm/np/10.0.0/10.0.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/np/10.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/np/10.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/np/10.0.0/10.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/np/10.0.0/10.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.4.0` -> `1.6.0`](https://renovatebot.com/diffs/npm/vitest/1.4.0/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.4.0/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.4.0/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sindresorhus/np (np)</summary> ### [`v10.0.5`](https://github.com/sindresorhus/np/releases/tag/v10.0.5) [Compare Source](https://github.com/sindresorhus/np/compare/v10.0.4...v10.0.5) - Fix npm 10 compatibility for real ([#​744](https://github.com/sindresorhus/np/issues/744)) [`34409be`](https://github.com/sindresorhus/np/commit/34409be) ### [`v10.0.4`](https://github.com/sindresorhus/np/releases/tag/v10.0.4) [Compare Source](https://github.com/sindresorhus/np/compare/v10.0.3...v10.0.4) - Fix compatibility with npm 10 ([#​743](https://github.com/sindresorhus/np/issues/743)) [`4caa295`](https://github.com/sindresorhus/np/commit/4caa295) ### [`v10.0.3`](https://github.com/sindresorhus/np/releases/tag/v10.0.3) [Compare Source](https://github.com/sindresorhus/np/compare/v10.0.2...v10.0.3) - Fix publish OTP for Yarn Berry ([#​741](https://github.com/sindresorhus/np/issues/741)) [`02f60c7`](https://github.com/sindresorhus/np/commit/02f60c7) ### [`v10.0.2`](https://github.com/sindresorhus/np/releases/tag/v10.0.2) [Compare Source](https://github.com/sindresorhus/np/compare/v10.0.1...v10.0.2) - Use npm for tagging versions when pnpm is the chosen package manager ([#​739](https://github.com/sindresorhus/np/issues/739)) [`770418f`](https://github.com/sindresorhus/np/commit/770418f) ### [`v10.0.1`](https://github.com/sindresorhus/np/releases/tag/v10.0.1) [Compare Source](https://github.com/sindresorhus/np/compare/v10.0.0...v10.0.1) - Fix compatibility with npm 10 ([#​737](https://github.com/sindresorhus/np/issues/737)) [`9fdebd5`](https://github.com/sindresorhus/np/commit/9fdebd5) </details> <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5449 [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5656 [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5659 [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [vitest-dev/vitest#5652 [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5526 [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5642 [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5610 [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5592 [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5658 [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ### [`v1.5.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) [Compare Source](https://github.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://github.com/sheremet-va) in [vitest-dev/vitest#5608 [<samp>(48fba)</samp>](https://github.com/vitest-dev/vitest/commit/48fba190) - Backport jest iterable equality within object - by [@​sukovanej](https://github.com/sukovanej) in [vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](https://github.com/vitest-dev/vitest/commit/30e5dc1b) - **browser**: Support benchmark - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5622 [<samp>(becab)</samp>](https://github.com/vitest-dev/vitest/commit/becabb5e) - **reporter**: Use default error formatter for JUnit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5629 [<samp>(20060)</samp>](https://github.com/vitest-dev/vitest/commit/200609cc) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) ### [`v1.5.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](https://github.com/vitest-dev/vitest/commit/ce368457) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ### [`v1.5.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5493 [<samp>(780b1)</samp>](https://github.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://github.com/surc54) in [vitest-dev/vitest#5544 [<samp>(413ec)</samp>](https://github.com/vitest-dev/vitest/commit/413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5561 [<samp>(9c649)</samp>](https://github.com/vitest-dev/vitest/commit/9c64967f) - Resolve cwd correctly when initiating projects - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](https://github.com/vitest-dev/vitest/commit/ec9d7c93) - Always run `onTestFinished` in reverse order - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5598 [<samp>(23f29)</samp>](https://github.com/vitest-dev/vitest/commit/23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](https://github.com/vitest-dev/vitest/commit/5c69f3f5) - Dispose tester iframe on done - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5595 [<samp>(b2135)</samp>](https://github.com/vitest-dev/vitest/commit/b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](https://github.com/vitest-dev/vitest/commit/df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](https://github.com/vitest-dev/vitest/commit/ea3c16e4) - `thresholds` to compare files relative to root - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5574 [<samp>(80265)</samp>](https://github.com/vitest-dev/vitest/commit/80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5535 [<samp>(9e641)</samp>](https://github.com/vitest-dev/vitest/commit/9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5578 [<samp>(316eb)</samp>](https://github.com/vitest-dev/vitest/commit/316eb739) - Watch the output directory correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](https://github.com/vitest-dev/vitest/commit/e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5590 [<samp>(4da88)</samp>](https://github.com/vitest-dev/vitest/commit/4da88045) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mmkal/expect-type). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@mheob/commitlint-config](https://github.com/mheob/config/tree/main/packages/commitlint-config) ([source](https://github.com/mheob/config)) | [`1.1.1` -> `1.1.2`](https://renovatebot.com/diffs/npm/@mheob%2fcommitlint-config/1.1.1/1.1.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mheob%2fcommitlint-config/1.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mheob%2fcommitlint-config/1.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mheob%2fcommitlint-config/1.1.1/1.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mheob%2fcommitlint-config/1.1.1/1.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@mheob/prettier-config](https://github.com/mheob/config/tree/main/packages/prettier-config) ([source](https://github.com/mheob/config)) | [`3.2.0` -> `3.3.1`](https://renovatebot.com/diffs/npm/@mheob%2fprettier-config/3.2.0/3.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mheob%2fprettier-config/3.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mheob%2fprettier-config/3.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mheob%2fprettier-config/3.2.0/3.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mheob%2fprettier-config/3.2.0/3.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@mheob/tsconfig](https://github.com/mheob/config/tree/main/packages/tsconfig) ([source](https://github.com/mheob/config)) | [`2.0.0` -> `2.1.0`](https://renovatebot.com/diffs/npm/@mheob%2ftsconfig/2.0.0/2.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mheob%2ftsconfig/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mheob%2ftsconfig/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mheob%2ftsconfig/2.0.0/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mheob%2ftsconfig/2.0.0/2.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.12.8` -> `20.14.9`](https://renovatebot.com/diffs/npm/@types%2fnode/20.12.8/20.14.9) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.14.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.14.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.12.8/20.14.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.12.8/20.14.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.5.3` -> `1.6.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.5.3/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [cz-git](https://cz-git.qbb.sh) ([source](https://github.com/Zhengqbbb/cz-git/tree/HEAD/packages/cz-git)) | [`1.9.1` -> `1.9.3`](https://renovatebot.com/diffs/npm/cz-git/1.9.1/1.9.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/cz-git/1.9.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cz-git/1.9.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cz-git/1.9.1/1.9.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cz-git/1.9.1/1.9.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [lint-staged](https://github.com/okonet/lint-staged) | [`15.2.2` -> `15.2.7`](https://renovatebot.com/diffs/npm/lint-staged/15.2.2/15.2.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/lint-staged/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lint-staged/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lint-staged/15.2.2/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lint-staged/15.2.2/15.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [prettier](https://prettier.io) ([source](https://github.com/prettier/prettier)) | [`3.2.5` -> `3.3.2`](https://renovatebot.com/diffs/npm/prettier/3.2.5/3.3.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.2.5/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.2.5/3.3.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [rimraf](https://github.com/isaacs/rimraf) | [`5.0.5` -> `5.0.7`](https://renovatebot.com/diffs/npm/rimraf/5.0.5/5.0.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/rimraf/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/rimraf/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/rimraf/5.0.5/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/rimraf/5.0.5/5.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://github.com/Microsoft/TypeScript)) | [`5.4.5` -> `5.5.2`](https://renovatebot.com/diffs/npm/typescript/5.4.5/5.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.4.5/5.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.4.5/5.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.5.3` -> `1.6.0`](https://renovatebot.com/diffs/npm/vitest/1.5.3/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.5.3/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mheob/config (@​mheob/commitlint-config)</summary> ### [`v1.1.2`](https://github.com/mheob/config/releases/tag/%40mheob/commitlint-config%401.1.2) [Compare Source](https://github.com/mheob/config/compare/@mheob/commitlint-config@1.1.1...@mheob/commitlint-config@1.1.2) ##### Patch Changes - [#​182](https://github.com/mheob/config/pull/182) ([@​mheob](https://github.com/mheob)): Improve `README.md` file and add spell checker. </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5449 [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5656 [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5659 [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [vitest-dev/vitest#5652 [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5526 [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5642 [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5610 [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5592 [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5658 [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) </details> <details> <summary>Zhengqbbb/cz-git (cz-git)</summary> ### [`v1.9.3`](https://github.com/Zhengqbbb/cz-git/blob/HEAD/packages/cz-git/CHANGELOG.md#193-2024-06-11) [Compare Source](https://github.com/Zhengqbbb/cz-git/compare/v1.9.2...v1.9.3) ##### Bug Fixes - **cli:** czg export type can not be used ([#​175](https://github.com/Zhengqbbb/cz-git/issues/175)) ([4fe94cf](https://github.com/Zhengqbbb/cz-git/commit/4fe94cf149b0800a37af5b1f94a6bfff1580e89f)) ### [`v1.9.2`](https://github.com/Zhengqbbb/cz-git/blob/HEAD/packages/cz-git/CHANGELOG.md#192-2024-05-26) [Compare Source](https://github.com/Zhengqbbb/cz-git/compare/v1.9.1...v1.9.2) ##### Bug Fixes - **cz-git:** incorrect maxSubjectLength on custom scope ([#​173](https://github.com/Zhengqbbb/cz-git/issues/173)) ([baa58ae](https://github.com/Zhengqbbb/cz-git/commit/baa58ae2d1853c8a486937d896b805e0a7e8747c)) </details> <details> <summary>okonet/lint-staged (lint-staged)</summary> ### [`v15.2.7`](https://github.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1527) [Compare Source](https://github.com/okonet/lint-staged/compare/v15.2.6...v15.2.7) ##### Patch Changes - [#​1440](https://github.com/lint-staged/lint-staged/pull/1440) [`a51be80`](https://github.com/lint-staged/lint-staged/commit/a51be804b63307ac7af3c82f4cb2d43dbe92daac) Thanks [@​iiroj](https://github.com/iiroj)! - In the previous version the native `git rev-parse --show-toplevel` command was taken into use for resolving the current git repo root. This version drops the `--path-format=absolute` option to support earlier git versions since it's also the default behavior. If you are still having trouble, please try upgrading `git` to the latest version. ### [`v15.2.6`](https://github.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1526) [Compare Source](https://github.com/okonet/lint-staged/compare/v15.2.5...v15.2.6) ##### Patch Changes - [#​1433](https://github.com/lint-staged/lint-staged/pull/1433) [`119adb2`](https://github.com/lint-staged/lint-staged/commit/119adb29854cabddbfcf0469d7c8a0126184a5d4) Thanks [@​iiroj](https://github.com/iiroj)! - Use native "git rev-parse" commands to determine git repo root directory and the .git config directory, instead of using custom logic. This hopefully makes path resolution more robust on non-POSIX systems. ### [`v15.2.5`](https://github.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1525) [Compare Source](https://github.com/okonet/lint-staged/compare/v15.2.4...v15.2.5) ##### Patch Changes - [#​1424](https://github.com/lint-staged/lint-staged/pull/1424) [`31a1f95`](https://github.com/lint-staged/lint-staged/commit/31a1f9548ea8202bc5bd718076711f747396e3ca) Thanks [@​iiroj](https://github.com/iiroj)! - Allow approximately equivalent versions of direct dependencies by using the "~" character in the version ranges. This means a more recent patch version of a dependency is allowed if available. - [#​1423](https://github.com/lint-staged/lint-staged/pull/1423) [`91abea0`](https://github.com/lint-staged/lint-staged/commit/91abea0d298154d92113ba34bae4020704e22918) Thanks [@​iiroj](https://github.com/iiroj)! - Improve error logging when failing to read or parse a configuration file - [#​1424](https://github.com/lint-staged/lint-staged/pull/1424) [`ee43f15`](https://github.com/lint-staged/lint-staged/commit/ee43f154097753dd5448766f792387e60e0ea453) Thanks [@​iiroj](https://github.com/iiroj)! - Upgrade micromatch@4.0.7 ### [`v15.2.4`](https://github.com/okonet/lint-staged/blob/HEAD/CHANGELOG.md#1524) [Compare Source](https://github.com/okonet/lint-staged/compare/v15.2.2...v15.2.4) ##### Patch Changes - [`4f4537a`](https://github.com/lint-staged/lint-staged/commit/4f4537a75ebfba816826f6f67a325dbc7f25908a) Thanks [@​iiroj](https://github.com/iiroj)! - Fix release issue with previous version; update dependencies </details> <details> <summary>prettier/prettier (prettier)</summary> ### [`v3.3.2`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#332) [Compare Source](https://github.com/prettier/prettier/compare/3.3.1...3.3.2) [diff](https://github.com/prettier/prettier/compare/3.3.1...3.3.2) ##### Fix handlebars path expressions starts with `@` ([#​16358](https://github.com/prettier/prettier/pull/16358) by [@​Princeyadav05](https://github.com/Princeyadav05)) ```hbs {{! Input }} <div>{{@​x.y.z}}</div> {{! Prettier 3.3.1 }} <div>{{@​x}}</div> {{! Prettier 3.3.2 }} <div>{{@​x.y.z}}</div> ``` ### [`v3.3.1`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#331) [Compare Source](https://github.com/prettier/prettier/compare/3.3.0...3.3.1) [diff](https://github.com/prettier/prettier/compare/3.3.0...3.3.1) ##### Preserve empty lines in front matter ([#​16347](https://github.com/prettier/prettier/pull/16347) by [@​fisker](https://github.com/fisker)) ```markdown <!-- Input --> --- foo: - bar1 - bar2 - bar3 --- Markdown <!-- Prettier 3.3.0 --> --- foo: - bar1 - bar2 - bar3 --- Markdown <!-- Prettier 3.3.1 --> --- foo: - bar1 - bar2 - bar3 --- Markdown ``` ##### Preserve explicit language in front matter ([#​16348](https://github.com/prettier/prettier/pull/16348) by [@​fisker](https://github.com/fisker)) ```markdown <!-- Input --> ---yaml title: Hello slug: home --- <!-- Prettier 3.3.0 --> --- title: Hello slug: home --- <!-- Prettier 3.3.1 --> ---yaml title: Hello slug: home --- ``` ##### Avoid line breaks in import attributes ([#​16349](https://github.com/prettier/prettier/pull/16349) by [@​fisker](https://github.com/fisker)) ```jsx // Input import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" }; // Prettier 3.3.0 import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" }; // Prettier 3.3.1 import something from "./some-very-very-very-very-very-very-very-very-long-path.json" with { type: "json" }; ``` ### [`v3.3.0`](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#330) [Compare Source](https://github.com/prettier/prettier/compare/3.2.5...3.3.0) [diff](https://github.com/prettier/prettier/compare/3.2.5...3.3.0) 🔗 [Release Notes](https://prettier.io/blog/2024/06/01/3.3.0.html) </details> <details> <summary>isaacs/rimraf (rimraf)</summary> ### [`v5.0.7`](https://github.com/isaacs/rimraf/compare/v5.0.6...v5.0.7) [Compare Source](https://github.com/isaacs/rimraf/compare/v5.0.6...v5.0.7) ### [`v5.0.6`](https://github.com/isaacs/rimraf/compare/v5.0.5...e729f762d66a30c63bf4d3f63bcf905e1faa543b) [Compare Source](https://github.com/isaacs/rimraf/compare/v5.0.5...v5.0.6) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.5.2`](https://github.com/Microsoft/TypeScript/compare/v5.4.5...ce2e60e4ea15a65992e54a9e8877d16be9d42abb) [Compare Source](https://github.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.2) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mheob/used-pm).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`^1.0.0` -> `^2.0.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.2.2/2.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.2.2/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.2.2/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`^1.0.0` -> `^2.0.0`](https://renovatebot.com/diffs/npm/vitest/1.2.2/2.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.2.2/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.2.2/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v2.0.0`](https://github.com/vitest-dev/vitest/releases/tag/v2.0.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.6.0...v2.0.0) Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the [documentation](https://vitest.dev/guide/migration.html#migrating-to-vitest-2-0). ##### 🚨 Breaking Changes - Simplify mock function generic types and align with jest - by **[@​hi-ogawa](https://github.com/hi-ogawa)** in [https://github.com/vitest-dev/vitest/pull/4784](https://github.com/vitest-dev/vitest/pull/4784) [<samp>(a0c1d37)</samp>](https://github.com/vitest-dev/vitest/commit/a0c1d371edb35abfa0e6f53b05086a54d2ecc0a6) - Remove `--segfault-retry` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5514](https://github.com/vitest-dev/vitest/issues/5514) [<samp>(ed60e)</samp>](https://github.com/vitest-dev/vitest/commit/ed60e405e) - This flag was introduced to combat `threads` segfaults. Our current recommendation is to use the new default `forks` pool instead. - Run suite hooks in a stack - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5609](https://github.com/vitest-dev/vitest/issues/5609) [<samp>(1277d)</samp>](https://github.com/vitest-dev/vitest/commit/1277dc1e3) - This feels like a more sensible default. Especially with the new [`onTestFinished`](https://vitest.dev/api/#ontestfinished) hook. This can make your tests run a little bit slower. - Enable `coverage.ignoreEmptyLines` by default - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5543](https://github.com/vitest-dev/vitest/issues/5543) [<samp>(31994)</samp>](https://github.com/vitest-dev/vitest/commit/31994942f) - ⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See [https://github.com/vitest-dev/vitest/issues/5423](https://github.com/vitest-dev/vitest/issues/5423) for more details. - Add correct location and snapshot fields in json reporter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5434](https://github.com/vitest-dev/vitest/issues/5434) [<samp>(bcccc)</samp>](https://github.com/vitest-dev/vitest/commit/bcccce6df) - Previously, the `location` field pointed to the error location instead of the test location. Now it is aligned with jest and contains the `line` and `column` of a test function, but requires [`includeTaskLocation`](https://vitest.dev/config/#includeTaskLocation) to be enabled. - Update dependency chai to v5 - by **renovate\[bot]** and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5135](https://github.com/vitest-dev/vitest/issues/5135) [<samp>(73646)</samp>](https://github.com/vitest-dev/vitest/commit/73646b638) - Remove watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [https://github.com/vitest-dev/vitest/issues/5177](https://github.com/vitest-dev/vitest/issues/5177) [<samp>(d7371)</samp>](https://github.com/vitest-dev/vitest/commit/d7371eae3) - Change default `pool` to `'forks'` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5047](https://github.com/vitest-dev/vitest/issues/5047) [<samp>(7f8f9)</samp>](https://github.com/vitest-dev/vitest/commit/7f8f9c0c0) - This change is done for compatibility issues - This pool may be slightly slower than previous `threads` pool: https://vitest.dev/guide/improving-performance.html#pool - `--merge-reports` to support coverage - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5736](https://github.com/vitest-dev/vitest/issues/5736) [<samp>(b7438)</samp>](https://github.com/vitest-dev/vitest/commit/b7438b9be) - Add promise-based return assertions, do not auto-resolve returned promises - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5749](https://github.com/vitest-dev/vitest/issues/5749) [<samp>(5f710)</samp>](https://github.com/vitest-dev/vitest/commit/5f710182e) - ⚠️ Vitest no longer unwraps promises in `spy.mock.returns`. If the function is async or returns a promise, it will always succeed and have a `Promise` in `results`. To make migration easier, we introduced `spy.mock.settledResults` that unwraps promises and `expect().toHaveResolved()` matcher that accepts unwrapped value. - Do not exit process if global setup has failed - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5726](https://github.com/vitest-dev/vitest/issues/5726) [<samp>(ddb09)</samp>](https://github.com/vitest-dev/vitest/commit/ddb09eb12) - Don't exit process if config failed - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5715](https://github.com/vitest-dev/vitest/issues/5715) [<samp>(f232f)</samp>](https://github.com/vitest-dev/vitest/commit/f232fdd61) - Add meta to `json` output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5802](https://github.com/vitest-dev/vitest/issues/5802) [<samp>(dd754)</samp>](https://github.com/vitest-dev/vitest/commit/dd754c103) - Rename `indexScripts` to `orchestratorScripts` in the browser config - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5842](https://github.com/vitest-dev/vitest/issues/5842) [<samp>(49f34)</samp>](https://github.com/vitest-dev/vitest/commit/49f34ec47) - Add "vitest list" API to print collected tests without running them - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6013](https://github.com/vitest-dev/vitest/issues/6013) [<samp>(583dd)</samp>](https://github.com/vitest-dev/vitest/commit/583dd8a98) - ⚠️ This changes the custom `pool` API - now requires `collectTests` method alongside `runTests`. - Remove the empty suite from the runner - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5435](https://github.com/vitest-dev/vitest/issues/5435) [<samp>(dbbbe)</samp>](https://github.com/vitest-dev/vitest/commit/dbbbe4304) - Support concurrent suites - by **[@​hi-ogawa](https://github.com/hi-ogawa)** in [https://github.com/vitest-dev/vitest/pull/5491](https://github.com/vitest-dev/vitest/pull/5491) [<samp>(222ce44)</samp>](https://github.com/vitest-dev/vitest/commit/222ce44119bd02bdf0c7546f9db653000616ccfa) ##### 🚀 Features - Pretty print diffs coming from cause - by [@​dubzzz](https://github.com/dubzzz) in [https://github.com/vitest-dev/vitest/issues/5660](https://github.com/vitest-dev/vitest/issues/5660) [<samp>(6faf8)</samp>](https://github.com/vitest-dev/vitest/commit/6faf8f84b) - Allow import statement as vi.mock path for better IDE support - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5690](https://github.com/vitest-dev/vitest/issues/5690) [<samp>(a99a1)</samp>](https://github.com/vitest-dev/vitest/commit/a99a14c1c) - Remove deprecated options - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5696](https://github.com/vitest-dev/vitest/issues/5696) [<samp>(5c308)</samp>](https://github.com/vitest-dev/vitest/commit/5c308edc6) - Add blob reporter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5663](https://github.com/vitest-dev/vitest/issues/5663) [<samp>(e2053)</samp>](https://github.com/vitest-dev/vitest/commit/e20538a36) - Add expect.poll utility - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5708](https://github.com/vitest-dev/vitest/issues/5708) [<samp>(e2e0f)</samp>](https://github.com/vitest-dev/vitest/commit/e2e0ff46a) - Add browser.ui option - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5771](https://github.com/vitest-dev/vitest/issues/5771) [<samp>(a5033)</samp>](https://github.com/vitest-dev/vitest/commit/a50330eea) - Add median to `--output-json` - by [@​Joristdh](https://github.com/Joristdh) in [https://github.com/vitest-dev/vitest/issues/5745](https://github.com/vitest-dev/vitest/issues/5745) [<samp>(0766b)</samp>](https://github.com/vitest-dev/vitest/commit/0766b7f72) - Allow augmenting config.test.env - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5784](https://github.com/vitest-dev/vitest/issues/5784) [<samp>(b2469)</samp>](https://github.com/vitest-dev/vitest/commit/b24691efd) - Implement module mocking in browser mode - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5765](https://github.com/vitest-dev/vitest/issues/5765) [<samp>(7b2f6)</samp>](https://github.com/vitest-dev/vitest/commit/7b2f64cfa) - Allow configuring expect options in the config - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5729](https://github.com/vitest-dev/vitest/issues/5729) [<samp>(fc53f)</samp>](https://github.com/vitest-dev/vitest/commit/fc53f5634) - Add an option to print console stack trace - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5720](https://github.com/vitest-dev/vitest/issues/5720) [<samp>(e4fe6)</samp>](https://github.com/vitest-dev/vitest/commit/e4fe6f51a) - Add browser frame to UI - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5808](https://github.com/vitest-dev/vitest/issues/5808) [<samp>(3796d)</samp>](https://github.com/vitest-dev/vitest/commit/3796dd7e0) - Image type add bmp - by **btea** in [https://github.com/vitest-dev/vitest/issues/5921](https://github.com/vitest-dev/vitest/issues/5921) [<samp>(98f9b)</samp>](https://github.com/vitest-dev/vitest/commit/98f9b7ab9) - Add an option to return base64 from page.screenshot - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5993](https://github.com/vitest-dev/vitest/issues/5993) [<samp>(be323)</samp>](https://github.com/vitest-dev/vitest/commit/be3231763) - Expose `parseAst`, `parseAstAsync` from vite - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(f645e)</samp>](https://github.com/vitest-dev/vitest/commit/f645e48c5) - **browser**: - Add commands to communicate betweens server and the browser - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5097](https://github.com/vitest-dev/vitest/issues/5097) [<samp>(aa431)</samp>](https://github.com/vitest-dev/vitest/commit/aa431f4db) - Do not reload the page during watch mode - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5810](https://github.com/vitest-dev/vitest/issues/5810) [<samp>(e5b9a)</samp>](https://github.com/vitest-dev/vitest/commit/e5b9a0be4) - Support changing the viewport - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5811](https://github.com/vitest-dev/vitest/issues/5811) [<samp>(71851)</samp>](https://github.com/vitest-dev/vitest/commit/718512d80) - Add browser iframe mouse interaction - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5815](https://github.com/vitest-dev/vitest/issues/5815) [<samp>(f29b9)</samp>](https://github.com/vitest-dev/vitest/commit/f29b9d408) - Support `click` event - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5777](https://github.com/vitest-dev/vitest/issues/5777) [<samp>(839c3)</samp>](https://github.com/vitest-dev/vitest/commit/839c39f06) - Rename none provider to preview, make it default - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5826](https://github.com/vitest-dev/vitest/issues/5826) [<samp>(18310)</samp>](https://github.com/vitest-dev/vitest/commit/1831008b1) - Run tests in parallel in headless mode, add `page.screenshot` method - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5853](https://github.com/vitest-dev/vitest/issues/5853) [<samp>(81c42)</samp>](https://github.com/vitest-dev/vitest/commit/81c42fc8a) - Implement several `userEvent` methods, add `fill` and `dragAndDrop` events - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5882](https://github.com/vitest-dev/vitest/issues/5882) [<samp>(4dbea)</samp>](https://github.com/vitest-dev/vitest/commit/4dbea4aed) - Introduce `expect.dom` method and bundle `jest-dom` matchers with `@vitest/browser` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5910](https://github.com/vitest-dev/vitest/issues/5910) [<samp>(3a96a)</samp>](https://github.com/vitest-dev/vitest/commit/3a96a3d0e) - Expose CDP in the browser - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5938](https://github.com/vitest-dev/vitest/issues/5938) [<samp>(bec43)</samp>](https://github.com/vitest-dev/vitest/commit/bec434cb6) - Add "init" command for browser tests - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5960](https://github.com/vitest-dev/vitest/issues/5960) [<samp>(49e97)</samp>](https://github.com/vitest-dev/vitest/commit/49e973cb9) - Add an option to take screenshots if the browser test fails - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5975](https://github.com/vitest-dev/vitest/issues/5975) [<samp>(154cb)</samp>](https://github.com/vitest-dev/vitest/commit/154cb22de) - Add `tripleClick` to interactive api - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5987](https://github.com/vitest-dev/vitest/issues/5987) [<samp>(200a4)</samp>](https://github.com/vitest-dev/vitest/commit/200a4349a) - Playwright provider doesn't allow resizing the browser viewport - by [@​userquin](https://github.com/userquin) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5984](https://github.com/vitest-dev/vitest/issues/5984) [<samp>(ff978)</samp>](https://github.com/vitest-dev/vitest/commit/ff978e58d) - **config**: - Allow percentage value for workers option - by [@​syi0808](https://github.com/syi0808) in [https://github.com/vitest-dev/vitest/issues/5982](https://github.com/vitest-dev/vitest/issues/5982) [<samp>(b1a27)</samp>](https://github.com/vitest-dev/vitest/commit/b1a27d404) - **runner**: - Implement `test.for` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5861](https://github.com/vitest-dev/vitest/issues/5861) [<samp>(c2380)</samp>](https://github.com/vitest-dev/vitest/commit/c238072fd) - **spy**: - Collect mock.contexts - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5955](https://github.com/vitest-dev/vitest/issues/5955) [<samp>(3b31a)</samp>](https://github.com/vitest-dev/vitest/commit/3b31a56d5) - **ui**: - Render tests in a tree - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5807](https://github.com/vitest-dev/vitest/issues/5807) [<samp>(7900f)</samp>](https://github.com/vitest-dev/vitest/commit/7900f9f89) - Load module graph on tab selection - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5844](https://github.com/vitest-dev/vitest/issues/5844) [<samp>(b117e)</samp>](https://github.com/vitest-dev/vitest/commit/b117e8756) - Replace navigation tree with test explorer - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5907](https://github.com/vitest-dev/vitest/issues/5907) [<samp>(45dfc)</samp>](https://github.com/vitest-dev/vitest/commit/45dfc95ae) - Add initializing explorer logic - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5941](https://github.com/vitest-dev/vitest/issues/5941) [<samp>(c31c4)</samp>](https://github.com/vitest-dev/vitest/commit/c31c41c72) - Add action to explorer item to show the test/suite line in the source code tab - by [@​userquin](https://github.com/userquin) and **Anjorin Damilare** in [https://github.com/vitest-dev/vitest/issues/5948](https://github.com/vitest-dev/vitest/issues/5948) [<samp>(7ec29)</samp>](https://github.com/vitest-dev/vitest/commit/7ec298eb3) - **ws-client**: - Allow change reactive for state, filesMap and idMap - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5906](https://github.com/vitest-dev/vitest/issues/5906) [<samp>(e6020)</samp>](https://github.com/vitest-dev/vitest/commit/e6020b9c2) ##### 🐞 Bug Fixes - Print console statements in vmThreads - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5678](https://github.com/vitest-dev/vitest/issues/5678) [<samp>(34a80)</samp>](https://github.com/vitest-dev/vitest/commit/34a80b392) - Repeatable `--exclude` option - by [@​fregante](https://github.com/fregante) in [https://github.com/vitest-dev/vitest/issues/5782](https://github.com/vitest-dev/vitest/issues/5782) [<samp>(d6700)</samp>](https://github.com/vitest-dev/vitest/commit/d6700bbd8) - Remove browser.fileParallelism - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5790](https://github.com/vitest-dev/vitest/issues/5790) [<samp>(b881e)</samp>](https://github.com/vitest-dev/vitest/commit/b881e88b2) - Install UI icons - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(b84f1)</samp>](https://github.com/vitest-dev/vitest/commit/b84f1721d) - Remove process.exit if workspace project failed to be created - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5804](https://github.com/vitest-dev/vitest/issues/5804) [<samp>(a820e)</samp>](https://github.com/vitest-dev/vitest/commit/a820e7ac6) - Vi.waitFor/vi.waitUntil interval is now cleared after it times out - by [@​pedro00dk](https://github.com/pedro00dk) in [https://github.com/vitest-dev/vitest/issues/5875](https://github.com/vitest-dev/vitest/issues/5875) [<samp>(04107)</samp>](https://github.com/vitest-dev/vitest/commit/041076e7c) - ToJSON recursive error serialization - by [@​eddienubes](https://github.com/eddienubes) in [https://github.com/vitest-dev/vitest/issues/5848](https://github.com/vitest-dev/vitest/issues/5848) and [https://github.com/vitest-dev/vitest/issues/5884](https://github.com/vitest-dev/vitest/issues/5884) [<samp>(8d55d)</samp>](https://github.com/vitest-dev/vitest/commit/8d55d6bd4) - Print error properties only in verbose reporter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5917](https://github.com/vitest-dev/vitest/issues/5917) [<samp>(2bd8d)</samp>](https://github.com/vitest-dev/vitest/commit/2bd8d9d6f) - Use TTY reporter when running in Deno - by [@​marvinhagemeister](https://github.com/marvinhagemeister) in [https://github.com/vitest-dev/vitest/issues/5972](https://github.com/vitest-dev/vitest/issues/5972) [<samp>(e0f45)</samp>](https://github.com/vitest-dev/vitest/commit/e0f45cb57) - Don't override uppercase - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(caef4)</samp>](https://github.com/vitest-dev/vitest/commit/caef40a0b) - Clear screen and scrollback on iTerm2 - by [@​kxalex](https://github.com/kxalex) in [https://github.com/vitest-dev/vitest/issues/5978](https://github.com/vitest-dev/vitest/issues/5978) [<samp>(d7f23)</samp>](https://github.com/vitest-dev/vitest/commit/d7f23d08c) - Include pretty-format in [@​vitest/runner](https://github.com/vitest/runner) for optimization on npm - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(42bd4)</samp>](https://github.com/vitest-dev/vitest/commit/42bd4a259) - Transpile esnext to node18 to support newest JS and TS features - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4409](https://github.com/vitest-dev/vitest/issues/4409) [<samp>(8f65a)</samp>](https://github.com/vitest-dev/vitest/commit/8f65ae906) - **api**: - Correct `project.provide` type - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5959](https://github.com/vitest-dev/vitest/issues/5959) [<samp>(0eda9)</samp>](https://github.com/vitest-dev/vitest/commit/0eda99de9) - Don't call process.exit manually - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5926](https://github.com/vitest-dev/vitest/issues/5926) [<samp>(e9b63)</samp>](https://github.com/vitest-dev/vitest/commit/e9b638d40) - **browser**: - Display UI - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(d41e4)</samp>](https://github.com/vitest-dev/vitest/commit/d41e46a81) - Browser actions icons colors - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5816](https://github.com/vitest-dev/vitest/issues/5816) [<samp>(f9d9b)</samp>](https://github.com/vitest-dev/vitest/commit/f9d9b3bef) - Restore the original viewport when unselecting the preset viewport - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5821](https://github.com/vitest-dev/vitest/issues/5821) [<samp>(5ebb3)</samp>](https://github.com/vitest-dev/vitest/commit/5ebb3abf5) - Don't get stuck after the manual page refresh - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(2220b)</samp>](https://github.com/vitest-dev/vitest/commit/2220bb3fe) - Use iframe id instead of calculating it from filenames - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5823](https://github.com/vitest-dev/vitest/issues/5823) [<samp>(34a31)</samp>](https://github.com/vitest-dev/vitest/commit/34a310da1) - Always clean up iframes on rerun - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5827](https://github.com/vitest-dev/vitest/issues/5827) [<samp>(087fa)</samp>](https://github.com/vitest-dev/vitest/commit/087fa87c3) - Support [@​testing-library/vue](https://github.com/testing-library/vue) in browser mode out of the box - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(76b82)</samp>](https://github.com/vitest-dev/vitest/commit/76b82e5b9) - Print correct transformed module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5833](https://github.com/vitest-dev/vitest/issues/5833) [<samp>(a7581)</samp>](https://github.com/vitest-dev/vitest/commit/a75815756) - Use `preview` provider when running in StackBlitz - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5836](https://github.com/vitest-dev/vitest/issues/5836) [<samp>(76e13)</samp>](https://github.com/vitest-dev/vitest/commit/76e13587c) - Specify entries for correct deps optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5839](https://github.com/vitest-dev/vitest/issues/5839) [<samp>(c79b3)</samp>](https://github.com/vitest-dev/vitest/commit/c79b3f1f9) - Allow iframe to load even if there is a custom CSP header - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5841](https://github.com/vitest-dev/vitest/issues/5841) [<samp>(caaaf)</samp>](https://github.com/vitest-dev/vitest/commit/caaafd903) - Don't optimize Vitest dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5843](https://github.com/vitest-dev/vitest/issues/5843) [<samp>(f15b4)</samp>](https://github.com/vitest-dev/vitest/commit/f15b4e99d) - Set server.open to false and move error handling after init - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5845](https://github.com/vitest-dev/vitest/issues/5845) [<samp>(47003)</samp>](https://github.com/vitest-dev/vitest/commit/470036794) - Show correct prepare time - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5852](https://github.com/vitest-dev/vitest/issues/5852) [<samp>(52d54)</samp>](https://github.com/vitest-dev/vitest/commit/52d545bf9) - Resolve `coverage.reporter` from string values - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5920](https://github.com/vitest-dev/vitest/issues/5920) [<samp>(f33da)</samp>](https://github.com/vitest-dev/vitest/commit/f33dabbef) - Correctly update inline snapshot if changed - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5925](https://github.com/vitest-dev/vitest/issues/5925) [<samp>(2380c)</samp>](https://github.com/vitest-dev/vitest/commit/2380cb95e) - Remove "util" warning - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5935](https://github.com/vitest-dev/vitest/issues/5935) [<samp>(48f28)</samp>](https://github.com/vitest-dev/vitest/commit/48f28f731) - Remove hacky retry - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5971](https://github.com/vitest-dev/vitest/issues/5971) [<samp>(2a2c9)</samp>](https://github.com/vitest-dev/vitest/commit/2a2c9085a) - Make userEvent more stable when running in parallel - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5974](https://github.com/vitest-dev/vitest/issues/5974) [<samp>(14a21)</samp>](https://github.com/vitest-dev/vitest/commit/14a217d53) - Print screenshot path alongside the test error message - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5992](https://github.com/vitest-dev/vitest/issues/5992) [<samp>(15289)</samp>](https://github.com/vitest-dev/vitest/commit/152891b3d) - Print correct stack trace in source files - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6003](https://github.com/vitest-dev/vitest/issues/6003) [<samp>(62aa7)</samp>](https://github.com/vitest-dev/vitest/commit/62aa72081) - Correctly mock optimized cjs dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6035](https://github.com/vitest-dev/vitest/issues/6035) [<samp>(057b4)</samp>](https://github.com/vitest-dev/vitest/commit/057b4f34b) - Support shadow root and svg elements - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6036](https://github.com/vitest-dev/vitest/issues/6036) [<samp>(2e3c8)</samp>](https://github.com/vitest-dev/vitest/commit/2e3c872ae) - **coverage**: - Clean up empty coverage reports directory - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5731](https://github.com/vitest-dev/vitest/issues/5731) [<samp>(c469c)</samp>](https://github.com/vitest-dev/vitest/commit/c469c74d7) - `thresholds.autoUpdate` to support `mergeConfig` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5818](https://github.com/vitest-dev/vitest/issues/5818) [<samp>(7afb3)</samp>](https://github.com/vitest-dev/vitest/commit/7afb3682f) - Pass thresholds errors to `stderr` of `startVitest()` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5954](https://github.com/vitest-dev/vitest/issues/5954) [<samp>(70805)</samp>](https://github.com/vitest-dev/vitest/commit/708051319) - Exclude bench files from coverage - by [@​kouak](https://github.com/kouak) in [https://github.com/vitest-dev/vitest/issues/5983](https://github.com/vitest-dev/vitest/issues/5983) [<samp>(429e1)</samp>](https://github.com/vitest-dev/vitest/commit/429e1a7f8) - Vite to ignore dynamic import of provider - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5998](https://github.com/vitest-dev/vitest/issues/5998) [<samp>(6d884)</samp>](https://github.com/vitest-dev/vitest/commit/6d8848e86) - Istanbul to support import attributes - by [@​Gravitonic](https://github.com/Gravitonic) in [https://github.com/vitest-dev/vitest/issues/6006](https://github.com/vitest-dev/vitest/issues/6006) [<samp>(2898a)</samp>](https://github.com/vitest-dev/vitest/commit/2898a525d) - Support overriding `exclude` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5997](https://github.com/vitest-dev/vitest/issues/5997) [<samp>(169bc)</samp>](https://github.com/vitest-dev/vitest/commit/169bc1fde) - Remove work-around for implicit `else` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6014](https://github.com/vitest-dev/vitest/issues/6014) [<samp>(368c1)</samp>](https://github.com/vitest-dev/vitest/commit/368c13728) - **deps**: - Update dependency [@​testing-library/dom](https://github.com/testing-library/dom) to v10 - by **renovate\[bot]** in [https://github.com/vitest-dev/vitest/issues/5866](https://github.com/vitest-dev/vitest/issues/5866) [<samp>(e9745)</samp>](https://github.com/vitest-dev/vitest/commit/e9745997e) - Update vulnerable `test-exclude` to v7 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5867](https://github.com/vitest-dev/vitest/issues/5867) [<samp>(0a715)</samp>](https://github.com/vitest-dev/vitest/commit/0a715946b) - **expect**: - Fix immutable.js iterable equality - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5692](https://github.com/vitest-dev/vitest/issues/5692) [<samp>(1532c)</samp>](https://github.com/vitest-dev/vitest/commit/1532c19a0) - **forks**: - Resolve `poolOptions.<name>.isolate` from `forks` options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5840](https://github.com/vitest-dev/vitest/issues/5840) [<samp>(a60a1)</samp>](https://github.com/vitest-dev/vitest/commit/a60a140ef) - **runner**: - Ensure inner suite { sequential: true } correctly overrides outer suite { concurrent: true } - by [@​pengooseDev](https://github.com/pengooseDev) in [https://github.com/vitest-dev/vitest/issues/5737](https://github.com/vitest-dev/vitest/issues/5737) [<samp>(a20e7)</samp>](https://github.com/vitest-dev/vitest/commit/a20e75b89) - Ensure test.each print -0 and -NaN properly - by [@​pengooseDev](https://github.com/pengooseDev) in [https://github.com/vitest-dev/vitest/issues/5806](https://github.com/vitest-dev/vitest/issues/5806) [<samp>(9ac8f)</samp>](https://github.com/vitest-dev/vitest/commit/9ac8ff9bd) - **snapshot**: - Fix `toMatchFileSnapshot` with empty file - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5894](https://github.com/vitest-dev/vitest/issues/5894) [<samp>(88006)</samp>](https://github.com/vitest-dev/vitest/commit/8800601d2) - **spy**: - Correctly track constructor's "this" type - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(4776e)</samp>](https://github.com/vitest-dev/vitest/commit/4776eca1d) - **types**: - Mark pool options as not available in project config - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5934](https://github.com/vitest-dev/vitest/issues/5934) [<samp>(486fd)</samp>](https://github.com/vitest-dev/vitest/commit/486fd1169) - **ui**: - Show correct module graph and project name in a Vitest workspace - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5792](https://github.com/vitest-dev/vitest/issues/5792) [<samp>(48c50)</samp>](https://github.com/vitest-dev/vitest/commit/48c502fbe) - Update running todo tests inside todo suites (each) - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5939](https://github.com/vitest-dev/vitest/issues/5939) [<samp>(63ae1)</samp>](https://github.com/vitest-dev/vitest/commit/63ae10bd9) - `FileDetails` title status icon not being updated - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5942](https://github.com/vitest-dev/vitest/issues/5942) [<samp>(e9ddf)</samp>](https://github.com/vitest-dev/vitest/commit/e9ddf9ce2) - **ui, browser**: - Disable mouse events when resizing main navigation panel - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5863](https://github.com/vitest-dev/vitest/issues/5863) [<samp>(7cbd9)</samp>](https://github.com/vitest-dev/vitest/commit/7cbd943c7) - **utils**: - Produce valid snapshot names - by [@​dubzzz](https://github.com/dubzzz) in [https://github.com/vitest-dev/vitest/issues/5724](https://github.com/vitest-dev/vitest/issues/5724) [<samp>(1ec61)</samp>](https://github.com/vitest-dev/vitest/commit/1ec61ceee) - Fix color util maximum call stack error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5733](https://github.com/vitest-dev/vitest/issues/5733) [<samp>(a4ec5)</samp>](https://github.com/vitest-dev/vitest/commit/a4ec58319) - Package exports - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5847](https://github.com/vitest-dev/vitest/issues/5847) [<samp>(07876)</samp>](https://github.com/vitest-dev/vitest/commit/07876b7e0) - **vite-node**: - Expose all envs from .env file, not just with a prefix `VITE_` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6017](https://github.com/vitest-dev/vitest/issues/6017) [<samp>(d87be)</samp>](https://github.com/vitest-dev/vitest/commit/d87bef961) - **vitest**: - Expose `provide` to the public API - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5897](https://github.com/vitest-dev/vitest/issues/5897) [<samp>(66e64)</samp>](https://github.com/vitest-dev/vitest/commit/66e648ff8) - Cache fs code only for forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5909](https://github.com/vitest-dev/vitest/issues/5909) [<samp>(e30d9)</samp>](https://github.com/vitest-dev/vitest/commit/e30d9b4d5) - Allow testing unandled rejection/exception - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6016](https://github.com/vitest-dev/vitest/issues/6016) [<samp>(c8d56)</samp>](https://github.com/vitest-dev/vitest/commit/c8d56fe5f) - Show all failed tests when rerunning a test - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6022](https://github.com/vitest-dev/vitest/issues/6022) [<samp>(91ba6)</samp>](https://github.com/vitest-dev/vitest/commit/91ba6f95e) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/6b29f3ddc86060cf3265959d4ae32e90b186cb92...v2.0.0) ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5565](https://github.com/vitest-dev/vitest/issues/5565) [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5449](https://github.com/vitest-dev/vitest/issues/5449) [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5398](https://github.com/vitest-dev/vitest/issues/5398) [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5656](https://github.com/vitest-dev/vitest/issues/5656) [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5659](https://github.com/vitest-dev/vitest/issues/5659) [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/5652](https://github.com/vitest-dev/vitest/issues/5652) [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5640](https://github.com/vitest-dev/vitest/issues/5640) [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5646](https://github.com/vitest-dev/vitest/issues/5646) [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5654](https://github.com/vitest-dev/vitest/issues/5654) [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5526](https://github.com/vitest-dev/vitest/issues/5526) [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [https://github.com/vitest-dev/vitest/issues/5634](https://github.com/vitest-dev/vitest/issues/5634) [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5642](https://github.com/vitest-dev/vitest/issues/5642) [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5610](https://github.com/vitest-dev/vitest/issues/5610) [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5592](https://github.com/vitest-dev/vitest/issues/5592) [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5658](https://github.com/vitest-dev/vitest/issues/5658) [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ### [`v1.5.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) [Compare Source](https://github.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://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5608](https://github.com/vitest-dev/vitest/issues/5608) [<samp>(48fba)</samp>](https://github.com/vitest-dev/vitest/commit/48fba190) - Backport jest iterable equality within object - by [@​sukovanej](https://github.com/sukovanej) in [https://github.com/vitest-dev/vitest/issues/5621](https://github.com/vitest-dev/vitest/issues/5621) [<samp>(30e5d)</samp>](https://github.com/vitest-dev/vitest/commit/30e5dc1b) - **browser**: Support benchmark - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5622](https://github.com/vitest-dev/vitest/issues/5622) [<samp>(becab)</samp>](https://github.com/vitest-dev/vitest/commit/becabb5e) - **reporter**: Use default error formatter for JUnit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5629](https://github.com/vitest-dev/vitest/issues/5629) [<samp>(20060)</samp>](https://github.com/vitest-dev/vitest/commit/200609cc) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) ### [`v1.5.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](https://github.com/vitest-dev/vitest/commit/ce368457) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ### [`v1.5.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5493](https://github.com/vitest-dev/vitest/issues/5493) [<samp>(780b1)</samp>](https://github.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://github.com/surc54) in [https://github.com/vitest-dev/vitest/issues/5544](https://github.com/vitest-dev/vitest/issues/5544) [<samp>(413ec)</samp>](https://github.com/vitest-dev/vitest/commit/413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5561](https://github.com/vitest-dev/vitest/issues/5561) [<samp>(9c649)</samp>](https://github.com/vitest-dev/vitest/commit/9c64967f) - Resolve cwd correctly when initiating projects - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5582](https://github.com/vitest-dev/vitest/issues/5582) [<samp>(ec9d7)</samp>](https://github.com/vitest-dev/vitest/commit/ec9d7c93) - Always run `onTestFinished` in reverse order - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5598](https://github.com/vitest-dev/vitest/issues/5598) [<samp>(23f29)</samp>](https://github.com/vitest-dev/vitest/commit/23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5528](https://github.com/vitest-dev/vitest/issues/5528) [<samp>(5c69f)</samp>](https://github.com/vitest-dev/vitest/commit/5c69f3f5) - Dispose tester iframe on done - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5595](https://github.com/vitest-dev/vitest/issues/5595) [<samp>(b2135)</samp>](https://github.com/vitest-dev/vitest/commit/b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5549](https://github.com/vitest-dev/vitest/issues/5549) [<samp>(df6a4)</samp>](https://github.com/vitest-dev/vitest/commit/df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5540](https://github.com/vitest-dev/vitest/issues/5540) [<samp>(ea3c1)</samp>](https://github.com/vitest-dev/vitest/commit/ea3c16e4) - `thresholds` to compare files relative to root - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5574](https://github.com/vitest-dev/vitest/issues/5574) [<samp>(80265)</samp>](https://github.com/vitest-dev/vitest/commit/80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5535](https://github.com/vitest-dev/vitest/issues/5535) [<samp>(9e641)</samp>](https://github.com/vitest-dev/vitest/commit/9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5578](https://github.com/vitest-dev/vitest/issues/5578) [<samp>(316eb)</samp>](https://github.com/vitest-dev/vitest/commit/316eb739) - Watch the output directory correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5584](https://github.com/vitest-dev/vitest/issues/5584) [<samp>(e40f9)</samp>](https://github.com/vitest-dev/vitest/commit/e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5590](https://github.com/vitest-dev/vitest/issues/5590) [<samp>(4da88)</samp>](https://github.com/vitest-dev/vitest/commit/4da88045) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) ### [`v1.4.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://github.com/vitest-dev/vitest/issues/5294) [<samp>(b9d37)</samp>](https://github.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://github.com/vitest-dev/vitest/issues/5342) [<samp>(d627e)</samp>](https://github.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://github.com/vitest-dev/vitest/issues/5295) [<samp>(201bd)</samp>](https://github.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://github.com/vitest-dev/vitest/issues/5281) [<samp>(356db)</samp>](https://github.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://github.com/vitest-dev/vitest/issues/5229) [<samp>(d7e8b)</samp>](https://github.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://github.com/vitest-dev/vitest/issues/5314) [<samp>(600b4)</samp>](https://github.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://github.com/vitest-dev/vitest/issues/5241) [<samp>(e1735)</samp>](https://github.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://github.com/vitest-dev/vitest/issues/5265) [<samp>(d1a06)</samp>](https://github.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://github.com/vitest-dev/vitest/issues/5355) [<samp>(e77c5)</samp>](https://github.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](https://github.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://github.com/saitonakamura) and [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://github.com/vitest-dev/vitest/issues/5289) [<samp>(2fef5)</samp>](https://github.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://github.com/vitest-dev/vitest/issues/5278) [<samp>(8f04e)</samp>](https://github.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://github.com/vitest-dev/vitest/issues/5259) [<samp>(d68a7)</samp>](https://github.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://github.com/vitest-dev/vitest/issues/5328) [<samp>(c3eb8)</samp>](https://github.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://github.com/vitest-dev/vitest/issues/5367) [<samp>(6eda4)</samp>](https://github.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://github.com/vitest-dev/vitest/issues/5376) [<samp>(07ec3)</samp>](https://github.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://github.com/vitest-dev/vitest/issues/5267) [<samp>(8ee59)</samp>](https://github.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://github.com/vitest-dev/vitest/issues/5284) [<samp>(5b58b)</samp>](https://github.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://github.com/vitest-dev/vitest/issues/5384) [<samp>(bdc37)</samp>](https://github.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://github.com/vitest-dev/vitest/issues/5325) [<samp>(ab60b)</samp>](https://github.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://github.com/vitest-dev/vitest/issues/5337) [<samp>(6d1b1)</samp>](https://github.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://github.com/vitest-dev/vitest/issues/5292) [<samp>(0bea2)</samp>](https://github.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](https://github.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://github.com/vitest-dev/vitest/issues/5386) [<samp>(51d1d)</samp>](https://github.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://github.com/vitest-dev/vitest/issues/5288 </details> --- ### 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/probot/smee-client). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbIlR5cGU6IE1haW50ZW5hbmNlIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | devDependencies | major | [`^1.2.0` -> `^2.0.0`](https://renovatebot.com/diffs/npm/vitest/1.5.0/2.0.1) | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v2.0.1`](https://github.com/vitest-dev/vitest/releases/tag/v2.0.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v2.0.0...v2.0.1) ##### 🐞 Bug Fixes - **browser**: Correctly inherit browser config in a workspace - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6054](https://github.com/vitest-dev/vitest/issues/6054) [<samp>(4b03e)</samp>](https://github.com/vitest-dev/vitest/commit/4b03e72b) - **ui**: Move virtual scroller to dev dependencies - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6053](https://github.com/vitest-dev/vitest/issues/6053) [<samp>(f94ed)</samp>](https://github.com/vitest-dev/vitest/commit/f94ede02) - **vitest**: Print only running files, not every file - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6052](https://github.com/vitest-dev/vitest/issues/6052) [<samp>(4d559)</samp>](https://github.com/vitest-dev/vitest/commit/4d5597df) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v2.0.0...v2.0.1) ### [`v2.0.0`](https://github.com/vitest-dev/vitest/releases/tag/v2.0.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.6.0...v2.0.0) Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the [documentation](https://vitest.dev/guide/migration.html#migrating-to-vitest-2-0). ##### 🚨 Breaking Changes - Simplify mock function generic types and align with jest - by **[@​hi-ogawa](https://github.com/hi-ogawa)** in [https://github.com/vitest-dev/vitest/pull/4784](https://github.com/vitest-dev/vitest/pull/4784) [<samp>(a0c1d37)</samp>](https://github.com/vitest-dev/vitest/commit/a0c1d371edb35abfa0e6f53b05086a54d2ecc0a6) - Remove `--segfault-retry` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5514](https://github.com/vitest-dev/vitest/issues/5514) [<samp>(ed60e)</samp>](https://github.com/vitest-dev/vitest/commit/ed60e405e) - This flag was introduced to combat `threads` segfaults. Our current recommendation is to use the new default `forks` pool instead. - Run suite hooks in a stack - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5609](https://github.com/vitest-dev/vitest/issues/5609) [<samp>(1277d)</samp>](https://github.com/vitest-dev/vitest/commit/1277dc1e3) - This feels like a more sensible default. Especially with the new [`onTestFinished`](https://vitest.dev/api/#ontestfinished) hook. This can make your tests run a little bit slower. - Enable `coverage.ignoreEmptyLines` by default - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5543](https://github.com/vitest-dev/vitest/issues/5543) [<samp>(31994)</samp>](https://github.com/vitest-dev/vitest/commit/31994942f) - ⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See [https://github.com/vitest-dev/vitest/issues/5423](https://github.com/vitest-dev/vitest/issues/5423) for more details. - Add correct location and snapshot fields in json reporter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5434](https://github.com/vitest-dev/vitest/issues/5434) [<samp>(bcccc)</samp>](https://github.com/vitest-dev/vitest/commit/bcccce6df) - Previously, the `location` field pointed to the error location instead of the test location. Now it is aligned with jest and contains the `line` and `column` of a test function, but requires [`includeTaskLocation`](https://vitest.dev/config/#includeTaskLocation) to be enabled. - Update dependency chai to v5 - by **renovate\[bot]** and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5135](https://github.com/vitest-dev/vitest/issues/5135) [<samp>(73646)</samp>](https://github.com/vitest-dev/vitest/commit/73646b638) - Remove watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [https://github.com/vitest-dev/vitest/issues/5177](https://github.com/vitest-dev/vitest/issues/5177) [<samp>(d7371)</samp>](https://github.com/vitest-dev/vitest/commit/d7371eae3) - Change default `pool` to `'forks'` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5047](https://github.com/vitest-dev/vitest/issues/5047) [<samp>(7f8f9)</samp>](https://github.com/vitest-dev/vitest/commit/7f8f9c0c0) - This change is done for compatibility issues - This pool may be slightly slower than previous `threads` pool: https://vitest.dev/guide/improving-performance.html#pool - `--merge-reports` to support coverage - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5736](https://github.com/vitest-dev/vitest/issues/5736) [<samp>(b7438)</samp>](https://github.com/vitest-dev/vitest/commit/b7438b9be) - Add promise-based return assertions, do not auto-resolve returned promises - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5749](https://github.com/vitest-dev/vitest/issues/5749) [<samp>(5f710)</samp>](https://github.com/vitest-dev/vitest/commit/5f710182e) - ⚠️ Vitest no longer unwraps promises in `spy.mock.returns`. If the function is async or returns a promise, it will always succeed and have a `Promise` in `results`. To make migration easier, we introduced `spy.mock.settledResults` that unwraps promises and `expect().toHaveResolved()` matcher that accepts unwrapped value. - Do not exit process if global setup has failed - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5726](https://github.com/vitest-dev/vitest/issues/5726) [<samp>(ddb09)</samp>](https://github.com/vitest-dev/vitest/commit/ddb09eb12) - Don't exit process if config failed - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5715](https://github.com/vitest-dev/vitest/issues/5715) [<samp>(f232f)</samp>](https://github.com/vitest-dev/vitest/commit/f232fdd61) - Add meta to `json` output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5802](https://github.com/vitest-dev/vitest/issues/5802) [<samp>(dd754)</samp>](https://github.com/vitest-dev/vitest/commit/dd754c103) - Rename `indexScripts` to `orchestratorScripts` in the browser config - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5842](https://github.com/vitest-dev/vitest/issues/5842) [<samp>(49f34)</samp>](https://github.com/vitest-dev/vitest/commit/49f34ec47) - Add "vitest list" API to print collected tests without running them - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6013](https://github.com/vitest-dev/vitest/issues/6013) [<samp>(583dd)</samp>](https://github.com/vitest-dev/vitest/commit/583dd8a98) - ⚠️ This changes the custom `pool` API - now requires `collectTests` method alongside `runTests`. - Remove the empty suite from the runner - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5435](https://github.com/vitest-dev/vitest/issues/5435) [<samp>(dbbbe)</samp>](https://github.com/vitest-dev/vitest/commit/dbbbe4304) - Support concurrent suites - by **[@​hi-ogawa](https://github.com/hi-ogawa)** in [https://github.com/vitest-dev/vitest/pull/5491](https://github.com/vitest-dev/vitest/pull/5491) [<samp>(222ce44)</samp>](https://github.com/vitest-dev/vitest/commit/222ce44119bd02bdf0c7546f9db653000616ccfa) - Support overriding `exclude` in coverage - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5997](https://github.com/vitest-dev/vitest/issues/5997) [<samp>(169bc)</samp>](https://github.com/vitest-dev/vitest/commit/169bc1fde) - ⚠️ Vitest coverage no longer adds test files to `exclude` patterns if `coverage.exclude` was overridden in the config. Add your test patterns manually, or merge your overrides with default ones: `['**/my-pattern.js', ...coverageConfigDefaults.exclude]`. ##### 🚀 Features <img width="1392" alt="Running tresjs example in Vitest BrowserMode" src="https://github.com/vitest-dev/vitest/assets/16173870/3b6bc721-b194-416d-a685-cf7282ee802a"> - **browser**: - 🌐 This release lays the groundwork for the next iteration of Vitest Browser Mode. You can read more about our future plans at [https://github.com/vitest-dev/vitest/discussions/5828](https://github.com/vitest-dev/vitest/discussions/5828) - Add commands to communicate betweens server and the browser - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5097](https://github.com/vitest-dev/vitest/issues/5097) [<samp>(aa431)</samp>](https://github.com/vitest-dev/vitest/commit/aa431f4db) - Do not reload the page during watch mode - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5810](https://github.com/vitest-dev/vitest/issues/5810) [<samp>(e5b9a)</samp>](https://github.com/vitest-dev/vitest/commit/e5b9a0be4) - Support changing the viewport - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5811](https://github.com/vitest-dev/vitest/issues/5811) [<samp>(71851)</samp>](https://github.com/vitest-dev/vitest/commit/718512d80) - Add browser iframe mouse interaction - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5815](https://github.com/vitest-dev/vitest/issues/5815) [<samp>(f29b9)</samp>](https://github.com/vitest-dev/vitest/commit/f29b9d408) - Support `click` event - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5777](https://github.com/vitest-dev/vitest/issues/5777) [<samp>(839c3)</samp>](https://github.com/vitest-dev/vitest/commit/839c39f06) - Rename none provider to preview, make it default - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5826](https://github.com/vitest-dev/vitest/issues/5826) [<samp>(18310)</samp>](https://github.com/vitest-dev/vitest/commit/1831008b1) - Run tests in parallel in headless mode, add `page.screenshot` method - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5853](https://github.com/vitest-dev/vitest/issues/5853) [<samp>(81c42)</samp>](https://github.com/vitest-dev/vitest/commit/81c42fc8a) - Implement several `userEvent` methods, add `fill` and `dragAndDrop` events - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5882](https://github.com/vitest-dev/vitest/issues/5882) [<samp>(4dbea)</samp>](https://github.com/vitest-dev/vitest/commit/4dbea4aed) - Introduce `expect.dom` method and bundle `jest-dom` matchers with `@vitest/browser` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5910](https://github.com/vitest-dev/vitest/issues/5910) [<samp>(3a96a)</samp>](https://github.com/vitest-dev/vitest/commit/3a96a3d0e) - Expose CDP in the browser - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5938](https://github.com/vitest-dev/vitest/issues/5938) [<samp>(bec43)</samp>](https://github.com/vitest-dev/vitest/commit/bec434cb6) - Add "init" command for browser tests - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5960](https://github.com/vitest-dev/vitest/issues/5960) [<samp>(49e97)</samp>](https://github.com/vitest-dev/vitest/commit/49e973cb9) - Add an option to take screenshots if the browser test fails - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5975](https://github.com/vitest-dev/vitest/issues/5975) [<samp>(154cb)</samp>](https://github.com/vitest-dev/vitest/commit/154cb22de) - Add `tripleClick` to interactive api - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5987](https://github.com/vitest-dev/vitest/issues/5987) [<samp>(200a4)</samp>](https://github.com/vitest-dev/vitest/commit/200a4349a) - Playwright provider doesn't allow resizing the browser viewport - by [@​userquin](https://github.com/userquin) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5984](https://github.com/vitest-dev/vitest/issues/5984) [<samp>(ff978)</samp>](https://github.com/vitest-dev/vitest/commit/ff978e58d) - Pretty print diffs coming from cause - by [@​dubzzz](https://github.com/dubzzz) in [https://github.com/vitest-dev/vitest/issues/5660](https://github.com/vitest-dev/vitest/issues/5660) [<samp>(6faf8)</samp>](https://github.com/vitest-dev/vitest/commit/6faf8f84b) - Allow import statement as vi.mock path for better IDE support - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5690](https://github.com/vitest-dev/vitest/issues/5690) [<samp>(a99a1)</samp>](https://github.com/vitest-dev/vitest/commit/a99a14c1c) - Remove deprecated options - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5696](https://github.com/vitest-dev/vitest/issues/5696) [<samp>(5c308)</samp>](https://github.com/vitest-dev/vitest/commit/5c308edc6) - Add blob reporter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5663](https://github.com/vitest-dev/vitest/issues/5663) [<samp>(e2053)</samp>](https://github.com/vitest-dev/vitest/commit/e20538a36) - Add expect.poll utility - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5708](https://github.com/vitest-dev/vitest/issues/5708) [<samp>(e2e0f)</samp>](https://github.com/vitest-dev/vitest/commit/e2e0ff46a) - Add browser.ui option - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5771](https://github.com/vitest-dev/vitest/issues/5771) [<samp>(a5033)</samp>](https://github.com/vitest-dev/vitest/commit/a50330eea) - Add median to `--output-json` - by [@​Joristdh](https://github.com/Joristdh) in [https://github.com/vitest-dev/vitest/issues/5745](https://github.com/vitest-dev/vitest/issues/5745) [<samp>(0766b)</samp>](https://github.com/vitest-dev/vitest/commit/0766b7f72) - Allow augmenting config.test.env - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5784](https://github.com/vitest-dev/vitest/issues/5784) [<samp>(b2469)</samp>](https://github.com/vitest-dev/vitest/commit/b24691efd) - Implement module mocking in browser mode - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5765](https://github.com/vitest-dev/vitest/issues/5765) [<samp>(7b2f6)</samp>](https://github.com/vitest-dev/vitest/commit/7b2f64cfa) - Allow configuring expect options in the config - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5729](https://github.com/vitest-dev/vitest/issues/5729) [<samp>(fc53f)</samp>](https://github.com/vitest-dev/vitest/commit/fc53f5634) - Add an option to print console stack trace - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5720](https://github.com/vitest-dev/vitest/issues/5720) [<samp>(e4fe6)</samp>](https://github.com/vitest-dev/vitest/commit/e4fe6f51a) - Add browser frame to UI - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5808](https://github.com/vitest-dev/vitest/issues/5808) [<samp>(3796d)</samp>](https://github.com/vitest-dev/vitest/commit/3796dd7e0) - Image type add bmp - by **btea** in [https://github.com/vitest-dev/vitest/issues/5921](https://github.com/vitest-dev/vitest/issues/5921) [<samp>(98f9b)</samp>](https://github.com/vitest-dev/vitest/commit/98f9b7ab9) - Add an option to return base64 from page.screenshot - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5993](https://github.com/vitest-dev/vitest/issues/5993) [<samp>(be323)</samp>](https://github.com/vitest-dev/vitest/commit/be3231763) - Expose `parseAst`, `parseAstAsync` from vite - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(f645e)</samp>](https://github.com/vitest-dev/vitest/commit/f645e48c5) - **config**: - Allow percentage value for workers option - by [@​syi0808](https://github.com/syi0808) in [https://github.com/vitest-dev/vitest/issues/5982](https://github.com/vitest-dev/vitest/issues/5982) [<samp>(b1a27)</samp>](https://github.com/vitest-dev/vitest/commit/b1a27d404) - **runner**: - Implement `test.for` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5861](https://github.com/vitest-dev/vitest/issues/5861) [<samp>(c2380)</samp>](https://github.com/vitest-dev/vitest/commit/c238072fd) - **spy**: - Collect mock.contexts - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5955](https://github.com/vitest-dev/vitest/issues/5955) [<samp>(3b31a)</samp>](https://github.com/vitest-dev/vitest/commit/3b31a56d5) - **ui**: - Render tests in a tree - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5807](https://github.com/vitest-dev/vitest/issues/5807) [<samp>(7900f)</samp>](https://github.com/vitest-dev/vitest/commit/7900f9f89) - Load module graph on tab selection - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5844](https://github.com/vitest-dev/vitest/issues/5844) [<samp>(b117e)</samp>](https://github.com/vitest-dev/vitest/commit/b117e8756) - Replace navigation tree with test explorer - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5907](https://github.com/vitest-dev/vitest/issues/5907) [<samp>(45dfc)</samp>](https://github.com/vitest-dev/vitest/commit/45dfc95ae) - Add initializing explorer logic - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5941](https://github.com/vitest-dev/vitest/issues/5941) [<samp>(c31c4)</samp>](https://github.com/vitest-dev/vitest/commit/c31c41c72) - Add action to explorer item to show the test/suite line in the source code tab - by [@​userquin](https://github.com/userquin) and **Anjorin Damilare** in [https://github.com/vitest-dev/vitest/issues/5948](https://github.com/vitest-dev/vitest/issues/5948) [<samp>(7ec29)</samp>](https://github.com/vitest-dev/vitest/commit/7ec298eb3) - **ws-client**: - Allow change reactive for state, filesMap and idMap - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5906](https://github.com/vitest-dev/vitest/issues/5906) [<samp>(e6020)</samp>](https://github.com/vitest-dev/vitest/commit/e6020b9c2) ##### 🐞 Bug Fixes - Print console statements in vmThreads - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5678](https://github.com/vitest-dev/vitest/issues/5678) [<samp>(34a80)</samp>](https://github.com/vitest-dev/vitest/commit/34a80b392) - Repeatable `--exclude` option - by [@​fregante](https://github.com/fregante) in [https://github.com/vitest-dev/vitest/issues/5782](https://github.com/vitest-dev/vitest/issues/5782) [<samp>(d6700)</samp>](https://github.com/vitest-dev/vitest/commit/d6700bbd8) - Remove browser.fileParallelism - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5790](https://github.com/vitest-dev/vitest/issues/5790) [<samp>(b881e)</samp>](https://github.com/vitest-dev/vitest/commit/b881e88b2) - Install UI icons - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(b84f1)</samp>](https://github.com/vitest-dev/vitest/commit/b84f1721d) - Remove process.exit if workspace project failed to be created - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5804](https://github.com/vitest-dev/vitest/issues/5804) [<samp>(a820e)</samp>](https://github.com/vitest-dev/vitest/commit/a820e7ac6) - Vi.waitFor/vi.waitUntil interval is now cleared after it times out - by [@​pedro00dk](https://github.com/pedro00dk) in [https://github.com/vitest-dev/vitest/issues/5875](https://github.com/vitest-dev/vitest/issues/5875) [<samp>(04107)</samp>](https://github.com/vitest-dev/vitest/commit/041076e7c) - ToJSON recursive error serialization - by [@​eddienubes](https://github.com/eddienubes) in [https://github.com/vitest-dev/vitest/issues/5848](https://github.com/vitest-dev/vitest/issues/5848) and [https://github.com/vitest-dev/vitest/issues/5884](https://github.com/vitest-dev/vitest/issues/5884) [<samp>(8d55d)</samp>](https://github.com/vitest-dev/vitest/commit/8d55d6bd4) - Print error properties only in verbose reporter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5917](https://github.com/vitest-dev/vitest/issues/5917) [<samp>(2bd8d)</samp>](https://github.com/vitest-dev/vitest/commit/2bd8d9d6f) - Use TTY reporter when running in Deno - by [@​marvinhagemeister](https://github.com/marvinhagemeister) in [https://github.com/vitest-dev/vitest/issues/5972](https://github.com/vitest-dev/vitest/issues/5972) [<samp>(e0f45)</samp>](https://github.com/vitest-dev/vitest/commit/e0f45cb57) - Don't override uppercase - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(caef4)</samp>](https://github.com/vitest-dev/vitest/commit/caef40a0b) - Clear screen and scrollback on iTerm2 - by [@​kxalex](https://github.com/kxalex) in [https://github.com/vitest-dev/vitest/issues/5978](https://github.com/vitest-dev/vitest/issues/5978) [<samp>(d7f23)</samp>](https://github.com/vitest-dev/vitest/commit/d7f23d08c) - Include pretty-format in [@​vitest/runner](https://github.com/vitest/runner) for optimization on npm - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(42bd4)</samp>](https://github.com/vitest-dev/vitest/commit/42bd4a259) - Transpile esnext to node18 to support newest JS and TS features - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4409](https://github.com/vitest-dev/vitest/issues/4409) [<samp>(8f65a)</samp>](https://github.com/vitest-dev/vitest/commit/8f65ae906) - **api**: - Correct `project.provide` type - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5959](https://github.com/vitest-dev/vitest/issues/5959) [<samp>(0eda9)</samp>](https://github.com/vitest-dev/vitest/commit/0eda99de9) - Don't call process.exit manually - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5926](https://github.com/vitest-dev/vitest/issues/5926) [<samp>(e9b63)</samp>](https://github.com/vitest-dev/vitest/commit/e9b638d40) - **browser**: - Display UI - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(d41e4)</samp>](https://github.com/vitest-dev/vitest/commit/d41e46a81) - Browser actions icons colors - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5816](https://github.com/vitest-dev/vitest/issues/5816) [<samp>(f9d9b)</samp>](https://github.com/vitest-dev/vitest/commit/f9d9b3bef) - Restore the original viewport when unselecting the preset viewport - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5821](https://github.com/vitest-dev/vitest/issues/5821) [<samp>(5ebb3)</samp>](https://github.com/vitest-dev/vitest/commit/5ebb3abf5) - Don't get stuck after the manual page refresh - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(2220b)</samp>](https://github.com/vitest-dev/vitest/commit/2220bb3fe) - Use iframe id instead of calculating it from filenames - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5823](https://github.com/vitest-dev/vitest/issues/5823) [<samp>(34a31)</samp>](https://github.com/vitest-dev/vitest/commit/34a310da1) - Always clean up iframes on rerun - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5827](https://github.com/vitest-dev/vitest/issues/5827) [<samp>(087fa)</samp>](https://github.com/vitest-dev/vitest/commit/087fa87c3) - Support [@​testing-library/vue](https://github.com/testing-library/vue) in browser mode out of the box - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(76b82)</samp>](https://github.com/vitest-dev/vitest/commit/76b82e5b9) - Print correct transformed module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5833](https://github.com/vitest-dev/vitest/issues/5833) [<samp>(a7581)</samp>](https://github.com/vitest-dev/vitest/commit/a75815756) - Use `preview` provider when running in StackBlitz - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5836](https://github.com/vitest-dev/vitest/issues/5836) [<samp>(76e13)</samp>](https://github.com/vitest-dev/vitest/commit/76e13587c) - Specify entries for correct deps optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5839](https://github.com/vitest-dev/vitest/issues/5839) [<samp>(c79b3)</samp>](https://github.com/vitest-dev/vitest/commit/c79b3f1f9) - Allow iframe to load even if there is a custom CSP header - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5841](https://github.com/vitest-dev/vitest/issues/5841) [<samp>(caaaf)</samp>](https://github.com/vitest-dev/vitest/commit/caaafd903) - Don't optimize Vitest dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5843](https://github.com/vitest-dev/vitest/issues/5843) [<samp>(f15b4)</samp>](https://github.com/vitest-dev/vitest/commit/f15b4e99d) - Set server.open to false and move error handling after init - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5845](https://github.com/vitest-dev/vitest/issues/5845) [<samp>(47003)</samp>](https://github.com/vitest-dev/vitest/commit/470036794) - Show correct prepare time - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5852](https://github.com/vitest-dev/vitest/issues/5852) [<samp>(52d54)</samp>](https://github.com/vitest-dev/vitest/commit/52d545bf9) - Resolve `coverage.reporter` from string values - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5920](https://github.com/vitest-dev/vitest/issues/5920) [<samp>(f33da)</samp>](https://github.com/vitest-dev/vitest/commit/f33dabbef) - Correctly update inline snapshot if changed - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5925](https://github.com/vitest-dev/vitest/issues/5925) [<samp>(2380c)</samp>](https://github.com/vitest-dev/vitest/commit/2380cb95e) - Remove "util" warning - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5935](https://github.com/vitest-dev/vitest/issues/5935) [<samp>(48f28)</samp>](https://github.com/vitest-dev/vitest/commit/48f28f731) - Remove hacky retry - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5971](https://github.com/vitest-dev/vitest/issues/5971) [<samp>(2a2c9)</samp>](https://github.com/vitest-dev/vitest/commit/2a2c9085a) - Make userEvent more stable when running in parallel - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5974](https://github.com/vitest-dev/vitest/issues/5974) [<samp>(14a21)</samp>](https://github.com/vitest-dev/vitest/commit/14a217d53) - Print screenshot path alongside the test error message - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5992](https://github.com/vitest-dev/vitest/issues/5992) [<samp>(15289)</samp>](https://github.com/vitest-dev/vitest/commit/152891b3d) - Print correct stack trace in source files - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6003](https://github.com/vitest-dev/vitest/issues/6003) [<samp>(62aa7)</samp>](https://github.com/vitest-dev/vitest/commit/62aa72081) - Correctly mock optimized cjs dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6035](https://github.com/vitest-dev/vitest/issues/6035) [<samp>(057b4)</samp>](https://github.com/vitest-dev/vitest/commit/057b4f34b) - Support shadow root and svg elements - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6036](https://github.com/vitest-dev/vitest/issues/6036) [<samp>(2e3c8)</samp>](https://github.com/vitest-dev/vitest/commit/2e3c872ae) - **coverage**: - Clean up empty coverage reports directory - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5731](https://github.com/vitest-dev/vitest/issues/5731) [<samp>(c469c)</samp>](https://github.com/vitest-dev/vitest/commit/c469c74d7) - `thresholds.autoUpdate` to support `mergeConfig` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5818](https://github.com/vitest-dev/vitest/issues/5818) [<samp>(7afb3)</samp>](https://github.com/vitest-dev/vitest/commit/7afb3682f) - Pass thresholds errors to `stderr` of `startVitest()` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5954](https://github.com/vitest-dev/vitest/issues/5954) [<samp>(70805)</samp>](https://github.com/vitest-dev/vitest/commit/708051319) - Exclude bench files from coverage - by [@​kouak](https://github.com/kouak) in [https://github.com/vitest-dev/vitest/issues/5983](https://github.com/vitest-dev/vitest/issues/5983) [<samp>(429e1)</samp>](https://github.com/vitest-dev/vitest/commit/429e1a7f8) - Vite to ignore dynamic import of provider - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5998](https://github.com/vitest-dev/vitest/issues/5998) [<samp>(6d884)</samp>](https://github.com/vitest-dev/vitest/commit/6d8848e86) - Istanbul to support import attributes - by [@​Gravitonic](https://github.com/Gravitonic) in [https://github.com/vitest-dev/vitest/issues/6006](https://github.com/vitest-dev/vitest/issues/6006) [<samp>(2898a)</samp>](https://github.com/vitest-dev/vitest/commit/2898a525d) - Remove work-around for implicit `else` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6014](https://github.com/vitest-dev/vitest/issues/6014) [<samp>(368c1)</samp>](https://github.com/vitest-dev/vitest/commit/368c13728) - **deps**: - Update dependency [@​testing-library/dom](https://github.com/testing-library/dom) to v10 - by **renovate\[bot]** in [https://github.com/vitest-dev/vitest/issues/5866](https://github.com/vitest-dev/vitest/issues/5866) [<samp>(e9745)</samp>](https://github.com/vitest-dev/vitest/commit/e9745997e) - Update vulnerable `test-exclude` to v7 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5867](https://github.com/vitest-dev/vitest/issues/5867) [<samp>(0a715)</samp>](https://github.com/vitest-dev/vitest/commit/0a715946b) - **expect**: - Fix immutable.js iterable equality - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5692](https://github.com/vitest-dev/vitest/issues/5692) [<samp>(1532c)</samp>](https://github.com/vitest-dev/vitest/commit/1532c19a0) - **forks**: - Resolve `poolOptions.<name>.isolate` from `forks` options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5840](https://github.com/vitest-dev/vitest/issues/5840) [<samp>(a60a1)</samp>](https://github.com/vitest-dev/vitest/commit/a60a140ef) - **runner**: - Ensure inner suite { sequential: true } correctly overrides outer suite { concurrent: true } - by [@​pengooseDev](https://github.com/pengooseDev) in [https://github.com/vitest-dev/vitest/issues/5737](https://github.com/vitest-dev/vitest/issues/5737) [<samp>(a20e7)</samp>](https://github.com/vitest-dev/vitest/commit/a20e75b89) - Ensure test.each print -0 and -NaN properly - by [@​pengooseDev](https://github.com/pengooseDev) in [https://github.com/vitest-dev/vitest/issues/5806](https://github.com/vitest-dev/vitest/issues/5806) [<samp>(9ac8f)</samp>](https://github.com/vitest-dev/vitest/commit/9ac8ff9bd) - **snapshot**: - Fix `toMatchFileSnapshot` with empty file - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5894](https://github.com/vitest-dev/vitest/issues/5894) [<samp>(88006)</samp>](https://github.com/vitest-dev/vitest/commit/8800601d2) - **spy**: - Correctly track constructor's "this" type - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(4776e)</samp>](https://github.com/vitest-dev/vitest/commit/4776eca1d) - **types**: - Mark pool options as not available in project config - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5934](https://github.com/vitest-dev/vitest/issues/5934) [<samp>(486fd)</samp>](https://github.com/vitest-dev/vitest/commit/486fd1169) - **ui**: - Show correct module graph and project name in a Vitest workspace - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5792](https://github.com/vitest-dev/vitest/issues/5792) [<samp>(48c50)</samp>](https://github.com/vitest-dev/vitest/commit/48c502fbe) - Update running todo tests inside todo suites (each) - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5939](https://github.com/vitest-dev/vitest/issues/5939) [<samp>(63ae1)</samp>](https://github.com/vitest-dev/vitest/commit/63ae10bd9) - `FileDetails` title status icon not being updated - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5942](https://github.com/vitest-dev/vitest/issues/5942) [<samp>(e9ddf)</samp>](https://github.com/vitest-dev/vitest/commit/e9ddf9ce2) - **ui, browser**: - Disable mouse events when resizing main navigation panel - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5863](https://github.com/vitest-dev/vitest/issues/5863) [<samp>(7cbd9)</samp>](https://github.com/vitest-dev/vitest/commit/7cbd943c7) - **utils**: - Produce valid snapshot names - by [@​dubzzz](https://github.com/dubzzz) in [https://github.com/vitest-dev/vitest/issues/5724](https://github.com/vitest-dev/vitest/issues/5724) [<samp>(1ec61)</samp>](https://github.com/vitest-dev/vitest/commit/1ec61ceee) - Fix color util maximum call stack error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5733](https://github.com/vitest-dev/vitest/issues/5733) [<samp>(a4ec5)</samp>](https://github.com/vitest-dev/vitest/commit/a4ec58319) - Package exports - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5847](https://github.com/vitest-dev/vitest/issues/5847) [<samp>(07876)</samp>](https://github.com/vitest-dev/vitest/commit/07876b7e0) - **vite-node**: - Expose all envs from .env file, not just with a prefix `VITE_` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6017](https://github.com/vitest-dev/vitest/issues/6017) [<samp>(d87be)</samp>](https://github.com/vitest-dev/vitest/commit/d87bef961) - **vitest**: - Expose `provide` to the public API - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5897](https://github.com/vitest-dev/vitest/issues/5897) [<samp>(66e64)</samp>](https://github.com/vitest-dev/vitest/commit/66e648ff8) - Cache fs code only for forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5909](https://github.com/vitest-dev/vitest/issues/5909) [<samp>(e30d9)</samp>](https://github.com/vitest-dev/vitest/commit/e30d9b4d5) - Allow testing unandled rejection/exception - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6016](https://github.com/vitest-dev/vitest/issues/6016) [<samp>(c8d56)</samp>](https://github.com/vitest-dev/vitest/commit/c8d56fe5f) - Show all failed tests when rerunning a test - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6022](https://github.com/vitest-dev/vitest/issues/6022) [<samp>(91ba6)</samp>](https://github.com/vitest-dev/vitest/commit/91ba6f95e) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/6b29f3ddc86060cf3265959d4ae32e90b186cb92...v2.0.0) ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5565](https://github.com/vitest-dev/vitest/issues/5565) [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5449](https://github.com/vitest-dev/vitest/issues/5449) [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5398](https://github.com/vitest-dev/vitest/issues/5398) [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5656](https://github.com/vitest-dev/vitest/issues/5656) [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5659](https://github.com/vitest-dev/vitest/issues/5659) [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/5652](https://github.com/vitest-dev/vitest/issues/5652) [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5640](https://github.com/vitest-dev/vitest/issues/5640) [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5646](https://github.com/vitest-dev/vitest/issues/5646) [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5654](https://github.com/vitest-dev/vitest/issues/5654) [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5526](https://github.com/vitest-dev/vitest/issues/5526) [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [https://github.com/vitest-dev/vitest/issues/5634](https://github.com/vitest-dev/vitest/issues/5634) [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5642](https://github.com/vitest-dev/vitest/issues/5642) [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5610](https://github.com/vitest-dev/vitest/issues/5610) [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5592](https://github.com/vitest-dev/vitest/issues/5592) [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5658](https://github.com/vitest-dev/vitest/issues/5658) [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ### [`v1.5.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) [Compare Source](https://github.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://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5608](https://github.com/vitest-dev/vitest/issues/5608) [<samp>(48fba)</samp>](https://github.com/vitest-dev/vitest/commit/48fba190) - Backport jest iterable equality within object - by [@​sukovanej](https://github.com/sukovanej) in [https://github.com/vitest-dev/vitest/issues/5621](https://github.com/vitest-dev/vitest/issues/5621) [<samp>(30e5d)</samp>](https://github.com/vitest-dev/vitest/commit/30e5dc1b) - **browser**: Support benchmark - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5622](https://github.com/vitest-dev/vitest/issues/5622) [<samp>(becab)</samp>](https://github.com/vitest-dev/vitest/commit/becabb5e) - **reporter**: Use default error formatter for JUnit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5629](https://github.com/vitest-dev/vitest/issues/5629) [<samp>(20060)</samp>](https://github.com/vitest-dev/vitest/commit/200609cc) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) ### [`v1.5.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](https://github.com/vitest-dev/vitest/commit/ce368457) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ### [`v1.5.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5493](https://github.com/vitest-dev/vitest/issues/5493) [<samp>(780b1)</samp>](https://github.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://github.com/surc54) in [https://github.com/vitest-dev/vitest/issues/5544](https://github.com/vitest-dev/vitest/issues/5544) [<samp>(413ec)</samp>](https://github.com/vitest-dev/vitest/commit/413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5561](https://github.com/vitest-dev/vitest/issues/5561) [<samp>(9c649)</samp>](https://github.com/vitest-dev/vitest/commit/9c64967f) - Resolve cwd correctly when initiating projects - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5582](https://github.com/vitest-dev/vitest/issues/5582) [<samp>(ec9d7)</samp>](https://github.com/vitest-dev/vitest/commit/ec9d7c93) - Always run `onTestFinished` in reverse order - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5598](https://github.com/vitest-dev/vitest/issues/5598) [<samp>(23f29)</samp>](https://github.com/vitest-dev/vitest/commit/23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5528](https://github.com/vitest-dev/vitest/issues/5528) [<samp>(5c69f)</samp>](https://github.com/vitest-dev/vitest/commit/5c69f3f5) - Dispose tester iframe on done - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5595](https://github.com/vitest-dev/vitest/issues/5595) [<samp>(b2135)</samp>](https://github.com/vitest-dev/vitest/commit/b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5549](https://github.com/vitest-dev/vitest/issues/5549) [<samp>(df6a4)</samp>](https://github.com/vitest-dev/vitest/commit/df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5540](https://github.com/vitest-dev/vitest/issues/5540) [<samp>(ea3c1)</samp>](https://github.com/vitest-dev/vitest/commit/ea3c16e4) - `thresholds` to compare files relative to root - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5574](https://github.com/vitest-dev/vitest/issues/5574) [<samp>(80265)</samp>](https://github.com/vitest-dev/vitest/commit/80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5535](https://github.com/vitest-dev/vitest/issues/5535) [<samp>(9e641)</samp>](https://github.com/vitest-dev/vitest/commit/9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5578](https://github.com/vitest-dev/vitest/issues/5578) [<samp>(316eb)</samp>](https://github.com/vitest-dev/vitest/commit/316eb739) - Watch the output directory correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5584](https://github.com/vitest-dev/vitest/issues/5584) [<samp>(e40f9)</samp>](https://github.com/vitest-dev/vitest/commit/e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5590](https://github.com/vitest-dev/vitest/issues/5590) [<samp>(4da88)</samp>](https://github.com/vitest-dev/vitest/commit/4da88045) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) </details> <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjYuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQyNi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL21ham9yIl19--> Co-authored-by: repo-jeeves[bot] <106431701+repo-jeeves[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`^1.4.0` -> `^2.0.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.4.0/2.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.4.0/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.4.0/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`^1.4.0` -> `^2.0.0`](https://renovatebot.com/diffs/npm/vitest/1.4.0/2.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.4.0/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.4.0/2.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v2.0.0`](https://github.com/vitest-dev/vitest/releases/tag/v2.0.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.6.0...v2.0.0) Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the [documentation](https://vitest.dev/guide/migration.html#migrating-to-vitest-2-0). ##### 🚨 Breaking Changes - Simplify mock function generic types and align with jest - by **[@​hi-ogawa](https://github.com/hi-ogawa)** in [https://github.com/vitest-dev/vitest/pull/4784](https://github.com/vitest-dev/vitest/pull/4784) [<samp>(a0c1d37)</samp>](https://github.com/vitest-dev/vitest/commit/a0c1d371edb35abfa0e6f53b05086a54d2ecc0a6) - Remove `--segfault-retry` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5514](https://github.com/vitest-dev/vitest/issues/5514) [<samp>(ed60e)</samp>](https://github.com/vitest-dev/vitest/commit/ed60e405e) - This flag was introduced to combat `threads` segfaults. Our current recommendation is to use the new default `forks` pool instead. - Run suite hooks in a stack - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5609](https://github.com/vitest-dev/vitest/issues/5609) [<samp>(1277d)</samp>](https://github.com/vitest-dev/vitest/commit/1277dc1e3) - This feels like a more sensible default. Especially with the new [`onTestFinished`](https://vitest.dev/api/#ontestfinished) hook. This can make your tests run a little bit slower. - Enable `coverage.ignoreEmptyLines` by default - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5543](https://github.com/vitest-dev/vitest/issues/5543) [<samp>(31994)</samp>](https://github.com/vitest-dev/vitest/commit/31994942f) - ⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See [https://github.com/vitest-dev/vitest/issues/5423](https://github.com/vitest-dev/vitest/issues/5423) for more details. - Add correct location and snapshot fields in json reporter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5434](https://github.com/vitest-dev/vitest/issues/5434) [<samp>(bcccc)</samp>](https://github.com/vitest-dev/vitest/commit/bcccce6df) - Previously, the `location` field pointed to the error location instead of the test location. Now it is aligned with jest and contains the `line` and `column` of a test function, but requires [`includeTaskLocation`](https://vitest.dev/config/#includeTaskLocation) to be enabled. - Update dependency chai to v5 - by **renovate\[bot]** and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5135](https://github.com/vitest-dev/vitest/issues/5135) [<samp>(73646)</samp>](https://github.com/vitest-dev/vitest/commit/73646b638) - Remove watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [https://github.com/vitest-dev/vitest/issues/5177](https://github.com/vitest-dev/vitest/issues/5177) [<samp>(d7371)</samp>](https://github.com/vitest-dev/vitest/commit/d7371eae3) - Change default `pool` to `'forks'` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5047](https://github.com/vitest-dev/vitest/issues/5047) [<samp>(7f8f9)</samp>](https://github.com/vitest-dev/vitest/commit/7f8f9c0c0) - This change is done for compatibility issues - This pool may be slightly slower than previous `threads` pool: https://vitest.dev/guide/improving-performance.html#pool - `--merge-reports` to support coverage - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5736](https://github.com/vitest-dev/vitest/issues/5736) [<samp>(b7438)</samp>](https://github.com/vitest-dev/vitest/commit/b7438b9be) - Add promise-based return assertions, do not auto-resolve returned promises - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5749](https://github.com/vitest-dev/vitest/issues/5749) [<samp>(5f710)</samp>](https://github.com/vitest-dev/vitest/commit/5f710182e) - ⚠️ Vitest no longer unwraps promises in `spy.mock.returns`. If the function is async or returns a promise, it will always succeed and have a `Promise` in `results`. To make migration easier, we introduced `spy.mock.settledResults` that unwraps promises and `expect().toHaveResolved()` matcher that accepts unwrapped value. - Do not exit process if global setup has failed - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5726](https://github.com/vitest-dev/vitest/issues/5726) [<samp>(ddb09)</samp>](https://github.com/vitest-dev/vitest/commit/ddb09eb12) - Don't exit process if config failed - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5715](https://github.com/vitest-dev/vitest/issues/5715) [<samp>(f232f)</samp>](https://github.com/vitest-dev/vitest/commit/f232fdd61) - Add meta to `json` output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5802](https://github.com/vitest-dev/vitest/issues/5802) [<samp>(dd754)</samp>](https://github.com/vitest-dev/vitest/commit/dd754c103) - Rename `indexScripts` to `orchestratorScripts` in the browser config - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5842](https://github.com/vitest-dev/vitest/issues/5842) [<samp>(49f34)</samp>](https://github.com/vitest-dev/vitest/commit/49f34ec47) - Add "vitest list" API to print collected tests without running them - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6013](https://github.com/vitest-dev/vitest/issues/6013) [<samp>(583dd)</samp>](https://github.com/vitest-dev/vitest/commit/583dd8a98) - ⚠️ This changes the custom `pool` API - now requires `collectTests` method alongside `runTests`. - Remove the empty suite from the runner - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5435](https://github.com/vitest-dev/vitest/issues/5435) [<samp>(dbbbe)</samp>](https://github.com/vitest-dev/vitest/commit/dbbbe4304) - Support concurrent suites - by **[@​hi-ogawa](https://github.com/hi-ogawa)** in [https://github.com/vitest-dev/vitest/pull/5491](https://github.com/vitest-dev/vitest/pull/5491) [<samp>(222ce44)</samp>](https://github.com/vitest-dev/vitest/commit/222ce44119bd02bdf0c7546f9db653000616ccfa) ##### 🚀 Features - Pretty print diffs coming from cause - by [@​dubzzz](https://github.com/dubzzz) in [https://github.com/vitest-dev/vitest/issues/5660](https://github.com/vitest-dev/vitest/issues/5660) [<samp>(6faf8)</samp>](https://github.com/vitest-dev/vitest/commit/6faf8f84b) - Allow import statement as vi.mock path for better IDE support - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5690](https://github.com/vitest-dev/vitest/issues/5690) [<samp>(a99a1)</samp>](https://github.com/vitest-dev/vitest/commit/a99a14c1c) - Remove deprecated options - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5696](https://github.com/vitest-dev/vitest/issues/5696) [<samp>(5c308)</samp>](https://github.com/vitest-dev/vitest/commit/5c308edc6) - Add blob reporter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5663](https://github.com/vitest-dev/vitest/issues/5663) [<samp>(e2053)</samp>](https://github.com/vitest-dev/vitest/commit/e20538a36) - Add expect.poll utility - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5708](https://github.com/vitest-dev/vitest/issues/5708) [<samp>(e2e0f)</samp>](https://github.com/vitest-dev/vitest/commit/e2e0ff46a) - Add browser.ui option - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5771](https://github.com/vitest-dev/vitest/issues/5771) [<samp>(a5033)</samp>](https://github.com/vitest-dev/vitest/commit/a50330eea) - Add median to `--output-json` - by [@​Joristdh](https://github.com/Joristdh) in [https://github.com/vitest-dev/vitest/issues/5745](https://github.com/vitest-dev/vitest/issues/5745) [<samp>(0766b)</samp>](https://github.com/vitest-dev/vitest/commit/0766b7f72) - Allow augmenting config.test.env - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5784](https://github.com/vitest-dev/vitest/issues/5784) [<samp>(b2469)</samp>](https://github.com/vitest-dev/vitest/commit/b24691efd) - Implement module mocking in browser mode - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5765](https://github.com/vitest-dev/vitest/issues/5765) [<samp>(7b2f6)</samp>](https://github.com/vitest-dev/vitest/commit/7b2f64cfa) - Allow configuring expect options in the config - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5729](https://github.com/vitest-dev/vitest/issues/5729) [<samp>(fc53f)</samp>](https://github.com/vitest-dev/vitest/commit/fc53f5634) - Add an option to print console stack trace - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5720](https://github.com/vitest-dev/vitest/issues/5720) [<samp>(e4fe6)</samp>](https://github.com/vitest-dev/vitest/commit/e4fe6f51a) - Add browser frame to UI - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5808](https://github.com/vitest-dev/vitest/issues/5808) [<samp>(3796d)</samp>](https://github.com/vitest-dev/vitest/commit/3796dd7e0) - Image type add bmp - by **btea** in [https://github.com/vitest-dev/vitest/issues/5921](https://github.com/vitest-dev/vitest/issues/5921) [<samp>(98f9b)</samp>](https://github.com/vitest-dev/vitest/commit/98f9b7ab9) - Add an option to return base64 from page.screenshot - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5993](https://github.com/vitest-dev/vitest/issues/5993) [<samp>(be323)</samp>](https://github.com/vitest-dev/vitest/commit/be3231763) - Expose `parseAst`, `parseAstAsync` from vite - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(f645e)</samp>](https://github.com/vitest-dev/vitest/commit/f645e48c5) - **browser**: - Add commands to communicate betweens server and the browser - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5097](https://github.com/vitest-dev/vitest/issues/5097) [<samp>(aa431)</samp>](https://github.com/vitest-dev/vitest/commit/aa431f4db) - Do not reload the page during watch mode - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5810](https://github.com/vitest-dev/vitest/issues/5810) [<samp>(e5b9a)</samp>](https://github.com/vitest-dev/vitest/commit/e5b9a0be4) - Support changing the viewport - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5811](https://github.com/vitest-dev/vitest/issues/5811) [<samp>(71851)</samp>](https://github.com/vitest-dev/vitest/commit/718512d80) - Add browser iframe mouse interaction - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5815](https://github.com/vitest-dev/vitest/issues/5815) [<samp>(f29b9)</samp>](https://github.com/vitest-dev/vitest/commit/f29b9d408) - Support `click` event - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5777](https://github.com/vitest-dev/vitest/issues/5777) [<samp>(839c3)</samp>](https://github.com/vitest-dev/vitest/commit/839c39f06) - Rename none provider to preview, make it default - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5826](https://github.com/vitest-dev/vitest/issues/5826) [<samp>(18310)</samp>](https://github.com/vitest-dev/vitest/commit/1831008b1) - Run tests in parallel in headless mode, add `page.screenshot` method - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5853](https://github.com/vitest-dev/vitest/issues/5853) [<samp>(81c42)</samp>](https://github.com/vitest-dev/vitest/commit/81c42fc8a) - Implement several `userEvent` methods, add `fill` and `dragAndDrop` events - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5882](https://github.com/vitest-dev/vitest/issues/5882) [<samp>(4dbea)</samp>](https://github.com/vitest-dev/vitest/commit/4dbea4aed) - Introduce `expect.dom` method and bundle `jest-dom` matchers with `@vitest/browser` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5910](https://github.com/vitest-dev/vitest/issues/5910) [<samp>(3a96a)</samp>](https://github.com/vitest-dev/vitest/commit/3a96a3d0e) - Expose CDP in the browser - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5938](https://github.com/vitest-dev/vitest/issues/5938) [<samp>(bec43)</samp>](https://github.com/vitest-dev/vitest/commit/bec434cb6) - Add "init" command for browser tests - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5960](https://github.com/vitest-dev/vitest/issues/5960) [<samp>(49e97)</samp>](https://github.com/vitest-dev/vitest/commit/49e973cb9) - Add an option to take screenshots if the browser test fails - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5975](https://github.com/vitest-dev/vitest/issues/5975) [<samp>(154cb)</samp>](https://github.com/vitest-dev/vitest/commit/154cb22de) - Add `tripleClick` to interactive api - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5987](https://github.com/vitest-dev/vitest/issues/5987) [<samp>(200a4)</samp>](https://github.com/vitest-dev/vitest/commit/200a4349a) - Playwright provider doesn't allow resizing the browser viewport - by [@​userquin](https://github.com/userquin) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5984](https://github.com/vitest-dev/vitest/issues/5984) [<samp>(ff978)</samp>](https://github.com/vitest-dev/vitest/commit/ff978e58d) - **config**: - Allow percentage value for workers option - by [@​syi0808](https://github.com/syi0808) in [https://github.com/vitest-dev/vitest/issues/5982](https://github.com/vitest-dev/vitest/issues/5982) [<samp>(b1a27)</samp>](https://github.com/vitest-dev/vitest/commit/b1a27d404) - **runner**: - Implement `test.for` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5861](https://github.com/vitest-dev/vitest/issues/5861) [<samp>(c2380)</samp>](https://github.com/vitest-dev/vitest/commit/c238072fd) - **spy**: - Collect mock.contexts - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5955](https://github.com/vitest-dev/vitest/issues/5955) [<samp>(3b31a)</samp>](https://github.com/vitest-dev/vitest/commit/3b31a56d5) - **ui**: - Render tests in a tree - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5807](https://github.com/vitest-dev/vitest/issues/5807) [<samp>(7900f)</samp>](https://github.com/vitest-dev/vitest/commit/7900f9f89) - Load module graph on tab selection - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5844](https://github.com/vitest-dev/vitest/issues/5844) [<samp>(b117e)</samp>](https://github.com/vitest-dev/vitest/commit/b117e8756) - Replace navigation tree with test explorer - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5907](https://github.com/vitest-dev/vitest/issues/5907) [<samp>(45dfc)</samp>](https://github.com/vitest-dev/vitest/commit/45dfc95ae) - Add initializing explorer logic - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5941](https://github.com/vitest-dev/vitest/issues/5941) [<samp>(c31c4)</samp>](https://github.com/vitest-dev/vitest/commit/c31c41c72) - Add action to explorer item to show the test/suite line in the source code tab - by [@​userquin](https://github.com/userquin) and **Anjorin Damilare** in [https://github.com/vitest-dev/vitest/issues/5948](https://github.com/vitest-dev/vitest/issues/5948) [<samp>(7ec29)</samp>](https://github.com/vitest-dev/vitest/commit/7ec298eb3) - **ws-client**: - Allow change reactive for state, filesMap and idMap - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5906](https://github.com/vitest-dev/vitest/issues/5906) [<samp>(e6020)</samp>](https://github.com/vitest-dev/vitest/commit/e6020b9c2) ##### 🐞 Bug Fixes - Print console statements in vmThreads - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5678](https://github.com/vitest-dev/vitest/issues/5678) [<samp>(34a80)</samp>](https://github.com/vitest-dev/vitest/commit/34a80b392) - Repeatable `--exclude` option - by [@​fregante](https://github.com/fregante) in [https://github.com/vitest-dev/vitest/issues/5782](https://github.com/vitest-dev/vitest/issues/5782) [<samp>(d6700)</samp>](https://github.com/vitest-dev/vitest/commit/d6700bbd8) - Remove browser.fileParallelism - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5790](https://github.com/vitest-dev/vitest/issues/5790) [<samp>(b881e)</samp>](https://github.com/vitest-dev/vitest/commit/b881e88b2) - Install UI icons - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(b84f1)</samp>](https://github.com/vitest-dev/vitest/commit/b84f1721d) - Remove process.exit if workspace project failed to be created - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5804](https://github.com/vitest-dev/vitest/issues/5804) [<samp>(a820e)</samp>](https://github.com/vitest-dev/vitest/commit/a820e7ac6) - Vi.waitFor/vi.waitUntil interval is now cleared after it times out - by [@​pedro00dk](https://github.com/pedro00dk) in [https://github.com/vitest-dev/vitest/issues/5875](https://github.com/vitest-dev/vitest/issues/5875) [<samp>(04107)</samp>](https://github.com/vitest-dev/vitest/commit/041076e7c) - ToJSON recursive error serialization - by [@​eddienubes](https://github.com/eddienubes) in [https://github.com/vitest-dev/vitest/issues/5848](https://github.com/vitest-dev/vitest/issues/5848) and [https://github.com/vitest-dev/vitest/issues/5884](https://github.com/vitest-dev/vitest/issues/5884) [<samp>(8d55d)</samp>](https://github.com/vitest-dev/vitest/commit/8d55d6bd4) - Print error properties only in verbose reporter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5917](https://github.com/vitest-dev/vitest/issues/5917) [<samp>(2bd8d)</samp>](https://github.com/vitest-dev/vitest/commit/2bd8d9d6f) - Use TTY reporter when running in Deno - by [@​marvinhagemeister](https://github.com/marvinhagemeister) in [https://github.com/vitest-dev/vitest/issues/5972](https://github.com/vitest-dev/vitest/issues/5972) [<samp>(e0f45)</samp>](https://github.com/vitest-dev/vitest/commit/e0f45cb57) - Don't override uppercase - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(caef4)</samp>](https://github.com/vitest-dev/vitest/commit/caef40a0b) - Clear screen and scrollback on iTerm2 - by [@​kxalex](https://github.com/kxalex) in [https://github.com/vitest-dev/vitest/issues/5978](https://github.com/vitest-dev/vitest/issues/5978) [<samp>(d7f23)</samp>](https://github.com/vitest-dev/vitest/commit/d7f23d08c) - Include pretty-format in [@​vitest/runner](https://github.com/vitest/runner) for optimization on npm - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(42bd4)</samp>](https://github.com/vitest-dev/vitest/commit/42bd4a259) - Transpile esnext to node18 to support newest JS and TS features - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4409](https://github.com/vitest-dev/vitest/issues/4409) [<samp>(8f65a)</samp>](https://github.com/vitest-dev/vitest/commit/8f65ae906) - **api**: - Correct `project.provide` type - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5959](https://github.com/vitest-dev/vitest/issues/5959) [<samp>(0eda9)</samp>](https://github.com/vitest-dev/vitest/commit/0eda99de9) - Don't call process.exit manually - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5926](https://github.com/vitest-dev/vitest/issues/5926) [<samp>(e9b63)</samp>](https://github.com/vitest-dev/vitest/commit/e9b638d40) - **browser**: - Display UI - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(d41e4)</samp>](https://github.com/vitest-dev/vitest/commit/d41e46a81) - Browser actions icons colors - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5816](https://github.com/vitest-dev/vitest/issues/5816) [<samp>(f9d9b)</samp>](https://github.com/vitest-dev/vitest/commit/f9d9b3bef) - Restore the original viewport when unselecting the preset viewport - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5821](https://github.com/vitest-dev/vitest/issues/5821) [<samp>(5ebb3)</samp>](https://github.com/vitest-dev/vitest/commit/5ebb3abf5) - Don't get stuck after the manual page refresh - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(2220b)</samp>](https://github.com/vitest-dev/vitest/commit/2220bb3fe) - Use iframe id instead of calculating it from filenames - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5823](https://github.com/vitest-dev/vitest/issues/5823) [<samp>(34a31)</samp>](https://github.com/vitest-dev/vitest/commit/34a310da1) - Always clean up iframes on rerun - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5827](https://github.com/vitest-dev/vitest/issues/5827) [<samp>(087fa)</samp>](https://github.com/vitest-dev/vitest/commit/087fa87c3) - Support [@​testing-library/vue](https://github.com/testing-library/vue) in browser mode out of the box - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(76b82)</samp>](https://github.com/vitest-dev/vitest/commit/76b82e5b9) - Print correct transformed module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5833](https://github.com/vitest-dev/vitest/issues/5833) [<samp>(a7581)</samp>](https://github.com/vitest-dev/vitest/commit/a75815756) - Use `preview` provider when running in StackBlitz - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5836](https://github.com/vitest-dev/vitest/issues/5836) [<samp>(76e13)</samp>](https://github.com/vitest-dev/vitest/commit/76e13587c) - Specify entries for correct deps optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5839](https://github.com/vitest-dev/vitest/issues/5839) [<samp>(c79b3)</samp>](https://github.com/vitest-dev/vitest/commit/c79b3f1f9) - Allow iframe to load even if there is a custom CSP header - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5841](https://github.com/vitest-dev/vitest/issues/5841) [<samp>(caaaf)</samp>](https://github.com/vitest-dev/vitest/commit/caaafd903) - Don't optimize Vitest dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5843](https://github.com/vitest-dev/vitest/issues/5843) [<samp>(f15b4)</samp>](https://github.com/vitest-dev/vitest/commit/f15b4e99d) - Set server.open to false and move error handling after init - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5845](https://github.com/vitest-dev/vitest/issues/5845) [<samp>(47003)</samp>](https://github.com/vitest-dev/vitest/commit/470036794) - Show correct prepare time - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5852](https://github.com/vitest-dev/vitest/issues/5852) [<samp>(52d54)</samp>](https://github.com/vitest-dev/vitest/commit/52d545bf9) - Resolve `coverage.reporter` from string values - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5920](https://github.com/vitest-dev/vitest/issues/5920) [<samp>(f33da)</samp>](https://github.com/vitest-dev/vitest/commit/f33dabbef) - Correctly update inline snapshot if changed - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5925](https://github.com/vitest-dev/vitest/issues/5925) [<samp>(2380c)</samp>](https://github.com/vitest-dev/vitest/commit/2380cb95e) - Remove "util" warning - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5935](https://github.com/vitest-dev/vitest/issues/5935) [<samp>(48f28)</samp>](https://github.com/vitest-dev/vitest/commit/48f28f731) - Remove hacky retry - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5971](https://github.com/vitest-dev/vitest/issues/5971) [<samp>(2a2c9)</samp>](https://github.com/vitest-dev/vitest/commit/2a2c9085a) - Make userEvent more stable when running in parallel - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5974](https://github.com/vitest-dev/vitest/issues/5974) [<samp>(14a21)</samp>](https://github.com/vitest-dev/vitest/commit/14a217d53) - Print screenshot path alongside the test error message - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5992](https://github.com/vitest-dev/vitest/issues/5992) [<samp>(15289)</samp>](https://github.com/vitest-dev/vitest/commit/152891b3d) - Print correct stack trace in source files - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6003](https://github.com/vitest-dev/vitest/issues/6003) [<samp>(62aa7)</samp>](https://github.com/vitest-dev/vitest/commit/62aa72081) - Correctly mock optimized cjs dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6035](https://github.com/vitest-dev/vitest/issues/6035) [<samp>(057b4)</samp>](https://github.com/vitest-dev/vitest/commit/057b4f34b) - Support shadow root and svg elements - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6036](https://github.com/vitest-dev/vitest/issues/6036) [<samp>(2e3c8)</samp>](https://github.com/vitest-dev/vitest/commit/2e3c872ae) - **coverage**: - Clean up empty coverage reports directory - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5731](https://github.com/vitest-dev/vitest/issues/5731) [<samp>(c469c)</samp>](https://github.com/vitest-dev/vitest/commit/c469c74d7) - `thresholds.autoUpdate` to support `mergeConfig` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5818](https://github.com/vitest-dev/vitest/issues/5818) [<samp>(7afb3)</samp>](https://github.com/vitest-dev/vitest/commit/7afb3682f) - Pass thresholds errors to `stderr` of `startVitest()` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5954](https://github.com/vitest-dev/vitest/issues/5954) [<samp>(70805)</samp>](https://github.com/vitest-dev/vitest/commit/708051319) - Exclude bench files from coverage - by [@​kouak](https://github.com/kouak) in [https://github.com/vitest-dev/vitest/issues/5983](https://github.com/vitest-dev/vitest/issues/5983) [<samp>(429e1)</samp>](https://github.com/vitest-dev/vitest/commit/429e1a7f8) - Vite to ignore dynamic import of provider - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5998](https://github.com/vitest-dev/vitest/issues/5998) [<samp>(6d884)</samp>](https://github.com/vitest-dev/vitest/commit/6d8848e86) - Istanbul to support import attributes - by [@​Gravitonic](https://github.com/Gravitonic) in [https://github.com/vitest-dev/vitest/issues/6006](https://github.com/vitest-dev/vitest/issues/6006) [<samp>(2898a)</samp>](https://github.com/vitest-dev/vitest/commit/2898a525d) - Support overriding `exclude` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5997](https://github.com/vitest-dev/vitest/issues/5997) [<samp>(169bc)</samp>](https://github.com/vitest-dev/vitest/commit/169bc1fde) - Remove work-around for implicit `else` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6014](https://github.com/vitest-dev/vitest/issues/6014) [<samp>(368c1)</samp>](https://github.com/vitest-dev/vitest/commit/368c13728) - **deps**: - Update dependency [@​testing-library/dom](https://github.com/testing-library/dom) to v10 - by **renovate\[bot]** in [https://github.com/vitest-dev/vitest/issues/5866](https://github.com/vitest-dev/vitest/issues/5866) [<samp>(e9745)</samp>](https://github.com/vitest-dev/vitest/commit/e9745997e) - Update vulnerable `test-exclude` to v7 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5867](https://github.com/vitest-dev/vitest/issues/5867) [<samp>(0a715)</samp>](https://github.com/vitest-dev/vitest/commit/0a715946b) - **expect**: - Fix immutable.js iterable equality - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5692](https://github.com/vitest-dev/vitest/issues/5692) [<samp>(1532c)</samp>](https://github.com/vitest-dev/vitest/commit/1532c19a0) - **forks**: - Resolve `poolOptions.<name>.isolate` from `forks` options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5840](https://github.com/vitest-dev/vitest/issues/5840) [<samp>(a60a1)</samp>](https://github.com/vitest-dev/vitest/commit/a60a140ef) - **runner**: - Ensure inner suite { sequential: true } correctly overrides outer suite { concurrent: true } - by [@​pengooseDev](https://github.com/pengooseDev) in [https://github.com/vitest-dev/vitest/issues/5737](https://github.com/vitest-dev/vitest/issues/5737) [<samp>(a20e7)</samp>](https://github.com/vitest-dev/vitest/commit/a20e75b89) - Ensure test.each print -0 and -NaN properly - by [@​pengooseDev](https://github.com/pengooseDev) in [https://github.com/vitest-dev/vitest/issues/5806](https://github.com/vitest-dev/vitest/issues/5806) [<samp>(9ac8f)</samp>](https://github.com/vitest-dev/vitest/commit/9ac8ff9bd) - **snapshot**: - Fix `toMatchFileSnapshot` with empty file - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5894](https://github.com/vitest-dev/vitest/issues/5894) [<samp>(88006)</samp>](https://github.com/vitest-dev/vitest/commit/8800601d2) - **spy**: - Correctly track constructor's "this" type - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(4776e)</samp>](https://github.com/vitest-dev/vitest/commit/4776eca1d) - **types**: - Mark pool options as not available in project config - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5934](https://github.com/vitest-dev/vitest/issues/5934) [<samp>(486fd)</samp>](https://github.com/vitest-dev/vitest/commit/486fd1169) - **ui**: - Show correct module graph and project name in a Vitest workspace - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5792](https://github.com/vitest-dev/vitest/issues/5792) [<samp>(48c50)</samp>](https://github.com/vitest-dev/vitest/commit/48c502fbe) - Update running todo tests inside todo suites (each) - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5939](https://github.com/vitest-dev/vitest/issues/5939) [<samp>(63ae1)</samp>](https://github.com/vitest-dev/vitest/commit/63ae10bd9) - `FileDetails` title status icon not being updated - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5942](https://github.com/vitest-dev/vitest/issues/5942) [<samp>(e9ddf)</samp>](https://github.com/vitest-dev/vitest/commit/e9ddf9ce2) - **ui, browser**: - Disable mouse events when resizing main navigation panel - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5863](https://github.com/vitest-dev/vitest/issues/5863) [<samp>(7cbd9)</samp>](https://github.com/vitest-dev/vitest/commit/7cbd943c7) - **utils**: - Produce valid snapshot names - by [@​dubzzz](https://github.com/dubzzz) in [https://github.com/vitest-dev/vitest/issues/5724](https://github.com/vitest-dev/vitest/issues/5724) [<samp>(1ec61)</samp>](https://github.com/vitest-dev/vitest/commit/1ec61ceee) - Fix color util maximum call stack error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5733](https://github.com/vitest-dev/vitest/issues/5733) [<samp>(a4ec5)</samp>](https://github.com/vitest-dev/vitest/commit/a4ec58319) - Package exports - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5847](https://github.com/vitest-dev/vitest/issues/5847) [<samp>(07876)</samp>](https://github.com/vitest-dev/vitest/commit/07876b7e0) - **vite-node**: - Expose all envs from .env file, not just with a prefix `VITE_` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6017](https://github.com/vitest-dev/vitest/issues/6017) [<samp>(d87be)</samp>](https://github.com/vitest-dev/vitest/commit/d87bef961) - **vitest**: - Expose `provide` to the public API - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5897](https://github.com/vitest-dev/vitest/issues/5897) [<samp>(66e64)</samp>](https://github.com/vitest-dev/vitest/commit/66e648ff8) - Cache fs code only for forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5909](https://github.com/vitest-dev/vitest/issues/5909) [<samp>(e30d9)</samp>](https://github.com/vitest-dev/vitest/commit/e30d9b4d5) - Allow testing unandled rejection/exception - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6016](https://github.com/vitest-dev/vitest/issues/6016) [<samp>(c8d56)</samp>](https://github.com/vitest-dev/vitest/commit/c8d56fe5f) - Show all failed tests when rerunning a test - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6022](https://github.com/vitest-dev/vitest/issues/6022) [<samp>(91ba6)</samp>](https://github.com/vitest-dev/vitest/commit/91ba6f95e) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/6b29f3ddc86060cf3265959d4ae32e90b186cb92...v2.0.0) ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5565](https://github.com/vitest-dev/vitest/issues/5565) [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5449](https://github.com/vitest-dev/vitest/issues/5449) [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5398](https://github.com/vitest-dev/vitest/issues/5398) [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5656](https://github.com/vitest-dev/vitest/issues/5656) [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5659](https://github.com/vitest-dev/vitest/issues/5659) [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/5652](https://github.com/vitest-dev/vitest/issues/5652) [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5640](https://github.com/vitest-dev/vitest/issues/5640) [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5646](https://github.com/vitest-dev/vitest/issues/5646) [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5654](https://github.com/vitest-dev/vitest/issues/5654) [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5526](https://github.com/vitest-dev/vitest/issues/5526) [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [https://github.com/vitest-dev/vitest/issues/5634](https://github.com/vitest-dev/vitest/issues/5634) [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5642](https://github.com/vitest-dev/vitest/issues/5642) [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5610](https://github.com/vitest-dev/vitest/issues/5610) [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5592](https://github.com/vitest-dev/vitest/issues/5592) [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5658](https://github.com/vitest-dev/vitest/issues/5658) [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ### [`v1.5.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) [Compare Source](https://github.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://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5608](https://github.com/vitest-dev/vitest/issues/5608) [<samp>(48fba)</samp>](https://github.com/vitest-dev/vitest/commit/48fba190) - Backport jest iterable equality within object - by [@​sukovanej](https://github.com/sukovanej) in [https://github.com/vitest-dev/vitest/issues/5621](https://github.com/vitest-dev/vitest/issues/5621) [<samp>(30e5d)</samp>](https://github.com/vitest-dev/vitest/commit/30e5dc1b) - **browser**: Support benchmark - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5622](https://github.com/vitest-dev/vitest/issues/5622) [<samp>(becab)</samp>](https://github.com/vitest-dev/vitest/commit/becabb5e) - **reporter**: Use default error formatter for JUnit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5629](https://github.com/vitest-dev/vitest/issues/5629) [<samp>(20060)</samp>](https://github.com/vitest-dev/vitest/commit/200609cc) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) ### [`v1.5.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](https://github.com/vitest-dev/vitest/commit/ce368457) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ### [`v1.5.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5493](https://github.com/vitest-dev/vitest/issues/5493) [<samp>(780b1)</samp>](https://github.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://github.com/surc54) in [https://github.com/vitest-dev/vitest/issues/5544](https://github.com/vitest-dev/vitest/issues/5544) [<samp>(413ec)</samp>](https://github.com/vitest-dev/vitest/commit/413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5561](https://github.com/vitest-dev/vitest/issues/5561) [<samp>(9c649)</samp>](https://github.com/vitest-dev/vitest/commit/9c64967f) - Resolve cwd correctly when initiating projects - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5582](https://github.com/vitest-dev/vitest/issues/5582) [<samp>(ec9d7)</samp>](https://github.com/vitest-dev/vitest/commit/ec9d7c93) - Always run `onTestFinished` in reverse order - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5598](https://github.com/vitest-dev/vitest/issues/5598) [<samp>(23f29)</samp>](https://github.com/vitest-dev/vitest/commit/23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5528](https://github.com/vitest-dev/vitest/issues/5528) [<samp>(5c69f)</samp>](https://github.com/vitest-dev/vitest/commit/5c69f3f5) - Dispose tester iframe on done - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5595](https://github.com/vitest-dev/vitest/issues/5595) [<samp>(b2135)</samp>](https://github.com/vitest-dev/vitest/commit/b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5549](https://github.com/vitest-dev/vitest/issues/5549) [<samp>(df6a4)</samp>](https://github.com/vitest-dev/vitest/commit/df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5540](https://github.com/vitest-dev/vitest/issues/5540) [<samp>(ea3c1)</samp>](https://github.com/vitest-dev/vitest/commit/ea3c16e4) - `thresholds` to compare files relative to root - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5574](https://github.com/vitest-dev/vitest/issues/5574) [<samp>(80265)</samp>](https://github.com/vitest-dev/vitest/commit/80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5535](https://github.com/vitest-dev/vitest/issues/5535) [<samp>(9e641)</samp>](https://github.com/vitest-dev/vitest/commit/9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5578](https://github.com/vitest-dev/vitest/issues/5578) [<samp>(316eb)</samp>](https://github.com/vitest-dev/vitest/commit/316eb739) - Watch the output directory correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5584](https://github.com/vitest-dev/vitest/issues/5584) [<samp>(e40f9)</samp>](https://github.com/vitest-dev/vitest/commit/e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5590](https://github.com/vitest-dev/vitest/issues/5590) [<samp>(4da88)</samp>](https://github.com/vitest-dev/vitest/commit/4da88045) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/create-typescript-app). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`1.5.0` -> `2.0.2`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/1.5.0/2.0.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/1.5.0/2.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/1.5.0/2.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.2.0` -> `2.0.2`](https://renovatebot.com/diffs/npm/vitest/1.2.0/2.0.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.2.0/2.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.2.0/2.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v2.0.2`](https://github.com/vitest-dev/vitest/compare/v2.0.1...v2.0.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v2.0.1...v2.0.2) ### [`v2.0.1`](https://github.com/vitest-dev/vitest/releases/tag/v2.0.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v2.0.0...v2.0.1) ##### 🐞 Bug Fixes - **browser**: Correctly inherit browser config in a workspace - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6054](https://github.com/vitest-dev/vitest/issues/6054) [<samp>(4b03e)</samp>](https://github.com/vitest-dev/vitest/commit/4b03e72b) - **ui**: Move virtual scroller to dev dependencies - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6053](https://github.com/vitest-dev/vitest/issues/6053) [<samp>(f94ed)</samp>](https://github.com/vitest-dev/vitest/commit/f94ede02) - **vitest**: Print only running files, not every file - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6052](https://github.com/vitest-dev/vitest/issues/6052) [<samp>(4d559)</samp>](https://github.com/vitest-dev/vitest/commit/4d5597df) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v2.0.0...v2.0.1) ### [`v2.0.0`](https://github.com/vitest-dev/vitest/releases/tag/v2.0.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.6.0...v2.0.0) Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the [documentation](https://vitest.dev/guide/migration.html#migrating-to-vitest-2-0). ##### 🚨 Breaking Changes - Simplify mock function generic types and align with jest - by **[@​hi-ogawa](https://github.com/hi-ogawa)** in [https://github.com/vitest-dev/vitest/pull/4784](https://github.com/vitest-dev/vitest/pull/4784) [<samp>(a0c1d37)</samp>](https://github.com/vitest-dev/vitest/commit/a0c1d371edb35abfa0e6f53b05086a54d2ecc0a6) - Remove `--segfault-retry` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5514](https://github.com/vitest-dev/vitest/issues/5514) [<samp>(ed60e)</samp>](https://github.com/vitest-dev/vitest/commit/ed60e405e) - This flag was introduced to combat `threads` segfaults. Our current recommendation is to use the new default `forks` pool instead. - Run suite hooks in a stack - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5609](https://github.com/vitest-dev/vitest/issues/5609) [<samp>(1277d)</samp>](https://github.com/vitest-dev/vitest/commit/1277dc1e3) - This feels like a more sensible default. Especially with the new [`onTestFinished`](https://vitest.dev/api/#ontestfinished) hook. This can make your tests run a little bit slower. - Enable `coverage.ignoreEmptyLines` by default - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5543](https://github.com/vitest-dev/vitest/issues/5543) [<samp>(31994)</samp>](https://github.com/vitest-dev/vitest/commit/31994942f) - ⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See [https://github.com/vitest-dev/vitest/issues/5423](https://github.com/vitest-dev/vitest/issues/5423) for more details. - Add correct location and snapshot fields in json reporter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5434](https://github.com/vitest-dev/vitest/issues/5434) [<samp>(bcccc)</samp>](https://github.com/vitest-dev/vitest/commit/bcccce6df) - Previously, the `location` field pointed to the error location instead of the test location. Now it is aligned with jest and contains the `line` and `column` of a test function, but requires [`includeTaskLocation`](https://vitest.dev/config/#includeTaskLocation) to be enabled. - Update dependency chai to v5 - by **renovate\[bot]** and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5135](https://github.com/vitest-dev/vitest/issues/5135) [<samp>(73646)</samp>](https://github.com/vitest-dev/vitest/commit/73646b638) - Remove watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [https://github.com/vitest-dev/vitest/issues/5177](https://github.com/vitest-dev/vitest/issues/5177) [<samp>(d7371)</samp>](https://github.com/vitest-dev/vitest/commit/d7371eae3) - Change default `pool` to `'forks'` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5047](https://github.com/vitest-dev/vitest/issues/5047) [<samp>(7f8f9)</samp>](https://github.com/vitest-dev/vitest/commit/7f8f9c0c0) - This change is done for compatibility issues - This pool may be slightly slower than previous `threads` pool: https://vitest.dev/guide/improving-performance.html#pool - `--merge-reports` to support coverage - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5736](https://github.com/vitest-dev/vitest/issues/5736) [<samp>(b7438)</samp>](https://github.com/vitest-dev/vitest/commit/b7438b9be) - Add promise-based return assertions, do not auto-resolve returned promises - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5749](https://github.com/vitest-dev/vitest/issues/5749) [<samp>(5f710)</samp>](https://github.com/vitest-dev/vitest/commit/5f710182e) - ⚠️ Vitest no longer unwraps promises in `spy.mock.returns`. If the function is async or returns a promise, it will always succeed and have a `Promise` in `results`. To make migration easier, we introduced `spy.mock.settledResults` that unwraps promises and `expect().toHaveResolved()` matcher that accepts unwrapped value. - Do not exit process if global setup has failed - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5726](https://github.com/vitest-dev/vitest/issues/5726) [<samp>(ddb09)</samp>](https://github.com/vitest-dev/vitest/commit/ddb09eb12) - Don't exit process if config failed - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5715](https://github.com/vitest-dev/vitest/issues/5715) [<samp>(f232f)</samp>](https://github.com/vitest-dev/vitest/commit/f232fdd61) - Add meta to `json` output - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5802](https://github.com/vitest-dev/vitest/issues/5802) [<samp>(dd754)</samp>](https://github.com/vitest-dev/vitest/commit/dd754c103) - Rename `indexScripts` to `orchestratorScripts` in the browser config - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5842](https://github.com/vitest-dev/vitest/issues/5842) [<samp>(49f34)</samp>](https://github.com/vitest-dev/vitest/commit/49f34ec47) - Add "vitest list" API to print collected tests without running them - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6013](https://github.com/vitest-dev/vitest/issues/6013) [<samp>(583dd)</samp>](https://github.com/vitest-dev/vitest/commit/583dd8a98) - ⚠️ This changes the custom `pool` API - now requires `collectTests` method alongside `runTests`. - Remove the empty suite from the runner - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5435](https://github.com/vitest-dev/vitest/issues/5435) [<samp>(dbbbe)</samp>](https://github.com/vitest-dev/vitest/commit/dbbbe4304) - Support concurrent suites - by **[@​hi-ogawa](https://github.com/hi-ogawa)** in [https://github.com/vitest-dev/vitest/pull/5491](https://github.com/vitest-dev/vitest/pull/5491) [<samp>(222ce44)</samp>](https://github.com/vitest-dev/vitest/commit/222ce44119bd02bdf0c7546f9db653000616ccfa) ##### 🚀 Features - Pretty print diffs coming from cause - by [@​dubzzz](https://github.com/dubzzz) in [https://github.com/vitest-dev/vitest/issues/5660](https://github.com/vitest-dev/vitest/issues/5660) [<samp>(6faf8)</samp>](https://github.com/vitest-dev/vitest/commit/6faf8f84b) - Allow import statement as vi.mock path for better IDE support - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5690](https://github.com/vitest-dev/vitest/issues/5690) [<samp>(a99a1)</samp>](https://github.com/vitest-dev/vitest/commit/a99a14c1c) - Remove deprecated options - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5696](https://github.com/vitest-dev/vitest/issues/5696) [<samp>(5c308)</samp>](https://github.com/vitest-dev/vitest/commit/5c308edc6) - Add blob reporter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5663](https://github.com/vitest-dev/vitest/issues/5663) [<samp>(e2053)</samp>](https://github.com/vitest-dev/vitest/commit/e20538a36) - Add expect.poll utility - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5708](https://github.com/vitest-dev/vitest/issues/5708) [<samp>(e2e0f)</samp>](https://github.com/vitest-dev/vitest/commit/e2e0ff46a) - Add browser.ui option - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5771](https://github.com/vitest-dev/vitest/issues/5771) [<samp>(a5033)</samp>](https://github.com/vitest-dev/vitest/commit/a50330eea) - Add median to `--output-json` - by [@​Joristdh](https://github.com/Joristdh) in [https://github.com/vitest-dev/vitest/issues/5745](https://github.com/vitest-dev/vitest/issues/5745) [<samp>(0766b)</samp>](https://github.com/vitest-dev/vitest/commit/0766b7f72) - Allow augmenting config.test.env - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5784](https://github.com/vitest-dev/vitest/issues/5784) [<samp>(b2469)</samp>](https://github.com/vitest-dev/vitest/commit/b24691efd) - Implement module mocking in browser mode - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5765](https://github.com/vitest-dev/vitest/issues/5765) [<samp>(7b2f6)</samp>](https://github.com/vitest-dev/vitest/commit/7b2f64cfa) - Allow configuring expect options in the config - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5729](https://github.com/vitest-dev/vitest/issues/5729) [<samp>(fc53f)</samp>](https://github.com/vitest-dev/vitest/commit/fc53f5634) - Add an option to print console stack trace - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5720](https://github.com/vitest-dev/vitest/issues/5720) [<samp>(e4fe6)</samp>](https://github.com/vitest-dev/vitest/commit/e4fe6f51a) - Add browser frame to UI - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5808](https://github.com/vitest-dev/vitest/issues/5808) [<samp>(3796d)</samp>](https://github.com/vitest-dev/vitest/commit/3796dd7e0) - Image type add bmp - by **btea** in [https://github.com/vitest-dev/vitest/issues/5921](https://github.com/vitest-dev/vitest/issues/5921) [<samp>(98f9b)</samp>](https://github.com/vitest-dev/vitest/commit/98f9b7ab9) - Add an option to return base64 from page.screenshot - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5993](https://github.com/vitest-dev/vitest/issues/5993) [<samp>(be323)</samp>](https://github.com/vitest-dev/vitest/commit/be3231763) - Expose `parseAst`, `parseAstAsync` from vite - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(f645e)</samp>](https://github.com/vitest-dev/vitest/commit/f645e48c5) - **browser**: - Add commands to communicate betweens server and the browser - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5097](https://github.com/vitest-dev/vitest/issues/5097) [<samp>(aa431)</samp>](https://github.com/vitest-dev/vitest/commit/aa431f4db) - Do not reload the page during watch mode - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5810](https://github.com/vitest-dev/vitest/issues/5810) [<samp>(e5b9a)</samp>](https://github.com/vitest-dev/vitest/commit/e5b9a0be4) - Support changing the viewport - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5811](https://github.com/vitest-dev/vitest/issues/5811) [<samp>(71851)</samp>](https://github.com/vitest-dev/vitest/commit/718512d80) - Add browser iframe mouse interaction - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5815](https://github.com/vitest-dev/vitest/issues/5815) [<samp>(f29b9)</samp>](https://github.com/vitest-dev/vitest/commit/f29b9d408) - Support `click` event - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5777](https://github.com/vitest-dev/vitest/issues/5777) [<samp>(839c3)</samp>](https://github.com/vitest-dev/vitest/commit/839c39f06) - Rename none provider to preview, make it default - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5826](https://github.com/vitest-dev/vitest/issues/5826) [<samp>(18310)</samp>](https://github.com/vitest-dev/vitest/commit/1831008b1) - Run tests in parallel in headless mode, add `page.screenshot` method - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5853](https://github.com/vitest-dev/vitest/issues/5853) [<samp>(81c42)</samp>](https://github.com/vitest-dev/vitest/commit/81c42fc8a) - Implement several `userEvent` methods, add `fill` and `dragAndDrop` events - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5882](https://github.com/vitest-dev/vitest/issues/5882) [<samp>(4dbea)</samp>](https://github.com/vitest-dev/vitest/commit/4dbea4aed) - Introduce `expect.dom` method and bundle `jest-dom` matchers with `@vitest/browser` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5910](https://github.com/vitest-dev/vitest/issues/5910) [<samp>(3a96a)</samp>](https://github.com/vitest-dev/vitest/commit/3a96a3d0e) - Expose CDP in the browser - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5938](https://github.com/vitest-dev/vitest/issues/5938) [<samp>(bec43)</samp>](https://github.com/vitest-dev/vitest/commit/bec434cb6) - Add "init" command for browser tests - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5960](https://github.com/vitest-dev/vitest/issues/5960) [<samp>(49e97)</samp>](https://github.com/vitest-dev/vitest/commit/49e973cb9) - Add an option to take screenshots if the browser test fails - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5975](https://github.com/vitest-dev/vitest/issues/5975) [<samp>(154cb)</samp>](https://github.com/vitest-dev/vitest/commit/154cb22de) - Add `tripleClick` to interactive api - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5987](https://github.com/vitest-dev/vitest/issues/5987) [<samp>(200a4)</samp>](https://github.com/vitest-dev/vitest/commit/200a4349a) - Playwright provider doesn't allow resizing the browser viewport - by [@​userquin](https://github.com/userquin) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5984](https://github.com/vitest-dev/vitest/issues/5984) [<samp>(ff978)</samp>](https://github.com/vitest-dev/vitest/commit/ff978e58d) - **config**: - Allow percentage value for workers option - by [@​syi0808](https://github.com/syi0808) in [https://github.com/vitest-dev/vitest/issues/5982](https://github.com/vitest-dev/vitest/issues/5982) [<samp>(b1a27)</samp>](https://github.com/vitest-dev/vitest/commit/b1a27d404) - **runner**: - Implement `test.for` - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5861](https://github.com/vitest-dev/vitest/issues/5861) [<samp>(c2380)</samp>](https://github.com/vitest-dev/vitest/commit/c238072fd) - **spy**: - Collect mock.contexts - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5955](https://github.com/vitest-dev/vitest/issues/5955) [<samp>(3b31a)</samp>](https://github.com/vitest-dev/vitest/commit/3b31a56d5) - **ui**: - Render tests in a tree - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5807](https://github.com/vitest-dev/vitest/issues/5807) [<samp>(7900f)</samp>](https://github.com/vitest-dev/vitest/commit/7900f9f89) - Load module graph on tab selection - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5844](https://github.com/vitest-dev/vitest/issues/5844) [<samp>(b117e)</samp>](https://github.com/vitest-dev/vitest/commit/b117e8756) - Replace navigation tree with test explorer - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5907](https://github.com/vitest-dev/vitest/issues/5907) [<samp>(45dfc)</samp>](https://github.com/vitest-dev/vitest/commit/45dfc95ae) - Add initializing explorer logic - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5941](https://github.com/vitest-dev/vitest/issues/5941) [<samp>(c31c4)</samp>](https://github.com/vitest-dev/vitest/commit/c31c41c72) - Add action to explorer item to show the test/suite line in the source code tab - by [@​userquin](https://github.com/userquin) and **Anjorin Damilare** in [https://github.com/vitest-dev/vitest/issues/5948](https://github.com/vitest-dev/vitest/issues/5948) [<samp>(7ec29)</samp>](https://github.com/vitest-dev/vitest/commit/7ec298eb3) - **ws-client**: - Allow change reactive for state, filesMap and idMap - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5906](https://github.com/vitest-dev/vitest/issues/5906) [<samp>(e6020)</samp>](https://github.com/vitest-dev/vitest/commit/e6020b9c2) ##### 🐞 Bug Fixes - Print console statements in vmThreads - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5678](https://github.com/vitest-dev/vitest/issues/5678) [<samp>(34a80)</samp>](https://github.com/vitest-dev/vitest/commit/34a80b392) - Repeatable `--exclude` option - by [@​fregante](https://github.com/fregante) in [https://github.com/vitest-dev/vitest/issues/5782](https://github.com/vitest-dev/vitest/issues/5782) [<samp>(d6700)</samp>](https://github.com/vitest-dev/vitest/commit/d6700bbd8) - Remove browser.fileParallelism - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5790](https://github.com/vitest-dev/vitest/issues/5790) [<samp>(b881e)</samp>](https://github.com/vitest-dev/vitest/commit/b881e88b2) - Install UI icons - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(b84f1)</samp>](https://github.com/vitest-dev/vitest/commit/b84f1721d) - Remove process.exit if workspace project failed to be created - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5804](https://github.com/vitest-dev/vitest/issues/5804) [<samp>(a820e)</samp>](https://github.com/vitest-dev/vitest/commit/a820e7ac6) - Vi.waitFor/vi.waitUntil interval is now cleared after it times out - by [@​pedro00dk](https://github.com/pedro00dk) in [https://github.com/vitest-dev/vitest/issues/5875](https://github.com/vitest-dev/vitest/issues/5875) [<samp>(04107)</samp>](https://github.com/vitest-dev/vitest/commit/041076e7c) - ToJSON recursive error serialization - by [@​eddienubes](https://github.com/eddienubes) in [https://github.com/vitest-dev/vitest/issues/5848](https://github.com/vitest-dev/vitest/issues/5848) and [https://github.com/vitest-dev/vitest/issues/5884](https://github.com/vitest-dev/vitest/issues/5884) [<samp>(8d55d)</samp>](https://github.com/vitest-dev/vitest/commit/8d55d6bd4) - Print error properties only in verbose reporter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5917](https://github.com/vitest-dev/vitest/issues/5917) [<samp>(2bd8d)</samp>](https://github.com/vitest-dev/vitest/commit/2bd8d9d6f) - Use TTY reporter when running in Deno - by [@​marvinhagemeister](https://github.com/marvinhagemeister) in [https://github.com/vitest-dev/vitest/issues/5972](https://github.com/vitest-dev/vitest/issues/5972) [<samp>(e0f45)</samp>](https://github.com/vitest-dev/vitest/commit/e0f45cb57) - Don't override uppercase - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(caef4)</samp>](https://github.com/vitest-dev/vitest/commit/caef40a0b) - Clear screen and scrollback on iTerm2 - by [@​kxalex](https://github.com/kxalex) in [https://github.com/vitest-dev/vitest/issues/5978](https://github.com/vitest-dev/vitest/issues/5978) [<samp>(d7f23)</samp>](https://github.com/vitest-dev/vitest/commit/d7f23d08c) - Include pretty-format in [@​vitest/runner](https://github.com/vitest/runner) for optimization on npm - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(42bd4)</samp>](https://github.com/vitest-dev/vitest/commit/42bd4a259) - Transpile esnext to node18 to support newest JS and TS features - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4409](https://github.com/vitest-dev/vitest/issues/4409) [<samp>(8f65a)</samp>](https://github.com/vitest-dev/vitest/commit/8f65ae906) - **api**: - Correct `project.provide` type - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5959](https://github.com/vitest-dev/vitest/issues/5959) [<samp>(0eda9)</samp>](https://github.com/vitest-dev/vitest/commit/0eda99de9) - Don't call process.exit manually - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5926](https://github.com/vitest-dev/vitest/issues/5926) [<samp>(e9b63)</samp>](https://github.com/vitest-dev/vitest/commit/e9b638d40) - **browser**: - Display UI - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(d41e4)</samp>](https://github.com/vitest-dev/vitest/commit/d41e46a81) - Browser actions icons colors - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5816](https://github.com/vitest-dev/vitest/issues/5816) [<samp>(f9d9b)</samp>](https://github.com/vitest-dev/vitest/commit/f9d9b3bef) - Restore the original viewport when unselecting the preset viewport - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5821](https://github.com/vitest-dev/vitest/issues/5821) [<samp>(5ebb3)</samp>](https://github.com/vitest-dev/vitest/commit/5ebb3abf5) - Don't get stuck after the manual page refresh - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(2220b)</samp>](https://github.com/vitest-dev/vitest/commit/2220bb3fe) - Use iframe id instead of calculating it from filenames - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5823](https://github.com/vitest-dev/vitest/issues/5823) [<samp>(34a31)</samp>](https://github.com/vitest-dev/vitest/commit/34a310da1) - Always clean up iframes on rerun - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5827](https://github.com/vitest-dev/vitest/issues/5827) [<samp>(087fa)</samp>](https://github.com/vitest-dev/vitest/commit/087fa87c3) - Support [@​testing-library/vue](https://github.com/testing-library/vue) in browser mode out of the box - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(76b82)</samp>](https://github.com/vitest-dev/vitest/commit/76b82e5b9) - Print correct transformed module graph - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5833](https://github.com/vitest-dev/vitest/issues/5833) [<samp>(a7581)</samp>](https://github.com/vitest-dev/vitest/commit/a75815756) - Use `preview` provider when running in StackBlitz - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5836](https://github.com/vitest-dev/vitest/issues/5836) [<samp>(76e13)</samp>](https://github.com/vitest-dev/vitest/commit/76e13587c) - Specify entries for correct deps optimization - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5839](https://github.com/vitest-dev/vitest/issues/5839) [<samp>(c79b3)</samp>](https://github.com/vitest-dev/vitest/commit/c79b3f1f9) - Allow iframe to load even if there is a custom CSP header - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5841](https://github.com/vitest-dev/vitest/issues/5841) [<samp>(caaaf)</samp>](https://github.com/vitest-dev/vitest/commit/caaafd903) - Don't optimize Vitest dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5843](https://github.com/vitest-dev/vitest/issues/5843) [<samp>(f15b4)</samp>](https://github.com/vitest-dev/vitest/commit/f15b4e99d) - Set server.open to false and move error handling after init - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5845](https://github.com/vitest-dev/vitest/issues/5845) [<samp>(47003)</samp>](https://github.com/vitest-dev/vitest/commit/470036794) - Show correct prepare time - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5852](https://github.com/vitest-dev/vitest/issues/5852) [<samp>(52d54)</samp>](https://github.com/vitest-dev/vitest/commit/52d545bf9) - Resolve `coverage.reporter` from string values - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5920](https://github.com/vitest-dev/vitest/issues/5920) [<samp>(f33da)</samp>](https://github.com/vitest-dev/vitest/commit/f33dabbef) - Correctly update inline snapshot if changed - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5925](https://github.com/vitest-dev/vitest/issues/5925) [<samp>(2380c)</samp>](https://github.com/vitest-dev/vitest/commit/2380cb95e) - Remove "util" warning - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5935](https://github.com/vitest-dev/vitest/issues/5935) [<samp>(48f28)</samp>](https://github.com/vitest-dev/vitest/commit/48f28f731) - Remove hacky retry - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5971](https://github.com/vitest-dev/vitest/issues/5971) [<samp>(2a2c9)</samp>](https://github.com/vitest-dev/vitest/commit/2a2c9085a) - Make userEvent more stable when running in parallel - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5974](https://github.com/vitest-dev/vitest/issues/5974) [<samp>(14a21)</samp>](https://github.com/vitest-dev/vitest/commit/14a217d53) - Print screenshot path alongside the test error message - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5992](https://github.com/vitest-dev/vitest/issues/5992) [<samp>(15289)</samp>](https://github.com/vitest-dev/vitest/commit/152891b3d) - Print correct stack trace in source files - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6003](https://github.com/vitest-dev/vitest/issues/6003) [<samp>(62aa7)</samp>](https://github.com/vitest-dev/vitest/commit/62aa72081) - Correctly mock optimized cjs dependencies - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6035](https://github.com/vitest-dev/vitest/issues/6035) [<samp>(057b4)</samp>](https://github.com/vitest-dev/vitest/commit/057b4f34b) - Support shadow root and svg elements - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6036](https://github.com/vitest-dev/vitest/issues/6036) [<samp>(2e3c8)</samp>](https://github.com/vitest-dev/vitest/commit/2e3c872ae) - **coverage**: - Clean up empty coverage reports directory - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5731](https://github.com/vitest-dev/vitest/issues/5731) [<samp>(c469c)</samp>](https://github.com/vitest-dev/vitest/commit/c469c74d7) - `thresholds.autoUpdate` to support `mergeConfig` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5818](https://github.com/vitest-dev/vitest/issues/5818) [<samp>(7afb3)</samp>](https://github.com/vitest-dev/vitest/commit/7afb3682f) - Pass thresholds errors to `stderr` of `startVitest()` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5954](https://github.com/vitest-dev/vitest/issues/5954) [<samp>(70805)</samp>](https://github.com/vitest-dev/vitest/commit/708051319) - Exclude bench files from coverage - by [@​kouak](https://github.com/kouak) in [https://github.com/vitest-dev/vitest/issues/5983](https://github.com/vitest-dev/vitest/issues/5983) [<samp>(429e1)</samp>](https://github.com/vitest-dev/vitest/commit/429e1a7f8) - Vite to ignore dynamic import of provider - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5998](https://github.com/vitest-dev/vitest/issues/5998) [<samp>(6d884)</samp>](https://github.com/vitest-dev/vitest/commit/6d8848e86) - Istanbul to support import attributes - by [@​Gravitonic](https://github.com/Gravitonic) in [https://github.com/vitest-dev/vitest/issues/6006](https://github.com/vitest-dev/vitest/issues/6006) [<samp>(2898a)</samp>](https://github.com/vitest-dev/vitest/commit/2898a525d) - Support overriding `exclude` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5997](https://github.com/vitest-dev/vitest/issues/5997) [<samp>(169bc)</samp>](https://github.com/vitest-dev/vitest/commit/169bc1fde) - Remove work-around for implicit `else` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6014](https://github.com/vitest-dev/vitest/issues/6014) [<samp>(368c1)</samp>](https://github.com/vitest-dev/vitest/commit/368c13728) - **deps**: - Update dependency [@​testing-library/dom](https://github.com/testing-library/dom) to v10 - by **renovate\[bot]** in [https://github.com/vitest-dev/vitest/issues/5866](https://github.com/vitest-dev/vitest/issues/5866) [<samp>(e9745)</samp>](https://github.com/vitest-dev/vitest/commit/e9745997e) - Update vulnerable `test-exclude` to v7 - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5867](https://github.com/vitest-dev/vitest/issues/5867) [<samp>(0a715)</samp>](https://github.com/vitest-dev/vitest/commit/0a715946b) - **expect**: - Fix immutable.js iterable equality - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5692](https://github.com/vitest-dev/vitest/issues/5692) [<samp>(1532c)</samp>](https://github.com/vitest-dev/vitest/commit/1532c19a0) - **forks**: - Resolve `poolOptions.<name>.isolate` from `forks` options - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5840](https://github.com/vitest-dev/vitest/issues/5840) [<samp>(a60a1)</samp>](https://github.com/vitest-dev/vitest/commit/a60a140ef) - **runner**: - Ensure inner suite { sequential: true } correctly overrides outer suite { concurrent: true } - by [@​pengooseDev](https://github.com/pengooseDev) in [https://github.com/vitest-dev/vitest/issues/5737](https://github.com/vitest-dev/vitest/issues/5737) [<samp>(a20e7)</samp>](https://github.com/vitest-dev/vitest/commit/a20e75b89) - Ensure test.each print -0 and -NaN properly - by [@​pengooseDev](https://github.com/pengooseDev) in [https://github.com/vitest-dev/vitest/issues/5806](https://github.com/vitest-dev/vitest/issues/5806) [<samp>(9ac8f)</samp>](https://github.com/vitest-dev/vitest/commit/9ac8ff9bd) - **snapshot**: - Fix `toMatchFileSnapshot` with empty file - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5894](https://github.com/vitest-dev/vitest/issues/5894) [<samp>(88006)</samp>](https://github.com/vitest-dev/vitest/commit/8800601d2) - **spy**: - Correctly track constructor's "this" type - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(4776e)</samp>](https://github.com/vitest-dev/vitest/commit/4776eca1d) - **types**: - Mark pool options as not available in project config - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5934](https://github.com/vitest-dev/vitest/issues/5934) [<samp>(486fd)</samp>](https://github.com/vitest-dev/vitest/commit/486fd1169) - **ui**: - Show correct module graph and project name in a Vitest workspace - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5792](https://github.com/vitest-dev/vitest/issues/5792) [<samp>(48c50)</samp>](https://github.com/vitest-dev/vitest/commit/48c502fbe) - Update running todo tests inside todo suites (each) - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5939](https://github.com/vitest-dev/vitest/issues/5939) [<samp>(63ae1)</samp>](https://github.com/vitest-dev/vitest/commit/63ae10bd9) - `FileDetails` title status icon not being updated - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5942](https://github.com/vitest-dev/vitest/issues/5942) [<samp>(e9ddf)</samp>](https://github.com/vitest-dev/vitest/commit/e9ddf9ce2) - **ui, browser**: - Disable mouse events when resizing main navigation panel - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5863](https://github.com/vitest-dev/vitest/issues/5863) [<samp>(7cbd9)</samp>](https://github.com/vitest-dev/vitest/commit/7cbd943c7) - **utils**: - Produce valid snapshot names - by [@​dubzzz](https://github.com/dubzzz) in [https://github.com/vitest-dev/vitest/issues/5724](https://github.com/vitest-dev/vitest/issues/5724) [<samp>(1ec61)</samp>](https://github.com/vitest-dev/vitest/commit/1ec61ceee) - Fix color util maximum call stack error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5733](https://github.com/vitest-dev/vitest/issues/5733) [<samp>(a4ec5)</samp>](https://github.com/vitest-dev/vitest/commit/a4ec58319) - Package exports - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/5847](https://github.com/vitest-dev/vitest/issues/5847) [<samp>(07876)</samp>](https://github.com/vitest-dev/vitest/commit/07876b7e0) - **vite-node**: - Expose all envs from .env file, not just with a prefix `VITE_` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6017](https://github.com/vitest-dev/vitest/issues/6017) [<samp>(d87be)</samp>](https://github.com/vitest-dev/vitest/commit/d87bef961) - **vitest**: - Expose `provide` to the public API - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5897](https://github.com/vitest-dev/vitest/issues/5897) [<samp>(66e64)</samp>](https://github.com/vitest-dev/vitest/commit/66e648ff8) - Cache fs code only for forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5909](https://github.com/vitest-dev/vitest/issues/5909) [<samp>(e30d9)</samp>](https://github.com/vitest-dev/vitest/commit/e30d9b4d5) - Allow testing unandled rejection/exception - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6016](https://github.com/vitest-dev/vitest/issues/6016) [<samp>(c8d56)</samp>](https://github.com/vitest-dev/vitest/commit/c8d56fe5f) - Show all failed tests when rerunning a test - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6022](https://github.com/vitest-dev/vitest/issues/6022) [<samp>(91ba6)</samp>](https://github.com/vitest-dev/vitest/commit/91ba6f95e) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/6b29f3ddc86060cf3265959d4ae32e90b186cb92...v2.0.0) ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5565](https://github.com/vitest-dev/vitest/issues/5565) [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5449](https://github.com/vitest-dev/vitest/issues/5449) [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5398](https://github.com/vitest-dev/vitest/issues/5398) [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5656](https://github.com/vitest-dev/vitest/issues/5656) [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5659](https://github.com/vitest-dev/vitest/issues/5659) [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [https://github.com/vitest-dev/vitest/issues/5652](https://github.com/vitest-dev/vitest/issues/5652) [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5640](https://github.com/vitest-dev/vitest/issues/5640) [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5646](https://github.com/vitest-dev/vitest/issues/5646) [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5654](https://github.com/vitest-dev/vitest/issues/5654) [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5526](https://github.com/vitest-dev/vitest/issues/5526) [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [https://github.com/vitest-dev/vitest/issues/5634](https://github.com/vitest-dev/vitest/issues/5634) [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5642](https://github.com/vitest-dev/vitest/issues/5642) [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5610](https://github.com/vitest-dev/vitest/issues/5610) [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5592](https://github.com/vitest-dev/vitest/issues/5592) [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5658](https://github.com/vitest-dev/vitest/issues/5658) [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ### [`v1.5.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) [Compare Source](https://github.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://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5608](https://github.com/vitest-dev/vitest/issues/5608) [<samp>(48fba)</samp>](https://github.com/vitest-dev/vitest/commit/48fba190) - Backport jest iterable equality within object - by [@​sukovanej](https://github.com/sukovanej) in [https://github.com/vitest-dev/vitest/issues/5621](https://github.com/vitest-dev/vitest/issues/5621) [<samp>(30e5d)</samp>](https://github.com/vitest-dev/vitest/commit/30e5dc1b) - **browser**: Support benchmark - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5622](https://github.com/vitest-dev/vitest/issues/5622) [<samp>(becab)</samp>](https://github.com/vitest-dev/vitest/commit/becabb5e) - **reporter**: Use default error formatter for JUnit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5629](https://github.com/vitest-dev/vitest/issues/5629) [<samp>(20060)</samp>](https://github.com/vitest-dev/vitest/commit/200609cc) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) ### [`v1.5.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](https://github.com/vitest-dev/vitest/commit/ce368457) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ### [`v1.5.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5493](https://github.com/vitest-dev/vitest/issues/5493) [<samp>(780b1)</samp>](https://github.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://github.com/surc54) in [https://github.com/vitest-dev/vitest/issues/5544](https://github.com/vitest-dev/vitest/issues/5544) [<samp>(413ec)</samp>](https://github.com/vitest-dev/vitest/commit/413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5561](https://github.com/vitest-dev/vitest/issues/5561) [<samp>(9c649)</samp>](https://github.com/vitest-dev/vitest/commit/9c64967f) - Resolve cwd correctly when initiating projects - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5582](https://github.com/vitest-dev/vitest/issues/5582) [<samp>(ec9d7)</samp>](https://github.com/vitest-dev/vitest/commit/ec9d7c93) - Always run `onTestFinished` in reverse order - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5598](https://github.com/vitest-dev/vitest/issues/5598) [<samp>(23f29)</samp>](https://github.com/vitest-dev/vitest/commit/23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5528](https://github.com/vitest-dev/vitest/issues/5528) [<samp>(5c69f)</samp>](https://github.com/vitest-dev/vitest/commit/5c69f3f5) - Dispose tester iframe on done - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5595](https://github.com/vitest-dev/vitest/issues/5595) [<samp>(b2135)</samp>](https://github.com/vitest-dev/vitest/commit/b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5549](https://github.com/vitest-dev/vitest/issues/5549) [<samp>(df6a4)</samp>](https://github.com/vitest-dev/vitest/commit/df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5540](https://github.com/vitest-dev/vitest/issues/5540) [<samp>(ea3c1)</samp>](https://github.com/vitest-dev/vitest/commit/ea3c16e4) - `thresholds` to compare files relative to root - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5574](https://github.com/vitest-dev/vitest/issues/5574) [<samp>(80265)</samp>](https://github.com/vitest-dev/vitest/commit/80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5535](https://github.com/vitest-dev/vitest/issues/5535) [<samp>(9e641)</samp>](https://github.com/vitest-dev/vitest/commit/9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@​hi-ogawa](https://github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5578](https://github.com/vitest-dev/vitest/issues/5578) [<samp>(316eb)</samp>](https://github.com/vitest-dev/vitest/commit/316eb739) - Watch the output directory correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5584](https://github.com/vitest-dev/vitest/issues/5584) [<samp>(e40f9)</samp>](https://github.com/vitest-dev/vitest/commit/e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5590](https://github.com/vitest-dev/vitest/issues/5590) [<samp>(4da88)</samp>](https://github.com/vitest-dev/vitest/commit/4da88045) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) </details> <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v2.0.2`](https://github.com/vitest-dev/vitest/compare/v2.0.1...v2.0.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v2.0.1...v2.0.2) ### [`v2.0.1`](https://github.com/vitest-dev/vitest/releases/tag/v2.0.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v2.0.0...v2.0.1) ##### 🐞 Bug Fixes - **browser**: Correctly inherit browser config in a workspace - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6054](https://github.com/vitest-dev/vitest/issues/6054) [<samp>(4b03e)</samp>](https://github.com/vitest-dev/vitest/commit/4b03e72b) - **ui**: Move virtual scroller to dev dependencies - by [@​userquin](https://github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/6053](https://github.com/vitest-dev/vitest/issues/6053) [<samp>(f94ed)</samp>](https://github.com/vitest-dev/vitest/commit/f94ede02) - **vitest**: Print only running files, not every file - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6052](https://github.com/vitest-dev/vitest/issues/6052) [<samp>(4d559)</samp>](https://github.com/vitest-dev/vitest/commit/4d5597df) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v2.0.0...v2.0.1) ### [`v2.0.0`](https://github.com/vitest-dev/vitest/releases/tag/v2.0.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.6.0...v2.0.0) Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the [documentation](https://vitest.dev/guide/migration.html#migrating-to-vitest-2-0). ##### 🚨 Breaking Changes - Simplify mock function generic types and align with jest - by **[@​hi-ogawa](https://github.com/hi-ogawa)** in [https://github.com/vitest-dev/vitest/pull/4784](https://github.com/vitest-dev/vitest/pull/4784) [<samp>(a0c1d37)</samp>](https://github.com/vitest-dev/vitest/commit/a0c1d371edb35abfa0e6f53b05086a54d2ecc0a6) - Remove `--segfault-retry` - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5514](https://github.com/vitest-dev/vitest/issues/5514) [<samp>(ed60e)</samp>](https://github.com/vitest-dev/vitest/commit/ed60e405e) - This flag was introduced to combat `threads` segfaults. Our current recommendation is to use the new default `forks` pool instead. - Run suite hooks in a stack - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5609](https://github.com/vitest-dev/vitest/issues/5609) [<samp>(1277d)</samp>](https://github.com/vitest-dev/vitest/commit/1277dc1e3) - This feels like a more sensible default. Especially with the new [`onTestFinished`](https://vitest.dev/api/#ontestfinished) hook. This can make your tests run a little bit slower. - Enable `coverage.ignoreEmptyLines` by default - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5543](https://github.com/vitest-dev/vitest/issues/5543) [<samp>(31994)</samp>](https://github.com/vitest-dev/vitest/commit/31994942f) - ⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See [https://github.com/vitest-dev/vitest/issues/5423](https://github.com/vitest-dev/vitest/issues/5423) for more details. - Add correct location and snapshot fields in json reporter - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5434](https://github.com/vitest-dev/vitest/issues/5434) [<samp>(bcccc)</samp>](https://github.com/vitest-dev/vitest/commit/bcccce6df) - Previously, the `location` field pointed to the error location instead of the test location. Now it is aligned with jest and contains the `line` and `column` of a test function, but requires [`includeTaskLocation`](https://vitest.dev/config/#includeTaskLocation) to be enabled. - Update dependency chai to v5 - by **renovate\[bot]** and [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5135](https://github.com/vitest-dev/vitest/issues/5135) [<samp>(73646)</samp>](https://github.com/vitest-dev/vitest/commit/73646b638) - Remove watchExclude - by [@​patak-dev](https://github.com/patak-dev) in [https://github.com/vitest-dev/vitest/issues/5177](https://github.com/vitest-dev/vitest/issues/5177) [<samp>(d7371)</samp>](https://github.com/vitest-dev/vitest/commit/d7371eae3) - Change default `pool` to `'forks'` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5047](https://github.com/vitest-dev/vitest/issues/5047) [<samp>(7f8f9)</samp>](https://github.com/vitest-dev/vitest/commit/7f8f9c0c0) - This change is done for compatibility issues - This pool may be slightly slower than previous `threads` pool: https://vitest.dev/guide/improving-performance.html#pool - `--merge-reports` to support coverage - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5736](https://github.com/vitest-dev/vitest/issues/5736) [<samp>(b7438)</samp>](https://github.com/vitest-dev/vitest/commit/b7438b9be) - Add promise-based return assertions, do not auto-resolve returned promises - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5749](https://github.com/vitest-dev/vitest/issues/5749) [<samp>(5f710)</samp>](https://github.com/vitest-dev/vitest/commit/5f710182e) - ⚠️ Vitest no longer unwraps promises in `spy.mock.returns`. If the function is async or returns a promise, it will always succeed and have a `Promise` in `results`. To make migration easier, we introduced `spy.mock.settledResults` that unwraps promises and `expect().toHaveResolved()` matcher that accepts unwrapped value. - Do not exit process if global setup has failed - by [@​sheremet-va](https://t </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/nuxt-modules/storybook). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@vitest/ui](https://github.com/vitest-dev/vitest/tree/main/packages/ui#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui)) | [`1.3.1` -> `1.6.0`](https://renovatebot.com/diffs/npm/@vitest%2fui/1.3.1/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fui/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fui/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fui/1.3.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fui/1.3.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.3.1` -> `1.6.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.6.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.3.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.3.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vitest-dev/vitest (@​vitest/ui)</summary> ### [`v1.6.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ##### 🚀 Features - Support standalone mode - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5449 [<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result - by [@​hi-ogawa](https://github.com/hi-ogawa) and [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5656 [<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5659 [<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name - by [@​btea](https://github.com/btea) in [vitest-dev/vitest#5652 [<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5526 [<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@​MindfulPol](https://github.com/MindfulPol) in [vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5642 [<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5610 [<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5592 [<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5658 [<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ### [`v1.5.3`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) [Compare Source](https://github.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://github.com/sheremet-va) in [vitest-dev/vitest#5608 [<samp>(48fba)</samp>](https://github.com/vitest-dev/vitest/commit/48fba190) - Backport jest iterable equality within object - by [@​sukovanej](https://github.com/sukovanej) in [vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](https://github.com/vitest-dev/vitest/commit/30e5dc1b) - **browser**: Support benchmark - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5622 [<samp>(becab)</samp>](https://github.com/vitest-dev/vitest/commit/becabb5e) - **reporter**: Use default error formatter for JUnit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5629 [<samp>(20060)</samp>](https://github.com/vitest-dev/vitest/commit/200609cc) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) ### [`v1.5.2`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](https://github.com/vitest-dev/vitest/commit/ce368457) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ### [`v1.5.1`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5493 [<samp>(780b1)</samp>](https://github.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://github.com/surc54) in [vitest-dev/vitest#5544 [<samp>(413ec)</samp>](https://github.com/vitest-dev/vitest/commit/413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5561 [<samp>(9c649)</samp>](https://github.com/vitest-dev/vitest/commit/9c64967f) - Resolve cwd correctly when initiating projects - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](https://github.com/vitest-dev/vitest/commit/ec9d7c93) - Always run `onTestFinished` in reverse order - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5598 [<samp>(23f29)</samp>](https://github.com/vitest-dev/vitest/commit/23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](https://github.com/vitest-dev/vitest/commit/5c69f3f5) - Dispose tester iframe on done - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5595 [<samp>(b2135)</samp>](https://github.com/vitest-dev/vitest/commit/b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](https://github.com/vitest-dev/vitest/commit/df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](https://github.com/vitest-dev/vitest/commit/ea3c16e4) - `thresholds` to compare files relative to root - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5574 [<samp>(80265)</samp>](https://github.com/vitest-dev/vitest/commit/80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5535 [<samp>(9e641)</samp>](https://github.com/vitest-dev/vitest/commit/9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5578 [<samp>(316eb)</samp>](https://github.com/vitest-dev/vitest/commit/316eb739) - Watch the output directory correctly - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](https://github.com/vitest-dev/vitest/commit/e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5590 [<samp>(4da88)</samp>](https://github.com/vitest-dev/vitest/commit/4da88045) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.5.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) ##### 🚀 Features - Add configuration for diff truncation - by [@​willieho](https://github.com/willieho) in [vitest-dev/vitest#5073 and [vitest-dev/vitest#5333 [<samp>(6797b)</samp>](https://github.com/vitest-dev/vitest/commit/6797b041) - Remove unrelated noise from diff for toMatchObject() - by [@​geersch](https://github.com/geersch) in [vitest-dev/vitest#5364 [<samp>(99276)</samp>](https://github.com/vitest-dev/vitest/commit/99276399) - Allow custom host for --inspect and --inspect-brk - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5509 [<samp>(61572)</samp>](https://github.com/vitest-dev/vitest/commit/6157282c) - **coverage**: V8 to ignore empty lines, comments, types - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5457 [<samp>(10b89)</samp>](https://github.com/vitest-dev/vitest/commit/10b89713) ##### 🐞 Bug Fixes - `describe` calls not taking generic type parameters - by [@​aryaemami59](https://github.com/aryaemami59) in [vitest-dev/vitest#5415 [<samp>(16bac)</samp>](https://github.com/vitest-dev/vitest/commit/16bacfab) - Prevent hang when `process` is mocked - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5430 [<samp>(0ec4d)</samp>](https://github.com/vitest-dev/vitest/commit/0ec4d0e0) - Don't check for "node:internal/console/" in console interceptor in case the environment is not Node.js - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(87d36)</samp>](https://github.com/vitest-dev/vitest/commit/87d36a7a) - The value received by toMatch should be a string - by [@​btea](https://github.com/btea) in [vitest-dev/vitest#5428 [<samp>(67485)</samp>](https://github.com/vitest-dev/vitest/commit/674851ca) - Increase stack trace limit for location, don't hardcode suite position - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5518 [<samp>(04b23)</samp>](https://github.com/vitest-dev/vitest/commit/04b234d1) - **benchmark**: - Run benchmark suites sequentially - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5444 [<samp>(1f548)</samp>](https://github.com/vitest-dev/vitest/commit/1f548340) - Fix benchmark summary of single bench suite - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5489 [<samp>(db981)</samp>](https://github.com/vitest-dev/vitest/commit/db98145f) - Table reporter for non TTY output - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5484 [<samp>(bea23)</samp>](https://github.com/vitest-dev/vitest/commit/bea234b1) - **expect**: - Fix `toHaveBeenNthCalledWith` error message when not called - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5420 [<samp>(e5253)</samp>](https://github.com/vitest-dev/vitest/commit/e5253de4) - **types**: - Pass correct type for suite factory - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5437 [<samp>(26718)</samp>](https://github.com/vitest-dev/vitest/commit/26718eb5) - **utils**: - Fix object diff with getter only property - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5466 [<samp>(366d9)</samp>](https://github.com/vitest-dev/vitest/commit/366d97c3) - **vite-node**: - Fix `isValidNodeImport` to check `"type": "module"` first - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5416 [<samp>(6fb15)</samp>](https://github.com/vitest-dev/vitest/commit/6fb15280) - **vitest**: - Correctly send console events when state changes - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(3463f)</samp>](https://github.com/vitest-dev/vitest/commit/3463f9bb) - Initiate FakeTimers on demand - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5450 [<samp>(e4e93)</samp>](https://github.com/vitest-dev/vitest/commit/e4e939ba) - Check unhighlighted code for code frame line limit - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5465 [<samp>(6ae7e)</samp>](https://github.com/vitest-dev/vitest/commit/6ae7eaa2) - Correctly filter by parent folder - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5408 [<samp>(91b06)</samp>](https://github.com/vitest-dev/vitest/commit/91b06cce) - Close inspector immediately if run is canceled - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5519 [<samp>(b8006)</samp>](https://github.com/vitest-dev/vitest/commit/b80062d7) - **workspace**: - Set CWD to config directory, allow overriding local .env - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5476 [<samp>(d4003)</samp>](https://github.com/vitest-dev/vitest/commit/d4003882) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) ### [`v1.4.0`](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](https://github.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5342 [<samp>(d627e)</samp>](https://github.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5295 [<samp>(201bd)</samp>](https://github.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5281 [<samp>(356db)</samp>](https://github.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](https://github.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5314 [<samp>(600b4)</samp>](https://github.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5241 [<samp>(e1735)</samp>](https://github.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](https://github.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](https://github.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](https://github.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@​saitonakamura](https://github.com/saitonakamura) and [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](https://github.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](https://github.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](https://github.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](https://github.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](https://github.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](https://github.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](https://github.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](https://github.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](https://github.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](https://github.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](https://github.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@​hi-ogawa](https://github.com/hi-ogawa) in [vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](https://github.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](https://github.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@​sheremet-va](https://github.com/sheremet-va) in [vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](https://github.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@​fenghan34](https://github.com/fenghan34) in [vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](https://github.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@​AriPerkkio](https://github.com/AriPerkkio) in [vitest-dev/vitest#5250 [<samp>(29f98)</samp>](https://github.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) </details> --- ### 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/dotkom/monoweb). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) ##### 🚀 Features - Support standalone mode - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29) - Custom "snapshotEnvironment" option - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc) - **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e) - **browser**: Allow injecting scripts - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222) - **ui**: Sort items by file name - by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423) - Hash the name of the file when caching - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced) - Don't panic on empty files in node_modules - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe) - Use `toJSON` for error serialization - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e) - **vm**: - Support network imports - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0) ##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190) - Backport jest iterable equality within object - by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b) - **browser**: Support benchmark - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e) - **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3) ##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2) ##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@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://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f) - Resolve cwd correctly when initiating projects - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93) - Always run `onTestFinished` in reverse order - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5) - Dispose tester iframe on done - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4) - `thresholds` to compare files relative to root - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739) - Watch the output directory correctly - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1) ##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0) ##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3) ##### [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) ##### 🚀 Features - Support standalone mode - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29) - Custom "snapshotEnvironment" option - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc) - **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e) - **browser**: Allow injecting scripts - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222) - **ui**: Sort items by file name - by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423) - Hash the name of the file when caching - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced) - Don't panic on empty files in node_modules - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe) - Use `toJSON` for error serialization - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e) - **vm**: - Support network imports - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0) ##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190) - Backport jest iterable equality within object - by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b) - **browser**: Support benchmark - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e) - **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3) ##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2) ##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@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://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f) - Resolve cwd correctly when initiating projects - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93) - Always run `onTestFinished` in reverse order - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5) - Dispose tester iframe on done - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4) - `thresholds` to compare files relative to root - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739) - Watch the output directory correctly - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1) ##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0) ##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3) ##### [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) ##### 🚀 Features - Support standalone mode - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29) - Custom "snapshotEnvironment" option - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc) - **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e) - **browser**: Allow injecting scripts - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222) - **ui**: Sort items by file name - by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423) - Hash the name of the file when caching - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced) - Don't panic on empty files in node_modules - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe) - Use `toJSON` for error serialization - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e) - **vm**: - Support network imports - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0) ##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190) - Backport jest iterable equality within object - by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b) - **browser**: Support benchmark - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e) - **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3) ##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2) ##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@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://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f) - Resolve cwd correctly when initiating projects - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93) - Always run `onTestFinished` in reverse order - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5) - Dispose tester iframe on done - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4) - `thresholds` to compare files relative to root - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739) - Watch the output directory correctly - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1) ##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0) ##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3) ##### [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) ##### 🚀 Features - Support standalone mode - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29) - Custom "snapshotEnvironment" option - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc) - **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e) - **browser**: Allow injecting scripts - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222) - **ui**: Sort items by file name - by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423) - Hash the name of the file when caching - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced) - Don't panic on empty files in node_modules - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe) - Use `toJSON` for error serialization - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e) - **vm**: - Support network imports - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0) ##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190) - Backport jest iterable equality within object - by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b) - **browser**: Support benchmark - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e) - **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3) ##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2) ##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@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://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f) - Resolve cwd correctly when initiating projects - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93) - Always run `onTestFinished` in reverse order - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5) - Dispose tester iframe on done - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4) - `thresholds` to compare files relative to root - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739) - Watch the output directory correctly - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1) ##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0) ##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3) ##### [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) ##### 🚀 Features - Support standalone mode - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29) - Custom "snapshotEnvironment" option - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc) - **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e) - **browser**: Allow injecting scripts - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222) - **ui**: Sort items by file name - by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423) - Hash the name of the file when caching - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced) - Don't panic on empty files in node_modules - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe) - Use `toJSON` for error serialization - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e) - **vm**: - Support network imports - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0) ##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190) - Backport jest iterable equality within object - by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b) - **browser**: Support benchmark - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e) - **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3) ##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2) ##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@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://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f) - Resolve cwd correctly when initiating projects - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93) - Always run `onTestFinished` in reverse order - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5) - Dispose tester iframe on done - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4) - `thresholds` to compare files relative to root - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739) - Watch the output directory correctly - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1) ##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0) ##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3) ##### [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0) ##### 🚀 Features - Support standalone mode - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29) - Custom "snapshotEnvironment" option - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc) - **benchmark**: Support comparing benchmark result - by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e) - **browser**: Allow injecting scripts - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222) - **ui**: Sort items by file name - by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa) ##### 🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116) - Call `resolveId('vitest')` after `buildStart` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423) - Hash the name of the file when caching - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced) - Don't panic on empty files in node_modules - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe) - Use `toJSON` for error serialization - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49) - **coverage**: - Exclude `*.test-d.*` by default - by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e) - **vm**: - Support network imports - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002) ##### 🏎 Performance - Improve performance of forks pool - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4) - Unnecessary rpc call when coverage is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0) ##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3) ##### 🐞 Bug Fixes - Use package.json name for a workspace project if not provided - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190) - Backport jest iterable equality within object - by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b) - **browser**: Support benchmark - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e) - **reporter**: Use default error formatter for JUnit - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3) ##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2) ##### 🐞 Bug Fixes - Check for null before storing in weakmap - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2) ##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1) ##### 🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@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://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6) - Fix default `import.meta.env.PROD: false` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f) - Resolve cwd correctly when initiating projects - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93) - Always run `onTestFinished` in reverse order - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5) - Dispose tester iframe on done - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul` - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328) - Prevent crash when `cleanOnRerun` is disabled - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4) - `thresholds` to compare files relative to root - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739) - Watch the output directory correctly - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924) - StubEnv casts boolean on PROD/SSR/DEV - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045) ##### [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1) ##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0) ##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3) ##### [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
Description
Closes #5502
This PR adds support for a
--standalone
CLI flag. When this flag is used, Vitest will ignore file filters and won't run any tests until the file is changed, or the API is called programmatically.TODO
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yaml
unless you introduce a new test example.Tests
pnpm test:ci
.Documentation
pnpm run docs
command.Changesets
feat:
,fix:
,perf:
,docs:
, orchore:
.