vitest-dev/vitest
### [`v0.23.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.4)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.2...v0.23.4)
##### 🚀 Features
- Give helpful message, when using vi.mock - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2047](https://togithub.com/vitest-dev/vitest/issues/2047)
- **benchmark**: Only mode - by [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/2039](https://togithub.com/vitest-dev/vitest/issues/2039)
##### 🐞 Bug Fixes
- Move outputFile to benchmark, allow --reporter for benchmark - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2037](https://togithub.com/vitest-dev/vitest/issues/2037)
- **cli**: Forward node wasm flags - by [@Peeterush](https://togithub.com/Peeterush) in [https://github.com/vitest-dev/vitest/issues/2041](https://togithub.com/vitest-dev/vitest/issues/2041)
- **coverage**: `istanbul-reports` to support `projectRoot` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2051](https://togithub.com/vitest-dev/vitest/issues/2051)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.3...v0.23.4)
### [`v0.23.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.1...v0.23.2)
##### 🚀 Features
- Added fastify example - by [@irvile](https://togithub.com/irvile) in [https://github.com/vitest-dev/vitest/issues/1991](https://togithub.com/vitest-dev/vitest/issues/1991)
- **bench**: Improve summary - by [@antfu](https://togithub.com/antfu) [(d0167)](https://togithub.com/vitest-dev/vitest/commit/d0167247)
##### 🐞 Bug Fixes
- Update tinybench to 2.1.5 - by [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/1990](https://togithub.com/vitest-dev/vitest/issues/1990)
- **bench**:
- Rank sorting, fix [#2006](https://togithub.com/vitest-dev/vitest/issues/2006) - by [@nickmccurdy](https://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/2007](https://togithub.com/vitest-dev/vitest/issues/2007)
- Do not group benchmarks - by [@Aslemammad](https://togithub.com/Aslemammad) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2016](https://togithub.com/vitest-dev/vitest/issues/2016)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.1...v0.23.2)
### [`v0.23.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.0...v0.23.1)
##### 🐞 Bug Fixes
- Show diff for errors that contain actual/expected without showDiff - by [@IgnusG](https://togithub.com/IgnusG) in [https://github.com/vitest-dev/vitest/issues/1966](https://togithub.com/vitest-dev/vitest/issues/1966)
- Don't fail on running vitest dev (closes [#1971](https://togithub.com/vitest-dev/vitest/issues/1971)) - by [@sheremet-va](https://togithub.com/sheremet-va) [(3807c)](https://togithub.com/vitest-dev/vitest/commit/3807c07f)
- Don't hang when running vitest - by [@sheremet-va](https://togithub.com/sheremet-va) [(f3025)](https://togithub.com/vitest-dev/vitest/commit/f3025cde)
- Define default exports properties as named exports for ESM compatibility - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1979](https://togithub.com/vitest-dev/vitest/issues/1979)
- Correctly normalize mocked path, if file is named like the folder - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1973](https://togithub.com/vitest-dev/vitest/issues/1973)
- **ui**: Display correct line and column for web UI - by [@bartoszgolebiowski](https://togithub.com/bartoszgolebiowski) in [https://github.com/vitest-dev/vitest/issues/1972](https://togithub.com/vitest-dev/vitest/issues/1972)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.0...v0.23.1)
### [`v0.23.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.22.1...v0.23.0)
##### 🚨 Breaking Changes
- Don't reset modules with --no-isolate - by [@sheremet-va](https://togithub.com/sheremet-va) and [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/1754](https://togithub.com/vitest-dev/vitest/issues/1754)
- If not processed, CSS Modules return a proxy, scope class names by filename - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1803](https://togithub.com/vitest-dev/vitest/issues/1803)
- Improve interchangeability with cjs - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1944](https://togithub.com/vitest-dev/vitest/issues/1944)
- Allow custom environments - by [@sheremet-va](https://togithub.com/sheremet-va) and [@Demivan](https://togithub.com/Demivan) in [https://github.com/vitest-dev/vitest/issues/1963](https://togithub.com/vitest-dev/vitest/issues/1963)
##### 🚀 Features
- Add include option in istanbul coverage - by [@warmthdawn](https://togithub.com/warmthdawn) in [https://github.com/vitest-dev/vitest/issues/1883](https://togithub.com/vitest-dev/vitest/issues/1883)
- Introduce `retry` option for tests - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1929](https://togithub.com/vitest-dev/vitest/issues/1929)
- Add benchmark support with `vitest bench` command - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/1029](https://togithub.com/vitest-dev/vitest/issues/1029)
- **coverage**: Include json reporter by default - by [@poyoho](https://togithub.com/poyoho) [(faed4)](https://togithub.com/vitest-dev/vitest/commit/faed4acb)
- **coverage-istanbul**: Add "all" option - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/1880](https://togithub.com/vitest-dev/vitest/issues/1880)
- **worker**: Always apply custom resolver conditions - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1934](https://togithub.com/vitest-dev/vitest/issues/1934)
##### 🐞 Bug Fixes
- Allow referring to first seen value while automocking - by [@simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/1879](https://togithub.com/vitest-dev/vitest/issues/1879)
- Console.Console is undefined (close: [#1877](https://togithub.com/vitest-dev/vitest/issues/1877)) - by [@ahaoboy](https://togithub.com/ahaoboy) in [https://github.com/vitest-dev/vitest/issues/1878](https://togithub.com/vitest-dev/vitest/issues/1878)
- Invalidate new worker and its dependencies - by [@sun0day](https://togithub.com/sun0day) in [https://github.com/vitest-dev/vitest/issues/1896](https://togithub.com/vitest-dev/vitest/issues/1896)
- Improve error serialization - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1921](https://togithub.com/vitest-dev/vitest/issues/1921)
- Clean coverage-c8 tmp before reporting (fix [#1917](https://togithub.com/vitest-dev/vitest/issues/1917)) - by [@sun0day](https://togithub.com/sun0day) in [https://github.com/vitest-dev/vitest/issues/1925](https://togithub.com/vitest-dev/vitest/issues/1925)
- Automock getters and setters - by [@simon-abbott](https://togithub.com/simon-abbott) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1903](https://togithub.com/vitest-dev/vitest/issues/1903)
- Add possibility to filter test files by fileName - by [@bartoszgolebiowski](https://togithub.com/bartoszgolebiowski) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1915](https://togithub.com/vitest-dev/vitest/issues/1915)
- Make globalThis more compatible with jest - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1956](https://togithub.com/vitest-dev/vitest/issues/1956)
- Delete mock in moduleCache when unmock - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/1947](https://togithub.com/vitest-dev/vitest/issues/1947)
- Matcher toHaveProperty actually tests value - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1958](https://togithub.com/vitest-dev/vitest/issues/1958)
- **env-replacer**: Don't modify string literals - by [@tony19](https://togithub.com/tony19) in [https://github.com/vitest-dev/vitest/issues/1943](https://togithub.com/vitest-dev/vitest/issues/1943)
- **istanbul**: Disable compact in instrumenter transform - by [@poyoho](https://togithub.com/poyoho) [(80739)](https://togithub.com/vitest-dev/vitest/commit/80739cae)
- **reporter**: Correct error source position in json report - by [@azaleta](https://togithub.com/azaleta) and [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/1909](https://togithub.com/vitest-dev/vitest/issues/1909)
- **reporter-junit**: Escape XML when in error message (fix: [#1823](https://togithub.com/vitest-dev/vitest/issues/1823)) - by [@ChrisTowles](https://togithub.com/ChrisTowles) in [https://github.com/vitest-dev/vitest/issues/1890](https://togithub.com/vitest-dev/vitest/issues/1890)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.22.1...v0.23.0)
### [`v0.22.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.22.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.22.0...v0.22.1)
##### 🚀 Features
- Restart vitest on config change - by [@antfu](https://togithub.com/antfu) [(c663f)](https://togithub.com/vitest-dev/vitest/commit/c663f39c)
- Show transform time - by [@antfu](https://togithub.com/antfu) [(b54a1)](https://togithub.com/vitest-dev/vitest/commit/b54a13e5)
- **vite-node**: `moduleCache.invalidateDepTree` utiltity - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1872](https://togithub.com/vitest-dev/vitest/issues/1872)
##### 🐞 Bug Fixes
- Convert string coverage reporters to array - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/1860](https://togithub.com/vitest-dev/vitest/issues/1860)
- Explicitly import performance - by [@antfu](https://togithub.com/antfu) [(870d1)](https://togithub.com/vitest-dev/vitest/commit/870d16e0)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.22.0...v0.22.1)
### [`v0.22.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.22.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.21.1...v0.22.0)
##### 🚨 Breaking Changes
- `c8` coverage support now require peer dependency `@vitest/coverage-c8` to be installed. Alternatively, you can install `@vitest/coverage-istanbul` to use `istanbul` for coverage instead of `c8`.
##### 🚀 Features
- Add --no-color to cli - by [@jereklas](https://togithub.com/jereklas) in [https://github.com/vitest-dev/vitest/issues/1849](https://togithub.com/vitest-dev/vitest/issues/1849)
- Support auto retry on Node segfault `--segfault-retry` - by [@tony19](https://togithub.com/tony19) [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1854](https://togithub.com/vitest-dev/vitest/issues/1854)
- Support `istanbul` coverage provider - by [@AriPerkkio](https://togithub.com/AriPerkkio) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1676](https://togithub.com/vitest-dev/vitest/issues/1676)
- **cli**: Support passing `--inspect` and `--inspect-brk` - by [@antfu](https://togithub.com/antfu) [(ea80f)](https://togithub.com/vitest-dev/vitest/commit/ea80f2bf)
##### 🐞 Bug Fixes
- Handle undefined returns of module mocks, and update migration docs - by [@jereklas](https://togithub.com/jereklas) in [https://github.com/vitest-dev/vitest/issues/1763](https://togithub.com/vitest-dev/vitest/issues/1763) and [https://github.com/vitest-dev/vitest/issues/1830](https://togithub.com/vitest-dev/vitest/issues/1830)
- Clear pattern when rerun all tests - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/1834](https://togithub.com/vitest-dev/vitest/issues/1834)
- **reporter-junit**: Remove trailing zeros in duration - by [@nieyuyao](https://togithub.com/nieyuyao) in [https://github.com/vitest-dev/vitest/issues/1842](https://togithub.com/vitest-dev/vitest/issues/1842)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.21.1...v0.22.0)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.21.1
->0.23.4
Release Notes
vitest-dev/vitest
### [`v0.23.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.2...v0.23.4) ##### 🚀 Features - Give helpful message, when using vi.mock - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2047](https://togithub.com/vitest-dev/vitest/issues/2047) - **benchmark**: Only mode - by [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/2039](https://togithub.com/vitest-dev/vitest/issues/2039) ##### 🐞 Bug Fixes - Move outputFile to benchmark, allow --reporter for benchmark - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2037](https://togithub.com/vitest-dev/vitest/issues/2037) - **cli**: Forward node wasm flags - by [@Peeterush](https://togithub.com/Peeterush) in [https://github.com/vitest-dev/vitest/issues/2041](https://togithub.com/vitest-dev/vitest/issues/2041) - **coverage**: `istanbul-reports` to support `projectRoot` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2051](https://togithub.com/vitest-dev/vitest/issues/2051) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.3...v0.23.4) ### [`v0.23.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.1...v0.23.2) ##### 🚀 Features - Added fastify example - by [@irvile](https://togithub.com/irvile) in [https://github.com/vitest-dev/vitest/issues/1991](https://togithub.com/vitest-dev/vitest/issues/1991) - **bench**: Improve summary - by [@antfu](https://togithub.com/antfu) [(d0167)](https://togithub.com/vitest-dev/vitest/commit/d0167247) ##### 🐞 Bug Fixes - Update tinybench to 2.1.5 - by [@Aslemammad](https://togithub.com/Aslemammad) in [https://github.com/vitest-dev/vitest/issues/1990](https://togithub.com/vitest-dev/vitest/issues/1990) - **bench**: - Rank sorting, fix [#2006](https://togithub.com/vitest-dev/vitest/issues/2006) - by [@nickmccurdy](https://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/2007](https://togithub.com/vitest-dev/vitest/issues/2007) - Do not group benchmarks - by [@Aslemammad](https://togithub.com/Aslemammad) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2016](https://togithub.com/vitest-dev/vitest/issues/2016) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.1...v0.23.2) ### [`v0.23.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.23.0...v0.23.1) ##### 🐞 Bug Fixes - Show diff for errors that contain actual/expected without showDiff - by [@IgnusG](https://togithub.com/IgnusG) in [https://github.com/vitest-dev/vitest/issues/1966](https://togithub.com/vitest-dev/vitest/issues/1966) - Don't fail on running vitest dev (closes [#1971](https://togithub.com/vitest-dev/vitest/issues/1971)) - by [@sheremet-va](https://togithub.com/sheremet-va) [(3807c)](https://togithub.com/vitest-dev/vitest/commit/3807c07f) - Don't hang when running vitest - by [@sheremet-va](https://togithub.com/sheremet-va) [(f3025)](https://togithub.com/vitest-dev/vitest/commit/f3025cde) - Define default exports properties as named exports for ESM compatibility - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1979](https://togithub.com/vitest-dev/vitest/issues/1979) - Correctly normalize mocked path, if file is named like the folder - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1973](https://togithub.com/vitest-dev/vitest/issues/1973) - **ui**: Display correct line and column for web UI - by [@bartoszgolebiowski](https://togithub.com/bartoszgolebiowski) in [https://github.com/vitest-dev/vitest/issues/1972](https://togithub.com/vitest-dev/vitest/issues/1972) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.23.0...v0.23.1) ### [`v0.23.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.23.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.22.1...v0.23.0) ##### 🚨 Breaking Changes - Don't reset modules with --no-isolate - by [@sheremet-va](https://togithub.com/sheremet-va) and [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/1754](https://togithub.com/vitest-dev/vitest/issues/1754) - If not processed, CSS Modules return a proxy, scope class names by filename - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1803](https://togithub.com/vitest-dev/vitest/issues/1803) - Improve interchangeability with cjs - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1944](https://togithub.com/vitest-dev/vitest/issues/1944) - Allow custom environments - by [@sheremet-va](https://togithub.com/sheremet-va) and [@Demivan](https://togithub.com/Demivan) in [https://github.com/vitest-dev/vitest/issues/1963](https://togithub.com/vitest-dev/vitest/issues/1963) ##### 🚀 Features - Add include option in istanbul coverage - by [@warmthdawn](https://togithub.com/warmthdawn) in [https://github.com/vitest-dev/vitest/issues/1883](https://togithub.com/vitest-dev/vitest/issues/1883) - Introduce `retry` option for tests - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1929](https://togithub.com/vitest-dev/vitest/issues/1929) - Add benchmark support with `vitest bench` command - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/1029](https://togithub.com/vitest-dev/vitest/issues/1029) - **coverage**: Include json reporter by default - by [@poyoho](https://togithub.com/poyoho) [(faed4)](https://togithub.com/vitest-dev/vitest/commit/faed4acb) - **coverage-istanbul**: Add "all" option - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/1880](https://togithub.com/vitest-dev/vitest/issues/1880) - **worker**: Always apply custom resolver conditions - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1934](https://togithub.com/vitest-dev/vitest/issues/1934) ##### 🐞 Bug Fixes - Allow referring to first seen value while automocking - by [@simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/1879](https://togithub.com/vitest-dev/vitest/issues/1879) - Console.Console is undefined (close: [#1877](https://togithub.com/vitest-dev/vitest/issues/1877)) - by [@ahaoboy](https://togithub.com/ahaoboy) in [https://github.com/vitest-dev/vitest/issues/1878](https://togithub.com/vitest-dev/vitest/issues/1878) - Invalidate new worker and its dependencies - by [@sun0day](https://togithub.com/sun0day) in [https://github.com/vitest-dev/vitest/issues/1896](https://togithub.com/vitest-dev/vitest/issues/1896) - Improve error serialization - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1921](https://togithub.com/vitest-dev/vitest/issues/1921) - Clean coverage-c8 tmp before reporting (fix [#1917](https://togithub.com/vitest-dev/vitest/issues/1917)) - by [@sun0day](https://togithub.com/sun0day) in [https://github.com/vitest-dev/vitest/issues/1925](https://togithub.com/vitest-dev/vitest/issues/1925) - Automock getters and setters - by [@simon-abbott](https://togithub.com/simon-abbott) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1903](https://togithub.com/vitest-dev/vitest/issues/1903) - Add possibility to filter test files by fileName - by [@bartoszgolebiowski](https://togithub.com/bartoszgolebiowski) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1915](https://togithub.com/vitest-dev/vitest/issues/1915) - Make globalThis more compatible with jest - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1956](https://togithub.com/vitest-dev/vitest/issues/1956) - Delete mock in moduleCache when unmock - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/1947](https://togithub.com/vitest-dev/vitest/issues/1947) - Matcher toHaveProperty actually tests value - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1958](https://togithub.com/vitest-dev/vitest/issues/1958) - **env-replacer**: Don't modify string literals - by [@tony19](https://togithub.com/tony19) in [https://github.com/vitest-dev/vitest/issues/1943](https://togithub.com/vitest-dev/vitest/issues/1943) - **istanbul**: Disable compact in instrumenter transform - by [@poyoho](https://togithub.com/poyoho) [(80739)](https://togithub.com/vitest-dev/vitest/commit/80739cae) - **reporter**: Correct error source position in json report - by [@azaleta](https://togithub.com/azaleta) and [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/1909](https://togithub.com/vitest-dev/vitest/issues/1909) - **reporter-junit**: Escape XML when in error message (fix: [#1823](https://togithub.com/vitest-dev/vitest/issues/1823)) - by [@ChrisTowles](https://togithub.com/ChrisTowles) in [https://github.com/vitest-dev/vitest/issues/1890](https://togithub.com/vitest-dev/vitest/issues/1890) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.22.1...v0.23.0) ### [`v0.22.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.22.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.22.0...v0.22.1) ##### 🚀 Features - Restart vitest on config change - by [@antfu](https://togithub.com/antfu) [(c663f)](https://togithub.com/vitest-dev/vitest/commit/c663f39c) - Show transform time - by [@antfu](https://togithub.com/antfu) [(b54a1)](https://togithub.com/vitest-dev/vitest/commit/b54a13e5) - **vite-node**: `moduleCache.invalidateDepTree` utiltity - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1872](https://togithub.com/vitest-dev/vitest/issues/1872) ##### 🐞 Bug Fixes - Convert string coverage reporters to array - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/1860](https://togithub.com/vitest-dev/vitest/issues/1860) - Explicitly import performance - by [@antfu](https://togithub.com/antfu) [(870d1)](https://togithub.com/vitest-dev/vitest/commit/870d16e0) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.22.0...v0.22.1) ### [`v0.22.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.22.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.21.1...v0.22.0) ##### 🚨 Breaking Changes - `c8` coverage support now require peer dependency `@vitest/coverage-c8` to be installed. Alternatively, you can install `@vitest/coverage-istanbul` to use `istanbul` for coverage instead of `c8`. ##### 🚀 Features - Add --no-color to cli - by [@jereklas](https://togithub.com/jereklas) in [https://github.com/vitest-dev/vitest/issues/1849](https://togithub.com/vitest-dev/vitest/issues/1849) - Support auto retry on Node segfault `--segfault-retry` - by [@tony19](https://togithub.com/tony19) [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1854](https://togithub.com/vitest-dev/vitest/issues/1854) - Support `istanbul` coverage provider - by [@AriPerkkio](https://togithub.com/AriPerkkio) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1676](https://togithub.com/vitest-dev/vitest/issues/1676) - **cli**: Support passing `--inspect` and `--inspect-brk` - by [@antfu](https://togithub.com/antfu) [(ea80f)](https://togithub.com/vitest-dev/vitest/commit/ea80f2bf) ##### 🐞 Bug Fixes - Handle undefined returns of module mocks, and update migration docs - by [@jereklas](https://togithub.com/jereklas) in [https://github.com/vitest-dev/vitest/issues/1763](https://togithub.com/vitest-dev/vitest/issues/1763) and [https://github.com/vitest-dev/vitest/issues/1830](https://togithub.com/vitest-dev/vitest/issues/1830) - Clear pattern when rerun all tests - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/1834](https://togithub.com/vitest-dev/vitest/issues/1834) - **reporter-junit**: Remove trailing zeros in duration - by [@nieyuyao](https://togithub.com/nieyuyao) in [https://github.com/vitest-dev/vitest/issues/1842](https://togithub.com/vitest-dev/vitest/issues/1842) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.21.1...v0.22.0)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.