Skip to content

Commit

Permalink
chore(deps): update dependency vitest to v1.6.0
Browse files Browse the repository at this point in the history
##### [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)
  • Loading branch information
renovate[bot] authored Aug 20, 2024
1 parent cff2ae1 commit 5b1fad0
Showing 1 changed file with 241 additions and 440 deletions.
Loading

0 comments on commit 5b1fad0

Please sign in to comment.