vitest-dev/vitest
### [`v0.29.7`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.7)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7)
##### 🐞 Bug Fixes
- Import [@vite/client](https://togithub.com/vite/client) in browser code for handling optimizer - by [@sheremet-va](https://togithub.com/sheremet-va) [(20c51)](https://togithub.com/vitest-dev/vitest/commit/20c510c4)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7)
### [`v0.29.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.6)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6)
##### 🐞 Bug Fixes
- Bundle UI with [@vitest/browser](https://togithub.com/vitest/browser) - by [@sheremet-va](https://togithub.com/sheremet-va) [(14091)](https://togithub.com/vitest-dev/vitest/commit/14091c59)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6)
### [`v0.29.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.5)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5)
##### 🐞 Bug Fixes
- **browser**: Relax vitest peer dependency - by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/3039](https://togithub.com/vitest-dev/vitest/issues/3039) [(865d1)](https://togithub.com/vitest-dev/vitest/commit/865d1afd)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5)
### [`v0.29.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.4)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4)
##### 🚀 Features
- `--test-timeout` CLI argument - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3019](https://togithub.com/vitest-dev/vitest/issues/3019) [(63c62)](https://togithub.com/vitest-dev/vitest/commit/63c62f9e)
- Add an option to control Vitest pool with filepath - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3029](https://togithub.com/vitest-dev/vitest/issues/3029) [(c7f0c)](https://togithub.com/vitest-dev/vitest/commit/c7f0c86b)
- Process timeout to log names of stuck test files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3031](https://togithub.com/vitest-dev/vitest/issues/3031) [(0ddf7)](https://togithub.com/vitest-dev/vitest/commit/0ddf7220)
- Support relative path in html report - by [@poyoho](https://togithub.com/poyoho) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2695](https://togithub.com/vitest-dev/vitest/issues/2695) [(a7680)](https://togithub.com/vitest-dev/vitest/commit/a768015e)
- Webdriverio (+ custom providers) integration for browser mode - by [@Aslemammad](https://togithub.com/Aslemammad), **Christian Bromann**, [@sheremet-va](https://togithub.com/sheremet-va), [@userquin](https://togithub.com/userquin) and [@dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/2999](https://togithub.com/vitest-dev/vitest/issues/2999) [(9cdc8)](https://togithub.com/vitest-dev/vitest/commit/9cdc8030)
##### 🐞 Bug Fixes
- Show correct line numbers in stack trace when using vi.resetModules() - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3020](https://togithub.com/vitest-dev/vitest/issues/3020) [(35730)](https://togithub.com/vitest-dev/vitest/commit/35730328)
- Mocking value proxy filter Symbol static properties - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/3036](https://togithub.com/vitest-dev/vitest/issues/3036) [(0cf44)](https://togithub.com/vitest-dev/vitest/commit/0cf44098)
- Escape XML in error stack trace when using junit reporter - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3038](https://togithub.com/vitest-dev/vitest/issues/3038) [(cc577)](https://togithub.com/vitest-dev/vitest/commit/cc5779d6)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4)
### [`v0.29.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3)
##### 🚀 Features
- Use custom colors implementation instead of picocolors - by [@sheremet-va](https://togithub.com/sheremet-va) [(427b0)](https://togithub.com/vitest-dev/vitest/commit/427b0622)
- Uncaught errors to indicate env teardown - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2982](https://togithub.com/vitest-dev/vitest/issues/2982) [(1fe82)](https://togithub.com/vitest-dev/vitest/commit/1fe8286c)
- **config**: Add an option to run setupFiles in sequence - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3008](https://togithub.com/vitest-dev/vitest/issues/3008) [(c2e25)](https://togithub.com/vitest-dev/vitest/commit/c2e25bb9)
##### 🐞 Bug Fixes
- Console log not visible - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2943](https://togithub.com/vitest-dev/vitest/issues/2943) [(02808)](https://togithub.com/vitest-dev/vitest/commit/0280825f)
- Remove duplicate execArgv when deps.registerNodeLoader: true - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2965](https://togithub.com/vitest-dev/vitest/issues/2965) [(a1954)](https://togithub.com/vitest-dev/vitest/commit/a1954cc0)
- Prevent running test cases timers after environment teardown - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2971](https://togithub.com/vitest-dev/vitest/issues/2971) [(bde75)](https://togithub.com/vitest-dev/vitest/commit/bde75a34)
- Don't mark setupFiles as test files, if experimentaOptimizer is used - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2974](https://togithub.com/vitest-dev/vitest/issues/2974) [(819c6)](https://togithub.com/vitest-dev/vitest/commit/819c6cbe)
- Config errors not visible - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2995](https://togithub.com/vitest-dev/vitest/issues/2995) [(f01c7)](https://togithub.com/vitest-dev/vitest/commit/f01c7833)
- \--inspect to work inside workers - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2983](https://togithub.com/vitest-dev/vitest/issues/2983) [(36087)](https://togithub.com/vitest-dev/vitest/commit/36087d1e)
- **types**: Use `any` as default value for TArgs in vi.fn() - by [@jessevanassen](https://togithub.com/jessevanassen) in [https://github.com/vitest-dev/vitest/issues/2947](https://togithub.com/vitest-dev/vitest/issues/2947) [(1bdcc)](https://togithub.com/vitest-dev/vitest/commit/1bdcc212)
##### 🏎 Performance
- **reporters**: Overall improvements - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3006](https://togithub.com/vitest-dev/vitest/issues/3006) [(22ca0)](https://togithub.com/vitest-dev/vitest/commit/22ca0b6b)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3)
### [`v0.29.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2)
##### 🐞 Bug Fixes
- Optimize dependencies in setup files - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2935](https://togithub.com/vitest-dev/vitest/issues/2935) [(c169f)](https://togithub.com/vitest-dev/vitest/commit/c169f980)
- **coverage**: C8 provider to work when isolate:false - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2929](https://togithub.com/vitest-dev/vitest/issues/2929) [(86538)](https://togithub.com/vitest-dev/vitest/commit/8653830b)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2)
### [`v0.29.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1)
##### 🐞 Bug Fixes
- Wait for optimized dependency to be bundled in non-pnpm package managers - by [@sheremet-va](https://togithub.com/sheremet-va) [(d2460)](https://togithub.com/vitest-dev/vitest/commit/d2460b7a)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1)
### [`v0.29.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.0)
This release makes some significant changes to how tests are running. If you were using `--no-threads` before, you might consider enabling `--single-thread` instead (because your tests are now running in `child_process` instead of a worker thread) or try our new performance optimization feature (discussed later). If you were relying on API that was not available inside a worker (like `process.chdir()`, you can now use this option.
One of the potential breaking bug fixes is that environments do not share the same global scope anymore if you run them with `--no-isolate`, `--no-threads` or `--single-thread` - you might need to update your setup files if you were relying on a global variable before.
If you had performance issues on large code bases before, try the new [`deps.experimentalOptimizer`](https://vitest.dev/config/#deps-experimentaloptimizer) option instead of disabling threads. Feedback is welcome!
One of the breaking changes includes adding a link to snapshots inside snapshot files, meaning you will need to update all your snapshots.
##### 🚨 Breaking Changes
- Vitest as peer dependency for coverage packages - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2836](https://togithub.com/vitest-dev/vitest/issues/2836) [(94247)](https://togithub.com/vitest-dev/vitest/commit/94247f1b)
- Coverage-c8 to use V8 profiler directly instead of `NODE_V8_COVERAGE` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2786](https://togithub.com/vitest-dev/vitest/issues/2786) [(095c6)](https://togithub.com/vitest-dev/vitest/commit/095c6390)
- Add a link to the comment at the top of the snapshot file - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/2867](https://togithub.com/vitest-dev/vitest/issues/2867) [(615e1)](https://togithub.com/vitest-dev/vitest/commit/615e150b)
- Always run separate environments in isolation - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2860](https://togithub.com/vitest-dev/vitest/issues/2860) [(1f858)](https://togithub.com/vitest-dev/vitest/commit/1f858e0c)
- Tests with `node` and `jsdom` (and other environments) now don't share the same global scope, if you run them with `--no-isolate` or `--no-threads` flag. Vitest doesn't provide a way to restore the previous behavior as it is considered a bug.
- Use child_process when --no-threads is used - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2772](https://togithub.com/vitest-dev/vitest/issues/2772) [(7bf54)](https://togithub.com/vitest-dev/vitest/commit/7bf54505)
- Tests inside `chid_process` might run longer due to the communication overhead. If you want to restore the previous behavior, use `--single-thread`.
##### 🚀 Features
- Add test seed to banner - by [@btkostner](https://togithub.com/btkostner) in [https://github.com/vitest-dev/vitest/issues/2877](https://togithub.com/vitest-dev/vitest/issues/2877) [(bdb39)](https://togithub.com/vitest-dev/vitest/commit/bdb39569)
- Use custom source-map-support implementation - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2905](https://togithub.com/vitest-dev/vitest/issues/2905) [(6ff6c)](https://togithub.com/vitest-dev/vitest/commit/6ff6c6eb)
- Add an option to enable Vite optimizer - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2912](https://togithub.com/vitest-dev/vitest/issues/2912) [(af8de)](https://togithub.com/vitest-dev/vitest/commit/af8de362)
- **coverage**:
- Add support for coverage reporter options - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2690](https://togithub.com/vitest-dev/vitest/issues/2690) [(f8176)](https://togithub.com/vitest-dev/vitest/commit/f8176182)
- Automatic threshold updating - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2886](https://togithub.com/vitest-dev/vitest/issues/2886) [(e1652)](https://togithub.com/vitest-dev/vitest/commit/e1652163)
- **spy**:
- Implement mock.withImplementation API - by [@obadakhalili](https://togithub.com/obadakhalili) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2835](https://togithub.com/vitest-dev/vitest/issues/2835) [(610b1)](https://togithub.com/vitest-dev/vitest/commit/610b1d46)
- **vite-node**:
- Cli option for vite mode - by [@abarke](https://togithub.com/abarke) in [https://github.com/vitest-dev/vitest/issues/2893](https://togithub.com/vitest-dev/vitest/issues/2893) [(0fc08)](https://togithub.com/vitest-dev/vitest/commit/0fc08032)
##### 🐞 Bug Fixes
- Wait for console.log to print a message before terminating a worker - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2861](https://togithub.com/vitest-dev/vitest/issues/2861) [(fbc54)](https://togithub.com/vitest-dev/vitest/commit/fbc54c91)
- Cleanup last mocked cache when call vi.doMock - by [@mysteryven](https://togithub.com/mysteryven) in [https://github.com/vitest-dev/vitest/issues/2872](https://togithub.com/vitest-dev/vitest/issues/2872) [(65d71)](https://togithub.com/vitest-dev/vitest/commit/65d71b9e)
- Reload changed configuration file on watch mode - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2889](https://togithub.com/vitest-dev/vitest/issues/2889) [(4d277)](https://togithub.com/vitest-dev/vitest/commit/4d277d8d)
- **coverage**: Custom providers to work inside worker threads - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2817](https://togithub.com/vitest-dev/vitest/issues/2817) [(81604)](https://togithub.com/vitest-dev/vitest/commit/81604bce)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.0)
Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" (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 this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^0.28.3
->^0.29.0
Release Notes
vitest-dev/vitest
### [`v0.29.7`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.7) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7) ##### 🐞 Bug Fixes - Import [@vite/client](https://togithub.com/vite/client) in browser code for handling optimizer - by [@sheremet-va](https://togithub.com/sheremet-va) [(20c51)](https://togithub.com/vitest-dev/vitest/commit/20c510c4) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.6...v0.29.7) ### [`v0.29.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6) ##### 🐞 Bug Fixes - Bundle UI with [@vitest/browser](https://togithub.com/vitest/browser) - by [@sheremet-va](https://togithub.com/sheremet-va) [(14091)](https://togithub.com/vitest-dev/vitest/commit/14091c59) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.5...v0.29.6) ### [`v0.29.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5) ##### 🐞 Bug Fixes - **browser**: Relax vitest peer dependency - by [@cexbrayat](https://togithub.com/cexbrayat) in [https://github.com/vitest-dev/vitest/issues/3039](https://togithub.com/vitest-dev/vitest/issues/3039) [(865d1)](https://togithub.com/vitest-dev/vitest/commit/865d1afd) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.4...v0.29.5) ### [`v0.29.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4) ##### 🚀 Features - `--test-timeout` CLI argument - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3019](https://togithub.com/vitest-dev/vitest/issues/3019) [(63c62)](https://togithub.com/vitest-dev/vitest/commit/63c62f9e) - Add an option to control Vitest pool with filepath - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3029](https://togithub.com/vitest-dev/vitest/issues/3029) [(c7f0c)](https://togithub.com/vitest-dev/vitest/commit/c7f0c86b) - Process timeout to log names of stuck test files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3031](https://togithub.com/vitest-dev/vitest/issues/3031) [(0ddf7)](https://togithub.com/vitest-dev/vitest/commit/0ddf7220) - Support relative path in html report - by [@poyoho](https://togithub.com/poyoho) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2695](https://togithub.com/vitest-dev/vitest/issues/2695) [(a7680)](https://togithub.com/vitest-dev/vitest/commit/a768015e) - Webdriverio (+ custom providers) integration for browser mode - by [@Aslemammad](https://togithub.com/Aslemammad), **Christian Bromann**, [@sheremet-va](https://togithub.com/sheremet-va), [@userquin](https://togithub.com/userquin) and [@dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/2999](https://togithub.com/vitest-dev/vitest/issues/2999) [(9cdc8)](https://togithub.com/vitest-dev/vitest/commit/9cdc8030) ##### 🐞 Bug Fixes - Show correct line numbers in stack trace when using vi.resetModules() - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3020](https://togithub.com/vitest-dev/vitest/issues/3020) [(35730)](https://togithub.com/vitest-dev/vitest/commit/35730328) - Mocking value proxy filter Symbol static properties - by [@ChpShy](https://togithub.com/ChpShy) in [https://github.com/vitest-dev/vitest/issues/3036](https://togithub.com/vitest-dev/vitest/issues/3036) [(0cf44)](https://togithub.com/vitest-dev/vitest/commit/0cf44098) - Escape XML in error stack trace when using junit reporter - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3038](https://togithub.com/vitest-dev/vitest/issues/3038) [(cc577)](https://togithub.com/vitest-dev/vitest/commit/cc5779d6) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.3...v0.29.4) ### [`v0.29.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3) ##### 🚀 Features - Use custom colors implementation instead of picocolors - by [@sheremet-va](https://togithub.com/sheremet-va) [(427b0)](https://togithub.com/vitest-dev/vitest/commit/427b0622) - Uncaught errors to indicate env teardown - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2982](https://togithub.com/vitest-dev/vitest/issues/2982) [(1fe82)](https://togithub.com/vitest-dev/vitest/commit/1fe8286c) - **config**: Add an option to run setupFiles in sequence - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3008](https://togithub.com/vitest-dev/vitest/issues/3008) [(c2e25)](https://togithub.com/vitest-dev/vitest/commit/c2e25bb9) ##### 🐞 Bug Fixes - Console log not visible - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2943](https://togithub.com/vitest-dev/vitest/issues/2943) [(02808)](https://togithub.com/vitest-dev/vitest/commit/0280825f) - Remove duplicate execArgv when deps.registerNodeLoader: true - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2965](https://togithub.com/vitest-dev/vitest/issues/2965) [(a1954)](https://togithub.com/vitest-dev/vitest/commit/a1954cc0) - Prevent running test cases timers after environment teardown - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2971](https://togithub.com/vitest-dev/vitest/issues/2971) [(bde75)](https://togithub.com/vitest-dev/vitest/commit/bde75a34) - Don't mark setupFiles as test files, if experimentaOptimizer is used - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2974](https://togithub.com/vitest-dev/vitest/issues/2974) [(819c6)](https://togithub.com/vitest-dev/vitest/commit/819c6cbe) - Config errors not visible - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2995](https://togithub.com/vitest-dev/vitest/issues/2995) [(f01c7)](https://togithub.com/vitest-dev/vitest/commit/f01c7833) - \--inspect to work inside workers - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2983](https://togithub.com/vitest-dev/vitest/issues/2983) [(36087)](https://togithub.com/vitest-dev/vitest/commit/36087d1e) - **types**: Use `any` as default value for TArgs in vi.fn() - by [@jessevanassen](https://togithub.com/jessevanassen) in [https://github.com/vitest-dev/vitest/issues/2947](https://togithub.com/vitest-dev/vitest/issues/2947) [(1bdcc)](https://togithub.com/vitest-dev/vitest/commit/1bdcc212) ##### 🏎 Performance - **reporters**: Overall improvements - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3006](https://togithub.com/vitest-dev/vitest/issues/3006) [(22ca0)](https://togithub.com/vitest-dev/vitest/commit/22ca0b6b) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.2...v0.29.3) ### [`v0.29.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2) ##### 🐞 Bug Fixes - Optimize dependencies in setup files - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2935](https://togithub.com/vitest-dev/vitest/issues/2935) [(c169f)](https://togithub.com/vitest-dev/vitest/commit/c169f980) - **coverage**: C8 provider to work when isolate:false - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2929](https://togithub.com/vitest-dev/vitest/issues/2929) [(86538)](https://togithub.com/vitest-dev/vitest/commit/8653830b) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.1...v0.29.2) ### [`v0.29.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1) ##### 🐞 Bug Fixes - Wait for optimized dependency to be bundled in non-pnpm package managers - by [@sheremet-va](https://togithub.com/sheremet-va) [(d2460)](https://togithub.com/vitest-dev/vitest/commit/d2460b7a) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.29.0...v0.29.1) ### [`v0.29.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.29.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.0) This release makes some significant changes to how tests are running. If you were using `--no-threads` before, you might consider enabling `--single-thread` instead (because your tests are now running in `child_process` instead of a worker thread) or try our new performance optimization feature (discussed later). If you were relying on API that was not available inside a worker (like `process.chdir()`, you can now use this option. One of the potential breaking bug fixes is that environments do not share the same global scope anymore if you run them with `--no-isolate`, `--no-threads` or `--single-thread` - you might need to update your setup files if you were relying on a global variable before. If you had performance issues on large code bases before, try the new [`deps.experimentalOptimizer`](https://vitest.dev/config/#deps-experimentaloptimizer) option instead of disabling threads. Feedback is welcome! One of the breaking changes includes adding a link to snapshots inside snapshot files, meaning you will need to update all your snapshots. ##### 🚨 Breaking Changes - Vitest as peer dependency for coverage packages - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2836](https://togithub.com/vitest-dev/vitest/issues/2836) [(94247)](https://togithub.com/vitest-dev/vitest/commit/94247f1b) - Coverage-c8 to use V8 profiler directly instead of `NODE_V8_COVERAGE` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2786](https://togithub.com/vitest-dev/vitest/issues/2786) [(095c6)](https://togithub.com/vitest-dev/vitest/commit/095c6390) - Add a link to the comment at the top of the snapshot file - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/2867](https://togithub.com/vitest-dev/vitest/issues/2867) [(615e1)](https://togithub.com/vitest-dev/vitest/commit/615e150b) - Always run separate environments in isolation - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2860](https://togithub.com/vitest-dev/vitest/issues/2860) [(1f858)](https://togithub.com/vitest-dev/vitest/commit/1f858e0c) - Tests with `node` and `jsdom` (and other environments) now don't share the same global scope, if you run them with `--no-isolate` or `--no-threads` flag. Vitest doesn't provide a way to restore the previous behavior as it is considered a bug. - Use child_process when --no-threads is used - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2772](https://togithub.com/vitest-dev/vitest/issues/2772) [(7bf54)](https://togithub.com/vitest-dev/vitest/commit/7bf54505) - Tests inside `chid_process` might run longer due to the communication overhead. If you want to restore the previous behavior, use `--single-thread`. ##### 🚀 Features - Add test seed to banner - by [@btkostner](https://togithub.com/btkostner) in [https://github.com/vitest-dev/vitest/issues/2877](https://togithub.com/vitest-dev/vitest/issues/2877) [(bdb39)](https://togithub.com/vitest-dev/vitest/commit/bdb39569) - Use custom source-map-support implementation - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2905](https://togithub.com/vitest-dev/vitest/issues/2905) [(6ff6c)](https://togithub.com/vitest-dev/vitest/commit/6ff6c6eb) - Add an option to enable Vite optimizer - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2912](https://togithub.com/vitest-dev/vitest/issues/2912) [(af8de)](https://togithub.com/vitest-dev/vitest/commit/af8de362) - **coverage**: - Add support for coverage reporter options - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2690](https://togithub.com/vitest-dev/vitest/issues/2690) [(f8176)](https://togithub.com/vitest-dev/vitest/commit/f8176182) - Automatic threshold updating - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2886](https://togithub.com/vitest-dev/vitest/issues/2886) [(e1652)](https://togithub.com/vitest-dev/vitest/commit/e1652163) - **spy**: - Implement mock.withImplementation API - by [@obadakhalili](https://togithub.com/obadakhalili) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2835](https://togithub.com/vitest-dev/vitest/issues/2835) [(610b1)](https://togithub.com/vitest-dev/vitest/commit/610b1d46) - **vite-node**: - Cli option for vite mode - by [@abarke](https://togithub.com/abarke) in [https://github.com/vitest-dev/vitest/issues/2893](https://togithub.com/vitest-dev/vitest/issues/2893) [(0fc08)](https://togithub.com/vitest-dev/vitest/commit/0fc08032) ##### 🐞 Bug Fixes - Wait for console.log to print a message before terminating a worker - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2861](https://togithub.com/vitest-dev/vitest/issues/2861) [(fbc54)](https://togithub.com/vitest-dev/vitest/commit/fbc54c91) - Cleanup last mocked cache when call vi.doMock - by [@mysteryven](https://togithub.com/mysteryven) in [https://github.com/vitest-dev/vitest/issues/2872](https://togithub.com/vitest-dev/vitest/issues/2872) [(65d71)](https://togithub.com/vitest-dev/vitest/commit/65d71b9e) - Reload changed configuration file on watch mode - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2889](https://togithub.com/vitest-dev/vitest/issues/2889) [(4d277)](https://togithub.com/vitest-dev/vitest/commit/4d277d8d) - **coverage**: Custom providers to work inside worker threads - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2817](https://togithub.com/vitest-dev/vitest/issues/2817) [(81604)](https://togithub.com/vitest-dev/vitest/commit/81604bce) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.5...v0.29.0)Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" (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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.