Open renovate[bot] opened 11 months ago
Run & review this pull request in StackBlitz Codeflow.
Latest commit: c1f3452cedaa3d5b31e76e3eaada8b9fb2c58192
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
This PR contains the following updates:
^0.31.4
->^0.33.0
^0.31.4
->^0.34.0
^0.19.9
->^0.24.0
^0.31.4
->^0.34.0
Release Notes
vitest-dev/vitest (@vitest/coverage-c8)
### [`v0.33.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.33.0) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ##### 🚨 Breaking Changes - Revert default include patterns - by [@so1ve](https://redirect.github.com/so1ve) [#3729](https://redirect.github.com/vitest-dev/vitest/issues/3729) - `0.32.0` changed the default `include` globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive. ##### 🐞 Bug Fixes - Add missing JSDom living keys - by [@DerZade](https://redirect.github.com/DerZade) in [https://github.com/vitest-dev/vitest/issues/3702](https://redirect.github.com/vitest-dev/vitest/issues/3702) [(83a86)](https://redirect.github.com/vitest-dev/vitest/commit/83a86a75) - **vite-node**: - Don't fail when importing Promise module - by [@sheremet-va](https://redirect.github.com/sheremet-va) [(08192)](https://redirect.github.com/vitest-dev/vitest/commit/0819275a) - Allow importing node:test - by [@sheremet-va](https://redirect.github.com/sheremet-va) [(db22c)](https://redirect.github.com/vitest-dev/vitest/commit/db22c677) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ### [`v0.32.4`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.32.4) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ##### 🐞 Bug Fixes - **browser**: Correctly optimize CJS dependencies - by [@sheremet-va](https://redirect.github.com/sheremet-va) [(3d090)](https://redirect.github.com/vitest-dev/vitest/commit/3d0908e7) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.32.3) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ##### 🚀 Features - Add `concurrent` option to `sequence` config - by [@fenghan34](https://redirect.github.com/fenghan34) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://redirect.github.com/vitest-dev/vitest/issues/3604) [(f427f)](https://redirect.github.com/vitest-dev/vitest/commit/f427f004) - Introduce global configuration for retry setting - by [@imentu](https://redirect.github.com/imentu) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://redirect.github.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://redirect.github.com/vitest-dev/vitest/issues/3603) [(9a117)](https://redirect.github.com/vitest-dev/vitest/commit/9a117627) - Don't rely on util package in [@vitest/utils](https://redirect.github.com/vitest/utils) - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://redirect.github.com/vitest-dev/vitest/issues/3685) [(f91da)](https://redirect.github.com/vitest-dev/vitest/commit/f91da484) - Support accessing other fixtures in fixture function - by [@fenghan34](https://redirect.github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://redirect.github.com/vitest-dev/vitest/issues/3651) [(1621c)](https://redirect.github.com/vitest-dev/vitest/commit/1621cc63) - Support use function/class as `bench` name - by [@fenghan34](https://redirect.github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://redirect.github.com/vitest-dev/vitest/issues/3711) [(a749a)](https://redirect.github.com/vitest-dev/vitest/commit/a749a6c0) - **reporters**: Show full test suite when testing 1 spec file at a time - by [@Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://redirect.github.com/vitest-dev/vitest/issues/3543) [(7531c)](https://redirect.github.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@fenghan34](https://redirect.github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://redirect.github.com/vitest-dev/vitest/issues/3554) [(2db1a)](https://redirect.github.com/vitest-dev/vitest/commit/2db1a737) ##### 🐞 Bug Fixes - Remove "concordance" from dependencies list - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://redirect.github.com/vitest-dev/vitest/issues/3597) [(969dc)](https://redirect.github.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://redirect.github.com/vitest-dev/vitest/issues/3620) [(73dd4)](https://redirect.github.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@fubhy](https://redirect.github.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://redirect.github.com/vitest-dev/vitest/issues/3621) [(2fb4c)](https://redirect.github.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@turadg](https://redirect.github.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://redirect.github.com/vitest-dev/vitest/issues/3527) [(0db67)](https://redirect.github.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://redirect.github.com/vitest-dev/vitest/issues/3642) [(fa663)](https://redirect.github.com/vitest-dev/vitest/commit/fa6637d3) - Run mode stuck in TTY terminals - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://redirect.github.com/vitest-dev/vitest/issues/3690) [(141a8)](https://redirect.github.com/vitest-dev/vitest/commit/141a86ac) - Use first stack frame in json reporter - by [@tim-smart](https://redirect.github.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://redirect.github.com/vitest-dev/vitest/issues/3645) [(80ea7)](https://redirect.github.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@antfu](https://redirect.github.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://redirect.github.com/vitest-dev/vitest/issues/3696) [(d3640)](https://redirect.github.com/vitest-dev/vitest/commit/d3640437) - **benchmark**: - Don't fail when running correct benchmarks - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://redirect.github.com/vitest-dev/vitest/issues/3629) [(edad9)](https://redirect.github.com/vitest-dev/vitest/commit/edad9b19) - **browser**: - Correctly print diff - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://redirect.github.com/vitest-dev/vitest/issues/3627) [(d756e)](https://redirect.github.com/vitest-dev/vitest/commit/d756ee24) - Esm injector doesn't replace class expressions - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://redirect.github.com/vitest-dev/vitest/issues/3641) [(5c0ac)](https://redirect.github.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://redirect.github.com/vitest-dev/vitest/issues/3681) [(a1e04)](https://redirect.github.com/vitest-dev/vitest/commit/a1e043bd) - **coverage**: - `v8` to prevent crash on dynamic CJS files - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://redirect.github.com/vitest-dev/vitest/issues/3657) [(40f18)](https://redirect.github.com/vitest-dev/vitest/commit/40f18a07) - **runner**: - Make the default value of `retry` and `repeats` 0 - by [@Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://redirect.github.com/vitest-dev/vitest/issues/3638) [(6d146)](https://redirect.github.com/vitest-dev/vitest/commit/6d146d16) - **utils**: - Respect all flags in format function - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://redirect.github.com/vitest-dev/vitest/issues/3695) [(91e16)](https://redirect.github.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://redirect.github.com/vitest-dev/vitest/issues/3618) [(60c36)](https://redirect.github.com/vitest-dev/vitest/commit/60c36faf) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ### [`v0.32.2`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@sheremet-va](https://redirect.github.com/sheremet-va) [(00b0e)](https://redirect.github.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@deot](https://redirect.github.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://redirect.github.com/vitest-dev/vitest/issues/3563) [(bc49b)](https://redirect.github.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@fenghan34](https://redirect.github.com/fenghan34) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://redirect.github.com/vitest-dev/vitest/issues/3556) [(8e385)](https://redirect.github.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@btea](https://redirect.github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://redirect.github.com/vitest-dev/vitest/issues/3562) [(3d436)](https://redirect.github.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#3060](https://redirect.github.com/vitest-dev/vitest/issues/3060)) - by [@nathanmmiller](https://redirect.github.com/nathanmmiller) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://redirect.github.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://redirect.github.com/vitest-dev/vitest/issues/3060) [(02196)](https://redirect.github.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@btea](https://redirect.github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://redirect.github.com/vitest-dev/vitest/issues/3552) [(368b8)](https://redirect.github.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@Max10240](https://redirect.github.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://redirect.github.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://redirect.github.com/vitest-dev/vitest/issues/3579) [(24ec8)](https://redirect.github.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://redirect.github.com/vitest-dev/vitest/issues/3582) [(9c7ea)](https://redirect.github.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@Krisell](https://redirect.github.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://redirect.github.com/vitest-dev/vitest/issues/3583) [(68985)](https://redirect.github.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@userquin](https://redirect.github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://redirect.github.com/vitest-dev/vitest/issues/3580) [(b4ac8)](https://redirect.github.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://redirect.github.com/vitest-dev/vitest/issues/3587) [(d9e14)](https://redirect.github.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://redirect.github.com/vitest-dev/vitest/issues/3547) [(158c4)](https://redirect.github.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@userquin](https://redirect.github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://redirect.github.com/vitest-dev/vitest/issues/3529) [(bc283)](https://redirect.github.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://redirect.github.com/vitest-dev/vitest/issues/3544) [(0cbb0)](https://redirect.github.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@rxliuli](https://redirect.github.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://redirect.github.com/vitest-dev/vitest/issues/3570) [(b097c)](https://redirect.github.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ### [`v0.32.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.32.0) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ##### 🚨 Breaking Changes - Throw an error, if the module cannot be resolved - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3307](https://redirect.github.com/vitest-dev/vitest/issues/3307) [(1ad63)](https://redirect.github.com/vitest-dev/vitest/commit/1ad63b0c) - Vitest used to fall back to the original import when it could not resolve it to the file path or the virtual module. This leads to hard-to-find module graph mismatches if you had incorrect alias or relied on relative imports to be resolved to the project root (which is usual behavior in TypeScript) because the code accidentally "worked". With this release, Vitest will now throw an error if it cannot resolve the module - there are possible edge cases that are not covered yet, so if you have any problems with this, please open a separate issue with reproduction. - Improve globs - by [@nickmccurdy](https://redirect.github.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/3392](https://redirect.github.com/vitest-dev/vitest/issues/3392) [(19ecc)](https://redirect.github.com/vitest-dev/vitest/commit/19ecc6c7) - Vitest now has glob patterns similar to Jest for better compatibility. It's possible that some files will be considered test files when previously they were not. For example, Vitest now considers `test.js` to be a test file. Also any file in `__tests__` is now considered to be a test, not just files with `test` or `spec` suffix. - Add `@vitest/coverage-v8` package - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3339](https://redirect.github.com/vitest-dev/vitest/issues/3339) [(82112)](https://redirect.github.com/vitest-dev/vitest/commit/821126f1) - Vitest now uses v8 code coverage directly for better performance. `@vitest/coverage-c8` is deprecated as Vitest no longer uses c8 package for coverage output. It will not be updated anymore, and Vitest will fail in the next version if the user has `c8` as their coverage provider. Please, install the new `@vitest/coverage-v8` package if you previously used `@vitest/coverage-c8`. - **mocker**: Don't restore mock to the original if the module is automocked - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3518](https://redirect.github.com/vitest-dev/vitest/issues/3518) [(c1004)](https://redirect.github.com/vitest-dev/vitest/commit/c1004e14) - `spy.mockRestore` on auto-mocked named exports will no longer restore their implementation to the actual function. This behavior better matches what Jest does. ##### 🚀 Features - Support ssr optimizer - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3490](https://redirect.github.com/vitest-dev/vitest/issues/3490) [(89842)](https://redirect.github.com/vitest-dev/vitest/commit/898422b0) - Image type add apng - by [@btea](https://redirect.github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3498](https://redirect.github.com/vitest-dev/vitest/issues/3498) [(a53c2)](https://redirect.github.com/vitest-dev/vitest/commit/a53c2151) - **expect**: Support `expect.soft` - by [@Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3507](https://redirect.github.com/vitest-dev/vitest/issues/3507) [(7c687)](https://redirect.github.com/vitest-dev/vitest/commit/7c687ada) - **runner**: Support using function/class as `describe`/`test` name - by [@fenghan34](https://redirect.github.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3497](https://redirect.github.com/vitest-dev/vitest/issues/3497) [(15253)](https://redirect.github.com/vitest-dev/vitest/commit/15253890) ##### 🐞 Bug Fixes - The cli option is passed to coverage.exclude - by [@btea](https://redirect.github.com/btea) in [https://github.com/vitest-dev/vitest/issues/3506](https://redirect.github.com/vitest-dev/vitest/issues/3506) [(c37cd)](https://redirect.github.com/vitest-dev/vitest/commit/c37cdebe) - **optimizer**: Always respect optimizeDeps even if include/exclude is overridden - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3488](https://redirect.github.com/vitest-dev/vitest/issues/3488) [(eb285)](https://redirect.github.com/vitest-dev/vitest/commit/eb285ea0) - **runner**: Ensure Vitest is deduped - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3489](https://redirect.github.com/vitest-dev/vitest/issues/3489) [(2deb7)](https://redirect.github.com/vitest-dev/vitest/commit/2deb70ab) - **ui**: Don't cache coverage assets - by [@userquin](https://redirect.github.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3508](https://redirect.github.com/vitest-dev/vitest/issues/3508) [(952b5)](https://redirect.github.com/vitest-dev/vitest/commit/952b5be6) - **vite-node**: Circular import stuck - by [@Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3480](https://redirect.github.com/vitest-dev/vitest/issues/3480) [(50f07)](https://redirect.github.com/vitest-dev/vitest/commit/50f0700d) - **watch**: Junit reporter fails to re-generate report - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3496](https://redirect.github.com/vitest-dev/vitest/issues/3496) [(5b73c)](https://redirect.github.com/vitest-dev/vitest/commit/5b73cbf8) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0)vitest-dev/vitest (@vitest/ui)
### [`v0.34.7`](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.6...v0.34.7) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.6...v0.34.7) ### [`v0.34.6`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.34.6) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ##### 🐞 Bug Fixes - Overwrite global URL with environment's - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4164](https://redirect.github.com/vitest-dev/vitest/issues/4164) [(cbe13)](https://redirect.github.com/vitest-dev/vitest/commit/cbe133da) - Correctly resolve external dependencies loaded by custom environments - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4196](https://redirect.github.com/vitest-dev/vitest/issues/4196) [(e3408)](https://redirect.github.com/vitest-dev/vitest/commit/e340802f) - **runner**: The fixture of `test.extend` should be init once time in all test - by [@Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4168](https://redirect.github.com/vitest-dev/vitest/issues/4168) [(730b2)](https://redirect.github.com/vitest-dev/vitest/commit/730b29ec) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.5...v0.34.6) ### [`v0.34.5`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ##### 🚀 Features - **config**: - Add `diff` option - by [@fenghan34](https://redirect.github.com/fenghan34) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4063](https://redirect.github.com/vitest-dev/vitest/issues/4063) [(b50cf)](https://redirect.github.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider - by [@marcelobotega](https://redirect.github.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4109](https://redirect.github.com/vitest-dev/vitest/issues/4109) [(a7e09)](https://redirect.github.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method - by [@Dunqing](https://redirect.github.com/Dunqing) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4113](https://redirect.github.com/vitest-dev/vitest/issues/4113) [(d79cb)](https://redirect.github.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4098](https://redirect.github.com/vitest-dev/vitest/issues/4098) [(1aee1)](https://redirect.github.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method - by [@Dunqing](https://redirect.github.com/Dunqing) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4129](https://redirect.github.com/vitest-dev/vitest/issues/4129) [(e0ac9)](https://redirect.github.com/vitest-dev/vitest/commit/e0ac97cf) ##### 🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12 - by [@anthonyblond](https://redirect.github.com/anthonyblond) in [https://github.com/vitest-dev/vitest/issues/4135](https://redirect.github.com/vitest-dev/vitest/issues/4135) [(e8797)](https://redirect.github.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4137](https://redirect.github.com/vitest-dev/vitest/issues/4137) [(e649d)](https://redirect.github.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example - by [@marcelobotega](https://redirect.github.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4116](https://redirect.github.com/vitest-dev/vitest/issues/4116) [(ba1e7)](https://redirect.github.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow` - by [@Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3979](https://redirect.github.com/vitest-dev/vitest/issues/3979) [(725a0)](https://redirect.github.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom - by [@capricorn86](https://redirect.github.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4140](https://redirect.github.com/vitest-dev/vitest/issues/4140) [(c21c0)](https://redirect.github.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern` - by [@segrey](https://redirect.github.com/segrey) in [https://github.com/vitest-dev/vitest/issues/4103](https://redirect.github.com/vitest-dev/vitest/issues/4103) and [https://github.com/vitest-dev/vitest/issues/4104](https://redirect.github.com/vitest-dev/vitest/issues/4104) [(3c305)](https://redirect.github.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test - by [@Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4065](https://redirect.github.com/vitest-dev/vitest/issues/4065) [(175c7)](https://redirect.github.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots - by [@RobertPechaCZ](https://redirect.github.com/RobertPechaCZ) in [https://github.com/vitest-dev/vitest/issues/4118](https://redirect.github.com/vitest-dev/vitest/issues/4118) [(01e01)](https://redirect.github.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff - by [@so1ve](https://redirect.github.com/so1ve) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3810](https://redirect.github.com/vitest-dev/vitest/issues/3810) [(8c315)](https://redirect.github.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT - by [@Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4128](https://redirect.github.com/vitest-dev/vitest/issues/4128) [(ca70a)](https://redirect.github.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest - by [@sheremet-va](https://redirect.github.com/sheremet-va) [(90ff8)](https://redirect.github.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4130](https://redirect.github.com/vitest-dev/vitest/issues/4130) [(a084c)](https://redirect.github.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4096](https://redirect.github.com/vitest-dev/vitest/issues/4096) [(b4d5a)](https://redirect.github.com/vitest-dev/vitest/commit/b4d5ae23) ##### 🏎 Performance - Use lazy require in vm pool - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4136](https://redirect.github.com/vitest-dev/vitest/issues/4136) [(21ba4)](https://redirect.github.com/vitest-dev/vitest/commit/21ba4935) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) ### [`v0.34.4`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.34.4) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ##### 🐞 Bug Fixes - Resolving dep optimizer issues with workspace - by [@thebanjomatic](https://redirect.github.com/thebanjomatic) in [https://github.com/vitest-dev/vitest/issues/4036](https://redirect.github.com/vitest-dev/vitest/issues/4036) [(0c13c)](https://redirect.github.com/vitest-dev/vitest/commit/0c13c39c) - Don't process config file twice - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4077](https://redirect.github.com/vitest-dev/vitest/issues/4077) [(a84a8)](https://redirect.github.com/vitest-dev/vitest/commit/a84a8e05) - **coverage**: - Log info only when terminal reporter is used - by [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4027](https://redirect.github.com/vitest-dev/vitest/issues/4027) [(9f043)](https://redirect.github.com/vitest-dev/vitest/commit/9f04386b) - **happy-dom**: - Use the nodejs console in happy-dom v11 - by [@capricorn86](https://redirect.github.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4090](https://redirect.github.com/vitest-dev/vitest/issues/4090) [(59434)](https://redirect.github.com/vitest-dev/vitest/commit/59434189) - **runner**: - Incorrect test name pattern matching - by [@Dunqing](https://redirect.github.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4071](https://redirect.github.com/vitest-dev/vitest/issues/4071) [(b5bf3)](https://redirect.github.com/vitest-dev/vitest/commit/b5bf3290) - **vite-node**: - Check more precisely for root/base paths - by [@danielroe](https://redirect.github.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/4049](https://redirect.github.com/vitest-dev/vitest/issues/4049) [(80741)](https://redirect.github.com/vitest-dev/vitest/commit/807418fa) - **vitest**: - "vi" doesn't rely on context - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4031](https://redirect.github.com/vitest-dev/vitest/issues/4031) [(0d0f3)](https://redirect.github.com/vitest-dev/vitest/commit/0d0f35f6) - Only override ssr.optimizer instead of the whole ssr object - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4080](https://redirect.github.com/vitest-dev/vitest/issues/4080) [(410bc)](https://redirect.github.com/vitest-dev/vitest/commit/410bc454) - Don't start the server when optimizer is enabled - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4095](https://redirect.github.com/vitest-dev/vitest/issues/4095) [(00e81)](https://redirect.github.com/vitest-dev/vitest/commit/00e81122) - Set SSR env only when transformMode is ssr - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4083](https://redirect.github.com/vitest-dev/vitest/issues/4083) [(f8ea7)](https://redirect.github.com/vitest-dev/vitest/commit/f8ea716a) - Show error when calling API on files that user has no access to - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4085](https://redirect.github.com/vitest-dev/vitest/issues/4085) [(8b39c)](https://redirect.github.com/vitest-dev/vitest/commit/8b39c117) - **web-worker**: - Don't rely on browser API when it's not provided - by [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4014](https://redirect.github.com/vitest-dev/vitest/issues/4014) [(e78a4)](https://redirect.github.com/vitest-dev/vitest/commit/e78a449d) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.3...v0.34.4) ### [`v0.34.3`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v0.34.3) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v0.34.2...v0.34.3) ##### 🚀 Features - **coverage**: Add `allowExternal` option - by [@vojvodics](https://redirect.github.com/vojvodics) and [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3894](https://redirect.github.com/vitest-dev/vitest/issues/3894) [(c03fa)](https://redirect.github.com/vitest-dev/vitest/commit/c03faa22) - **vitest**: Export all reporters in `vitest/reporters` - by [@Dunqing](https://redirect.github.com/Dunqing) and [@sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3980](https://redirect.github.com/vitest-dev/vitest/issues/3980) [(5704b)](https://redirect.github.com/vitest-dev/vitest/commit/5704b341) ##### 🐞 Bug Fixes - Should remove mockPath from callstack whether success or failed - by [@miserylee](https://redirect.github.com/miserylee) and **lijifei** in [https://github.com/vitest-dev/vitest/issues/3971](https://redirect.github.com/vitest-dev/vitest/issues/3971) [(5eb85)](https://redirect.github.com/vitest-dev/vitest/commit/5eb8561c) - Add workspace config files to default coverage excludes - by [@FelixGraf](https://redirect.github.com/FelixGraf) and [@AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3973](https://redirect.github.com/vitest-dev/vitest/issues/3973) [(20263)](https://redirect.github.com/vitest-dev/vitest/commit/20263d9d) - Report file error as aConfiguration
📅 Schedule: Branch creation - "after 9pm on sunday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.