Skip to content

Commit

Permalink
chore(deps): update dependency vitest to v1.3.1 (#185)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vitest](https://togithub.com/vitest-dev/vitest)
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`1.0.2` ->
`1.3.1`](https://renovatebot.com/diffs/npm/vitest/1.0.2/1.3.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.0.2/1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (vitest)</summary>

###
[`v1.3.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.1)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1)

#####    🚀 Features

- **vitest**: Expose parseCLI method  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5248](https://togithub.com/vitest-dev/vitest/issues/5248)
[<samp>(c793a)</samp>](https://togithub.com/vitest-dev/vitest/commit/c793a136)
- This feature is not affected by SemVer because it is part of an
[experimental API](https://vitest.dev/advanced/api.html).

#####    🐞 Bug Fixes

- Add task tests iteratively  -  by
[@&#8203;DerYeger](https://togithub.com/DerYeger) in
[https://github.com/vitest-dev/vitest/issues/5235](https://togithub.com/vitest-dev/vitest/issues/5235)
[<samp>(38155)</samp>](https://togithub.com/vitest-dev/vitest/commit/38155548)
- **coverage**: Ignore generated TS decorators  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5206](https://togithub.com/vitest-dev/vitest/issues/5206)
[<samp>(a2804)</samp>](https://togithub.com/vitest-dev/vitest/commit/a280451b)
- **ui**: Auto reload coverage iframe after test run  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5242](https://togithub.com/vitest-dev/vitest/issues/5242)
[<samp>(5376d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5376d5be)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.0...v1.3.1)

###
[`v1.3.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.3.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0)

##### 🚀 Features

- Deprecate watchExclude - by
[@&#8203;patak-dev](https://togithub.com/patak-dev) in
[https://github.com/vitest-dev/vitest/issues/5171](https://togithub.com/vitest-dev/vitest/issues/5171)
[<samp>(82885)</samp>](https://togithub.com/vitest-dev/vitest/commit/828858f8)
-   **browser**:
- Run test files in isolated iframes - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5036](https://togithub.com/vitest-dev/vitest/issues/5036)
[<samp>(4f401)</samp>](https://togithub.com/vitest-dev/vitest/commit/4f40177e)
-   **config**:
- Add `snapshotSerializers` option - by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5092](https://togithub.com/vitest-dev/vitest/issues/5092)
[<samp>(5b102)</samp>](https://togithub.com/vitest-dev/vitest/commit/5b1021da)
-   **reporters**:
- Support custom options - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5111](https://togithub.com/vitest-dev/vitest/issues/5111)
[<samp>(fec9c)</samp>](https://togithub.com/vitest-dev/vitest/commit/fec9ca0b)
-   **runner**:
- Support automatic fixtures - by
[@&#8203;fenghan34](https://togithub.com/fenghan34) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5102](https://togithub.com/vitest-dev/vitest/issues/5102)
[<samp>(0441f)</samp>](https://togithub.com/vitest-dev/vitest/commit/0441f761)
-   **ui**:
- Save splitpanes size to local storage - by
[@&#8203;posva](https://togithub.com/posva) in
[https://github.com/vitest-dev/vitest/issues/5166](https://togithub.com/vitest-dev/vitest/issues/5166)
[<samp>(c28b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/c28b4c26)
-   **vitest**:
- Add onTestFinished hook - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5128](https://togithub.com/vitest-dev/vitest/issues/5128)
[<samp>(6f5b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/6f5b42b7)
- Add github actions reporter - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5093](https://togithub.com/vitest-dev/vitest/issues/5093)
[<samp>(40afb)</samp>](https://togithub.com/vitest-dev/vitest/commit/40afbe3a)
- Expose jsdom global if jsdom environment is enabled - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[15](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:16)5
[<samp>(567d2)</samp>](https://togithub.com/vitest-dev/vitest/commit/567d20b9)
- Add new CLI options - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[16](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:17)3
[<samp>(4e179)</samp>](https://togithub.com/vitest-dev/vitest/commit/4e179426)
- "test" accepts options object as the second parameter - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5142](https://togithub.com/vitest-dev/vitest/issues/5142)
[<samp>(7d9b1)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d9b1fb0)
-   **vm**:
- Support wasm module - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5131](https://togithub.com/vitest-dev/vitest/issues/5131)
[<samp>(5ed53)</samp>](https://togithub.com/vitest-dev/vitest/commit/5ed537f0)

##### 🐞 Bug Fixes

- Fix sourcemap in vm pools - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5063](https://togithub.com/vitest-dev/vitest/issues/5063)
[<samp>(81105)</samp>](https://togithub.com/vitest-dev/vitest/commit/8110540a)
- Don't optimize react/jsx-runtime by default when running in Node - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5079](https://togithub.com/vitest-dev/vitest/issues/5079)
[<samp>(0d2bf)</samp>](https://togithub.com/vitest-dev/vitest/commit/0d2bfeac)
- Rpc timeout error messages to include caller - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5103](https://togithub.com/vitest-dev/vitest/issues/5103)
[<samp>(a6e04)</samp>](https://togithub.com/vitest-dev/vitest/commit/a6e04bd8)
- Requires fixed version across the monorepo - by
[@&#8203;antfu](https://togithub.com/antfu) in
[https://github.com/vitest-dev/vitest/issues/5208](https://togithub.com/vitest-dev/vitest/issues/5208)
[<samp>(68f51)</samp>](https://togithub.com/vitest-dev/vitest/commit/68f51961)
- Prevent merging of `poolOptions` - by
[@&#8203;penalosa](https://togithub.com/penalosa) in
[https://github.com/vitest-dev/vitest/issues/5221](https://togithub.com/vitest-dev/vitest/issues/5221)
[<samp>(bc5b2)</samp>](https://togithub.com/vitest-dev/vitest/commit/bc5b2d04)
-   **browser**:
- Don't exclude node builtins from optimization - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5082](https://togithub.com/vitest-dev/vitest/issues/5082)
[<samp>(714c9)</samp>](https://togithub.com/vitest-dev/vitest/commit/714c911f)
- Support `coverage.reportsDirectory` with multiple directories - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5056](https://togithub.com/vitest-dev/vitest/issues/5056)
[<samp>(ae73f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ae73f273)
-   **cli**:
- Parse `--browser=<name>` correctly - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[17](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:18)9
[<samp>(656e2)</samp>](https://togithub.com/vitest-dev/vitest/commit/656e210b)
-   **coverage**:
- `.tmp` directory conflicts with `--shard` option - by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[18](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:19)4
[<samp>(5749d)</samp>](https://togithub.com/vitest-dev/vitest/commit/5749d2c2)
-   **deps**:
- Update dependency strip-literal to v2 - by
[@&#8203;renovate](https://togithub.com/renovate)\[bot]
in[https://github.com/vitest-dev/vitest/issues/5136](https://togithub.com/vitest-dev/vitest/issues/5136)6
[<samp>(ef557)</samp>](https://togithub.com/vitest-dev/vitest/commit/ef557243)
-   **reporters**:
- Testsuite name should include project root in Junit output - by
[@&#8203;fenghan34](https://togithub.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/5116](https://togithub.com/vitest-dev/vitest/issues/5116)
[<samp>(2494f)</samp>](https://togithub.com/vitest-dev/vitest/commit/2494fbf2)
-   **typecheck**:
- Fix suite collection while-loop - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5065](https://togithub.com/vitest-dev/vitest/issues/5065)
[<samp>(35675)</samp>](https://togithub.com/vitest-dev/vitest/commit/35675bd3)
-   **ui**:
- Fix tests duration time - by
[@&#8203;vovsemenv](https://togithub.com/vovsemenv) in
[https://github.com/vitest-dev/vitest/issues/52](https://togithub.com/vitest-dev/vitest/issues/52)[19](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:20)
[<samp>(58103)</samp>](https://togithub.com/vitest-dev/vitest/commit/581030ee)
-   **utils**:
- Fix asymmetric matcher diff inside array - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5189](https://togithub.com/vitest-dev/vitest/issues/5189)
[<samp>(3ffcd)</samp>](https://togithub.com/vitest-dev/vitest/commit/3ffcd2ea)
-   **vitest**:
- Correctly report failed test files as failures in json reporter,
export json reporter types - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5081](https://togithub.com/vitest-dev/vitest/issues/5081)
[<samp>(0417b)</samp>](https://togithub.com/vitest-dev/vitest/commit/0417ba\[20]\(https://github.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:21\))
- Don't run typecheck tests in browser if both are enabled - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5080](https://togithub.com/vitest-dev/vitest/issues/5080)
[<samp>(1045b)</samp>](https://togithub.com/vitest-dev/vitest/commit/1045b98b)
- Handle function config inside `defineWorkspace` - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5089](https://togithub.com/vitest-dev/vitest/issues/5089)
[<samp>(0bf52)</samp>](https://togithub.com/vitest-dev/vitest/commit/0bf52533)
- Remove excessive listeners when running without isolation, don't reset
the state - by [@&#8203;sheremet-va](https://togithub.com/sheremet-va)
in
[https://github.com/vitest-dev/vitest/issues/5132](https://togithub.com/vitest-dev/vitest/issues/5132)
[<samp>(b607f)</samp>](https://togithub.com/vitest-dev/vitest/commit/b607f1ea)
- Auto-enable "github-actions" only where users didn't configure
reporters - by [@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5158](https://togithub.com/vitest-dev/vitest/issues/5158)
[<samp>(ef044)</samp>](https://togithub.com/vitest-dev/vitest/commit/ef0440cb)
- Support more array cli options - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5162](https://togithub.com/vitest-dev/vitest/issues/5162)
[<samp>(3afe6)</samp>](https://togithub.com/vitest-dev/vitest/commit/3afe68f1)
- Add types for the new global `jsdom` variable - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5164](https://togithub.com/vitest-dev/vitest/issues/5164)
[<samp>(0f898)</samp>](https://togithub.com/vitest-dev/vitest/commit/0f898d87)
- Expose onTestFinished globally - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(1304f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1304fed7)
- Disable optimizer by default until it's stable - by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5156](https://togithub.com/vitest-dev/vitest/issues/5156)
[<samp>(e1bd8)</samp>](https://togithub.com/vitest-dev/vitest/commit/e1bd8d5d)
- Delegate snapshot options to workspace from root config - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5199](https://togithub.com/vitest-dev/vitest/issues/5199)
[<samp>(86297)</samp>](https://togithub.com/vitest-dev/vitest/commit/86297d42)
- Fix `optimizeDeps.disabled` warnings on Vite 5.1 - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5](https://togithub.com/vitest-dev/vitest/issues/5)[21](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:22)5
[<samp>(1aecd)</samp>](https://togithub.com/vitest-dev/vitest/commit/1aecd650)
-   **vm**:
- Handle `disableConsoleIntercept` config - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
https://github.com/vitest-dev/vitest/issues/[50](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:51)74
[<samp>(a55ad)</samp>](https://togithub.com/vitest-dev/vitest/commit/a55adac6)
- Improve error when module is not found - by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/50](https://togithub.com/vitest-dev/vitest/issues/50)[53](https://togithub.com/vitest-dev/vitest/actions/runs/7934052979/job/21664152574#step:8:54)
[<samp>(79a50)</samp>](https://togithub.com/vitest-dev/vitest/commit/79a50c3f)

##### [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.2...v1.3.0)

###
[`v1.2.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.2)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)

#####    🐞 Bug Fixes

-   **coverage**:
- Remove `coverage/.tmp` files after run  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5008](https://togithub.com/vitest-dev/vitest/issues/5008)
[<samp>(d53b8)</samp>](https://togithub.com/vitest-dev/vitest/commit/d53b8580)
- Don't crash when re-run removes earlier run's reports  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5022](https://togithub.com/vitest-dev/vitest/issues/5022)
[<samp>(66898)</samp>](https://togithub.com/vitest-dev/vitest/commit/6689856f)
-   **expect**:
- Improve `toThrow(asymmetricMatcher)` failure message  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5000](https://togithub.com/vitest-dev/vitest/issues/5000)
[<samp>(a199a)</samp>](https://togithub.com/vitest-dev/vitest/commit/a199ac2d)
-   **forks**:
- Set correct `VITEST_POOL_ID`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5002](https://togithub.com/vitest-dev/vitest/issues/5002)
[<samp>(7d0a4)</samp>](https://togithub.com/vitest-dev/vitest/commit/7d0a4692)
-   **threads**:
- Mention common work-around for the logged error  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5024](https://togithub.com/vitest-dev/vitest/issues/5024)
[<samp>(915d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/915d6c43)
-   **typecheck**:
- Fix `ignoreSourceErrors` in run mode  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5044](https://togithub.com/vitest-dev/vitest/issues/5044)
[<samp>(6dae3)</samp>](https://togithub.com/vitest-dev/vitest/commit/6dae3feb)
-   **vite-node**:
- Provide import.meta.filename and dirname  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5011](https://togithub.com/vitest-dev/vitest/issues/5011)
[<samp>(73148)</samp>](https://togithub.com/vitest-dev/vitest/commit/73148575)
-   **vitest**:
- Expose getHooks & setHooks  -  by
[@&#8203;adriencaccia](https://togithub.com/adriencaccia) in
[https://github.com/vitest-dev/vitest/issues/5032](https://togithub.com/vitest-dev/vitest/issues/5032)
[<samp>(73448)</samp>](https://togithub.com/vitest-dev/vitest/commit/73448706)
- Test deep dependencies change detection  -  by
[@&#8203;blake-newman](https://togithub.com/blake-newman) in
[https://github.com/vitest-dev/vitest/issues/4934](https://togithub.com/vitest-dev/vitest/issues/4934)
[<samp>(9c7c0)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c7c0fc9)
- Throw an error if vi.mock is exported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5034](https://togithub.com/vitest-dev/vitest/issues/5034)
[<samp>(253df)</samp>](https://togithub.com/vitest-dev/vitest/commit/253df1cc)
- Allow `useFakeTimers` to fake `requestIdleCallback` on non browser  - 
by [@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/5028](https://togithub.com/vitest-dev/vitest/issues/5028)
[<samp>(a9a48)</samp>](https://togithub.com/vitest-dev/vitest/commit/a9a486f2)
- Support older NodeJS with async `import.meta.resolve`  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/5045](https://togithub.com/vitest-dev/vitest/issues/5045)
[<samp>(cf564)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf5641a9)
- Don't throw an error if mocked file was already imported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/5050](https://togithub.com/vitest-dev/vitest/issues/5050)
[<samp>(fff1a)</samp>](https://togithub.com/vitest-dev/vitest/commit/fff1a270)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.1...v1.2.2)

###
[`v1.2.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.1)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1)

#####    🐞 Bug Fixes

-   **browser**:
- Apply inlined workspace config to browser mode vite server  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4947](https://togithub.com/vitest-dev/vitest/issues/4947)
[<samp>(db01f)</samp>](https://togithub.com/vitest-dev/vitest/commit/db01f6c2)
- Fix browser testing url for https  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4855](https://togithub.com/vitest-dev/vitest/issues/4855)
[<samp>(6c1cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c1cc78b)
- Don't fail when calling vi.useFakeTimers  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4992](https://togithub.com/vitest-dev/vitest/issues/4992)
[<samp>(6c5fe)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c5fe49b)
-   **coverage**:
- `thresholds.autoUpdate` to work with arrow function configuration
files  -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4959](https://togithub.com/vitest-dev/vitest/issues/4959)
[<samp>(4b411)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b41131a)
-   **expect**:
- Implement chai inspect for `AsymmetricMatcher`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4942](https://togithub.com/vitest-dev/vitest/issues/4942)
[<samp>(06bae)</samp>](https://togithub.com/vitest-dev/vitest/commit/06bae4dd)
-   **vite-node**:
- Externalize network imports  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4987](https://togithub.com/vitest-dev/vitest/issues/4987)
[<samp>(21f57)</samp>](https://togithub.com/vitest-dev/vitest/commit/21f5744d)
-   **vitest**:
- Handle single `await vi.hoisted`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4962](https://togithub.com/vitest-dev/vitest/issues/4962)
[<samp>(dcf2e)</samp>](https://togithub.com/vitest-dev/vitest/commit/dcf2e9f2)
- Simplify hoist transform check regex to avoid expensive regex match
 -  by [@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4974](https://togithub.com/vitest-dev/vitest/issues/4974)
[<samp>(df0db)</samp>](https://togithub.com/vitest-dev/vitest/commit/df0db6a9)
- Correctly find module if it has a version query  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4976](https://togithub.com/vitest-dev/vitest/issues/4976)
[<samp>(952c3)</samp>](https://togithub.com/vitest-dev/vitest/commit/952c31df)
- Check color support for intercepted console logging  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4966](https://togithub.com/vitest-dev/vitest/issues/4966)
[<samp>(39a71)</samp>](https://togithub.com/vitest-dev/vitest/commit/39a7169c)
- Use development/production conditions when resolving external modules
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4980](https://togithub.com/vitest-dev/vitest/issues/4980)
[<samp>(8877e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8877e22a)
- Throw a syntax error if vi.hoisted is directly exported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4969](https://togithub.com/vitest-dev/vitest/issues/4969)
[<samp>(f8bff)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8bff9ef)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1)

###
[`v1.2.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0)

#####    🚀 Features

- Support case-insensitive path matching in cli  -  by
[@&#8203;tigranmk](https://togithub.com/tigranmk) in
[https://github.com/vitest-dev/vitest/issues/3567](https://togithub.com/vitest-dev/vitest/issues/3567)
and
[https://github.com/vitest-dev/vitest/issues/4911](https://togithub.com/vitest-dev/vitest/issues/4911)
[<samp>(1326c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1326c6ef)
- Add typeahead search  -  by
[@&#8203;bonyuta0204](https://togithub.com/bonyuta0204) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4275](https://togithub.com/vitest-dev/vitest/issues/4275)
and
[https://github.com/vitest-dev/vitest/issues/4733](https://togithub.com/vitest-dev/vitest/issues/4733)
[<samp>(480d8)</samp>](https://togithub.com/vitest-dev/vitest/commit/480d866a)
- Add syntax highlighting to error messages  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4813](https://togithub.com/vitest-dev/vitest/issues/4813)
[<samp>(8c969)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c969de2)
- Allow extending toEqual  -  by
[@&#8203;tigranmk](https://togithub.com/tigranmk) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2875](https://togithub.com/vitest-dev/vitest/issues/2875)
and
[https://github.com/vitest-dev/vitest/issues/4880](https://togithub.com/vitest-dev/vitest/issues/4880)
[<samp>(463be)</samp>](https://togithub.com/vitest-dev/vitest/commit/463bee38)
-   **coverage**:
- Custom reporter support  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4828](https://togithub.com/vitest-dev/vitest/issues/4828)
[<samp>(96dc6)</samp>](https://togithub.com/vitest-dev/vitest/commit/96dc6e9a)
-   **ui**:
- Show unhandled errors on the ui  -  by
[@&#8203;spiroka](https://togithub.com/spiroka) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4380](https://togithub.com/vitest-dev/vitest/issues/4380)
[<samp>(7f59a)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f59a1b8)
-   **vitest**:
- Add `--disable-console-intercept` option to allow opting-out from
automatic console log interception  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4786](https://togithub.com/vitest-dev/vitest/issues/4786)
[<samp>(43fa6)</samp>](https://togithub.com/vitest-dev/vitest/commit/43fa6baa)
- Show slow test duration in verbose reporter on CI  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4929](https://togithub.com/vitest-dev/vitest/issues/4929)
[<samp>(ccb25)</samp>](https://togithub.com/vitest-dev/vitest/commit/ccb25836)
- Allow overiding package installer with public API  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4936](https://togithub.com/vitest-dev/vitest/issues/4936)
[<samp>(c2cce)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2cceebb)

#####    🐞 Bug Fixes

-   **browser**:
- Support vite config `server.headers`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4890](https://togithub.com/vitest-dev/vitest/issues/4890)
[<samp>(55f53)</samp>](https://togithub.com/vitest-dev/vitest/commit/55f5349f)
- Fix `testNamePattern` config  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4909](https://togithub.com/vitest-dev/vitest/issues/4909)
[<samp>(4add9)</samp>](https://togithub.com/vitest-dev/vitest/commit/4add9516)
- Fix updating snapshot during watch mode  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4867](https://togithub.com/vitest-dev/vitest/issues/4867)
[<samp>(508fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/508fced9)
- Remove redundant test failure logging  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4891](https://togithub.com/vitest-dev/vitest/issues/4891)
[<samp>(7fd44)</samp>](https://togithub.com/vitest-dev/vitest/commit/7fd44dc3)
-   **happy-dom**:
- Window.close() for environment teardown  -  by
[@&#8203;capricorn86](https://togithub.com/capricorn86) in
[https://github.com/vitest-dev/vitest/issues/4931](https://togithub.com/vitest-dev/vitest/issues/4931)
[<samp>(91719)</samp>](https://togithub.com/vitest-dev/vitest/commit/91719bbd)
-   **utils**:
- Fix `objDisplay` default truncate option for `test.each` title  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4917](https://togithub.com/vitest-dev/vitest/issues/4917)
[<samp>(9ae9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9ae9dac9)
-   **vitest**:
- Fix tap reporter to handle custom error  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4897](https://togithub.com/vitest-dev/vitest/issues/4897)
[<samp>(f8ba8)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ba80f2)
- Gracefully exit Vitest if `process.exit` is called inside the test  - 
by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4903](https://togithub.com/vitest-dev/vitest/issues/4903)
[<samp>(8e6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e6c104a)
- Throw "cannot mock" error only in isolated pools  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4905](https://togithub.com/vitest-dev/vitest/issues/4905)
[<samp>(f99cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/f99cc313)
- Don't throw SyntaxError when "await vi.hoisted" is used  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4915](https://togithub.com/vitest-dev/vitest/issues/4915)
[<samp>(ca62f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca62f37a)
- Correctly parse --maxWorkers/--minWorkers  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4924](https://togithub.com/vitest-dev/vitest/issues/4924)
[<samp>(0e77e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0e77e697)
- Show correct error when vi.hoisted is used inside vi.mock and the
other way around  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4916](https://togithub.com/vitest-dev/vitest/issues/4916)
[<samp>(c4eac)</samp>](https://togithub.com/vitest-dev/vitest/commit/c4eacbb7)
- Call global teardown when using workspaces  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4935](https://togithub.com/vitest-dev/vitest/issues/4935)
[<samp>(528bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/528bd558)
- Use file instead of id for HMR  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4938](https://togithub.com/vitest-dev/vitest/issues/4938)
[<samp>(ca76f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca76f457)
- Add inlined deps to ssr.noExternal so they are added to the module
graph  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4945](https://togithub.com/vitest-dev/vitest/issues/4945)
[<samp>(1663f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1663f5ca)
-   **workspace**:
- Support overring `pool` and `poolOptions` on project level  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4765](https://togithub.com/vitest-dev/vitest/issues/4765)
[<samp>(e9fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9fe4181)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0)

###
[`v1.1.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.3)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3)

#####    🐞 Bug Fixes

-   **vitest**:
- Vi.mock breaks tests when using imported variables inside the factory
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
**Dunqing** in
[https://github.com/vitest-dev/vitest/issues/4873](https://togithub.com/vitest-dev/vitest/issues/4873)
[<samp>(7719e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7719e79e)
- Apply `slowTestThreshold` to all reporters  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4876](https://togithub.com/vitest-dev/vitest/issues/4876)
[<samp>(1769c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1769c796)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3)

###
[`v1.1.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.2)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2)

#####    🐞 Bug Fixes

- Remove internal flag from UI option in the config  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(7b4a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b4a2fce)
-   **browser**:
- Avoid safaridriver collision  -  by
[@&#8203;mbland](https://togithub.com/mbland) in
[https://github.com/vitest-dev/vitest/issues/4863](https://togithub.com/vitest-dev/vitest/issues/4863)
[<samp>(345a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/345a25d6)
- Resolved failure to find arbitrarily-named snapshot files when using
`expect(...).toMatchFileSnapshot()` matcher.  -  by
[@&#8203;zmullett](https://togithub.com/zmullett), **Zac Mullett** and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4839](https://togithub.com/vitest-dev/vitest/issues/4839)
[<samp>(b8140)</samp>](https://togithub.com/vitest-dev/vitest/commit/b8140fca)
- Handle config.base  -  by
[@&#8203;mbland](https://togithub.com/mbland) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4686](https://togithub.com/vitest-dev/vitest/issues/4686)
and
[https://github.com/vitest-dev/vitest/issues/4692](https://togithub.com/vitest-dev/vitest/issues/4692)
[<samp>(9e345)</samp>](https://togithub.com/vitest-dev/vitest/commit/9e34557e)
-   **deps**:
- Update dependency acorn-walk to ^8.3.1  -  by
[@&#8203;renovate](https://togithub.com/renovate)\[bot]
in[https://github.com/vitest-dev/vitest/issues/4837](https://togithub.com/vitest-dev/vitest/issues/4837)7
[<samp>(47bc2)</samp>](https://togithub.com/vitest-dev/vitest/commit/47bc233d)
- Update dependency sirv to ^2.0.4  -  by
[@&#8203;renovate](https://togithub.com/renovate)\[bot]
in[https://github.com/vitest-dev/vitest/issues/4838](https://togithub.com/vitest-dev/vitest/issues/4838)8
[<samp>(df261)</samp>](https://togithub.com/vitest-dev/vitest/commit/df261ae1)
-   **runner**:
- Fix fixture cleanup for concurrent tests  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4827](https://togithub.com/vitest-dev/vitest/issues/4827)
[<samp>(1fee6)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fee63f2)
-   **spy**:
- Don't allow Promise in mockImplementation  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4859](https://togithub.com/vitest-dev/vitest/issues/4859)
[<samp>(072e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/072e02bf)
-   **vite-node**:
- Correctly return cached result  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4870](https://togithub.com/vitest-dev/vitest/issues/4870)
[<samp>(15bbb)</samp>](https://togithub.com/vitest-dev/vitest/commit/15bbbf81)
-   **vitest**:
- Throw an error if mock was already loaded when vi.mock is called  - 
by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4862](https://togithub.com/vitest-dev/vitest/issues/4862)
[<samp>(e12a5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e12a5a36)
- Correctly rerun test files on change if server was restarted  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4871](https://togithub.com/vitest-dev/vitest/issues/4871)
[<samp>(6088b)</samp>](https://togithub.com/vitest-dev/vitest/commit/6088b372)
-   **vm-threads**:
- Don't crash on percentage based `memoryLimit`  -  by
[@&#8203;inottn](https://togithub.com/inottn) and
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4802](https://togithub.com/vitest-dev/vitest/issues/4802)
[<samp>(70e8a)</samp>](https://togithub.com/vitest-dev/vitest/commit/70e8a389)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2)

###
[`v1.1.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.1)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1)

#####    🐞 Bug Fixes

- Don't crash when using happy-dom or jsdom environment on Yarn PnP
workspaces  -  by [@&#8203;wojtekmaj](https://togithub.com/wojtekmaj)
and [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4698](https://togithub.com/vitest-dev/vitest/issues/4698)
[<samp>(ee8b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee8b46db)
- Don't fail if `inline: true` is set  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4815](https://togithub.com/vitest-dev/vitest/issues/4815)
[<samp>(8f622)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f6225b8)
- Correct option name `--no-parallelism`  -  by
[@&#8203;bonyuta0204](https://togithub.com/bonyuta0204) in
[https://github.com/vitest-dev/vitest/issues/4831](https://togithub.com/vitest-dev/vitest/issues/4831)
[<samp>(5053a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5053a5dd)
- Match jest json output by making json reporter output
ndjson-compatible  -  by [@&#8203;bard](https://togithub.com/bard) in
[https://github.com/vitest-dev/vitest/issues/4824](https://togithub.com/vitest-dev/vitest/issues/4824)
[<samp>(7e6a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/7e6a62af)
-   **runner**:
- Reset "current test" state on dynamic `skip`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4814](https://togithub.com/vitest-dev/vitest/issues/4814)
[<samp>(19faf)</samp>](https://togithub.com/vitest-dev/vitest/commit/19faf00e)
-   **vitest**:
- Don't hang when mocking files with cyclic dependencies  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4811](https://togithub.com/vitest-dev/vitest/issues/4811)
[<samp>(e8ca6)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8ca6437)
- Initialize snapshot state only once for each file suite  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4796](https://togithub.com/vitest-dev/vitest/issues/4796)
[<samp>(957da)</samp>](https://togithub.com/vitest-dev/vitest/commit/957daa32)
- Fix file snapshots in skipped suites considered obsolete  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4795](https://togithub.com/vitest-dev/vitest/issues/4795)
[<samp>(06c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/06c14f7d)
- Show `beforeAll/afterAll` errors in junit reporter  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4819](https://togithub.com/vitest-dev/vitest/issues/4819)
[<samp>(2baea)</samp>](https://togithub.com/vitest-dev/vitest/commit/2baea35e)
-   **vm-threads**:
- Tests not cancelled on key press, cancelled tests shown twice  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4781](https://togithub.com/vitest-dev/vitest/issues/4781)
[<samp>(cf53d)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf53d4be)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1)

###
[`v1.1.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0)

#####    🚀 Features

- Add es-main compatibility to vite-node  -  by
[@&#8203;zookatron](https://togithub.com/zookatron) in
[https://github.com/vitest-dev/vitest/issues/4751](https://togithub.com/vitest-dev/vitest/issues/4751)
[<samp>(486a3)</samp>](https://togithub.com/vitest-dev/vitest/commit/486a3e61)
- Add `--workspace` option, fix root resolution in workspaces  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4773](https://togithub.com/vitest-dev/vitest/issues/4773)
[<samp>(67d93)</samp>](https://togithub.com/vitest-dev/vitest/commit/67d93eda)
- Add `--no-file-parallelism`, `--maxWorkers`, `--minWorkers` flags  - 
by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4705](https://togithub.com/vitest-dev/vitest/issues/4705)
[<samp>(fd5d7)</samp>](https://togithub.com/vitest-dev/vitest/commit/fd5d7e66)
- Add `--no-isolate` flag to improve performance, add documentation
about performance  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va),
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) and **Pascal
Jufer** in
[https://github.com/vitest-dev/vitest/issues/4777](https://togithub.com/vitest-dev/vitest/issues/4777)
[<samp>(4d55a)</samp>](https://togithub.com/vitest-dev/vitest/commit/4d55a026)
- Add `--exclude` CLI flag  -  by
[@&#8203;Namchee](https://togithub.com/Namchee) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4279](https://togithub.com/vitest-dev/vitest/issues/4279)
[<samp>(f859e)</samp>](https://togithub.com/vitest-dev/vitest/commit/f859efc0)

#####    🐞 Bug Fixes

- Correctly reset provided values  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4775](https://togithub.com/vitest-dev/vitest/issues/4775)
[<samp>(5a71e)</samp>](https://togithub.com/vitest-dev/vitest/commit/5a71eb30)
-   **expect**:
- Fix `toHaveProperty` assertion error diff  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4734](https://togithub.com/vitest-dev/vitest/issues/4734)
[<samp>(f8f70)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8f70f7c)
-   **runner**:
- Handle fixture teardown error  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4683](https://togithub.com/vitest-dev/vitest/issues/4683)
[<samp>(c6f5f)</samp>](https://togithub.com/vitest-dev/vitest/commit/c6f5f7f9)
-   **types**:
- `defineWorkspace` fix intellisense and report type errors  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4743](https://togithub.com/vitest-dev/vitest/issues/4743)
[<samp>(9cc36)</samp>](https://togithub.com/vitest-dev/vitest/commit/9cc36689)
-   **ui**:
- Escape html for console log view  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4724](https://togithub.com/vitest-dev/vitest/issues/4724)
[<samp>(e0dde)</samp>](https://togithub.com/vitest-dev/vitest/commit/e0dde6ab)
- Fix coverage iframe url for html report preview  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4717](https://togithub.com/vitest-dev/vitest/issues/4717)
[<samp>(71911)</samp>](https://togithub.com/vitest-dev/vitest/commit/71911039)
- Show file item when search filter matches only test cases  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4736](https://togithub.com/vitest-dev/vitest/issues/4736)
[<samp>(f43fd)</samp>](https://togithub.com/vitest-dev/vitest/commit/f43fdd87)
-   **vitest**:
- Pass down CLI options to override workspace configs  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4774](https://togithub.com/vitest-dev/vitest/issues/4774)
[<samp>(8dabe)</samp>](https://togithub.com/vitest-dev/vitest/commit/8dabef86)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.4...v1.1.0)

###
[`v1.0.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.4)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4)

The previous release was built incorrectly and didn't include the
performance fix. This release fixes that.

#####    🐞 Bug Fixes

- **cli**: `--coverage.all=false` resolved incorrectly  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4697](https://togithub.com/vitest-dev/vitest/issues/4697)
[<samp>(a7931)</samp>](https://togithub.com/vitest-dev/vitest/commit/a7931bbf)

#####    🏎 Performance

- **reporters**: Downgrade `log-update` to v5  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4711](https://togithub.com/vitest-dev/vitest/issues/4711)
[<samp>(13ff9)</samp>](https://togithub.com/vitest-dev/vitest/commit/13ff97a3)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.3...v1.0.4)

###
[`v1.0.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.0.3)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3)

#####    🐞 Bug Fixes

- Correct package exports  -  by
[@&#8203;userquin](https://togithub.com/userquin) in
[https://github.com/vitest-dev/vitest/issues/4707](https://togithub.com/vitest-dev/vitest/issues/4707)
[<samp>(37388)</samp>](https://togithub.com/vitest-dev/vitest/commit/37388d69)
- **runner**: Fix async fixture teardown  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[https://github.com/vitest-dev/vitest/issues/4700](https://togithub.com/vitest-dev/vitest/issues/4700)
[<samp>(92afd)</samp>](https://togithub.com/vitest-dev/vitest/commit/92afd54c)
- **vitest**: Correctly filter changed files when Vitest workspace is
used  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/4693](https://togithub.com/vitest-dev/vitest/issues/4693)
[<samp>(34135)</samp>](https://togithub.com/vitest-dev/vitest/commit/3413518b)

#####    🏎 Performance

- **reporters**: Downgrade `log-update` to v5  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/4711](https://togithub.com/vitest-dev/vitest/issues/4711)
[<samp>(13ff9)</samp>](https://togithub.com/vitest-dev/vitest/commit/13ff97a3)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.0.2...v1.0.3)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/JoshuaKGoldberg/eslint-plugin-expect-type).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMTIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIxMi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Feb 27, 2024
1 parent 8a1ddfc commit 981bfcd
Showing 1 changed file with 94 additions and 84 deletions.
Loading

0 comments on commit 981bfcd

Please sign in to comment.