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
- ### 🚨 Breaking Changes
- - Add `screenshotDirectory` config to `browser.expect.toMatchScreenshot` - by @macarie in https://github.com/vitest-dev/vitest/issues/10592 [<samp>(a60de)</samp>](https://github.com/vitest-dev/vitest/commit/a60ded0fb)
- - Update `@sinonjs/fake-timers` and support mocking `Temporal` - 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)
- - Remove webdriverio package - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10675 [<samp>(5fed6)</samp>](https://github.com/vitest-dev/vitest/commit/5fed68f72)
- - Clear mocks by default before each test - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10613 [<samp>(0f646)</samp>](https://github.com/vitest-dev/vitest/commit/0f6463bf2)
- - Don't emit localStorage warnings on Node 26, fail gracefully when worker fails to start - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10293 [<samp>(334ed)</samp>](https://github.com/vitest-dev/vitest/commit/334edef92)
- - **reporters**:
- - Write json and junit reporter output files to `.vitest` by default - 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)
- - **ui**:
- - Harden UI API access - 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)
- - Change html reporter default output to `.vitest` - 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)
- ### 🚀 Features
- - **vitest**: Create `vi.when()` - by @macarie in https://github.com/vitest-dev/vitest/issues/10174 [<samp>(3900e)</samp>](https://github.com/vitest-dev/vitest/commit/3900e6349)
- ### 🐞 Bug Fixes
- - Fix `setImmediate` await in detect-async-leak - 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)
- - Fix per-project `sequence` config - 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)
- - Add handshake timeout to iframe communication - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10656 [<samp>(3545f)</samp>](https://github.com/vitest-dev/vitest/commit/3545fe78f)
- - Don't print column in test names when `includeTaskLocation` is enabled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10681 [<samp>(bd9cc)</samp>](https://github.com/vitest-dev/vitest/commit/bd9cc9d8d)
- - **browser**:
- - Always derive a positive locator action timeout - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10626 [<samp>(5b864)</samp>](https://github.com/vitest-dev/vitest/commit/5b8642120)
- - Resize the browser ui only if it's not headless - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10662 [<samp>(b5c61)</samp>](https://github.com/vitest-dev/vitest/commit/b5c613051)
- - Check fs access in builtin commands - 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)
- - **coverage**:
- - Non-awaited module imports cause wrong offsets - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10643 [<samp>(c4090)</samp>](https://github.com/vitest-dev/vitest/commit/c40901479)
- - Fail fast when `coverage.reportsDirectory` conflicts between concurrent runs - by @jgamaraalv and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10466 [<samp>(833f0)</samp>](https://github.com/vitest-dev/vitest/commit/833f0936c)
- - **pool**:
- - Improve error message when worker exits unexpectedly - by @filmaj and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10587 [<samp>(76139)</samp>](https://github.com/vitest-dev/vitest/commit/76139c5a0)
- - **types**:
- - Allow `changed` in configuration options - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10651 [<samp>(0da12)</samp>](https://github.com/vitest-dev/vitest/commit/0da12aad4)
- - **vm**:
- - Fix external module resolve error with deps optimizer query for encoded URI - by @SveLil in https://github.com/vitest-dev/vitest/issues/10658 [<samp>(90c4e)</samp>](https://github.com/vitest-dev/vitest/commit/90c4ed4cd)
- ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v5.0.0-beta.5...v5.0.0-beta.6)