Aller au contenu
verdict:

Vitest 5.0.0-beta.6

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 · 38 lignes
  1. ###    🚨 Breaking Changes
  2. - Add `screenshotDirectory` config to `browser.expect.toMatchScreenshot` &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/10592 [<samp>(a60de)</samp>](https://github.com/vitest-dev/vitest/commit/a60ded0fb)
  3. - Update `@sinonjs/fake-timers` and support mocking `Temporal` &nbsp;-&nbsp; by @hi-ogawa, **Hiroshi Ogawa** and **OpenCode (claude-opus-4-8)** in https://github.com/vitest-dev/vitest/issues/10654 [<samp>(f8b15)</samp>](https://github.com/vitest-dev/vitest/commit/f8b1532fe)
  4. - Remove webdriverio package &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10675 [<samp>(5fed6)</samp>](https://github.com/vitest-dev/vitest/commit/5fed68f72)
  5. - Clear mocks by default before each test &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10613 [<samp>(0f646)</samp>](https://github.com/vitest-dev/vitest/commit/0f6463bf2)
  6. - Don't emit localStorage warnings on Node 26, fail gracefully when worker fails to start &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10293 [<samp>(334ed)</samp>](https://github.com/vitest-dev/vitest/commit/334edef92)
  7. - **reporters**:
  8. - Write json and junit reporter output files to `.vitest` by default &nbsp;-&nbsp; by @hi-ogawa, **Hiroshi Ogawa**, **OpenCode (claude-opus-4-8)** and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10621 [<samp>(58577)</samp>](https://github.com/vitest-dev/vitest/commit/58577290a)
  9. - **ui**:
  10. - Harden UI API access &nbsp;-&nbsp; by @hi-ogawa, **Hiroshi Ogawa** and **Codex** in https://github.com/vitest-dev/vitest/issues/10583 [<samp>(4c26d)</samp>](https://github.com/vitest-dev/vitest/commit/4c26d7675)
  11. - Change html reporter default output to `.vitest` &nbsp;-&nbsp; by @hi-ogawa and **Hiroshi Ogawa** in https://github.com/vitest-dev/vitest/issues/10620 [<samp>(29c36)</samp>](https://github.com/vitest-dev/vitest/commit/29c364d50)
  12. ### &nbsp;&nbsp;&nbsp;🚀 Features
  13. - **vitest**: Create `vi.when()` &nbsp;-&nbsp; by @macarie in https://github.com/vitest-dev/vitest/issues/10174 [<samp>(3900e)</samp>](https://github.com/vitest-dev/vitest/commit/3900e6349)
  14. ### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes
  15. - Fix `setImmediate` await in detect-async-leak &nbsp;-&nbsp; by @hi-ogawa and **Hiroshi Ogawa** in https://github.com/vitest-dev/vitest/issues/10608 [<samp>(dd62b)</samp>](https://github.com/vitest-dev/vitest/commit/dd62b84e0)
  16. - Fix per-project `sequence` config &nbsp;-&nbsp; by @hi-ogawa, **Hiroshi Ogawa** and **OpenCode (claude-opus-4-8)** in https://github.com/vitest-dev/vitest/issues/10659 [<samp>(40cdc)</samp>](https://github.com/vitest-dev/vitest/commit/40cdc7fd6)
  17. - Add handshake timeout to iframe communication &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10656 [<samp>(3545f)</samp>](https://github.com/vitest-dev/vitest/commit/3545fe78f)
  18. - Don't print column in test names when `includeTaskLocation` is enabled &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10681 [<samp>(bd9cc)</samp>](https://github.com/vitest-dev/vitest/commit/bd9cc9d8d)
  19. - **browser**:
  20. - Always derive a positive locator action timeout &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10626 [<samp>(5b864)</samp>](https://github.com/vitest-dev/vitest/commit/5b8642120)
  21. - Resize the browser ui only if it's not headless &nbsp;-&nbsp; by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10662 [<samp>(b5c61)</samp>](https://github.com/vitest-dev/vitest/commit/b5c613051)
  22. - Check fs access in builtin commands &nbsp;-&nbsp; by @hi-ogawa, **Hiroshi Ogawa** and **OpenCode (claude-opus-4-8)** in https://github.com/vitest-dev/vitest/issues/10674 [<samp>(33f96)</samp>](https://github.com/vitest-dev/vitest/commit/33f96a145)
  23. - **coverage**:
  24. - Non-awaited module imports cause wrong offsets &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10643 [<samp>(c4090)</samp>](https://github.com/vitest-dev/vitest/commit/c40901479)
  25. - Fail fast when `coverage.reportsDirectory` conflicts between concurrent runs &nbsp;-&nbsp; by @jgamaraalv and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10466 [<samp>(833f0)</samp>](https://github.com/vitest-dev/vitest/commit/833f0936c)
  26. - **pool**:
  27. - Improve error message when worker exits unexpectedly &nbsp;-&nbsp; by @filmaj and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10587 [<samp>(76139)</samp>](https://github.com/vitest-dev/vitest/commit/76139c5a0)
  28. - **types**:
  29. - Allow `changed` in configuration options &nbsp;-&nbsp; by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10651 [<samp>(0da12)</samp>](https://github.com/vitest-dev/vitest/commit/0da12aad4)
  30. - **vm**:
  31. - Fix external module resolve error with deps optimizer query for encoded URI &nbsp;-&nbsp; by @SveLil in https://github.com/vitest-dev/vitest/issues/10658 [<samp>(90c4e)</samp>](https://github.com/vitest-dev/vitest/commit/90c4ed4cd)
  32. ##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v5.0.0-beta.5...v5.0.0-beta.6)

voir sur githubimported 2026-09-28 via npm