# vitest/release
Vitest v5.0.0-beta.6
importance: highbreakingfeatureprerelease
This release introduces several breaking changes, including updates to `@sinonjs/fake-timers`, removal of the `webdriverio` package, and default clearing of mocks before each test. A new feature, `vi.when()`, has been added, and various bug fixes have been implemented across different modules.
affected
Users relying on the `webdriverio` package or specific mocking behaviors will be affected.
action
Review breaking changes and update your test configurations accordingly.
release_signals
-Add `screenshotDirectory` config to `browser.expect.toMatchScreenshot`
-Update `@sinonjs/fake-timers` and support mocking `Temporal`
-Remove webdriverio package
-Clear mocks by default before each test
-Don't emit localStorage warnings on Node 26, fail gracefully when worker fails to start
+Create `vi.when()`
# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.