🚨 Breaking Changes
- Vitest as peer dependency for coverage packages - by @AriPerkkio in #2836 (94247)
- Coverage-c8 to use V8 profiler directly instead of
NODE_V8_COVERAGE
- by @AriPerkkio in #2786 (095c6) - Always run separate environments in isolation - by @sheremet-va in #2860 (1f858)
- Use child_process when --no-threads is used - by @sheremet-va in #2772 (7bf54)
🚀 Features
- Add test seed to banner - by @btkostner in #2877 (bdb39)
- Use custom source-map-support implementation - by @sheremet-va in #2905 (6ff6c)
- Add an option to enable Vite optimizer - by @sheremet-va in #2912 (af8de)
- Add a link to the comment at the top of the snapshot file - by @btea in #2867 (615e1)
- coverage:
- Add support for coverage reporter options - by @AriPerkkio in #2690 (f8176)
- Automatic threshold updating - by @AriPerkkio in #2886 (e1652)
- spy:
- Implement mock.withImplementation API - by @obadakhalili and @sheremet-va in #2835 (610b1)
- vite-node:
🐞 Bug Fixes
- Wait for console.log to print a message before terminating a worker - by @sheremet-va in #2861 (fbc54)
- Cleanup last mocked cache when call vi.doMock - by @mysteryven in #2872 (65d71)
- Reload changed configuration file on watch mode - by @AriPerkkio in #2889 (4d277)
- coverage: Custom providers to work inside worker threads - by @AriPerkkio in #2817 (81604)