Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(config): deprecate cache.dir option #5229

Merged
merged 19 commits into from
Mar 15, 2024

Conversation

fenghan34
Copy link
Contributor

Description

Closes #3272

This PR removes the cache.dir option and reuses Vite's cacheDir to save cache.

Related

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

Copy link

netlify bot commented Feb 18, 2024

Deploy Preview for fastidious-cascaron-4ded94 ready!

Name Link
🔨 Latest commit 8af373b
🔍 Latest deploy log https://app.netlify.com/sites/fastidious-cascaron-4ded94/deploys/65f3fecb5edb86000821e512
😎 Deploy Preview https://deploy-preview-5229--fastidious-cascaron-4ded94.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@fenghan34 fenghan34 marked this pull request as draft February 18, 2024 13:51
// cache can only be "false" or an object
transform(cache) {
if (cache)
return {}
return cache
},
},
} as VitestCLIOptions['cache'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, you need to manually pass null to dir subcommand instead of removing it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for letting me know, I've updated it.

@@ -24,8 +24,6 @@ export function resolveOptimizerConfig(_testOptions: DepsOptimizationOptions | u
}
}
else {
const root = testConfig.root ?? process.cwd()
const cacheDir = testConfig.cache !== false ? testConfig.cache?.dir : undefined
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need to handle it during the deprecation period

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated it. I'm new to the optimizer config, not sure if this is right change, could you please help to review again? Thank you so much!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expect test.cache.dir to just set cacheDir, everything else should just refer to config.cacheDir

@sheremet-va sheremet-va changed the title feat!(config): deprecate cache.dir option feat(config): deprecate cache.dir option Feb 20, 2024
@sheremet-va
Copy link
Member

Deprecating is not a breaking change as long as it's still resolved.

@fenghan34
Copy link
Contributor Author

Deprecating is not a breaking change as long as it's still resolved.

Aha...thanks for clarifying! As you said it's still resolved, do I need to handle cache.dir in resolving config? Like assigning Vite's cacheDir as cache.dir if it exists?

@sheremet-va
Copy link
Member

Deprecating is not a breaking change as long as it's still resolved.

Aha...thanks for clarifying! As you said it's still resolved, do I need to handle cache.dir in resolving config? Like assigning Vite's cacheDir as cache.dir if it exists?

Yes, I would expect cache.dir to affect the directory somehow until the option is removed completely in the next major.

@fenghan34 fenghan34 marked this pull request as ready for review February 21, 2024 15:02
@@ -6,5 +6,5 @@ import { expect, test } from 'vitest'
import { importMetaUrl } from '@vitest/test-dep-url'

test('import.meta.url', () => {
expect(importMetaUrl).toContain('/node_modules/.vitest/deps/')
expect(importMetaUrl).toContain('/node_modules/.vite/deps/')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this change means that Vite and Vitest are going to share the same folder for pre-bundling (aka optimizeDeps).

Though Vitest side of pre-bundling is disabled by default since v1.3.0 #5156, would this mean that users will not be able to run vite dev and vitest in watch mode at the same time when they explicitly use deps.optimizer.enable and have different optimizeDeps settings between two?

Copy link
Contributor

@hi-ogawa hi-ogawa Feb 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For example, in current main branch, running these two commands at the same time seems to work even with deps.optimizer.web.enabled: true. DEBUG=vite:deps is convenient to see what Vite does inside node_modules/.vite

DEBUG=vite:deps pnpm -C examples/react-testing-lib dev
DEBUG=vite:deps pnpm -C examples/react-testing-lib test

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the question and example, I tried running pnpm dlx concurrently "DEBUG=vite:deps pnpm -C examples/react-testing-lib dev" "DEBUG=vite:deps pnpm -C examples/react-testing-lib test" in this PR's branch, with the workspace's Vitest version, it seems to have worked as expected.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. I just tried and it looks like it actually works, but it might be a bit coincidental.

When running pnpm dev, Vite generates files such as examples/react-testing-lib/node_modules/.vite/deps/react.js, then when I run pnpm test, Vitest will remove those files. The reason why Vite can keep serving the files in .vite/deps might be because of Vite's in-memory cache for js requests (I tried "Disable cache" in browser devtools).

I think I need to dig into this further to see whether buggy behavior is reproducible.
Or maybe running Vite and Vitest at the same time in the same directory can be considered an unsupported feature (at least when combined with deps.optimizer.enabled).

Actually I think Vitest already uses node_modules/.vite when using Vitest browser mode https://vitest.dev/guide/browser.html#browser-mode, so this might not be an issue in practice.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sheremet-va Do you know if it's safe to use a same directory node_modules/.vite/deps as Vite for deps optimization?

Copy link
Member

@sheremet-va sheremet-va Feb 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's safe, that's why this option was introduced in the first place 🤔

The main reason back then was that we were not sure if .vite deletes everything when deps are changed, or just the deps folder. If it just deletes the deps, then we can have .vite/vitest/... cache folder

Copy link
Contributor

@hi-ogawa hi-ogawa Feb 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like Vite deletes only node_modules/.vite/deps, for example, this code is for --force flag https://github.com/vitejs/vite/blob/b20d54257e6105333c19676a403c574667878e0f/packages/vite/src/node/optimizer/index.ts#L382-L384

I agree we should avoid overlapping .vite/deps, so using node_modules/.vite/vitest sounds good to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion, I'll update with .vite/vitest later.

argument: '<path>',
normalize: true,
},
dir: null,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it would be better to add a handler that throws an error? I think CLI will still propagate the value even if it's not defined in a schema

Copy link
Contributor Author

@fenghan34 fenghan34 Mar 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I noticed that, I'll update it later

github-merge-queue bot pushed a commit to dotkom/monoweb that referenced this pull request Aug 20, 2024
[![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/ui](https://github.com/vitest-dev/vitest/tree/main/packages/ui#readme)
([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui))
| [`1.3.1` ->
`1.6.0`](https://renovatebot.com/diffs/npm/@vitest%2fui/1.3.1/1.6.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fui/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fui/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fui/1.3.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fui/1.3.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://github.com/vitest-dev/vitest)
([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`1.3.1` ->
`1.6.0`](https://renovatebot.com/diffs/npm/vitest/1.3.1/1.6.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.3.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.3.1/1.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/ui)</summary>

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

[Compare
Source](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0)

#####    🚀 Features

- Support standalone mode  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5565
[<samp>(bdce0)</samp>](https://github.com/vitest-dev/vitest/commit/bdce0a29)
- Custom "snapshotEnvironment" option  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5449
[<samp>(30f72)</samp>](https://github.com/vitest-dev/vitest/commit/30f728bc)
- **benchmark**: Support comparing benchmark result  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) and
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5398
[<samp>(f8d3d)</samp>](https://github.com/vitest-dev/vitest/commit/f8d3d22e)
- **browser**: Allow injecting scripts  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5656
[<samp>(21e58)</samp>](https://github.com/vitest-dev/vitest/commit/21e58bd8)
- **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in
junit  -  by [@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5659
[<samp>(2f913)</samp>](https://github.com/vitest-dev/vitest/commit/2f913222)
- **ui**: Sort items by file name  -  by
[@&#8203;btea](https://github.com/btea) in
[vitest-dev/vitest#5652
[<samp>(1f726)</samp>](https://github.com/vitest-dev/vitest/commit/1f7268fa)

#####    🐞 Bug Fixes

- Keep order of arguments for .each in custom task collectors  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5640
[<samp>(7d57c)</samp>](https://github.com/vitest-dev/vitest/commit/7d57c116)
- Call `resolveId('vitest')` after `buildStart`  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5646
[<samp>(f5faf)</samp>](https://github.com/vitest-dev/vitest/commit/f5faf423)
- Hash the name of the file when caching  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5654
[<samp>(c9e68)</samp>](https://github.com/vitest-dev/vitest/commit/c9e68ced)
- Don't panic on empty files in node_modules  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va)
[<samp>(40c29)</samp>](https://github.com/vitest-dev/vitest/commit/40c299fe)
- Use `toJSON` for error serialization  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5526
[<samp>(19a21)</samp>](https://github.com/vitest-dev/vitest/commit/19a21e49)
-   **coverage**:
- Exclude `*.test-d.*` by default  -  by
[@&#8203;MindfulPol](https://github.com/MindfulPol) in
[vitest-dev/vitest#5634
[<samp>(bfe8a)</samp>](https://github.com/vitest-dev/vitest/commit/bfe8ad9d)
- Apply `vite-node`'s wrapper only to executed files  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5642
[<samp>(c9883)</samp>](https://github.com/vitest-dev/vitest/commit/c9883f3e)
-   **vm**:
- Support network imports  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5610
[<samp>(103a6)</samp>](https://github.com/vitest-dev/vitest/commit/103a6002)

#####    🏎 Performance

- Improve performance of forks pool  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5592
[<samp>(d8304)</samp>](https://github.com/vitest-dev/vitest/commit/d8304bb4)
- Unnecessary rpc call when coverage is disabled  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5658
[<samp>(c5712)</samp>](https://github.com/vitest-dev/vitest/commit/c571276a)

#####     [View changes on
GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0)

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

[Compare
Source](https://github.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3)

#####    🐞 Bug Fixes

- Use package.json name for a workspace project if not provided  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5608
[<samp>(48fba)</samp>](https://github.com/vitest-dev/vitest/commit/48fba190)
- Backport jest iterable equality within object  -  by
[@&#8203;sukovanej](https://github.com/sukovanej) in
[vitest-dev/vitest#5621
[<samp>(30e5d)</samp>](https://github.com/vitest-dev/vitest/commit/30e5dc1b)
- **browser**: Support benchmark  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5622
[<samp>(becab)</samp>](https://github.com/vitest-dev/vitest/commit/becabb5e)
- **reporter**: Use default error formatter for JUnit  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5629
[<samp>(20060)</samp>](https://github.com/vitest-dev/vitest/commit/200609cc)

#####     [View changes on
GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3)

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

[Compare
Source](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2)

#####    🐞 Bug Fixes

- Check for null before storing in weakmap  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va)
[<samp>(ce368)</samp>](https://github.com/vitest-dev/vitest/commit/ce368457)

#####     [View changes on
GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2)

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

[Compare
Source](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1)

#####    🚀 Features

- **api**: `startVitest()` to accept `stdout` and `stdin`  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5493
[<samp>(780b1)</samp>](https://github.com/vitest-dev/vitest/commit/780b187f)
- This is listed as a feature, but it doesn't increase the minor version
because `startVitest` API is experimental and doesn't follow semver.

#####    🐞 Bug Fixes

- Close vite servers on all resolved projects  -  by
[@&#8203;surc54](https://github.com/surc54) in
[vitest-dev/vitest#5544
[<samp>(413ec)</samp>](https://github.com/vitest-dev/vitest/commit/413ec5e6)
- Fix default `import.meta.env.PROD: false`  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5561
[<samp>(9c649)</samp>](https://github.com/vitest-dev/vitest/commit/9c64967f)
- Resolve cwd correctly when initiating projects  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5582
[<samp>(ec9d7)</samp>](https://github.com/vitest-dev/vitest/commit/ec9d7c93)
- Always run `onTestFinished` in reverse order  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5598
[<samp>(23f29)</samp>](https://github.com/vitest-dev/vitest/commit/23f29cea)
-   **browser**:
- Disable `fileParallelism` by default on browser pool  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5528
[<samp>(5c69f)</samp>](https://github.com/vitest-dev/vitest/commit/5c69f3f5)
- Dispose tester iframe on done  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5595
[<samp>(b2135)</samp>](https://github.com/vitest-dev/vitest/commit/b2135710)
-   **coverage**:
- Fix bundling of `v8-to-istanbul`  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5549
[<samp>(df6a4)</samp>](https://github.com/vitest-dev/vitest/commit/df6a4328)
- Prevent crash when `cleanOnRerun` is disabled  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5540
[<samp>(ea3c1)</samp>](https://github.com/vitest-dev/vitest/commit/ea3c16e4)
- `thresholds` to compare files relative to root  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5574
[<samp>(80265)</samp>](https://github.com/vitest-dev/vitest/commit/80265b40)
-   **expect**:
- Fix `toEqual` and `toMatchObject` with circular references  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5535
[<samp>(9e641)</samp>](https://github.com/vitest-dev/vitest/commit/9e6417c9)
-   **vitest**:
- Fix false positive file filter match with leading slash  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5578
[<samp>(316eb)</samp>](https://github.com/vitest-dev/vitest/commit/316eb739)
- Watch the output directory correctly  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5584
[<samp>(e40f9)</samp>](https://github.com/vitest-dev/vitest/commit/e40f9924)
- StubEnv casts boolean on PROD/SSR/DEV  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5590
[<samp>(4da88)</samp>](https://github.com/vitest-dev/vitest/commit/4da88045)

#####     [View changes on
GitHub](https://github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1)

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

[Compare
Source](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0)

#####    🚀 Features

- Add configuration for diff truncation  -  by
[@&#8203;willieho](https://github.com/willieho) in
[vitest-dev/vitest#5073
and
[vitest-dev/vitest#5333
[<samp>(6797b)</samp>](https://github.com/vitest-dev/vitest/commit/6797b041)
- Remove unrelated noise from diff for toMatchObject()  -  by
[@&#8203;geersch](https://github.com/geersch) in
[vitest-dev/vitest#5364
[<samp>(99276)</samp>](https://github.com/vitest-dev/vitest/commit/99276399)
- Allow custom host for --inspect and --inspect-brk  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5509
[<samp>(61572)</samp>](https://github.com/vitest-dev/vitest/commit/6157282c)
- **coverage**: V8 to ignore empty lines, comments, types  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5457
[<samp>(10b89)</samp>](https://github.com/vitest-dev/vitest/commit/10b89713)

#####    🐞 Bug Fixes

- `describe` calls not taking generic type parameters  -  by
[@&#8203;aryaemami59](https://github.com/aryaemami59) in
[vitest-dev/vitest#5415
[<samp>(16bac)</samp>](https://github.com/vitest-dev/vitest/commit/16bacfab)
- Prevent hang when `process` is mocked  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5430
[<samp>(0ec4d)</samp>](https://github.com/vitest-dev/vitest/commit/0ec4d0e0)
- Don't check for "node:internal/console/" in console interceptor in
case the environment is not Node.js  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va)
[<samp>(87d36)</samp>](https://github.com/vitest-dev/vitest/commit/87d36a7a)
- The value received by toMatch should be a string  -  by
[@&#8203;btea](https://github.com/btea) in
[vitest-dev/vitest#5428
[<samp>(67485)</samp>](https://github.com/vitest-dev/vitest/commit/674851ca)
- Increase stack trace limit for location, don't hardcode suite position
 -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5518
[<samp>(04b23)</samp>](https://github.com/vitest-dev/vitest/commit/04b234d1)
-   **benchmark**:
- Run benchmark suites sequentially  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5444
[<samp>(1f548)</samp>](https://github.com/vitest-dev/vitest/commit/1f548340)
- Fix benchmark summary of single bench suite  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5489
[<samp>(db981)</samp>](https://github.com/vitest-dev/vitest/commit/db98145f)
- Table reporter for non TTY output  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5484
[<samp>(bea23)</samp>](https://github.com/vitest-dev/vitest/commit/bea234b1)
-   **expect**:
- Fix `toHaveBeenNthCalledWith` error message when not called  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5420
[<samp>(e5253)</samp>](https://github.com/vitest-dev/vitest/commit/e5253de4)
-   **types**:
- Pass correct type for suite factory  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5437
[<samp>(26718)</samp>](https://github.com/vitest-dev/vitest/commit/26718eb5)
-   **utils**:
- Fix object diff with getter only property  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5466
[<samp>(366d9)</samp>](https://github.com/vitest-dev/vitest/commit/366d97c3)
-   **vite-node**:
- Fix `isValidNodeImport` to check `"type": "module"` first  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5416
[<samp>(6fb15)</samp>](https://github.com/vitest-dev/vitest/commit/6fb15280)
-   **vitest**:
- Correctly send console events when state changes  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va)
[<samp>(3463f)</samp>](https://github.com/vitest-dev/vitest/commit/3463f9bb)
- Initiate FakeTimers on demand  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5450
[<samp>(e4e93)</samp>](https://github.com/vitest-dev/vitest/commit/e4e939ba)
- Check unhighlighted code for code frame line limit  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5465
[<samp>(6ae7e)</samp>](https://github.com/vitest-dev/vitest/commit/6ae7eaa2)
- Correctly filter by parent folder  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5408
[<samp>(91b06)</samp>](https://github.com/vitest-dev/vitest/commit/91b06cce)
- Close inspector immediately if run is canceled  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5519
[<samp>(b8006)</samp>](https://github.com/vitest-dev/vitest/commit/b80062d7)
-   **workspace**:
- Set CWD to config directory, allow overriding local .env  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5476
[<samp>(d4003)</samp>](https://github.com/vitest-dev/vitest/commit/d4003882)

#####     [View changes on
GitHub](https://github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0)

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

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

#####    🚀 Features

- Throw error when using snapshot assertion with `not`  -  by
[@&#8203;fenghan34](https://github.com/fenghan34) in
[vitest-dev/vitest#5294
[<samp>(b9d37)</samp>](https://github.com/vitest-dev/vitest/commit/b9d378f5)
- Add a flag to include test location in tasks  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5342
[<samp>(d627e)</samp>](https://github.com/vitest-dev/vitest/commit/d627e209)
-   **cli**:
- Support wildcards in `--project` option  -  by
[@&#8203;fenghan34](https://github.com/fenghan34) in
[vitest-dev/vitest#5295
[<samp>(201bd)</samp>](https://github.com/vitest-dev/vitest/commit/201bd067)
-   **config**:
- Add `shuffle.files` and `shuffle.tests` options  -  by
[@&#8203;fenghan34](https://github.com/fenghan34) in
[vitest-dev/vitest#5281
[<samp>(356db)</samp>](https://github.com/vitest-dev/vitest/commit/356db87b)
- Deprecate `cache.dir` option  -  by
[@&#8203;fenghan34](https://github.com/fenghan34) in
[vitest-dev/vitest#5229
[<samp>(d7e8b)</samp>](https://github.com/vitest-dev/vitest/commit/d7e8b53e)
-   **coverage**:
- Support `--changed` option  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5314
[<samp>(600b4)</samp>](https://github.com/vitest-dev/vitest/commit/600b44d6)
-   **vitest**:
- Support `clearScreen` cli flag  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5241
[<samp>(e1735)</samp>](https://github.com/vitest-dev/vitest/commit/e1735fb6)

#####    🐞 Bug Fixes

- Repeatable `--project` option  -  by
[@&#8203;fenghan34](https://github.com/fenghan34) in
[vitest-dev/vitest#5265
[<samp>(d1a06)</samp>](https://github.com/vitest-dev/vitest/commit/d1a06730)
- `--inspect-brk` to pause before execution  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5355
[<samp>(e77c5)</samp>](https://github.com/vitest-dev/vitest/commit/e77c553f)
- Correct locations in test.each tasks  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va)
[<samp>(4f6e3)</samp>](https://github.com/vitest-dev/vitest/commit/4f6e39c1)
-   **api**:
- Use resolvedUrls from devserver  -  by
[@&#8203;saitonakamura](https://github.com/saitonakamura) and
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5289
[<samp>(2fef5)</samp>](https://github.com/vitest-dev/vitest/commit/2fef5a7e)
-   **browser**:
- Add `magic-string` to `optimizeDeps.include`  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5278
[<samp>(8f04e)</samp>](https://github.com/vitest-dev/vitest/commit/8f04e798)
-   **coverage**:
- Expensive regexp hangs v8 report generation  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5259
[<samp>(d68a7)</samp>](https://github.com/vitest-dev/vitest/commit/d68a7390)
- V8 to ignore type-only files  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5328
[<samp>(c3eb8)</samp>](https://github.com/vitest-dev/vitest/commit/c3eb8deb)
- Respect source maps of pre-transpiled sources  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5367
[<samp>(6eda4)</samp>](https://github.com/vitest-dev/vitest/commit/6eda473f)
- Prevent `reportsDirectory` from removing user's project  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5376
[<samp>(07ec3)</samp>](https://github.com/vitest-dev/vitest/commit/07ec3779)
-   **expect**:
- Show diff on `toContain/toMatch` assertion error  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5267
[<samp>(8ee59)</samp>](https://github.com/vitest-dev/vitest/commit/8ee59f0d)
-   **forks**:
- Wrap `defines` to support `undefined` values  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5284
[<samp>(5b58b)</samp>](https://github.com/vitest-dev/vitest/commit/5b58b399)
-   **typecheck**:
- Update get-tsconfig 4.7.3 to fix false circularity error  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5384
[<samp>(bdc37)</samp>](https://github.com/vitest-dev/vitest/commit/bdc371ee)
-   **ui**:
- Escape html in error diff  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5325
[<samp>(ab60b)</samp>](https://github.com/vitest-dev/vitest/commit/ab60bf8d)
-   **vitest**:
- Loosen `onConsoleLog` return type  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5337
[<samp>(6d1b1)</samp>](https://github.com/vitest-dev/vitest/commit/6d1b1451)
- Ensure restoring terminal cursor on close  -  by
[@&#8203;hi-ogawa](https://github.com/hi-ogawa) in
[vitest-dev/vitest#5292
[<samp>(0bea2)</samp>](https://github.com/vitest-dev/vitest/commit/0bea2247)
- Ignore timeout on websocket reporter rpc  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va)
[<samp>(38119)</samp>](https://github.com/vitest-dev/vitest/commit/38119b75)
- Correctly override api with --no-api flag  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[vitest-dev/vitest#5386
[<samp>(51d1d)</samp>](https://github.com/vitest-dev/vitest/commit/51d1d472)
- Logs in `beforeAll` and `afterAll`  -  by
[@&#8203;fenghan34](https://github.com/fenghan34) in
[vitest-dev/vitest#5288
[<samp>(ce5ca)</samp>](https://github.com/vitest-dev/vitest/commit/ce5ca6bf)
-   **workspace**:
- Throw error when browser mode and `@vitest/coverage-v8` are used  - 
by [@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[vitest-dev/vitest#5250
[<samp>(29f98)</samp>](https://github.com/vitest-dev/vitest/commit/29f98cd3)

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

</details>

---

### 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 becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

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

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job log](https://developer.mend.io/github/dotkom/monoweb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to mmkal/eslint-plugin-mmkal that referenced this pull request Aug 20, 2024
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0)

#####    🚀 Features

-   Support standalone mode  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29)
-   Custom "snapshotEnvironment" option  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc)
-   **benchmark**: Support comparing benchmark result  -  by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e)
-   **browser**: Allow injecting scripts  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8)
-   **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222)
-   **ui**: Sort items by file name  -  by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa)

#####    🐞 Bug Fixes

-   Keep order of arguments for .each in custom task collectors  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116)
-   Call `resolveId('vitest')` after `buildStart`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423)
-   Hash the name of the file when caching  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced)
-   Don't panic on empty files in node_modules  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe)
-   Use `toJSON` for error serialization  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49)
-   **coverage**:
    -   Exclude `*.test-d.*` by default  -  by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d)
    -   Apply `vite-node`'s wrapper only to executed files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e)
-   **vm**:
    -   Support network imports  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002)

#####    🏎 Performance

-   Improve performance of forks pool  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4)
-   Unnecessary rpc call when coverage is disabled  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0)
##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3)

#####    🐞 Bug Fixes

-   Use package.json name for a workspace project if not provided  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190)
-   Backport jest iterable equality within object  -  by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b)
-   **browser**: Support benchmark  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e)
-   **reporter**: Use default error formatter for JUnit  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3)
##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2)

#####    🐞 Bug Fixes

-   Check for null before storing in weakmap  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2)
##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1)

#####    🚀 Features

-   **api**: `startVitest()` to accept `stdout` and `stdin`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@780b187f)
    -   This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver.

#####    🐞 Bug Fixes

-   Close vite servers on all resolved projects  -  by [@surc54](https://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6)
-   Fix default `import.meta.env.PROD: false`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f)
-   Resolve cwd correctly when initiating projects  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93)
-   Always run `onTestFinished` in reverse order  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea)
-   **browser**:
    -   Disable `fileParallelism` by default on browser pool  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5)
    -   Dispose tester iframe on done  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710)
-   **coverage**:
    -   Fix bundling of `v8-to-istanbul`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328)
    -   Prevent crash when `cleanOnRerun` is disabled  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4)
    -   `thresholds` to compare files relative to root  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40)
-   **expect**:
    -   Fix `toEqual` and `toMatchObject` with circular references  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9)
-   **vitest**:
    -   Fix false positive file filter match with leading slash  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739)
    -   Watch the output directory correctly  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924)
    -   StubEnv casts boolean on PROD/SSR/DEV  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1)
##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0)

##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0)

#####    🚀 Features

-   Throw error when using snapshot assertion with `not`  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5)
-   Add a flag to include test location in tasks  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209)
-   **cli**:
    -   Support wildcards in `--project` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067)
-   **config**:
    -   Add `shuffle.files` and `shuffle.tests` options  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b)
    -   Deprecate `cache.dir` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e)
-   **coverage**:
    -   Support `--changed` option  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6)
-   **vitest**:
    -   Support `clearScreen` cli flag  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6)

#####    🐞 Bug Fixes

-   Repeatable `--project` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730)
-   `--inspect-brk` to pause before execution  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f)
-   Correct locations in test.each tasks  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1)
-   **api**:
    -   Use resolvedUrls from devserver  -  by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e)
-   **browser**:
    -   Add `magic-string` to `optimizeDeps.include`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798)
-   **coverage**:
    -   Expensive regexp hangs v8 report generation  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390)
    -   V8 to ignore type-only files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb)
    -   Respect source maps of pre-transpiled sources  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f)
    -   Prevent `reportsDirectory` from removing user's project  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779)
-   **expect**:
    -   Show diff on `toContain/toMatch` assertion error  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d)
-   **forks**:
    -   Wrap `defines` to support `undefined` values  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399)
-   **typecheck**:
    -   Update get-tsconfig 4.7.3 to fix false circularity error  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee)
-   **ui**:
    -   Escape html in error diff  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d)
-   **vitest**:
    -   Loosen `onConsoleLog` return type  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451)
    -   Ensure restoring terminal cursor on close  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247)
    -   Ignore timeout on websocket reporter rpc  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75)
    -   Correctly override api with --no-api flag  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472)
    -   Logs in `beforeAll` and `afterAll`  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf)
-   **workspace**:
    -   Throw error when browser mode and `@vitest/coverage-v8` are used  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3)

#####     [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
renovate bot added a commit to mmkal/eslint-plugin-mmkal that referenced this pull request Aug 20, 2024
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0)

#####    🚀 Features

-   Support standalone mode  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29)
-   Custom "snapshotEnvironment" option  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc)
-   **benchmark**: Support comparing benchmark result  -  by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e)
-   **browser**: Allow injecting scripts  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8)
-   **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222)
-   **ui**: Sort items by file name  -  by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa)

#####    🐞 Bug Fixes

-   Keep order of arguments for .each in custom task collectors  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116)
-   Call `resolveId('vitest')` after `buildStart`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423)
-   Hash the name of the file when caching  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced)
-   Don't panic on empty files in node_modules  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe)
-   Use `toJSON` for error serialization  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49)
-   **coverage**:
    -   Exclude `*.test-d.*` by default  -  by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d)
    -   Apply `vite-node`'s wrapper only to executed files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e)
-   **vm**:
    -   Support network imports  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002)

#####    🏎 Performance

-   Improve performance of forks pool  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4)
-   Unnecessary rpc call when coverage is disabled  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0)
##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3)

#####    🐞 Bug Fixes

-   Use package.json name for a workspace project if not provided  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190)
-   Backport jest iterable equality within object  -  by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b)
-   **browser**: Support benchmark  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e)
-   **reporter**: Use default error formatter for JUnit  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3)
##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2)

#####    🐞 Bug Fixes

-   Check for null before storing in weakmap  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2)
##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1)

#####    🚀 Features

-   **api**: `startVitest()` to accept `stdout` and `stdin`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@780b187f)
    -   This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver.

#####    🐞 Bug Fixes

-   Close vite servers on all resolved projects  -  by [@surc54](https://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6)
-   Fix default `import.meta.env.PROD: false`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f)
-   Resolve cwd correctly when initiating projects  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93)
-   Always run `onTestFinished` in reverse order  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea)
-   **browser**:
    -   Disable `fileParallelism` by default on browser pool  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5)
    -   Dispose tester iframe on done  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710)
-   **coverage**:
    -   Fix bundling of `v8-to-istanbul`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328)
    -   Prevent crash when `cleanOnRerun` is disabled  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4)
    -   `thresholds` to compare files relative to root  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40)
-   **expect**:
    -   Fix `toEqual` and `toMatchObject` with circular references  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9)
-   **vitest**:
    -   Fix false positive file filter match with leading slash  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739)
    -   Watch the output directory correctly  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924)
    -   StubEnv casts boolean on PROD/SSR/DEV  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1)
##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0)

##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0)

#####    🚀 Features

-   Throw error when using snapshot assertion with `not`  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5)
-   Add a flag to include test location in tasks  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209)
-   **cli**:
    -   Support wildcards in `--project` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067)
-   **config**:
    -   Add `shuffle.files` and `shuffle.tests` options  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b)
    -   Deprecate `cache.dir` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e)
-   **coverage**:
    -   Support `--changed` option  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6)
-   **vitest**:
    -   Support `clearScreen` cli flag  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6)

#####    🐞 Bug Fixes

-   Repeatable `--project` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730)
-   `--inspect-brk` to pause before execution  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f)
-   Correct locations in test.each tasks  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1)
-   **api**:
    -   Use resolvedUrls from devserver  -  by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e)
-   **browser**:
    -   Add `magic-string` to `optimizeDeps.include`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798)
-   **coverage**:
    -   Expensive regexp hangs v8 report generation  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390)
    -   V8 to ignore type-only files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb)
    -   Respect source maps of pre-transpiled sources  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f)
    -   Prevent `reportsDirectory` from removing user's project  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779)
-   **expect**:
    -   Show diff on `toContain/toMatch` assertion error  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d)
-   **forks**:
    -   Wrap `defines` to support `undefined` values  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399)
-   **typecheck**:
    -   Update get-tsconfig 4.7.3 to fix false circularity error  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee)
-   **ui**:
    -   Escape html in error diff  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d)
-   **vitest**:
    -   Loosen `onConsoleLog` return type  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451)
    -   Ensure restoring terminal cursor on close  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247)
    -   Ignore timeout on websocket reporter rpc  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75)
    -   Correctly override api with --no-api flag  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472)
    -   Logs in `beforeAll` and `afterAll`  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf)
-   **workspace**:
    -   Throw error when browser mode and `@vitest/coverage-v8` are used  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3)

#####     [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
renovate bot added a commit to mmkal/eslint-plugin-mmkal that referenced this pull request Aug 20, 2024
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0)

#####    🚀 Features

-   Support standalone mode  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29)
-   Custom "snapshotEnvironment" option  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc)
-   **benchmark**: Support comparing benchmark result  -  by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e)
-   **browser**: Allow injecting scripts  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8)
-   **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222)
-   **ui**: Sort items by file name  -  by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa)

#####    🐞 Bug Fixes

-   Keep order of arguments for .each in custom task collectors  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116)
-   Call `resolveId('vitest')` after `buildStart`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423)
-   Hash the name of the file when caching  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced)
-   Don't panic on empty files in node_modules  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe)
-   Use `toJSON` for error serialization  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49)
-   **coverage**:
    -   Exclude `*.test-d.*` by default  -  by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d)
    -   Apply `vite-node`'s wrapper only to executed files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e)
-   **vm**:
    -   Support network imports  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002)

#####    🏎 Performance

-   Improve performance of forks pool  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4)
-   Unnecessary rpc call when coverage is disabled  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0)
##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3)

#####    🐞 Bug Fixes

-   Use package.json name for a workspace project if not provided  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190)
-   Backport jest iterable equality within object  -  by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b)
-   **browser**: Support benchmark  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e)
-   **reporter**: Use default error formatter for JUnit  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3)
##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2)

#####    🐞 Bug Fixes

-   Check for null before storing in weakmap  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2)
##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1)

#####    🚀 Features

-   **api**: `startVitest()` to accept `stdout` and `stdin`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@780b187f)
    -   This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver.

#####    🐞 Bug Fixes

-   Close vite servers on all resolved projects  -  by [@surc54](https://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6)
-   Fix default `import.meta.env.PROD: false`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f)
-   Resolve cwd correctly when initiating projects  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93)
-   Always run `onTestFinished` in reverse order  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea)
-   **browser**:
    -   Disable `fileParallelism` by default on browser pool  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5)
    -   Dispose tester iframe on done  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710)
-   **coverage**:
    -   Fix bundling of `v8-to-istanbul`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328)
    -   Prevent crash when `cleanOnRerun` is disabled  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4)
    -   `thresholds` to compare files relative to root  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40)
-   **expect**:
    -   Fix `toEqual` and `toMatchObject` with circular references  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9)
-   **vitest**:
    -   Fix false positive file filter match with leading slash  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739)
    -   Watch the output directory correctly  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924)
    -   StubEnv casts boolean on PROD/SSR/DEV  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1)
##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0)

##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0)

#####    🚀 Features

-   Throw error when using snapshot assertion with `not`  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5)
-   Add a flag to include test location in tasks  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209)
-   **cli**:
    -   Support wildcards in `--project` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067)
-   **config**:
    -   Add `shuffle.files` and `shuffle.tests` options  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b)
    -   Deprecate `cache.dir` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e)
-   **coverage**:
    -   Support `--changed` option  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6)
-   **vitest**:
    -   Support `clearScreen` cli flag  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6)

#####    🐞 Bug Fixes

-   Repeatable `--project` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730)
-   `--inspect-brk` to pause before execution  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f)
-   Correct locations in test.each tasks  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1)
-   **api**:
    -   Use resolvedUrls from devserver  -  by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e)
-   **browser**:
    -   Add `magic-string` to `optimizeDeps.include`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798)
-   **coverage**:
    -   Expensive regexp hangs v8 report generation  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390)
    -   V8 to ignore type-only files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb)
    -   Respect source maps of pre-transpiled sources  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f)
    -   Prevent `reportsDirectory` from removing user's project  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779)
-   **expect**:
    -   Show diff on `toContain/toMatch` assertion error  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d)
-   **forks**:
    -   Wrap `defines` to support `undefined` values  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399)
-   **typecheck**:
    -   Update get-tsconfig 4.7.3 to fix false circularity error  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee)
-   **ui**:
    -   Escape html in error diff  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d)
-   **vitest**:
    -   Loosen `onConsoleLog` return type  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451)
    -   Ensure restoring terminal cursor on close  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247)
    -   Ignore timeout on websocket reporter rpc  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75)
    -   Correctly override api with --no-api flag  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472)
    -   Logs in `beforeAll` and `afterAll`  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf)
-   **workspace**:
    -   Throw error when browser mode and `@vitest/coverage-v8` are used  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3)

#####     [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
renovate bot added a commit to mmkal/eslint-plugin-mmkal that referenced this pull request Aug 20, 2024
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0)

#####    🚀 Features

-   Support standalone mode  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29)
-   Custom "snapshotEnvironment" option  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc)
-   **benchmark**: Support comparing benchmark result  -  by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e)
-   **browser**: Allow injecting scripts  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8)
-   **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222)
-   **ui**: Sort items by file name  -  by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa)

#####    🐞 Bug Fixes

-   Keep order of arguments for .each in custom task collectors  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116)
-   Call `resolveId('vitest')` after `buildStart`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423)
-   Hash the name of the file when caching  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced)
-   Don't panic on empty files in node_modules  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe)
-   Use `toJSON` for error serialization  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49)
-   **coverage**:
    -   Exclude `*.test-d.*` by default  -  by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d)
    -   Apply `vite-node`'s wrapper only to executed files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e)
-   **vm**:
    -   Support network imports  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002)

#####    🏎 Performance

-   Improve performance of forks pool  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4)
-   Unnecessary rpc call when coverage is disabled  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0)
##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3)

#####    🐞 Bug Fixes

-   Use package.json name for a workspace project if not provided  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190)
-   Backport jest iterable equality within object  -  by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b)
-   **browser**: Support benchmark  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e)
-   **reporter**: Use default error formatter for JUnit  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3)
##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2)

#####    🐞 Bug Fixes

-   Check for null before storing in weakmap  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2)
##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1)

#####    🚀 Features

-   **api**: `startVitest()` to accept `stdout` and `stdin`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@780b187f)
    -   This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver.

#####    🐞 Bug Fixes

-   Close vite servers on all resolved projects  -  by [@surc54](https://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6)
-   Fix default `import.meta.env.PROD: false`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f)
-   Resolve cwd correctly when initiating projects  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93)
-   Always run `onTestFinished` in reverse order  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea)
-   **browser**:
    -   Disable `fileParallelism` by default on browser pool  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5)
    -   Dispose tester iframe on done  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710)
-   **coverage**:
    -   Fix bundling of `v8-to-istanbul`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328)
    -   Prevent crash when `cleanOnRerun` is disabled  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4)
    -   `thresholds` to compare files relative to root  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40)
-   **expect**:
    -   Fix `toEqual` and `toMatchObject` with circular references  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9)
-   **vitest**:
    -   Fix false positive file filter match with leading slash  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739)
    -   Watch the output directory correctly  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924)
    -   StubEnv casts boolean on PROD/SSR/DEV  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1)
##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0)

##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0)

#####    🚀 Features

-   Throw error when using snapshot assertion with `not`  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5)
-   Add a flag to include test location in tasks  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209)
-   **cli**:
    -   Support wildcards in `--project` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067)
-   **config**:
    -   Add `shuffle.files` and `shuffle.tests` options  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b)
    -   Deprecate `cache.dir` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e)
-   **coverage**:
    -   Support `--changed` option  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6)
-   **vitest**:
    -   Support `clearScreen` cli flag  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6)

#####    🐞 Bug Fixes

-   Repeatable `--project` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730)
-   `--inspect-brk` to pause before execution  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f)
-   Correct locations in test.each tasks  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1)
-   **api**:
    -   Use resolvedUrls from devserver  -  by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e)
-   **browser**:
    -   Add `magic-string` to `optimizeDeps.include`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798)
-   **coverage**:
    -   Expensive regexp hangs v8 report generation  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390)
    -   V8 to ignore type-only files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb)
    -   Respect source maps of pre-transpiled sources  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f)
    -   Prevent `reportsDirectory` from removing user's project  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779)
-   **expect**:
    -   Show diff on `toContain/toMatch` assertion error  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d)
-   **forks**:
    -   Wrap `defines` to support `undefined` values  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399)
-   **typecheck**:
    -   Update get-tsconfig 4.7.3 to fix false circularity error  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee)
-   **ui**:
    -   Escape html in error diff  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d)
-   **vitest**:
    -   Loosen `onConsoleLog` return type  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451)
    -   Ensure restoring terminal cursor on close  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247)
    -   Ignore timeout on websocket reporter rpc  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75)
    -   Correctly override api with --no-api flag  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472)
    -   Logs in `beforeAll` and `afterAll`  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf)
-   **workspace**:
    -   Throw error when browser mode and `@vitest/coverage-v8` are used  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3)

#####     [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
renovate bot added a commit to mmkal/eslint-plugin-mmkal that referenced this pull request Aug 20, 2024
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0)

#####    🚀 Features

-   Support standalone mode  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29)
-   Custom "snapshotEnvironment" option  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc)
-   **benchmark**: Support comparing benchmark result  -  by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e)
-   **browser**: Allow injecting scripts  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8)
-   **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222)
-   **ui**: Sort items by file name  -  by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa)

#####    🐞 Bug Fixes

-   Keep order of arguments for .each in custom task collectors  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116)
-   Call `resolveId('vitest')` after `buildStart`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423)
-   Hash the name of the file when caching  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced)
-   Don't panic on empty files in node_modules  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe)
-   Use `toJSON` for error serialization  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49)
-   **coverage**:
    -   Exclude `*.test-d.*` by default  -  by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d)
    -   Apply `vite-node`'s wrapper only to executed files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e)
-   **vm**:
    -   Support network imports  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002)

#####    🏎 Performance

-   Improve performance of forks pool  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4)
-   Unnecessary rpc call when coverage is disabled  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0)
##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3)

#####    🐞 Bug Fixes

-   Use package.json name for a workspace project if not provided  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190)
-   Backport jest iterable equality within object  -  by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b)
-   **browser**: Support benchmark  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e)
-   **reporter**: Use default error formatter for JUnit  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3)
##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2)

#####    🐞 Bug Fixes

-   Check for null before storing in weakmap  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2)
##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1)

#####    🚀 Features

-   **api**: `startVitest()` to accept `stdout` and `stdin`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@780b187f)
    -   This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver.

#####    🐞 Bug Fixes

-   Close vite servers on all resolved projects  -  by [@surc54](https://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6)
-   Fix default `import.meta.env.PROD: false`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f)
-   Resolve cwd correctly when initiating projects  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93)
-   Always run `onTestFinished` in reverse order  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea)
-   **browser**:
    -   Disable `fileParallelism` by default on browser pool  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5)
    -   Dispose tester iframe on done  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710)
-   **coverage**:
    -   Fix bundling of `v8-to-istanbul`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328)
    -   Prevent crash when `cleanOnRerun` is disabled  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4)
    -   `thresholds` to compare files relative to root  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40)
-   **expect**:
    -   Fix `toEqual` and `toMatchObject` with circular references  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9)
-   **vitest**:
    -   Fix false positive file filter match with leading slash  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739)
    -   Watch the output directory correctly  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924)
    -   StubEnv casts boolean on PROD/SSR/DEV  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1)
##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0)

##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0)

#####    🚀 Features

-   Throw error when using snapshot assertion with `not`  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5)
-   Add a flag to include test location in tasks  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209)
-   **cli**:
    -   Support wildcards in `--project` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067)
-   **config**:
    -   Add `shuffle.files` and `shuffle.tests` options  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b)
    -   Deprecate `cache.dir` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e)
-   **coverage**:
    -   Support `--changed` option  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6)
-   **vitest**:
    -   Support `clearScreen` cli flag  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6)

#####    🐞 Bug Fixes

-   Repeatable `--project` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730)
-   `--inspect-brk` to pause before execution  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f)
-   Correct locations in test.each tasks  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1)
-   **api**:
    -   Use resolvedUrls from devserver  -  by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e)
-   **browser**:
    -   Add `magic-string` to `optimizeDeps.include`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798)
-   **coverage**:
    -   Expensive regexp hangs v8 report generation  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390)
    -   V8 to ignore type-only files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb)
    -   Respect source maps of pre-transpiled sources  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f)
    -   Prevent `reportsDirectory` from removing user's project  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779)
-   **expect**:
    -   Show diff on `toContain/toMatch` assertion error  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d)
-   **forks**:
    -   Wrap `defines` to support `undefined` values  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399)
-   **typecheck**:
    -   Update get-tsconfig 4.7.3 to fix false circularity error  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee)
-   **ui**:
    -   Escape html in error diff  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d)
-   **vitest**:
    -   Loosen `onConsoleLog` return type  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451)
    -   Ensure restoring terminal cursor on close  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247)
    -   Ignore timeout on websocket reporter rpc  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75)
    -   Correctly override api with --no-api flag  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472)
    -   Logs in `beforeAll` and `afterAll`  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf)
-   **workspace**:
    -   Throw error when browser mode and `@vitest/coverage-v8` are used  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3)

#####     [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
renovate bot added a commit to mmkal/eslint-plugin-mmkal that referenced this pull request Aug 20, 2024
##### [v1.6.0](https://github.com/vitest-dev/vitest/releases/tag/v1.6.0)

#####    🚀 Features

-   Support standalone mode  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5565 [<samp>(bdce0)</samp>](vitest-dev/vitest@bdce0a29)
-   Custom "snapshotEnvironment" option  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5449 [<samp>(30f72)</samp>](vitest-dev/vitest@30f728bc)
-   **benchmark**: Support comparing benchmark result  -  by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5398 [<samp>(f8d3d)</samp>](vitest-dev/vitest@f8d3d22e)
-   **browser**: Allow injecting scripts  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5656 [<samp>(21e58)</samp>](vitest-dev/vitest@21e58bd8)
-   **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5659 [<samp>(2f913)</samp>](vitest-dev/vitest@2f913222)
-   **ui**: Sort items by file name  -  by [@btea](https://github.com/btea) in vitest-dev/vitest#5652 [<samp>(1f726)</samp>](vitest-dev/vitest@1f7268fa)

#####    🐞 Bug Fixes

-   Keep order of arguments for .each in custom task collectors  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5640 [<samp>(7d57c)</samp>](vitest-dev/vitest@7d57c116)
-   Call `resolveId('vitest')` after `buildStart`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5646 [<samp>(f5faf)</samp>](vitest-dev/vitest@f5faf423)
-   Hash the name of the file when caching  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5654 [<samp>(c9e68)</samp>](vitest-dev/vitest@c9e68ced)
-   Don't panic on empty files in node_modules  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(40c29)</samp>](vitest-dev/vitest@40c299fe)
-   Use `toJSON` for error serialization  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5526 [<samp>(19a21)</samp>](vitest-dev/vitest@19a21e49)
-   **coverage**:
    -   Exclude `*.test-d.*` by default  -  by [@MindfulPol](https://github.com/MindfulPol) in vitest-dev/vitest#5634 [<samp>(bfe8a)</samp>](vitest-dev/vitest@bfe8ad9d)
    -   Apply `vite-node`'s wrapper only to executed files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5642 [<samp>(c9883)</samp>](vitest-dev/vitest@c9883f3e)
-   **vm**:
    -   Support network imports  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5610 [<samp>(103a6)</samp>](vitest-dev/vitest@103a6002)

#####    🏎 Performance

-   Improve performance of forks pool  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5592 [<samp>(d8304)</samp>](vitest-dev/vitest@d8304bb4)
-   Unnecessary rpc call when coverage is disabled  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5658 [<samp>(c5712)</samp>](vitest-dev/vitest@c571276a)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.3...v1.6.0)
##### [v1.5.3](https://github.com/vitest-dev/vitest/releases/tag/v1.5.3)

#####    🐞 Bug Fixes

-   Use package.json name for a workspace project if not provided  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5608 [<samp>(48fba)</samp>](vitest-dev/vitest@48fba190)
-   Backport jest iterable equality within object  -  by [@sukovanej](https://github.com/sukovanej) in vitest-dev/vitest#5621 [<samp>(30e5d)</samp>](vitest-dev/vitest@30e5dc1b)
-   **browser**: Support benchmark  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5622 [<samp>(becab)</samp>](vitest-dev/vitest@becabb5e)
-   **reporter**: Use default error formatter for JUnit  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5629 [<samp>(20060)</samp>](vitest-dev/vitest@200609cc)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.2...v1.5.3)
##### [v1.5.2](https://github.com/vitest-dev/vitest/releases/tag/v1.5.2)

#####    🐞 Bug Fixes

-   Check for null before storing in weakmap  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(ce368)</samp>](vitest-dev/vitest@ce368457)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.1...v1.5.2)
##### [v1.5.1](https://github.com/vitest-dev/vitest/releases/tag/v1.5.1)

#####    🚀 Features

-   **api**: `startVitest()` to accept `stdout` and `stdin`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5493 [<samp>(780b1)</samp>](vitest-dev/vitest@780b187f)
    -   This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver.

#####    🐞 Bug Fixes

-   Close vite servers on all resolved projects  -  by [@surc54](https://github.com/surc54) in vitest-dev/vitest#5544 [<samp>(413ec)</samp>](vitest-dev/vitest@413ec5e6)
-   Fix default `import.meta.env.PROD: false`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5561 [<samp>(9c649)</samp>](vitest-dev/vitest@9c64967f)
-   Resolve cwd correctly when initiating projects  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5582 [<samp>(ec9d7)</samp>](vitest-dev/vitest@ec9d7c93)
-   Always run `onTestFinished` in reverse order  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5598 [<samp>(23f29)</samp>](vitest-dev/vitest@23f29cea)
-   **browser**:
    -   Disable `fileParallelism` by default on browser pool  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5528 [<samp>(5c69f)</samp>](vitest-dev/vitest@5c69f3f5)
    -   Dispose tester iframe on done  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5595 [<samp>(b2135)</samp>](vitest-dev/vitest@b2135710)
-   **coverage**:
    -   Fix bundling of `v8-to-istanbul`  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5549 [<samp>(df6a4)</samp>](vitest-dev/vitest@df6a4328)
    -   Prevent crash when `cleanOnRerun` is disabled  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5540 [<samp>(ea3c1)</samp>](vitest-dev/vitest@ea3c16e4)
    -   `thresholds` to compare files relative to root  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5574 [<samp>(80265)</samp>](vitest-dev/vitest@80265b40)
-   **expect**:
    -   Fix `toEqual` and `toMatchObject` with circular references  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5535 [<samp>(9e641)</samp>](vitest-dev/vitest@9e6417c9)
-   **vitest**:
    -   Fix false positive file filter match with leading slash  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5578 [<samp>(316eb)</samp>](vitest-dev/vitest@316eb739)
    -   Watch the output directory correctly  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5584 [<samp>(e40f9)</samp>](vitest-dev/vitest@e40f9924)
    -   StubEnv casts boolean on PROD/SSR/DEV  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5590 [<samp>(4da88)</samp>](vitest-dev/vitest@4da88045)

#####     [View changes on GitHub](vitest-dev/vitest@v1.5.0...v1.5.1)
##### [v1.5.0](vitest-dev/vitest@v1.4.0...v1.5.0)

##### [v1.4.0](https://github.com/vitest-dev/vitest/releases/tag/v1.4.0)

#####    🚀 Features

-   Throw error when using snapshot assertion with `not`  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5294 [<samp>(b9d37)</samp>](vitest-dev/vitest@b9d378f5)
-   Add a flag to include test location in tasks  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5342 [<samp>(d627e)</samp>](vitest-dev/vitest@d627e209)
-   **cli**:
    -   Support wildcards in `--project` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5295 [<samp>(201bd)</samp>](vitest-dev/vitest@201bd067)
-   **config**:
    -   Add `shuffle.files` and `shuffle.tests` options  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5281 [<samp>(356db)</samp>](vitest-dev/vitest@356db87b)
    -   Deprecate `cache.dir` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5229 [<samp>(d7e8b)</samp>](vitest-dev/vitest@d7e8b53e)
-   **coverage**:
    -   Support `--changed` option  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5314 [<samp>(600b4)</samp>](vitest-dev/vitest@600b44d6)
-   **vitest**:
    -   Support `clearScreen` cli flag  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5241 [<samp>(e1735)</samp>](vitest-dev/vitest@e1735fb6)

#####    🐞 Bug Fixes

-   Repeatable `--project` option  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5265 [<samp>(d1a06)</samp>](vitest-dev/vitest@d1a06730)
-   `--inspect-brk` to pause before execution  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5355 [<samp>(e77c5)</samp>](vitest-dev/vitest@e77c553f)
-   Correct locations in test.each tasks  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(4f6e3)</samp>](vitest-dev/vitest@4f6e39c1)
-   **api**:
    -   Use resolvedUrls from devserver  -  by [@saitonakamura](https://github.com/saitonakamura) and [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5289 [<samp>(2fef5)</samp>](vitest-dev/vitest@2fef5a7e)
-   **browser**:
    -   Add `magic-string` to `optimizeDeps.include`  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5278 [<samp>(8f04e)</samp>](vitest-dev/vitest@8f04e798)
-   **coverage**:
    -   Expensive regexp hangs v8 report generation  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5259 [<samp>(d68a7)</samp>](vitest-dev/vitest@d68a7390)
    -   V8 to ignore type-only files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5328 [<samp>(c3eb8)</samp>](vitest-dev/vitest@c3eb8deb)
    -   Respect source maps of pre-transpiled sources  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5367 [<samp>(6eda4)</samp>](vitest-dev/vitest@6eda473f)
    -   Prevent `reportsDirectory` from removing user's project  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5376 [<samp>(07ec3)</samp>](vitest-dev/vitest@07ec3779)
-   **expect**:
    -   Show diff on `toContain/toMatch` assertion error  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5267 [<samp>(8ee59)</samp>](vitest-dev/vitest@8ee59f0d)
-   **forks**:
    -   Wrap `defines` to support `undefined` values  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5284 [<samp>(5b58b)</samp>](vitest-dev/vitest@5b58b399)
-   **typecheck**:
    -   Update get-tsconfig 4.7.3 to fix false circularity error  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5384 [<samp>(bdc37)</samp>](vitest-dev/vitest@bdc371ee)
-   **ui**:
    -   Escape html in error diff  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5325 [<samp>(ab60b)</samp>](vitest-dev/vitest@ab60bf8d)
-   **vitest**:
    -   Loosen `onConsoleLog` return type  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5337 [<samp>(6d1b1)</samp>](vitest-dev/vitest@6d1b1451)
    -   Ensure restoring terminal cursor on close  -  by [@hi-ogawa](https://github.com/hi-ogawa) in vitest-dev/vitest#5292 [<samp>(0bea2)</samp>](vitest-dev/vitest@0bea2247)
    -   Ignore timeout on websocket reporter rpc  -  by [@sheremet-va](https://github.com/sheremet-va) [<samp>(38119)</samp>](vitest-dev/vitest@38119b75)
    -   Correctly override api with --no-api flag  -  by [@sheremet-va](https://github.com/sheremet-va) in vitest-dev/vitest#5386 [<samp>(51d1d)</samp>](vitest-dev/vitest@51d1d472)
    -   Logs in `beforeAll` and `afterAll`  -  by [@fenghan34](https://github.com/fenghan34) in vitest-dev/vitest#5288 [<samp>(ce5ca)</samp>](vitest-dev/vitest@ce5ca6bf)
-   **workspace**:
    -   Throw error when browser mode and `@vitest/coverage-v8` are used  -  by [@AriPerkkio](https://github.com/AriPerkkio) in vitest-dev/vitest#5250 [<samp>(29f98)</samp>](vitest-dev/vitest@29f98cd3)

#####     [View changes on GitHub](vitest-dev/vitest@v1.3.1...v1.4.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

location of results.json when use test.root in vite.config.ts
3 participants