vitest-dev/vitest
### [`v0.18.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.18.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.18.0...v0.18.1)
##### 🚀 Features
- Make fallbackCJS mode try resolve from `/es/...` and `/lib/...` - by [@zthxxx](https://togithub.com/zthxxx) in [https://github.com/vitest-dev/vitest/issues/1633](https://togithub.com/vitest-dev/vitest/issues/1633)
##### 🐞 Bug Fixes
- Add spec to defaults to exclude from coverage (fix [#1612](https://togithub.com/vitest-dev/vitest/issues/1612)) - by [@pandyarudra](https://togithub.com/pandyarudra) in [https://github.com/vitest-dev/vitest/issues/1627](https://togithub.com/vitest-dev/vitest/issues/1627)
- Mock properties of classes/functions (fix [#1523](https://togithub.com/vitest-dev/vitest/issues/1523)) - by [@simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/1648](https://togithub.com/vitest-dev/vitest/issues/1648)
- **types**: Fix `test.each` and `describe.each` types - by [@Demivan](https://togithub.com/Demivan) in [https://github.com/vitest-dev/vitest/issues/1653](https://togithub.com/vitest-dev/vitest/issues/1653)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.18.0...v0.18.1)
### [`v0.18.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.18.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.17.1...v0.18.0)
##### 🚨 Breaking Changes
- TestSequencerConstructor typo - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/1618](https://togithub.com/vitest-dev/vitest/issues/1618)
- **reporter**: Move `ctx.log` to `ctx.logger.log`, improve log flicking - by [@userquin](https://togithub.com/userquin) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1166](https://togithub.com/vitest-dev/vitest/issues/1166)
##### 🐞 Bug Fixes
- Show error message when cache failed to parse - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1614](https://togithub.com/vitest-dev/vitest/issues/1614)
- Move cache state to `ctx.cache` - by [@antfu](https://togithub.com/antfu) [(695a7)](https://togithub.com/vitest-dev/vitest/commit/695a7a26)
- **reporter**: Clear previous state on rerun - by [@antfu](https://togithub.com/antfu) [(f7148)](https://togithub.com/vitest-dev/vitest/commit/f7148335)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.17.1...v0.18.0)
### [`v0.17.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.17.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.17.0...v0.17.1)
##### 🚀 Features
- Check related against `forceRerunTriggers` - by [@elliotwestlake](https://togithub.com/elliotwestlake) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1595](https://togithub.com/vitest-dev/vitest/issues/1595)
- Make sequencer public, add option to run tests in random order - by [@sheremet-va](https://togithub.com/sheremet-va) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1582](https://togithub.com/vitest-dev/vitest/issues/1582)
##### 🐞 Bug Fixes
- Use jsdom MessageEvent - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1594](https://togithub.com/vitest-dev/vitest/issues/1594)
- Crash with odd cpu counts - by [@yamazaki-sensei](https://togithub.com/yamazaki-sensei) in [https://github.com/vitest-dev/vitest/issues/1597](https://togithub.com/vitest-dev/vitest/issues/1597)
- **vite-node**: Self circular reference - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1609](https://togithub.com/vitest-dev/vitest/issues/1609)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.17.0...v0.17.1)
### [`v0.17.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.17.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.16.0...v0.17.0)
##### 🚀 Features
- Add vite 3 support - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1561](https://togithub.com/vitest-dev/vitest/issues/1561)
- Support cts and mts config - by [@sxzz](https://togithub.com/sxzz) in [https://github.com/vitest-dev/vitest/issues/1540](https://togithub.com/vitest-dev/vitest/issues/1540)
- Support edge runtime - by [@promer94](https://togithub.com/promer94) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1574](https://togithub.com/vitest-dev/vitest/issues/1574)
- Add caching to run failed and longer tests first - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1541](https://togithub.com/vitest-dev/vitest/issues/1541)
- **vite-node**: Vite hmr support - by [@poyoho](https://togithub.com/poyoho) and [@promer94](https://togithub.com/promer94) in [https://github.com/vitest-dev/vitest/issues/1516](https://togithub.com/vitest-dev/vitest/issues/1516)
##### 🐞 Bug Fixes
- Show full path to UI in terminal - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1549](https://togithub.com/vitest-dev/vitest/issues/1549)
- Filter out invalid files - by [@nieyuyao](https://togithub.com/nieyuyao) in [https://github.com/vitest-dev/vitest/issues/1553](https://togithub.com/vitest-dev/vitest/issues/1553)
- Web worker using worker plugins - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1546](https://togithub.com/vitest-dev/vitest/issues/1546)
- Correctly create snapshot for rejected errors - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1567](https://togithub.com/vitest-dev/vitest/issues/1567)
- Mocking works with base url - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1581](https://togithub.com/vitest-dev/vitest/issues/1581)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.16.0...v0.17.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 these updates 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.16.0
->^0.18.0
Release Notes
vitest-dev/vitest
### [`v0.18.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.18.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.18.0...v0.18.1) ##### 🚀 Features - Make fallbackCJS mode try resolve from `/es/...` and `/lib/...` - by [@zthxxx](https://togithub.com/zthxxx) in [https://github.com/vitest-dev/vitest/issues/1633](https://togithub.com/vitest-dev/vitest/issues/1633) ##### 🐞 Bug Fixes - Add spec to defaults to exclude from coverage (fix [#1612](https://togithub.com/vitest-dev/vitest/issues/1612)) - by [@pandyarudra](https://togithub.com/pandyarudra) in [https://github.com/vitest-dev/vitest/issues/1627](https://togithub.com/vitest-dev/vitest/issues/1627) - Mock properties of classes/functions (fix [#1523](https://togithub.com/vitest-dev/vitest/issues/1523)) - by [@simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/1648](https://togithub.com/vitest-dev/vitest/issues/1648) - **types**: Fix `test.each` and `describe.each` types - by [@Demivan](https://togithub.com/Demivan) in [https://github.com/vitest-dev/vitest/issues/1653](https://togithub.com/vitest-dev/vitest/issues/1653) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.18.0...v0.18.1) ### [`v0.18.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.18.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.17.1...v0.18.0) ##### 🚨 Breaking Changes - TestSequencerConstructor typo - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/1618](https://togithub.com/vitest-dev/vitest/issues/1618) - **reporter**: Move `ctx.log` to `ctx.logger.log`, improve log flicking - by [@userquin](https://togithub.com/userquin) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1166](https://togithub.com/vitest-dev/vitest/issues/1166) ##### 🐞 Bug Fixes - Show error message when cache failed to parse - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1614](https://togithub.com/vitest-dev/vitest/issues/1614) - Move cache state to `ctx.cache` - by [@antfu](https://togithub.com/antfu) [(695a7)](https://togithub.com/vitest-dev/vitest/commit/695a7a26) - **reporter**: Clear previous state on rerun - by [@antfu](https://togithub.com/antfu) [(f7148)](https://togithub.com/vitest-dev/vitest/commit/f7148335) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.17.1...v0.18.0) ### [`v0.17.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.17.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.17.0...v0.17.1) ##### 🚀 Features - Check related against `forceRerunTriggers` - by [@elliotwestlake](https://togithub.com/elliotwestlake) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1595](https://togithub.com/vitest-dev/vitest/issues/1595) - Make sequencer public, add option to run tests in random order - by [@sheremet-va](https://togithub.com/sheremet-va) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1582](https://togithub.com/vitest-dev/vitest/issues/1582) ##### 🐞 Bug Fixes - Use jsdom MessageEvent - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1594](https://togithub.com/vitest-dev/vitest/issues/1594) - Crash with odd cpu counts - by [@yamazaki-sensei](https://togithub.com/yamazaki-sensei) in [https://github.com/vitest-dev/vitest/issues/1597](https://togithub.com/vitest-dev/vitest/issues/1597) - **vite-node**: Self circular reference - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/1609](https://togithub.com/vitest-dev/vitest/issues/1609) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.17.0...v0.17.1) ### [`v0.17.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.17.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.16.0...v0.17.0) ##### 🚀 Features - Add vite 3 support - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1561](https://togithub.com/vitest-dev/vitest/issues/1561) - Support cts and mts config - by [@sxzz](https://togithub.com/sxzz) in [https://github.com/vitest-dev/vitest/issues/1540](https://togithub.com/vitest-dev/vitest/issues/1540) - Support edge runtime - by [@promer94](https://togithub.com/promer94) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1574](https://togithub.com/vitest-dev/vitest/issues/1574) - Add caching to run failed and longer tests first - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1541](https://togithub.com/vitest-dev/vitest/issues/1541) - **vite-node**: Vite hmr support - by [@poyoho](https://togithub.com/poyoho) and [@promer94](https://togithub.com/promer94) in [https://github.com/vitest-dev/vitest/issues/1516](https://togithub.com/vitest-dev/vitest/issues/1516) ##### 🐞 Bug Fixes - Show full path to UI in terminal - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1549](https://togithub.com/vitest-dev/vitest/issues/1549) - Filter out invalid files - by [@nieyuyao](https://togithub.com/nieyuyao) in [https://github.com/vitest-dev/vitest/issues/1553](https://togithub.com/vitest-dev/vitest/issues/1553) - Web worker using worker plugins - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1546](https://togithub.com/vitest-dev/vitest/issues/1546) - Correctly create snapshot for rejected errors - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1567](https://togithub.com/vitest-dev/vitest/issues/1567) - Mocking works with base url - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1581](https://togithub.com/vitest-dev/vitest/issues/1581) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.16.0...v0.17.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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.