release-it/release-it
### [`v15.6.0`](https://togithub.com/release-it/release-it/releases/tag/15.6.0)
[Compare Source](https://togithub.com/release-it/release-it/compare/15.5.1...15.6.0)
- Fix specs for [#966](https://togithub.com/release-it/release-it/issues/966) ([`39a318b`](https://togithub.com/release-it/release-it/commit/39a318b))
- Move space (quickfix) ([`cfae247`](https://togithub.com/release-it/release-it/commit/cfae247))
- fix: use spec formdata ([#958](https://togithub.com/release-it/release-it/issues/958)) ([`c21e6b6`](https://togithub.com/release-it/release-it/commit/c21e6b6))
- Fix `npm.isCollaborator()` on npm v9 ([#966](https://togithub.com/release-it/release-it/issues/966)) ([`3bd405a`](https://togithub.com/release-it/release-it/commit/3bd405a))
- feat(git): added option to use --exclude option on git describe ([#963](https://togithub.com/release-it/release-it/issues/963)) ([`2b484bf`](https://togithub.com/release-it/release-it/commit/2b484bf))
### [`v15.5.1`](https://togithub.com/release-it/release-it/releases/tag/15.5.1)
[Compare Source](https://togithub.com/release-it/release-it/compare/15.5.0...15.5.1)
- Update dependencies ([`aa89cbd`](https://togithub.com/release-it/release-it/commit/aa89cbd))
- Prompt for npm OTP in --only-version (fixes [#948](https://togithub.com/release-it/release-it/issues/948)) ([`ff626d1`](https://togithub.com/release-it/release-it/commit/ff626d1))
- Remove unused export/function ([`331b0de`](https://togithub.com/release-it/release-it/commit/331b0de))
- Add knip + config ([`ee99f63`](https://togithub.com/release-it/release-it/commit/ee99f63))
### [`v15.5.0`](https://togithub.com/release-it/release-it/releases/tag/15.5.0)
[Compare Source](https://togithub.com/release-it/release-it/compare/15.4.3...15.5.0)
- Update dependencies ([`5d035be`](https://togithub.com/release-it/release-it/commit/5d035be))
- Add `npm.versionArgs` option ([`5efc57f`](https://togithub.com/release-it/release-it/commit/5efc57f))
vitest-dev/vitest
### [`v0.28.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.28.4)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.3...v0.28.4)
##### 🐞 Bug Fixes
- Setup correct utils inside asymmetric matchers - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2768](https://togithub.com/vitest-dev/vitest/issues/2768) [(415c8)](https://togithub.com/vitest-dev/vitest/commit/415c8a93)
- Cjs exports has Object.prototype instead of null - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2769](https://togithub.com/vitest-dev/vitest/issues/2769) [(4fc49)](https://togithub.com/vitest-dev/vitest/commit/4fc492c6)
- Duplicate callbacks in vite-node HMR - by [@jgoux](https://togithub.com/jgoux) in [https://github.com/vitest-dev/vitest/issues/2792](https://togithub.com/vitest-dev/vitest/issues/2792) [(f0333)](https://togithub.com/vitest-dev/vitest/commit/f03337ae)
- Do not include source files in `onWatcherStart` when `typecheck.ignoreSourceErrors` is true - by [@mascii](https://togithub.com/mascii) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2774](https://togithub.com/vitest-dev/vitest/issues/2774) [(d612e)](https://togithub.com/vitest-dev/vitest/commit/d612efdf)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.3...v0.28.4)
### [`v0.28.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.28.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.2...v0.28.3)
##### 🚀 Features
- Allow using atomics to communicate between threads - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2758](https://togithub.com/vitest-dev/vitest/issues/2758) [(3679c)](https://togithub.com/vitest-dev/vitest/commit/3679cf25)
- Show active filename pattern on CLI - by [@AriPerkkio](https://togithub.com/AriPerkkio) [(a0455)](https://togithub.com/vitest-dev/vitest/commit/a0455917)
- Show active test name pattern on CLI - by [@AriPerkkio](https://togithub.com/AriPerkkio) [(df7c4)](https://togithub.com/vitest-dev/vitest/commit/df7c410a)
- Allow `config` option to be false - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2749](https://togithub.com/vitest-dev/vitest/issues/2749) [(c66e3)](https://togithub.com/vitest-dev/vitest/commit/c66e335b)
##### 🐞 Bug Fixes
- Watch mode's filename pattern to persist on unrelated file changes - by [@AriPerkkio](https://togithub.com/AriPerkkio) [(712ac)](https://togithub.com/vitest-dev/vitest/commit/712ac15b)
- Watch mode's filename pattern to persist re-run of failed tests, snapshot updates and testname filter changes - by [@AriPerkkio](https://togithub.com/AriPerkkio) [(1c65a)](https://togithub.com/vitest-dev/vitest/commit/1c65ac48)
- Dont incorrectly mark run failed if filename pattern excludes previously failed tests - by [@AriPerkkio](https://togithub.com/AriPerkkio) [(61cf9)](https://togithub.com/vitest-dev/vitest/commit/61cf9a7a)
- **coverage**: Istanbul crashes when no tests were run - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2753](https://togithub.com/vitest-dev/vitest/issues/2753) [(ebc95)](https://togithub.com/vitest-dev/vitest/commit/ebc95add)
##### 🏎 Performance
- Don't import vite in worker - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2759](https://togithub.com/vitest-dev/vitest/issues/2759) [(e49c1)](https://togithub.com/vitest-dev/vitest/commit/e49c13fa)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.2...v0.28.3)
### [`v0.28.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.28.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.1...v0.28.2)
##### 🐞 Bug Fixes
- Send stderr header log to stderr - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2736](https://togithub.com/vitest-dev/vitest/issues/2736) [(998ea)](https://togithub.com/vitest-dev/vitest/commit/998ea804)
- Call afterAll, if beforeAll failed - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2737](https://togithub.com/vitest-dev/vitest/issues/2737) [(1904c)](https://togithub.com/vitest-dev/vitest/commit/1904c9c4)
- **vite-node**: Don't cache modules with `timestamp: 0` - by [@danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/2747](https://togithub.com/vitest-dev/vitest/issues/2747) [(e88c0)](https://togithub.com/vitest-dev/vitest/commit/e88c04c4)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.1...v0.28.2)
### [`v0.28.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.28.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.0...v0.28.1)
##### 🐞 Bug Fixes
- Remove UI from Vitest dependencies - by [@sheremet-va](https://togithub.com/sheremet-va) [(b120c)](https://togithub.com/vitest-dev/vitest/commit/b120ca3f)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.0...v0.28.1)
### [`v0.28.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.28.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.27.3...v0.28.0)
##### 🚨 Breaking Changes
- Don't rely on environment for interopDefault - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2682](https://togithub.com/vitest-dev/vitest/issues/2682) [(3f20c)](https://togithub.com/vitest-dev/vitest/commit/3f20cf5a)
- Move test runner into a separate package - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2721](https://togithub.com/vitest-dev/vitest/issues/2721) [(482b7)](https://togithub.com/vitest-dev/vitest/commit/482b72fc)
- To extend text context, you need to augment `@vitet/runner` package instead of `vitest`
##### 🐞 Bug Fixes
- **coverage**: C8 to log warning when run in Stackblitz - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2735](https://togithub.com/vitest-dev/vitest/issues/2735) [(b6c41)](https://togithub.com/vitest-dev/vitest/commit/b6c41caa)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.27.3...v0.28.0)
### [`v0.27.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.27.2...v0.27.3)
##### 🚀 Features
- Throw unhandled exception, if code throws "error" event - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2691](https://togithub.com/vitest-dev/vitest/issues/2691) [(6a30c)](https://togithub.com/vitest-dev/vitest/commit/6a30cdd3)
- New `environmentMatchGlobs` option to auto infer env based on glob - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2714](https://togithub.com/vitest-dev/vitest/issues/2714) [(3e142)](https://togithub.com/vitest-dev/vitest/commit/3e1429e5)
- Add basic reporter which allow user to use reporter in ci - by [@trim21](https://togithub.com/trim21) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2612](https://togithub.com/vitest-dev/vitest/issues/2612) [(5df52)](https://togithub.com/vitest-dev/vitest/commit/5df522f7)
- Improve "isCI" check - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2705](https://togithub.com/vitest-dev/vitest/issues/2705) [(e6457)](https://togithub.com/vitest-dev/vitest/commit/e64570df)
##### 🐞 Bug Fixes
- Show error in the terminal, if "only" flag is used - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2696](https://togithub.com/vitest-dev/vitest/issues/2696) [(24d63)](https://togithub.com/vitest-dev/vitest/commit/24d63809)
- Cpu and heap profiling options for workers - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2702](https://togithub.com/vitest-dev/vitest/issues/2702) [(c31a0)](https://togithub.com/vitest-dev/vitest/commit/c31a0b20)
- Show correct number of tests in test summary - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2703](https://togithub.com/vitest-dev/vitest/issues/2703) [(859e7)](https://togithub.com/vitest-dev/vitest/commit/859e7f01)
- Don't terminate workers on Node 14 to not trigger fatal error - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2697](https://togithub.com/vitest-dev/vitest/issues/2697) [(db9b6)](https://togithub.com/vitest-dev/vitest/commit/db9b6bb7)
- Allow custom async matchers - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2707](https://togithub.com/vitest-dev/vitest/issues/2707) [(b5669)](https://togithub.com/vitest-dev/vitest/commit/b566912d)
- Remove setup files from coverage - by [@g4rry420](https://togithub.com/g4rry420) in [https://github.com/vitest-dev/vitest/issues/2574](https://togithub.com/vitest-dev/vitest/issues/2574) [(488e4)](https://togithub.com/vitest-dev/vitest/commit/488e4b9f)
- `reportCoverage` context can be optional - by [@antfu](https://togithub.com/antfu) [(4cd1e)](https://togithub.com/vitest-dev/vitest/commit/4cd1e5d7)
- ENOENT assets when htmldir exists - by [@everett1992](https://togithub.com/everett1992) in [https://github.com/vitest-dev/vitest/issues/2701](https://togithub.com/vitest-dev/vitest/issues/2701) [(5a656)](https://togithub.com/vitest-dev/vitest/commit/5a656753)
- Correctly resolve paths relative to root, when used outside of root directory - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2687](https://togithub.com/vitest-dev/vitest/issues/2687) [(703aa)](https://togithub.com/vitest-dev/vitest/commit/703aab46)
- **typecheck**: Store tmp tsconfig close to original one - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2660](https://togithub.com/vitest-dev/vitest/issues/2660) [(26f91)](https://togithub.com/vitest-dev/vitest/commit/26f915ad)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.27.2...v0.27.3)
### [`v0.27.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.27.1...v0.27.2)
##### 🚀 Features
- Add runAllTimersAsync from sinonjs - by [@guillaumeduboc](https://togithub.com/guillaumeduboc) in [https://github.com/vitest-dev/vitest/issues/2209](https://togithub.com/vitest-dev/vitest/issues/2209) [(40187)](https://togithub.com/vitest-dev/vitest/commit/40187bdb)
##### 🐞 Bug Fixes
- Document.defaultView references the same window as the global one - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2649](https://togithub.com/vitest-dev/vitest/issues/2649) [(1ac4b)](https://togithub.com/vitest-dev/vitest/commit/1ac4bb8d)
- Trim input filename and test name - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/2650](https://togithub.com/vitest-dev/vitest/issues/2650) [(d3dcb)](https://togithub.com/vitest-dev/vitest/commit/d3dcbdc8)
- Increase default teardownTimeout - by [@sheremet-va](https://togithub.com/sheremet-va) [(13e53)](https://togithub.com/vitest-dev/vitest/commit/13e53ac7)
- Mock css files imported with "require" - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2679](https://togithub.com/vitest-dev/vitest/issues/2679) [(6c1a2)](https://togithub.com/vitest-dev/vitest/commit/6c1a26a6)
- Don't start watching files in "run" mode - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2680](https://togithub.com/vitest-dev/vitest/issues/2680) [(0a31e)](https://togithub.com/vitest-dev/vitest/commit/0a31e85c)
- Rerun tests, when setup file is edited - by [@mysteryven](https://togithub.com/mysteryven) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2625](https://togithub.com/vitest-dev/vitest/issues/2625) [(019a6)](https://togithub.com/vitest-dev/vitest/commit/019a6d57)
- Always show filename for unhandled errors - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2689](https://togithub.com/vitest-dev/vitest/issues/2689) [(15aa0)](https://togithub.com/vitest-dev/vitest/commit/15aa0156)
- Define property instead of assigning it in vi.stubGlobal - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2685](https://togithub.com/vitest-dev/vitest/issues/2685) [(8a1d7)](https://togithub.com/vitest-dev/vitest/commit/8a1d7590)
- **coverage**: Watch mode to use `coverage.all` only when all tests are run - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2665](https://togithub.com/vitest-dev/vitest/issues/2665) [(85096)](https://togithub.com/vitest-dev/vitest/commit/85096281)
- **typecheck**: Log tests with verbose reporter, correctly show "pass" tests - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2656](https://togithub.com/vitest-dev/vitest/issues/2656) [(61dde)](https://togithub.com/vitest-dev/vitest/commit/61ddebae)
- **ui**: Don't show "connecting" screen in html reporter - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2693](https://togithub.com/vitest-dev/vitest/issues/2693) [(d8548)](https://togithub.com/vitest-dev/vitest/commit/d8548c69)
##### 🏎 Performance
- Don't resolve import path, if it was already resolved - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2659](https://togithub.com/vitest-dev/vitest/issues/2659) [(45cc3)](https://togithub.com/vitest-dev/vitest/commit/45cc3423)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.27.1...v0.27.2)
### [`v0.27.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.27.0...v0.27.1)
##### 🚀 Features
- Show error, when process.exit is called - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2643](https://togithub.com/vitest-dev/vitest/issues/2643) [(866f4)](https://togithub.com/vitest-dev/vitest/commit/866f4494)
- Add more information about unhandler error - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2642](https://togithub.com/vitest-dev/vitest/issues/2642) [(1ffb0)](https://togithub.com/vitest-dev/vitest/commit/1ffb0ef5)
- Display running processes, if vitest closes with timeout - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2633](https://togithub.com/vitest-dev/vitest/issues/2633) [(94968)](https://togithub.com/vitest-dev/vitest/commit/94968a6f)
##### 🐞 Bug Fixes
- Type issue with spyOn method - by [@samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2365](https://togithub.com/vitest-dev/vitest/issues/2365) and [https://github.com/vitest-dev/vitest/issues/2582](https://togithub.com/vitest-dev/vitest/issues/2582) [(1aaa7)](https://togithub.com/vitest-dev/vitest/commit/1aaa79d7)
- Add missing types in TS project when global is true - by [@Sneaken](https://togithub.com/Sneaken) in [https://github.com/vitest-dev/vitest/issues/2631](https://togithub.com/vitest-dev/vitest/issues/2631) [(4745e)](https://togithub.com/vitest-dev/vitest/commit/4745eaa2)
- Always report failed test in junit reporter - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2632](https://togithub.com/vitest-dev/vitest/issues/2632) [(83da2)](https://togithub.com/vitest-dev/vitest/commit/83da2ec4)
- Change Vite root, if test.root is used - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2637](https://togithub.com/vitest-dev/vitest/issues/2637) [(efbff)](https://togithub.com/vitest-dev/vitest/commit/efbff2a2)
- Don't use ownKeys, when interoping a module - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2629](https://togithub.com/vitest-dev/vitest/issues/2629) [(a186a)](https://togithub.com/vitest-dev/vitest/commit/a186a7e1)
- Cut duplicate error in negated toHaveBeenCalled - by [@richardboehme](https://togithub.com/richardboehme) in [https://github.com/vitest-dev/vitest/issues/2638](https://togithub.com/vitest-dev/vitest/issues/2638) [(09d62)](https://togithub.com/vitest-dev/vitest/commit/09d62226)
- Always update last HMR ms on a module - by [@sheremet-va](https://togithub.com/sheremet-va) [(99676)](https://togithub.com/vitest-dev/vitest/commit/9967645a)
- Terminate workers, when closing process - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2645](https://togithub.com/vitest-dev/vitest/issues/2645) [(ece43)](https://togithub.com/vitest-dev/vitest/commit/ece434a3)
- **coverage**:
- Prevent c8 from crashing on invalid sourcemaps - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2634](https://togithub.com/vitest-dev/vitest/issues/2634) [(0163d)](https://togithub.com/vitest-dev/vitest/commit/0163dc80)
- Istanbul provider to use `coverage.extension` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2641](https://togithub.com/vitest-dev/vitest/issues/2641) [(7e388)](https://togithub.com/vitest-dev/vitest/commit/7e388903)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.27.0...v0.27.1)
### [`v0.27.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.26.3...v0.27.0)
##### 🚨 Breaking Changes
- Deprecate "error" on result, store errors in "errors" - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2586](https://togithub.com/vitest-dev/vitest/issues/2586) [(e641a)](https://togithub.com/vitest-dev/vitest/commit/e641a110)
- Split vitest into separate packages, but still bundle them for the time being - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2575](https://togithub.com/vitest-dev/vitest/issues/2575) [(c8e6f)](https://togithub.com/vitest-dev/vitest/commit/c8e6fb69)
##### 🚀 Features
- **coverage**: report only changed files when using istanbul coverage with watch mode - by [@g4rry420](https://togithub.com/g4rry420) in [https://github.com/vitest-dev/vitest/issues/2385](https://togithub.com/vitest-dev/vitest/issues/2385) [(bf872)](https://togithub.com/vitest-dev/vitest/commit/bf87282c)
##### 🐞 Bug Fixes
- Return mock path only when mocked - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2619](https://togithub.com/vitest-dev/vitest/issues/2619) [(f8ac2)](https://togithub.com/vitest-dev/vitest/commit/f8ac2094)
- Allow mocking CJS module with interoped default - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2598](https://togithub.com/vitest-dev/vitest/issues/2598) [(6b3e3)](https://togithub.com/vitest-dev/vitest/commit/6b3e36d4)
- Avoid random ENOTEMPTY errors - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2620](https://togithub.com/vitest-dev/vitest/issues/2620) [(59766)](https://togithub.com/vitest-dev/vitest/commit/59766fa4)
- Always inline assets and modules with special Vite queries - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2617](https://togithub.com/vitest-dev/vitest/issues/2617) [(fed1c)](https://togithub.com/vitest-dev/vitest/commit/fed1cd60)
- **cli**:
- Allow overrides reporter via cli option - by [@mysteryven](https://togithub.com/mysteryven) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2573](https://togithub.com/vitest-dev/vitest/issues/2573) [(894f1)](https://togithub.com/vitest-dev/vitest/commit/894f155a)
- **coverage**:
- Flaky c8 coverage caused by parallel sourcemap constructing - by [@AriPerkkio](https://togithub.com/AriPerkkio) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2591](https://togithub.com/vitest-dev/vitest/issues/2591) [(9a29f)](https://togithub.com/vitest-dev/vitest/commit/9a29f984)
- Validate extension, when reporting c8 coverage - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2626](https://togithub.com/vitest-dev/vitest/issues/2626) [(74463)](https://togithub.com/vitest-dev/vitest/commit/7446370c)
##### 🏎 Performance
- Improve vi.mock performance - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2594](https://togithub.com/vitest-dev/vitest/issues/2594) [(09d19)](https://togithub.com/vitest-dev/vitest/commit/09d19892)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.3...v0.27.0)
### [`v0.26.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.26.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.26.2...v0.26.3)
##### 🚀 Features
- **mock**: Expose a `importOriginal` helper to the factory - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2551](https://togithub.com/vitest-dev/vitest/issues/2551) [(853ee)](https://togithub.com/vitest-dev/vitest/commit/853eeddb)
##### 🐞 Bug Fixes
- Correctly automock nested interoped defaults - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2559](https://togithub.com/vitest-dev/vitest/issues/2559) [(a431d)](https://togithub.com/vitest-dev/vitest/commit/a431df80)
- Start tracking module resolution as soon as possible for easier tracking - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2560](https://togithub.com/vitest-dev/vitest/issues/2560) [(9f41e)](https://togithub.com/vitest-dev/vitest/commit/9f41edda)
- Don't hang when mocking module with circular dependency - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2572](https://togithub.com/vitest-dev/vitest/issues/2572) [(c479d)](https://togithub.com/vitest-dev/vitest/commit/c479d9c0)
- Show list of tests when typechecking - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2585](https://togithub.com/vitest-dev/vitest/issues/2585) [(32a57)](https://togithub.com/vitest-dev/vitest/commit/32a577b1)
- **api**: Make api parse error stacks and return sourcePos in onTaskUpdate - by [@adrienbaron](https://togithub.com/adrienbaron) in [https://github.com/vitest-dev/vitest/issues/2563](https://togithub.com/vitest-dev/vitest/issues/2563) [(ef77d)](https://togithub.com/vitest-dev/vitest/commit/ef77dccf)
- **coverage**: Env-replacer to remove query params from sourcemaps filenames - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2584](https://togithub.com/vitest-dev/vitest/issues/2584) [(dba13)](https://togithub.com/vitest-dev/vitest/commit/dba13374)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.2...v0.26.3)
### [`v0.26.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.26.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.26.1...v0.26.2)
##### 🚀 Features
- Project name - by [@antfu](https://togithub.com/antfu) [(84f98)](https://togithub.com/vitest-dev/vitest/commit/84f98e70)
##### 🐞 Bug Fixes
- Improve "isInternaRequest" check - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2541](https://togithub.com/vitest-dev/vitest/issues/2541) [(2bb9a)](https://togithub.com/vitest-dev/vitest/commit/2bb9a391)
- Use correct word when printing "long-running" warning - by [@simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/2546](https://togithub.com/vitest-dev/vitest/issues/2546) [(8dc1c)](https://togithub.com/vitest-dev/vitest/commit/8dc1c3cb)
- Pass down diff options - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2545](https://togithub.com/vitest-dev/vitest/issues/2545) [(98c94)](https://togithub.com/vitest-dev/vitest/commit/98c94e65)
- **cli**: Respect inline config `dir` - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2550](https://togithub.com/vitest-dev/vitest/issues/2550) [(f6b59)](https://togithub.com/vitest-dev/vitest/commit/f6b592a9)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.1...v0.26.2)
### [`v0.26.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.26.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.26.0...v0.26.1)
##### 🚀 Features
- Add more options to configure diff output - by [@sheremet-va](https://togithub.com/sheremet-va) and [@dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/2522](https://togithub.com/vitest-dev/vitest/issues/2522) [(7ae14)](https://togithub.com/vitest-dev/vitest/commit/7ae1417f)
##### 🐞 Bug Fixes
- Don't resolve builtin Node modules - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2538](https://togithub.com/vitest-dev/vitest/issues/2538) [(1cbc2)](https://togithub.com/vitest-dev/vitest/commit/1cbc24dc)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.0...v0.26.1)
### [`v0.26.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.26.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.8...v0.26.0)
##### 🚨 Breaking Changes
- **vite-node:** Rewrite how vite-node resolves id - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2463](https://togithub.com/vitest-dev/vitest/issues/2463) [(58ee8)](https://togithub.com/vitest-dev/vitest/commit/58ee8e9b)
- Correctly interop nested default for external and inlined modules - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2512](https://togithub.com/vitest-dev/vitest/issues/2512) [(084e9)](https://togithub.com/vitest-dev/vitest/commit/084e929c)
- If your environment is `node`, Vitest will not resolve invalid named exports (exports that are on "default" property will not magically appear as named exports), unless `deps.interopDefault` is enabled, or dependency is in `deps.inline`. This change doesn't affect `jsdom`, `happy-dom` or `edge` environments.
- **web-worker:** Make web-worker implementation more compatible with spec - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2431](https://togithub.com/vitest-dev/vitest/issues/2431) [(c3a63)](https://togithub.com/vitest-dev/vitest/commit/c3a63524)
- Messages are now cloned with `structuredClone`, if it's available, or fallbacks to a polyfill.
- Added support for `SharedWorker`
##### 🚀 Features
- Introduce a native way to set env and globals - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2515](https://togithub.com/vitest-dev/vitest/issues/2515) [(b114d)](https://togithub.com/vitest-dev/vitest/commit/b114d49f)
- Add html reporter based on Vitest UI - by [@poyoho](https://togithub.com/poyoho) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2444](https://togithub.com/vitest-dev/vitest/issues/2444) [(b8f34)](https://togithub.com/vitest-dev/vitest/commit/b8f34eb8)
- If you have `@vitest/ui` installed, you can now use `'html'` reporter to get a [beautiful UI](https://vitest.dev/guide/ui.html) to view your test results, inspect module graph and read log messages.
##### 🐞 Bug Fixes
- Allow assigning new hotContext - by [@cometkim](https://togithub.com/cometkim) in [https://github.com/vitest-dev/vitest/issues/2524](https://togithub.com/vitest-dev/vitest/issues/2524) [(b4c43)](https://togithub.com/vitest-dev/vitest/commit/b4c43cd5)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.8...v0.26.0)
### [`v0.25.8`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.8)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.7...v0.25.8)
##### 🚀 Features
- Add mts, cts files to coverage - by [@poyoho](https://togithub.com/poyoho) and [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2492](https://togithub.com/vitest-dev/vitest/issues/2492) [(799f9)](https://togithub.com/vitest-dev/vitest/commit/799f9a17)
##### 🐞 Bug Fixes
- Don't throw unhandled error, if import was caught - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2494](https://togithub.com/vitest-dev/vitest/issues/2494) [(0a87e)](https://togithub.com/vitest-dev/vitest/commit/0a87ebb4)
- **coverage**: Esbuild to preserve legal comments for ignore hints - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2496](https://togithub.com/vitest-dev/vitest/issues/2496) [(c85ed)](https://togithub.com/vitest-dev/vitest/commit/c85edb1e)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.7...v0.25.8)
### [`v0.25.7`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.7)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.6...v0.25.7)
##### 🚀 Features
- Support Vite 4 - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2470](https://togithub.com/vitest-dev/vitest/issues/2470) [(3bb6b)](https://togithub.com/vitest-dev/vitest/commit/3bb6b0c8)
##### 🐞 Bug Fixes
- Restart on config change crashes - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2481](https://togithub.com/vitest-dev/vitest/issues/2481) [(286e9)](https://togithub.com/vitest-dev/vitest/commit/286e9cf7)
- **coverage-istanbul**: Clear coverage map after use - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2466](https://togithub.com/vitest-dev/vitest/issues/2466) [(e6a18)](https://togithub.com/vitest-dev/vitest/commit/e6a18c74)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.6...v0.25.7)
### [`v0.25.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.6)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.5...v0.25.6)
##### 🐞 Bug Fixes
- Expected reversed with actual - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2460](https://togithub.com/vitest-dev/vitest/issues/2460) [(f02c9)](https://togithub.com/vitest-dev/vitest/commit/f02c9828)
- Try to resolve id, if relative path is provided - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2461](https://togithub.com/vitest-dev/vitest/issues/2461) [(e9cb4)](https://togithub.com/vitest-dev/vitest/commit/e9cb4136)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.5...v0.25.6)
### [`v0.25.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.5)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.4...v0.25.5)
##### 🚀 Features
- **ui**: Show diff in report panel - by [@scarf005](https://togithub.com/scarf005) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2406](https://togithub.com/vitest-dev/vitest/issues/2406) and [https://github.com/vitest-dev/vitest/issues/2423](https://togithub.com/vitest-dev/vitest/issues/2423) [(8595c)](https://togithub.com/vitest-dev/vitest/commit/8595c0e5)
##### 🐞 Bug Fixes
- Correctly resolve filename, when running code - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2439](https://togithub.com/vitest-dev/vitest/issues/2439) [(2e789)](https://togithub.com/vitest-dev/vitest/commit/2e7892cb)
- Move sourcemapping source out of the sourcemap - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2443](https://togithub.com/vitest-dev/vitest/issues/2443) [(cc13c)](https://togithub.com/vitest-dev/vitest/commit/cc13c28c)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.4...v0.25.5)
### [`v0.25.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.4)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.3...v0.25.4)
##### 🚀 Features
- Slow test threshold - by [@poyoho](https://togithub.com/poyoho) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2396](https://togithub.com/vitest-dev/vitest/issues/2396) [(98974)](https://togithub.com/vitest-dev/vitest/commit/98974ba4)
- Format test tablename - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2405](https://togithub.com/vitest-dev/vitest/issues/2405) [(45c5c)](https://togithub.com/vitest-dev/vitest/commit/45c5c45a)
- Suspend process - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2422](https://togithub.com/vitest-dev/vitest/issues/2422) [(b8ee8)](https://togithub.com/vitest-dev/vitest/commit/b8ee821c)
- Format test objects in `each` title - by [@scarf005](https://togithub.com/scarf005) in [https://github.com/vitest-dev/vitest/issues/2420](https://togithub.com/vitest-dev/vitest/issues/2420) and [https://github.com/vitest-dev/vitest/issues/2421](https://togithub.com/vitest-dev/vitest/issues/2421) [(1868f)](https://togithub.com/vitest-dev/vitest/commit/1868f1c4)
##### 🐞 Bug Fixes
- Exit with code 1, when type tests fail - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2378](https://togithub.com/vitest-dev/vitest/issues/2378) [(98141)](https://togithub.com/vitest-dev/vitest/commit/9814124e)
- Tab affect vi.mock - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2402](https://togithub.com/vitest-dev/vitest/issues/2402) [(5a3de)](https://togithub.com/vitest-dev/vitest/commit/5a3deba5)
- Don't escape "\\" in diff view - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2430](https://togithub.com/vitest-dev/vitest/issues/2430) [(7d4e3)](https://togithub.com/vitest-dev/vitest/commit/7d4e3ed0)
- Correct test files status in json reporter - by [@brzezinskimarcin](https://togithub.com/brzezinskimarcin) in [https://github.com/vitest-dev/vitest/issues/2417](https://togithub.com/vitest-dev/vitest/issues/2417) and [https://github.com/vitest-dev/vitest/issues/2419](https://togithub.com/vitest-dev/vitest/issues/2419) [(ce931)](https://togithub.com/vitest-dev/vitest/commit/ce931956)
- Export all named CJS exports, if default export is a function - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2435](https://togithub.com/vitest-dev/vitest/issues/2435) [(d43f3)](https://togithub.com/vitest-dev/vitest/commit/d43f3f5c)
- Add test attributes to "testsuites" in junit reporter - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2362](https://togithub.com/vitest-dev/vitest/issues/2362) [(d0506)](https://togithub.com/vitest-dev/vitest/commit/d050604f)
- DynamicImportSettled also waits for nested imports - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2389](https://togithub.com/vitest-dev/vitest/issues/2389) [(5098b)](https://togithub.com/vitest-dev/vitest/commit/5098b217)
- Always apply vite ssr source maps - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2433](https://togithub.com/vitest-dev/vitest/issues/2433) [(cbf91)](https://togithub.com/vitest-dev/vitest/commit/cbf91ba7)
- Copy-pasting from module graph browser - by [@g4rry420](https://togithub.com/g4rry420) in [https://github.com/vitest-dev/vitest/issues/2321](https://togithub.com/vitest-dev/vitest/issues/2321) [(8920a)](https://togithub.com/vitest-dev/vitest/commit/8920aa45)
- **deps**: Update dependency strip-literal to v1 - by [@renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/2387](https://togithub.com/vitest-dev/vitest/issues/2387)7 [(824e1)](https://togithub.com/vitest-dev/vitest/commit/824e18c3)
- **mocker**: Set cache before mocking to allow circular dependencies - by [@danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2391](https://togithub.com/vitest-dev/vitest/issues/2391) [(fd829)](https://togithub.com/vitest-dev/vitest/commit/fd8292ac)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.3...v0.25.4)
### [`v0.25.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.2...v0.25.3)
##### 🚀 Features
- Test.each support string template - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2337](https://togithub.com/vitest-dev/vitest/issues/2337) [(f7897)](https://togithub.com/vitest-dev/vitest/commit/f7897765)
##### 🐞 Bug Fixes
- Junit consistently puts "skipped" inside "testcase" - by [@sheremet-va](https://togithub.com/sheremet-va) [(f7b27)](https://togithub.com/vitest-dev/vitest/commit/f7b27af0)
- Detect tests in folders starting with `.` - by [@sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/vitest-dev/vitest/issues/2344](https://togithub.com/vitest-dev/vitest/issues/2344) and [https://github.com/vitest-dev/vitest/issues/2359](https://togithub.com/vitest-dev/vitest/issues/2359) [(c3951)](https://togithub.com/vitest-dev/vitest/commit/c395177f)
- **cli**: Don't override config by setting cli options to undefined - by [@rmehner](https://togithub.com/rmehner) in [https://github.com/vitest-dev/vitest/issues/2330](https://togithub.com/vitest-dev/vitest/issues/2330) [(6ce3e)](https://togithub.com/vitest-dev/vitest/commit/6ce3ed7f)
- **coverage**: Env-replacer to add filenames into sourcemaps - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2338](https://togithub.com/vitest-dev/vitest/issues/2338) [(a2e9d)](https://togithub.com/vitest-dev/vitest/commit/a2e9daf6)
- **mocker**: Clear automocked modules on unmock - by [@mcous](https://togithub.com/mcous) in [https://github.com/vitest-dev/vitest/issues/2353](https://togithub.com/vitest-dev/vitest/issues/2353) [(60918)](https://togithub.com/vitest-dev/vitest/commit/609185bd)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.2...v0.25.3)
### [`v0.25.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.1...v0.25.2)
##### 🐞 Bug Fixes
- Dates are equal, if both are invalid - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2326](https://togithub.com/vitest-dev/vitest/issues/2326)
- Don't ignore properties, when put on a default function in CJS context - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2325](https://togithub.com/vitest-dev/vitest/issues/2325)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.1...v0.25.2)
### [`v0.25.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.0...v0.25.1)
##### 🚀 Features
- Add `vi.setConfig` helper - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2293](https://togithub.com/vitest-dev/vitest/issues/2293)
- Allow hooks to be executed in a stack or list - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2294](https://togithub.com/vitest-dev/vitest/issues/2294)
##### 🐞 Bug Fixes
- Always rewrite defined jsdom keys - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2290](https://togithub.com/vitest-dev/vitest/issues/2290)
- Default reporter regression - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2292](https://togithub.com/vitest-dev/vitest/issues/2292)
- Don't fail `bench` when using options - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2295](https://togithub.com/vitest-dev/vitest/issues/2295)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.0...v0.25.1)
### [`v0.25.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.5...v0.25.0)
##### ✅ Builtin TypeChecking
In v0.25.0, Vitest allows you to write tests for your types, using `expectTypeOf` or `assertType` syntaxes. By default all tests inside `*.test-d.ts` files are considered type tests. Run `vitest typecheck` to run type tests.
```ts
// my.test-d.ts
import { assertType, expectTypeOf } from 'vitest'
import { mount } from './mount.js'
test('my types work properly', () => {
expectTypeOf(mount).toBeFunction()
expectTypeOf(mount).parameter(0).toMatchTypeOf<{ name: string }>()
// @ts-expect-error name is a string
assertType(mount({ name: 42 }))
})
```
Learn more at [the documentation](https://vitest.dev/guide/testing-types.html) and this [RFC](https://togithub.com/vitest-dev/vitest/issues/1954)
##### 🚨 Breaking Changes
- Return context in `startVitest()` - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2072](https://togithub.com/vitest-dev/vitest/issues/2072)
##### 🚀 Features
- `onTestFailed` hook - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2210](https://togithub.com/vitest-dev/vitest/issues/2210)
- Display error frame if present (like Vite) - by [@haikyuu](https://togithub.com/haikyuu) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2257](https://togithub.com/vitest-dev/vitest/issues/2257)
- Benchmark table report - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2179](https://togithub.com/vitest-dev/vitest/issues/2179)
- Add typechecking functionality - by [@sheremet-va](https://togithub.com/sheremet-va) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2107](https://togithub.com/vitest-dev/vitest/issues/2107)
##### 🐞 Bug Fixes
- Clear full screen only in watch mode - by [@sheremet-va](https://togithub.com/sheremet-va) [(c3d89)](https://togithub.com/vitest-dev/vitest/commit/c3d89504)
- Don't serialize symbols and immutables - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2266](https://togithub.com/vitest-dev/vitest/issues/2266)
- Use --conditions instead of -C - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2267](https://togithub.com/vitest-dev/vitest/issues/2267)
- Show correct stack trace in errors and console - by [@sheremet-va](https://togithub.com/sheremet-va) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2248](https://togithub.com/vitest-dev/vitest/issues/2248)
- Align `.each` behavior with jest - by [@bartoszgolebiowski](https://togithub.com/bartoszgolebiowski) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2064](https://togithub.com/vitest-dev/vitest/issues/2064)
- Remove undefined values in options - by [@g4rry420](https://togithub.com/g4rry420) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2281](https://togithub.com/vitest-dev/vitest/issues/2281)
- **coverage**: Istanbul provider to preserve implicit else - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2275](https://togithub.com/vitest-dev/vitest/issues/2275)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.5...v0.25.0)
### [`v0.24.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.5)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.4...v0.24.5)
##### 🚀 Features
- **vite-node**: Trigger beforeFullReload / beforePrune / invalidate hook - by [@ycmjason](https://togithub.com/ycmjason) in [https://github.com/vitest-dev/vitest/issues/2079](https://togithub.com/vitest-dev/vitest/issues/2079)
##### 🐞 Bug Fixes
- Respect folders with dot at the start, when mocking - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2244](https://togithub.com/vitest-dev/vitest/issues/2244)
- Prevent using mocks in rpc - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2254](https://togithub.com/vitest-dev/vitest/issues/2254)
- Show actual unhandled errors, serialize DOMErrors - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2253](https://togithub.com/vitest-dev/vitest/issues/2253)
- Load deps reporter - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2249](https://togithub.com/vitest-dev/vitest/issues/2249)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.4...v0.24.5)
### [`v0.24.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.4)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.3...v0.24.4)
##### 🚀 Features
- **vite-node**: Don't exit on uncaughtException in watch mode - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2186](https://togithub.com/vitest-dev/vitest/issues/2186)
##### 🐞 Bug Fixes
- Add/Update `repository` properties in `package.json` - by [@silverwind](https://togithub.com/silverwind) in [https://github.com/vitest-dev/vitest/issues/2151](https://togithub.com/vitest-dev/vitest/issues/2151)
- Ignore benchmark.reporters in getSerializableConfig - by [@kainstar](https://togithub.com/kainstar) in [https://github.com/vitest-dev/vitest/issues/2164](https://togithub.com/vitest-dev/vitest/issues/2164)
- Improve config's default exclude - by [@haikyuu](https://togithub.com/haikyuu) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2188](https://togithub.com/vitest-dev/vitest/issues/2188)
- Always use node condition - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1919](https://togithub.com/vitest-dev/vitest/issues/1919)
- Clear terminal output before running tests, show errors in correct order - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2228](https://togithub.com/vitest-dev/vitest/issues/2228)
- Improve compatibility with native Node CJS resolution - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2226](https://togithub.com/vitest-dev/vitest/issues/2226)
- Don't use resolved paths if they don't actually exist - by [@simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/1868](https://togithub.com/vitest-dev/vitest/issues/1868)
- **cli**:
- Set inputNamePattern to RegExp source instead of string - by [@rafedramzi](https://togithub.com/rafedramzi) in [https://github.com/vitest-dev/vitest/issues/2201](https://togithub.com/vitest-dev/vitest/issues/2201)
- Normalize argument path - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2180](https://togithub.com/vitest-dev/vitest/issues/2180)
- **coverage**:
- Trim URL parameters from file paths in istanbul coverage - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2232](https://togithub.com/vitest-dev/vitest/issues/2232)
- Trim URL parameters from file paths in c8 coverage - by [@OrestHk](https://togithub.com/OrestHk) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2181](https://togithub.com/vitest-dev/vitest/issues/2181)
- **reporter**:
- Load custom reporter using `executeFile` - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2184](https://togithub.com/vitest-dev/vitest/issues/2184)
- **vitest**:
- Return detailed error when using toHaveReturnedWith - by [@azaleta](https://togithub.com/azaleta) in [https://github.com/vitest-dev/vitest/issues/2163](https://togithub.com/vitest-dev/vitest/issues/2163)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.3...v0.24.4)
### [`v0.24.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.2...v0.24.3)
##### 🐞 Bug Fixes
- **build**: Build packages before publishing - by [@sheremet-va](https://togithub.com/sheremet-va) [(3c4a2)](https://togithub.com/vitest-dev/vitest/commit/3c4a277e)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.2...v0.24.3)
### [`v0.24.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.1...v0.24.2)
##### 🚀 Features
- **ui**: Add tests summary in the dashboard - by [@webfansplz](https://togithub.com/webfansplz) and [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/2133](https://togithub.com/vitest-dev/vitest/issues/2133)
##### 🐞 Bug Fixes
- **bench**: Throw root cause - by [@azaleta](https://togithub.com/azaleta) and [@nickmccurdy](https://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/2137](https://togithub.com/vitest-dev/vitest/issues/2137)
- **browser**: Working again - by [@userquin](https://togithub.com/userquin) in [https://github.com/vi
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 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.
[ ] 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:
15.4.3
->15.6.0
^0.21.1
->^0.28.4
Release Notes
release-it/release-it
### [`v15.6.0`](https://togithub.com/release-it/release-it/releases/tag/15.6.0) [Compare Source](https://togithub.com/release-it/release-it/compare/15.5.1...15.6.0) - Fix specs for [#966](https://togithub.com/release-it/release-it/issues/966) ([`39a318b`](https://togithub.com/release-it/release-it/commit/39a318b)) - Move space (quickfix) ([`cfae247`](https://togithub.com/release-it/release-it/commit/cfae247)) - fix: use spec formdata ([#958](https://togithub.com/release-it/release-it/issues/958)) ([`c21e6b6`](https://togithub.com/release-it/release-it/commit/c21e6b6)) - Fix `npm.isCollaborator()` on npm v9 ([#966](https://togithub.com/release-it/release-it/issues/966)) ([`3bd405a`](https://togithub.com/release-it/release-it/commit/3bd405a)) - feat(git): added option to use --exclude option on git describe ([#963](https://togithub.com/release-it/release-it/issues/963)) ([`2b484bf`](https://togithub.com/release-it/release-it/commit/2b484bf)) ### [`v15.5.1`](https://togithub.com/release-it/release-it/releases/tag/15.5.1) [Compare Source](https://togithub.com/release-it/release-it/compare/15.5.0...15.5.1) - Update dependencies ([`aa89cbd`](https://togithub.com/release-it/release-it/commit/aa89cbd)) - Prompt for npm OTP in --only-version (fixes [#948](https://togithub.com/release-it/release-it/issues/948)) ([`ff626d1`](https://togithub.com/release-it/release-it/commit/ff626d1)) - Remove unused export/function ([`331b0de`](https://togithub.com/release-it/release-it/commit/331b0de)) - Add knip + config ([`ee99f63`](https://togithub.com/release-it/release-it/commit/ee99f63)) ### [`v15.5.0`](https://togithub.com/release-it/release-it/releases/tag/15.5.0) [Compare Source](https://togithub.com/release-it/release-it/compare/15.4.3...15.5.0) - Update dependencies ([`5d035be`](https://togithub.com/release-it/release-it/commit/5d035be)) - Add `npm.versionArgs` option ([`5efc57f`](https://togithub.com/release-it/release-it/commit/5efc57f))vitest-dev/vitest
### [`v0.28.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.28.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.3...v0.28.4) ##### 🐞 Bug Fixes - Setup correct utils inside asymmetric matchers - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2768](https://togithub.com/vitest-dev/vitest/issues/2768) [(415c8)](https://togithub.com/vitest-dev/vitest/commit/415c8a93) - Cjs exports has Object.prototype instead of null - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2769](https://togithub.com/vitest-dev/vitest/issues/2769) [(4fc49)](https://togithub.com/vitest-dev/vitest/commit/4fc492c6) - Duplicate callbacks in vite-node HMR - by [@jgoux](https://togithub.com/jgoux) in [https://github.com/vitest-dev/vitest/issues/2792](https://togithub.com/vitest-dev/vitest/issues/2792) [(f0333)](https://togithub.com/vitest-dev/vitest/commit/f03337ae) - Do not include source files in `onWatcherStart` when `typecheck.ignoreSourceErrors` is true - by [@mascii](https://togithub.com/mascii) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2774](https://togithub.com/vitest-dev/vitest/issues/2774) [(d612e)](https://togithub.com/vitest-dev/vitest/commit/d612efdf) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.3...v0.28.4) ### [`v0.28.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.28.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.2...v0.28.3) ##### 🚀 Features - Allow using atomics to communicate between threads - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2758](https://togithub.com/vitest-dev/vitest/issues/2758) [(3679c)](https://togithub.com/vitest-dev/vitest/commit/3679cf25) - Show active filename pattern on CLI - by [@AriPerkkio](https://togithub.com/AriPerkkio) [(a0455)](https://togithub.com/vitest-dev/vitest/commit/a0455917) - Show active test name pattern on CLI - by [@AriPerkkio](https://togithub.com/AriPerkkio) [(df7c4)](https://togithub.com/vitest-dev/vitest/commit/df7c410a) - Allow `config` option to be false - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2749](https://togithub.com/vitest-dev/vitest/issues/2749) [(c66e3)](https://togithub.com/vitest-dev/vitest/commit/c66e335b) ##### 🐞 Bug Fixes - Watch mode's filename pattern to persist on unrelated file changes - by [@AriPerkkio](https://togithub.com/AriPerkkio) [(712ac)](https://togithub.com/vitest-dev/vitest/commit/712ac15b) - Watch mode's filename pattern to persist re-run of failed tests, snapshot updates and testname filter changes - by [@AriPerkkio](https://togithub.com/AriPerkkio) [(1c65a)](https://togithub.com/vitest-dev/vitest/commit/1c65ac48) - Dont incorrectly mark run failed if filename pattern excludes previously failed tests - by [@AriPerkkio](https://togithub.com/AriPerkkio) [(61cf9)](https://togithub.com/vitest-dev/vitest/commit/61cf9a7a) - **coverage**: Istanbul crashes when no tests were run - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2753](https://togithub.com/vitest-dev/vitest/issues/2753) [(ebc95)](https://togithub.com/vitest-dev/vitest/commit/ebc95add) ##### 🏎 Performance - Don't import vite in worker - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2759](https://togithub.com/vitest-dev/vitest/issues/2759) [(e49c1)](https://togithub.com/vitest-dev/vitest/commit/e49c13fa) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.2...v0.28.3) ### [`v0.28.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.28.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.1...v0.28.2) ##### 🐞 Bug Fixes - Send stderr header log to stderr - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2736](https://togithub.com/vitest-dev/vitest/issues/2736) [(998ea)](https://togithub.com/vitest-dev/vitest/commit/998ea804) - Call afterAll, if beforeAll failed - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2737](https://togithub.com/vitest-dev/vitest/issues/2737) [(1904c)](https://togithub.com/vitest-dev/vitest/commit/1904c9c4) - **vite-node**: Don't cache modules with `timestamp: 0` - by [@danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/2747](https://togithub.com/vitest-dev/vitest/issues/2747) [(e88c0)](https://togithub.com/vitest-dev/vitest/commit/e88c04c4) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.1...v0.28.2) ### [`v0.28.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.28.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.0...v0.28.1) ##### 🐞 Bug Fixes - Remove UI from Vitest dependencies - by [@sheremet-va](https://togithub.com/sheremet-va) [(b120c)](https://togithub.com/vitest-dev/vitest/commit/b120ca3f) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.0...v0.28.1) ### [`v0.28.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.28.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.27.3...v0.28.0) ##### 🚨 Breaking Changes - Don't rely on environment for interopDefault - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2682](https://togithub.com/vitest-dev/vitest/issues/2682) [(3f20c)](https://togithub.com/vitest-dev/vitest/commit/3f20cf5a) - Move test runner into a separate package - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2721](https://togithub.com/vitest-dev/vitest/issues/2721) [(482b7)](https://togithub.com/vitest-dev/vitest/commit/482b72fc) - To extend text context, you need to augment `@vitet/runner` package instead of `vitest` ##### 🐞 Bug Fixes - **coverage**: C8 to log warning when run in Stackblitz - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2735](https://togithub.com/vitest-dev/vitest/issues/2735) [(b6c41)](https://togithub.com/vitest-dev/vitest/commit/b6c41caa) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.27.3...v0.28.0) ### [`v0.27.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.27.2...v0.27.3) ##### 🚀 Features - Throw unhandled exception, if code throws "error" event - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2691](https://togithub.com/vitest-dev/vitest/issues/2691) [(6a30c)](https://togithub.com/vitest-dev/vitest/commit/6a30cdd3) - New `environmentMatchGlobs` option to auto infer env based on glob - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2714](https://togithub.com/vitest-dev/vitest/issues/2714) [(3e142)](https://togithub.com/vitest-dev/vitest/commit/3e1429e5) - Add basic reporter which allow user to use reporter in ci - by [@trim21](https://togithub.com/trim21) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2612](https://togithub.com/vitest-dev/vitest/issues/2612) [(5df52)](https://togithub.com/vitest-dev/vitest/commit/5df522f7) - Improve "isCI" check - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2705](https://togithub.com/vitest-dev/vitest/issues/2705) [(e6457)](https://togithub.com/vitest-dev/vitest/commit/e64570df) ##### 🐞 Bug Fixes - Show error in the terminal, if "only" flag is used - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2696](https://togithub.com/vitest-dev/vitest/issues/2696) [(24d63)](https://togithub.com/vitest-dev/vitest/commit/24d63809) - Cpu and heap profiling options for workers - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2702](https://togithub.com/vitest-dev/vitest/issues/2702) [(c31a0)](https://togithub.com/vitest-dev/vitest/commit/c31a0b20) - Show correct number of tests in test summary - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2703](https://togithub.com/vitest-dev/vitest/issues/2703) [(859e7)](https://togithub.com/vitest-dev/vitest/commit/859e7f01) - Don't terminate workers on Node 14 to not trigger fatal error - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2697](https://togithub.com/vitest-dev/vitest/issues/2697) [(db9b6)](https://togithub.com/vitest-dev/vitest/commit/db9b6bb7) - Allow custom async matchers - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2707](https://togithub.com/vitest-dev/vitest/issues/2707) [(b5669)](https://togithub.com/vitest-dev/vitest/commit/b566912d) - Remove setup files from coverage - by [@g4rry420](https://togithub.com/g4rry420) in [https://github.com/vitest-dev/vitest/issues/2574](https://togithub.com/vitest-dev/vitest/issues/2574) [(488e4)](https://togithub.com/vitest-dev/vitest/commit/488e4b9f) - `reportCoverage` context can be optional - by [@antfu](https://togithub.com/antfu) [(4cd1e)](https://togithub.com/vitest-dev/vitest/commit/4cd1e5d7) - ENOENT assets when htmldir exists - by [@everett1992](https://togithub.com/everett1992) in [https://github.com/vitest-dev/vitest/issues/2701](https://togithub.com/vitest-dev/vitest/issues/2701) [(5a656)](https://togithub.com/vitest-dev/vitest/commit/5a656753) - Correctly resolve paths relative to root, when used outside of root directory - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2687](https://togithub.com/vitest-dev/vitest/issues/2687) [(703aa)](https://togithub.com/vitest-dev/vitest/commit/703aab46) - **typecheck**: Store tmp tsconfig close to original one - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2660](https://togithub.com/vitest-dev/vitest/issues/2660) [(26f91)](https://togithub.com/vitest-dev/vitest/commit/26f915ad) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.27.2...v0.27.3) ### [`v0.27.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.27.1...v0.27.2) ##### 🚀 Features - Add runAllTimersAsync from sinonjs - by [@guillaumeduboc](https://togithub.com/guillaumeduboc) in [https://github.com/vitest-dev/vitest/issues/2209](https://togithub.com/vitest-dev/vitest/issues/2209) [(40187)](https://togithub.com/vitest-dev/vitest/commit/40187bdb) ##### 🐞 Bug Fixes - Document.defaultView references the same window as the global one - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2649](https://togithub.com/vitest-dev/vitest/issues/2649) [(1ac4b)](https://togithub.com/vitest-dev/vitest/commit/1ac4bb8d) - Trim input filename and test name - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/2650](https://togithub.com/vitest-dev/vitest/issues/2650) [(d3dcb)](https://togithub.com/vitest-dev/vitest/commit/d3dcbdc8) - Increase default teardownTimeout - by [@sheremet-va](https://togithub.com/sheremet-va) [(13e53)](https://togithub.com/vitest-dev/vitest/commit/13e53ac7) - Mock css files imported with "require" - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2679](https://togithub.com/vitest-dev/vitest/issues/2679) [(6c1a2)](https://togithub.com/vitest-dev/vitest/commit/6c1a26a6) - Don't start watching files in "run" mode - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2680](https://togithub.com/vitest-dev/vitest/issues/2680) [(0a31e)](https://togithub.com/vitest-dev/vitest/commit/0a31e85c) - Rerun tests, when setup file is edited - by [@mysteryven](https://togithub.com/mysteryven) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2625](https://togithub.com/vitest-dev/vitest/issues/2625) [(019a6)](https://togithub.com/vitest-dev/vitest/commit/019a6d57) - Always show filename for unhandled errors - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2689](https://togithub.com/vitest-dev/vitest/issues/2689) [(15aa0)](https://togithub.com/vitest-dev/vitest/commit/15aa0156) - Define property instead of assigning it in vi.stubGlobal - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2685](https://togithub.com/vitest-dev/vitest/issues/2685) [(8a1d7)](https://togithub.com/vitest-dev/vitest/commit/8a1d7590) - **coverage**: Watch mode to use `coverage.all` only when all tests are run - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2665](https://togithub.com/vitest-dev/vitest/issues/2665) [(85096)](https://togithub.com/vitest-dev/vitest/commit/85096281) - **typecheck**: Log tests with verbose reporter, correctly show "pass" tests - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2656](https://togithub.com/vitest-dev/vitest/issues/2656) [(61dde)](https://togithub.com/vitest-dev/vitest/commit/61ddebae) - **ui**: Don't show "connecting" screen in html reporter - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2693](https://togithub.com/vitest-dev/vitest/issues/2693) [(d8548)](https://togithub.com/vitest-dev/vitest/commit/d8548c69) ##### 🏎 Performance - Don't resolve import path, if it was already resolved - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2659](https://togithub.com/vitest-dev/vitest/issues/2659) [(45cc3)](https://togithub.com/vitest-dev/vitest/commit/45cc3423) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.27.1...v0.27.2) ### [`v0.27.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.27.0...v0.27.1) ##### 🚀 Features - Show error, when process.exit is called - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2643](https://togithub.com/vitest-dev/vitest/issues/2643) [(866f4)](https://togithub.com/vitest-dev/vitest/commit/866f4494) - Add more information about unhandler error - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2642](https://togithub.com/vitest-dev/vitest/issues/2642) [(1ffb0)](https://togithub.com/vitest-dev/vitest/commit/1ffb0ef5) - Display running processes, if vitest closes with timeout - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2633](https://togithub.com/vitest-dev/vitest/issues/2633) [(94968)](https://togithub.com/vitest-dev/vitest/commit/94968a6f) ##### 🐞 Bug Fixes - Type issue with spyOn method - by [@samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2365](https://togithub.com/vitest-dev/vitest/issues/2365) and [https://github.com/vitest-dev/vitest/issues/2582](https://togithub.com/vitest-dev/vitest/issues/2582) [(1aaa7)](https://togithub.com/vitest-dev/vitest/commit/1aaa79d7) - Add missing types in TS project when global is true - by [@Sneaken](https://togithub.com/Sneaken) in [https://github.com/vitest-dev/vitest/issues/2631](https://togithub.com/vitest-dev/vitest/issues/2631) [(4745e)](https://togithub.com/vitest-dev/vitest/commit/4745eaa2) - Always report failed test in junit reporter - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2632](https://togithub.com/vitest-dev/vitest/issues/2632) [(83da2)](https://togithub.com/vitest-dev/vitest/commit/83da2ec4) - Change Vite root, if test.root is used - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2637](https://togithub.com/vitest-dev/vitest/issues/2637) [(efbff)](https://togithub.com/vitest-dev/vitest/commit/efbff2a2) - Don't use ownKeys, when interoping a module - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2629](https://togithub.com/vitest-dev/vitest/issues/2629) [(a186a)](https://togithub.com/vitest-dev/vitest/commit/a186a7e1) - Cut duplicate error in negated toHaveBeenCalled - by [@richardboehme](https://togithub.com/richardboehme) in [https://github.com/vitest-dev/vitest/issues/2638](https://togithub.com/vitest-dev/vitest/issues/2638) [(09d62)](https://togithub.com/vitest-dev/vitest/commit/09d62226) - Always update last HMR ms on a module - by [@sheremet-va](https://togithub.com/sheremet-va) [(99676)](https://togithub.com/vitest-dev/vitest/commit/9967645a) - Terminate workers, when closing process - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2645](https://togithub.com/vitest-dev/vitest/issues/2645) [(ece43)](https://togithub.com/vitest-dev/vitest/commit/ece434a3) - **coverage**: - Prevent c8 from crashing on invalid sourcemaps - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2634](https://togithub.com/vitest-dev/vitest/issues/2634) [(0163d)](https://togithub.com/vitest-dev/vitest/commit/0163dc80) - Istanbul provider to use `coverage.extension` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2641](https://togithub.com/vitest-dev/vitest/issues/2641) [(7e388)](https://togithub.com/vitest-dev/vitest/commit/7e388903) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.27.0...v0.27.1) ### [`v0.27.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.26.3...v0.27.0) ##### 🚨 Breaking Changes - Deprecate "error" on result, store errors in "errors" - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2586](https://togithub.com/vitest-dev/vitest/issues/2586) [(e641a)](https://togithub.com/vitest-dev/vitest/commit/e641a110) - Split vitest into separate packages, but still bundle them for the time being - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2575](https://togithub.com/vitest-dev/vitest/issues/2575) [(c8e6f)](https://togithub.com/vitest-dev/vitest/commit/c8e6fb69) ##### 🚀 Features - **coverage**: report only changed files when using istanbul coverage with watch mode - by [@g4rry420](https://togithub.com/g4rry420) in [https://github.com/vitest-dev/vitest/issues/2385](https://togithub.com/vitest-dev/vitest/issues/2385) [(bf872)](https://togithub.com/vitest-dev/vitest/commit/bf87282c) ##### 🐞 Bug Fixes - Return mock path only when mocked - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2619](https://togithub.com/vitest-dev/vitest/issues/2619) [(f8ac2)](https://togithub.com/vitest-dev/vitest/commit/f8ac2094) - Allow mocking CJS module with interoped default - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2598](https://togithub.com/vitest-dev/vitest/issues/2598) [(6b3e3)](https://togithub.com/vitest-dev/vitest/commit/6b3e36d4) - Avoid random ENOTEMPTY errors - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2620](https://togithub.com/vitest-dev/vitest/issues/2620) [(59766)](https://togithub.com/vitest-dev/vitest/commit/59766fa4) - Always inline assets and modules with special Vite queries - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2617](https://togithub.com/vitest-dev/vitest/issues/2617) [(fed1c)](https://togithub.com/vitest-dev/vitest/commit/fed1cd60) - **cli**: - Allow overrides reporter via cli option - by [@mysteryven](https://togithub.com/mysteryven) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2573](https://togithub.com/vitest-dev/vitest/issues/2573) [(894f1)](https://togithub.com/vitest-dev/vitest/commit/894f155a) - **coverage**: - Flaky c8 coverage caused by parallel sourcemap constructing - by [@AriPerkkio](https://togithub.com/AriPerkkio) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2591](https://togithub.com/vitest-dev/vitest/issues/2591) [(9a29f)](https://togithub.com/vitest-dev/vitest/commit/9a29f984) - Validate extension, when reporting c8 coverage - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2626](https://togithub.com/vitest-dev/vitest/issues/2626) [(74463)](https://togithub.com/vitest-dev/vitest/commit/7446370c) ##### 🏎 Performance - Improve vi.mock performance - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2594](https://togithub.com/vitest-dev/vitest/issues/2594) [(09d19)](https://togithub.com/vitest-dev/vitest/commit/09d19892) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.3...v0.27.0) ### [`v0.26.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.26.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.26.2...v0.26.3) ##### 🚀 Features - **mock**: Expose a `importOriginal` helper to the factory - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2551](https://togithub.com/vitest-dev/vitest/issues/2551) [(853ee)](https://togithub.com/vitest-dev/vitest/commit/853eeddb) ##### 🐞 Bug Fixes - Correctly automock nested interoped defaults - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2559](https://togithub.com/vitest-dev/vitest/issues/2559) [(a431d)](https://togithub.com/vitest-dev/vitest/commit/a431df80) - Start tracking module resolution as soon as possible for easier tracking - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2560](https://togithub.com/vitest-dev/vitest/issues/2560) [(9f41e)](https://togithub.com/vitest-dev/vitest/commit/9f41edda) - Don't hang when mocking module with circular dependency - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2572](https://togithub.com/vitest-dev/vitest/issues/2572) [(c479d)](https://togithub.com/vitest-dev/vitest/commit/c479d9c0) - Show list of tests when typechecking - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2585](https://togithub.com/vitest-dev/vitest/issues/2585) [(32a57)](https://togithub.com/vitest-dev/vitest/commit/32a577b1) - **api**: Make api parse error stacks and return sourcePos in onTaskUpdate - by [@adrienbaron](https://togithub.com/adrienbaron) in [https://github.com/vitest-dev/vitest/issues/2563](https://togithub.com/vitest-dev/vitest/issues/2563) [(ef77d)](https://togithub.com/vitest-dev/vitest/commit/ef77dccf) - **coverage**: Env-replacer to remove query params from sourcemaps filenames - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2584](https://togithub.com/vitest-dev/vitest/issues/2584) [(dba13)](https://togithub.com/vitest-dev/vitest/commit/dba13374) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.2...v0.26.3) ### [`v0.26.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.26.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.26.1...v0.26.2) ##### 🚀 Features - Project name - by [@antfu](https://togithub.com/antfu) [(84f98)](https://togithub.com/vitest-dev/vitest/commit/84f98e70) ##### 🐞 Bug Fixes - Improve "isInternaRequest" check - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2541](https://togithub.com/vitest-dev/vitest/issues/2541) [(2bb9a)](https://togithub.com/vitest-dev/vitest/commit/2bb9a391) - Use correct word when printing "long-running" warning - by [@simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/2546](https://togithub.com/vitest-dev/vitest/issues/2546) [(8dc1c)](https://togithub.com/vitest-dev/vitest/commit/8dc1c3cb) - Pass down diff options - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2545](https://togithub.com/vitest-dev/vitest/issues/2545) [(98c94)](https://togithub.com/vitest-dev/vitest/commit/98c94e65) - **cli**: Respect inline config `dir` - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2550](https://togithub.com/vitest-dev/vitest/issues/2550) [(f6b59)](https://togithub.com/vitest-dev/vitest/commit/f6b592a9) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.1...v0.26.2) ### [`v0.26.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.26.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.26.0...v0.26.1) ##### 🚀 Features - Add more options to configure diff output - by [@sheremet-va](https://togithub.com/sheremet-va) and [@dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/2522](https://togithub.com/vitest-dev/vitest/issues/2522) [(7ae14)](https://togithub.com/vitest-dev/vitest/commit/7ae1417f) ##### 🐞 Bug Fixes - Don't resolve builtin Node modules - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2538](https://togithub.com/vitest-dev/vitest/issues/2538) [(1cbc2)](https://togithub.com/vitest-dev/vitest/commit/1cbc24dc) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.0...v0.26.1) ### [`v0.26.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.26.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.8...v0.26.0) ##### 🚨 Breaking Changes - **vite-node:** Rewrite how vite-node resolves id - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2463](https://togithub.com/vitest-dev/vitest/issues/2463) [(58ee8)](https://togithub.com/vitest-dev/vitest/commit/58ee8e9b) - Correctly interop nested default for external and inlined modules - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2512](https://togithub.com/vitest-dev/vitest/issues/2512) [(084e9)](https://togithub.com/vitest-dev/vitest/commit/084e929c) - If your environment is `node`, Vitest will not resolve invalid named exports (exports that are on "default" property will not magically appear as named exports), unless `deps.interopDefault` is enabled, or dependency is in `deps.inline`. This change doesn't affect `jsdom`, `happy-dom` or `edge` environments. - **web-worker:** Make web-worker implementation more compatible with spec - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2431](https://togithub.com/vitest-dev/vitest/issues/2431) [(c3a63)](https://togithub.com/vitest-dev/vitest/commit/c3a63524) - Messages are now cloned with `structuredClone`, if it's available, or fallbacks to a polyfill. - Added support for `SharedWorker` ##### 🚀 Features - Introduce a native way to set env and globals - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2515](https://togithub.com/vitest-dev/vitest/issues/2515) [(b114d)](https://togithub.com/vitest-dev/vitest/commit/b114d49f) - Add html reporter based on Vitest UI - by [@poyoho](https://togithub.com/poyoho) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2444](https://togithub.com/vitest-dev/vitest/issues/2444) [(b8f34)](https://togithub.com/vitest-dev/vitest/commit/b8f34eb8) - If you have `@vitest/ui` installed, you can now use `'html'` reporter to get a [beautiful UI](https://vitest.dev/guide/ui.html) to view your test results, inspect module graph and read log messages. ##### 🐞 Bug Fixes - Allow assigning new hotContext - by [@cometkim](https://togithub.com/cometkim) in [https://github.com/vitest-dev/vitest/issues/2524](https://togithub.com/vitest-dev/vitest/issues/2524) [(b4c43)](https://togithub.com/vitest-dev/vitest/commit/b4c43cd5) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.8...v0.26.0) ### [`v0.25.8`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.8) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.7...v0.25.8) ##### 🚀 Features - Add mts, cts files to coverage - by [@poyoho](https://togithub.com/poyoho) and [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2492](https://togithub.com/vitest-dev/vitest/issues/2492) [(799f9)](https://togithub.com/vitest-dev/vitest/commit/799f9a17) ##### 🐞 Bug Fixes - Don't throw unhandled error, if import was caught - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2494](https://togithub.com/vitest-dev/vitest/issues/2494) [(0a87e)](https://togithub.com/vitest-dev/vitest/commit/0a87ebb4) - **coverage**: Esbuild to preserve legal comments for ignore hints - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2496](https://togithub.com/vitest-dev/vitest/issues/2496) [(c85ed)](https://togithub.com/vitest-dev/vitest/commit/c85edb1e) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.7...v0.25.8) ### [`v0.25.7`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.7) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.6...v0.25.7) ##### 🚀 Features - Support Vite 4 - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2470](https://togithub.com/vitest-dev/vitest/issues/2470) [(3bb6b)](https://togithub.com/vitest-dev/vitest/commit/3bb6b0c8) ##### 🐞 Bug Fixes - Restart on config change crashes - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2481](https://togithub.com/vitest-dev/vitest/issues/2481) [(286e9)](https://togithub.com/vitest-dev/vitest/commit/286e9cf7) - **coverage-istanbul**: Clear coverage map after use - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2466](https://togithub.com/vitest-dev/vitest/issues/2466) [(e6a18)](https://togithub.com/vitest-dev/vitest/commit/e6a18c74) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.6...v0.25.7) ### [`v0.25.6`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.6) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.5...v0.25.6) ##### 🐞 Bug Fixes - Expected reversed with actual - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2460](https://togithub.com/vitest-dev/vitest/issues/2460) [(f02c9)](https://togithub.com/vitest-dev/vitest/commit/f02c9828) - Try to resolve id, if relative path is provided - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2461](https://togithub.com/vitest-dev/vitest/issues/2461) [(e9cb4)](https://togithub.com/vitest-dev/vitest/commit/e9cb4136) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.5...v0.25.6) ### [`v0.25.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.4...v0.25.5) ##### 🚀 Features - **ui**: Show diff in report panel - by [@scarf005](https://togithub.com/scarf005) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2406](https://togithub.com/vitest-dev/vitest/issues/2406) and [https://github.com/vitest-dev/vitest/issues/2423](https://togithub.com/vitest-dev/vitest/issues/2423) [(8595c)](https://togithub.com/vitest-dev/vitest/commit/8595c0e5) ##### 🐞 Bug Fixes - Correctly resolve filename, when running code - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2439](https://togithub.com/vitest-dev/vitest/issues/2439) [(2e789)](https://togithub.com/vitest-dev/vitest/commit/2e7892cb) - Move sourcemapping source out of the sourcemap - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2443](https://togithub.com/vitest-dev/vitest/issues/2443) [(cc13c)](https://togithub.com/vitest-dev/vitest/commit/cc13c28c) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.4...v0.25.5) ### [`v0.25.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.3...v0.25.4) ##### 🚀 Features - Slow test threshold - by [@poyoho](https://togithub.com/poyoho) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2396](https://togithub.com/vitest-dev/vitest/issues/2396) [(98974)](https://togithub.com/vitest-dev/vitest/commit/98974ba4) - Format test tablename - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2405](https://togithub.com/vitest-dev/vitest/issues/2405) [(45c5c)](https://togithub.com/vitest-dev/vitest/commit/45c5c45a) - Suspend process - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2422](https://togithub.com/vitest-dev/vitest/issues/2422) [(b8ee8)](https://togithub.com/vitest-dev/vitest/commit/b8ee821c) - Format test objects in `each` title - by [@scarf005](https://togithub.com/scarf005) in [https://github.com/vitest-dev/vitest/issues/2420](https://togithub.com/vitest-dev/vitest/issues/2420) and [https://github.com/vitest-dev/vitest/issues/2421](https://togithub.com/vitest-dev/vitest/issues/2421) [(1868f)](https://togithub.com/vitest-dev/vitest/commit/1868f1c4) ##### 🐞 Bug Fixes - Exit with code 1, when type tests fail - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2378](https://togithub.com/vitest-dev/vitest/issues/2378) [(98141)](https://togithub.com/vitest-dev/vitest/commit/9814124e) - Tab affect vi.mock - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2402](https://togithub.com/vitest-dev/vitest/issues/2402) [(5a3de)](https://togithub.com/vitest-dev/vitest/commit/5a3deba5) - Don't escape "\\" in diff view - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2430](https://togithub.com/vitest-dev/vitest/issues/2430) [(7d4e3)](https://togithub.com/vitest-dev/vitest/commit/7d4e3ed0) - Correct test files status in json reporter - by [@brzezinskimarcin](https://togithub.com/brzezinskimarcin) in [https://github.com/vitest-dev/vitest/issues/2417](https://togithub.com/vitest-dev/vitest/issues/2417) and [https://github.com/vitest-dev/vitest/issues/2419](https://togithub.com/vitest-dev/vitest/issues/2419) [(ce931)](https://togithub.com/vitest-dev/vitest/commit/ce931956) - Export all named CJS exports, if default export is a function - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2435](https://togithub.com/vitest-dev/vitest/issues/2435) [(d43f3)](https://togithub.com/vitest-dev/vitest/commit/d43f3f5c) - Add test attributes to "testsuites" in junit reporter - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2362](https://togithub.com/vitest-dev/vitest/issues/2362) [(d0506)](https://togithub.com/vitest-dev/vitest/commit/d050604f) - DynamicImportSettled also waits for nested imports - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2389](https://togithub.com/vitest-dev/vitest/issues/2389) [(5098b)](https://togithub.com/vitest-dev/vitest/commit/5098b217) - Always apply vite ssr source maps - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2433](https://togithub.com/vitest-dev/vitest/issues/2433) [(cbf91)](https://togithub.com/vitest-dev/vitest/commit/cbf91ba7) - Copy-pasting from module graph browser - by [@g4rry420](https://togithub.com/g4rry420) in [https://github.com/vitest-dev/vitest/issues/2321](https://togithub.com/vitest-dev/vitest/issues/2321) [(8920a)](https://togithub.com/vitest-dev/vitest/commit/8920aa45) - **deps**: Update dependency strip-literal to v1 - by [@renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/2387](https://togithub.com/vitest-dev/vitest/issues/2387)7 [(824e1)](https://togithub.com/vitest-dev/vitest/commit/824e18c3) - **mocker**: Set cache before mocking to allow circular dependencies - by [@danez](https://togithub.com/danez) in [https://github.com/vitest-dev/vitest/issues/2391](https://togithub.com/vitest-dev/vitest/issues/2391) [(fd829)](https://togithub.com/vitest-dev/vitest/commit/fd8292ac) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.3...v0.25.4) ### [`v0.25.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.2...v0.25.3) ##### 🚀 Features - Test.each support string template - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2337](https://togithub.com/vitest-dev/vitest/issues/2337) [(f7897)](https://togithub.com/vitest-dev/vitest/commit/f7897765) ##### 🐞 Bug Fixes - Junit consistently puts "skipped" inside "testcase" - by [@sheremet-va](https://togithub.com/sheremet-va) [(f7b27)](https://togithub.com/vitest-dev/vitest/commit/f7b27af0) - Detect tests in folders starting with `.` - by [@sidharthv96](https://togithub.com/sidharthv96) in [https://github.com/vitest-dev/vitest/issues/2344](https://togithub.com/vitest-dev/vitest/issues/2344) and [https://github.com/vitest-dev/vitest/issues/2359](https://togithub.com/vitest-dev/vitest/issues/2359) [(c3951)](https://togithub.com/vitest-dev/vitest/commit/c395177f) - **cli**: Don't override config by setting cli options to undefined - by [@rmehner](https://togithub.com/rmehner) in [https://github.com/vitest-dev/vitest/issues/2330](https://togithub.com/vitest-dev/vitest/issues/2330) [(6ce3e)](https://togithub.com/vitest-dev/vitest/commit/6ce3ed7f) - **coverage**: Env-replacer to add filenames into sourcemaps - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2338](https://togithub.com/vitest-dev/vitest/issues/2338) [(a2e9d)](https://togithub.com/vitest-dev/vitest/commit/a2e9daf6) - **mocker**: Clear automocked modules on unmock - by [@mcous](https://togithub.com/mcous) in [https://github.com/vitest-dev/vitest/issues/2353](https://togithub.com/vitest-dev/vitest/issues/2353) [(60918)](https://togithub.com/vitest-dev/vitest/commit/609185bd) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.2...v0.25.3) ### [`v0.25.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.1...v0.25.2) ##### 🐞 Bug Fixes - Dates are equal, if both are invalid - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2326](https://togithub.com/vitest-dev/vitest/issues/2326) - Don't ignore properties, when put on a default function in CJS context - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2325](https://togithub.com/vitest-dev/vitest/issues/2325) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.1...v0.25.2) ### [`v0.25.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.0...v0.25.1) ##### 🚀 Features - Add `vi.setConfig` helper - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2293](https://togithub.com/vitest-dev/vitest/issues/2293) - Allow hooks to be executed in a stack or list - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2294](https://togithub.com/vitest-dev/vitest/issues/2294) ##### 🐞 Bug Fixes - Always rewrite defined jsdom keys - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2290](https://togithub.com/vitest-dev/vitest/issues/2290) - Default reporter regression - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2292](https://togithub.com/vitest-dev/vitest/issues/2292) - Don't fail `bench` when using options - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2295](https://togithub.com/vitest-dev/vitest/issues/2295) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.0...v0.25.1) ### [`v0.25.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.5...v0.25.0) ##### ✅ Builtin TypeChecking In v0.25.0, Vitest allows you to write tests for your types, using `expectTypeOf` or `assertType` syntaxes. By default all tests inside `*.test-d.ts` files are considered type tests. Run `vitest typecheck` to run type tests. ```ts // my.test-d.ts import { assertType, expectTypeOf } from 'vitest' import { mount } from './mount.js' test('my types work properly', () => { expectTypeOf(mount).toBeFunction() expectTypeOf(mount).parameter(0).toMatchTypeOf<{ name: string }>() // @ts-expect-error name is a string assertType(mount({ name: 42 })) }) ``` Learn more at [the documentation](https://vitest.dev/guide/testing-types.html) and this [RFC](https://togithub.com/vitest-dev/vitest/issues/1954) ##### 🚨 Breaking Changes - Return context in `startVitest()` - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2072](https://togithub.com/vitest-dev/vitest/issues/2072) ##### 🚀 Features - `onTestFailed` hook - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2210](https://togithub.com/vitest-dev/vitest/issues/2210) - Display error frame if present (like Vite) - by [@haikyuu](https://togithub.com/haikyuu) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2257](https://togithub.com/vitest-dev/vitest/issues/2257) - Benchmark table report - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2179](https://togithub.com/vitest-dev/vitest/issues/2179) - Add typechecking functionality - by [@sheremet-va](https://togithub.com/sheremet-va) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2107](https://togithub.com/vitest-dev/vitest/issues/2107) ##### 🐞 Bug Fixes - Clear full screen only in watch mode - by [@sheremet-va](https://togithub.com/sheremet-va) [(c3d89)](https://togithub.com/vitest-dev/vitest/commit/c3d89504) - Don't serialize symbols and immutables - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2266](https://togithub.com/vitest-dev/vitest/issues/2266) - Use --conditions instead of -C - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2267](https://togithub.com/vitest-dev/vitest/issues/2267) - Show correct stack trace in errors and console - by [@sheremet-va](https://togithub.com/sheremet-va) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2248](https://togithub.com/vitest-dev/vitest/issues/2248) - Align `.each` behavior with jest - by [@bartoszgolebiowski](https://togithub.com/bartoszgolebiowski) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2064](https://togithub.com/vitest-dev/vitest/issues/2064) - Remove undefined values in options - by [@g4rry420](https://togithub.com/g4rry420) and [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2281](https://togithub.com/vitest-dev/vitest/issues/2281) - **coverage**: Istanbul provider to preserve implicit else - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2275](https://togithub.com/vitest-dev/vitest/issues/2275) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.5...v0.25.0) ### [`v0.24.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.4...v0.24.5) ##### 🚀 Features - **vite-node**: Trigger beforeFullReload / beforePrune / invalidate hook - by [@ycmjason](https://togithub.com/ycmjason) in [https://github.com/vitest-dev/vitest/issues/2079](https://togithub.com/vitest-dev/vitest/issues/2079) ##### 🐞 Bug Fixes - Respect folders with dot at the start, when mocking - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2244](https://togithub.com/vitest-dev/vitest/issues/2244) - Prevent using mocks in rpc - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2254](https://togithub.com/vitest-dev/vitest/issues/2254) - Show actual unhandled errors, serialize DOMErrors - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2253](https://togithub.com/vitest-dev/vitest/issues/2253) - Load deps reporter - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2249](https://togithub.com/vitest-dev/vitest/issues/2249) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.4...v0.24.5) ### [`v0.24.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.3...v0.24.4) ##### 🚀 Features - **vite-node**: Don't exit on uncaughtException in watch mode - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2186](https://togithub.com/vitest-dev/vitest/issues/2186) ##### 🐞 Bug Fixes - Add/Update `repository` properties in `package.json` - by [@silverwind](https://togithub.com/silverwind) in [https://github.com/vitest-dev/vitest/issues/2151](https://togithub.com/vitest-dev/vitest/issues/2151) - Ignore benchmark.reporters in getSerializableConfig - by [@kainstar](https://togithub.com/kainstar) in [https://github.com/vitest-dev/vitest/issues/2164](https://togithub.com/vitest-dev/vitest/issues/2164) - Improve config's default exclude - by [@haikyuu](https://togithub.com/haikyuu) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2188](https://togithub.com/vitest-dev/vitest/issues/2188) - Always use node condition - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/1919](https://togithub.com/vitest-dev/vitest/issues/1919) - Clear terminal output before running tests, show errors in correct order - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2228](https://togithub.com/vitest-dev/vitest/issues/2228) - Improve compatibility with native Node CJS resolution - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2226](https://togithub.com/vitest-dev/vitest/issues/2226) - Don't use resolved paths if they don't actually exist - by [@simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/1868](https://togithub.com/vitest-dev/vitest/issues/1868) - **cli**: - Set inputNamePattern to RegExp source instead of string - by [@rafedramzi](https://togithub.com/rafedramzi) in [https://github.com/vitest-dev/vitest/issues/2201](https://togithub.com/vitest-dev/vitest/issues/2201) - Normalize argument path - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2180](https://togithub.com/vitest-dev/vitest/issues/2180) - **coverage**: - Trim URL parameters from file paths in istanbul coverage - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2232](https://togithub.com/vitest-dev/vitest/issues/2232) - Trim URL parameters from file paths in c8 coverage - by [@OrestHk](https://togithub.com/OrestHk) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2181](https://togithub.com/vitest-dev/vitest/issues/2181) - **reporter**: - Load custom reporter using `executeFile` - by [@poyoho](https://togithub.com/poyoho) in [https://github.com/vitest-dev/vitest/issues/2184](https://togithub.com/vitest-dev/vitest/issues/2184) - **vitest**: - Return detailed error when using toHaveReturnedWith - by [@azaleta](https://togithub.com/azaleta) in [https://github.com/vitest-dev/vitest/issues/2163](https://togithub.com/vitest-dev/vitest/issues/2163) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.3...v0.24.4) ### [`v0.24.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.2...v0.24.3) ##### 🐞 Bug Fixes - **build**: Build packages before publishing - by [@sheremet-va](https://togithub.com/sheremet-va) [(3c4a2)](https://togithub.com/vitest-dev/vitest/commit/3c4a277e) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.2...v0.24.3) ### [`v0.24.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.24.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.1...v0.24.2) ##### 🚀 Features - **ui**: Add tests summary in the dashboard - by [@webfansplz](https://togithub.com/webfansplz) and [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/2133](https://togithub.com/vitest-dev/vitest/issues/2133) ##### 🐞 Bug Fixes - **bench**: Throw root cause - by [@azaleta](https://togithub.com/azaleta) and [@nickmccurdy](https://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/2137](https://togithub.com/vitest-dev/vitest/issues/2137) - **browser**: Working again - by [@userquin](https://togithub.com/userquin) in [https://github.com/viConfiguration
📅 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 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 has been generated by Mend Renovate. View repository job log here.