Aller au contenu
verdict:

Vitest 5.0.0-beta.2

preview

note: la synthèse et les notes de version sont en anglais

note: pas de synthèse pour cette release plus ancienne

Nous synthétisons les releases récentes. Les notes de version originales de cette version sont ci-dessous.

release-notesgithub.com/vitest-dev/vitest · 37 lignes
  1. ###    🚨 Breaking Changes
  2. - Default `attachmentsDir` from `.vitest-attachements/` to `.vitest/attachments/` &nbsp;-&nbsp; by @MdSadiqMd in https://github.com/vitest-dev/vitest/issues/10186 [<samp>(1ba73)</samp>](https://github.com/vitest-dev/vitest/commit/1ba7338c3)
  3. - Remove `sequential` test/suite options in favor of `concurrent` &nbsp;-&nbsp; by @hi-ogawa and **Codex** in https://github.com/vitest-dev/vitest/issues/10198 [<samp>(9229f)</samp>](https://github.com/vitest-dev/vitest/commit/9229f2edc)
  4. - Represent locator as an object instead of a string &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10212 [<samp>(80f07)</samp>](https://github.com/vitest-dev/vitest/commit/80f07edf6)
  5. - Inline `expect` package &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10221 [<samp>(ad162)</samp>](https://github.com/vitest-dev/vitest/commit/ad16223e7)
  6. - Remove deprecated entry points &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10222 [<samp>(994c6)</samp>](https://github.com/vitest-dev/vitest/commit/994c6ddb9)
  7. - **mocker**: Deserialize automock as automock &nbsp;-&nbsp; by @nami8824 in https://github.com/vitest-dev/vitest/issues/10192 [<samp>(2f892)</samp>](https://github.com/vitest-dev/vitest/commit/2f892712d)
  8. - **reporters**: `blob` reporter and `--merge-reports` default to `.vitest/blob/` &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10232 [<samp>(d22b0)</samp>](https://github.com/vitest-dev/vitest/commit/d22b029ae)
  9. ### &nbsp;&nbsp;&nbsp;🚀 Features
  10. - Expose default reporters through `configDefaults.reporters` &nbsp;-&nbsp; by @hi-ogawa and **Claude Sonnet 4.6** in https://github.com/vitest-dev/vitest/issues/10219 [<samp>(083f6)</samp>](https://github.com/vitest-dev/vitest/commit/083f6bdd6)
  11. - Support merge reports for non-sharded multi-environment runs (take 2) &nbsp;-&nbsp; by @hi-ogawa, **Claude Sonnet 4.6**, **Codex** and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10031 [<samp>(e60b2)</samp>](https://github.com/vitest-dev/vitest/commit/e60b2f49e)
  12. - Add `logger.formatError` &nbsp;-&nbsp; by @hi-ogawa and **Codex** in https://github.com/vitest-dev/vitest/issues/10268 [<samp>(2c5f3)</samp>](https://github.com/vitest-dev/vitest/commit/2c5f3ee2f)
  13. - **browser**: Provide project reference in `ToMatchScreenshotResolvePath` &nbsp;-&nbsp; by @macarie and @sheremet-va in https://github.com/vitest-dev/vitest/issues/10138 [<samp>(16654)</samp>](https://github.com/vitest-dev/vitest/commit/166544e39)
  14. - **coverage**: V8 to track `node:child_process` and `node:worker_threads` contexts &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9976 [<samp>(9baa5)</samp>](https://github.com/vitest-dev/vitest/commit/9baa5faba)
  15. - **junit-reporter**: Add jest-junit-compatible naming options &nbsp;-&nbsp; by @neumaennl, **neumaennl**, @neumann4soft and **Copilot** in https://github.com/vitest-dev/vitest/issues/10189 [<samp>(27393)</samp>](https://github.com/vitest-dev/vitest/commit/273933440)
  16. ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes
  17. - Global `sequence.concurrent: true` with top-level `test(..., { concurrent: false })` + depreacte `sequential` test API and options &nbsp;-&nbsp; by @hi-ogawa, **Codex** and @sheremet-va in https://github.com/vitest-dev/vitest/issues/10194 [<samp>(9387f)</samp>](https://github.com/vitest-dev/vitest/commit/9387f57cf)
  18. - Test `tags` options should overwrite inherited suite options + inherit suite options in `task` API &nbsp;-&nbsp; by @hi-ogawa and **Codex** in https://github.com/vitest-dev/vitest/issues/10216 [<samp>(457db)</samp>](https://github.com/vitest-dev/vitest/commit/457db297b)
  19. - Udpate optimize deps config &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10223 [<samp>(95dc6)</samp>](https://github.com/vitest-dev/vitest/commit/95dc6e3f1)
  20. - **browser**:
  21. - Fix trace highlight of shadow dom on webdriverio &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10227 [<samp>(b01af)</samp>](https://github.com/vitest-dev/vitest/commit/b01afd26c)
  22. - **deps**:
  23. - Update ivya to fix empty aria tree snapshot &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10218 [<samp>(f7822)</samp>](https://github.com/vitest-dev/vitest/commit/f7822ebf6)
  24. - **runner**:
  25. - Propagate chainable flags in describe.for &nbsp;-&nbsp; by @DORI2001, **Dor Alagem** and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10187 [<samp>(db678)</samp>](https://github.com/vitest-dev/vitest/commit/db67831d7)
  26. - Limit concurrency per task branch in addition to per leaf callbacks &nbsp;-&nbsp; by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10179 [<samp>(3112a)</samp>](https://github.com/vitest-dev/vitest/commit/3112abea2)
  27. - **snapshot**:
  28. - Treat empty string as valid snapshot &nbsp;-&nbsp; by @mayrang and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10188 [<samp>(e145d)</samp>](https://github.com/vitest-dev/vitest/commit/e145d5756)
  29. - **spy**:
  30. - Support private method spy types &nbsp;-&nbsp; by @cyphercodes in https://github.com/vitest-dev/vitest/issues/10172 and https://github.com/vitest-dev/vitest/issues/10213 [<samp>(628ab)</samp>](https://github.com/vitest-dev/vitest/commit/628ab32f1)
  31. ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v5.0.0-beta.1...v5.0.0-beta.2)

voir sur githubimported 2026-09-28 via npm