Next generation testing framework powered by Vite
Published Node.js and peer-dependency requirements.
| Requirement | From4.1.11 on npm (opens in a new tab) | To5.0.0 on npm (opens in a new tab) |
|---|---|---|
Node.js | ^20.0.0 || ^22.0.0 || >=24.0.0 | ^22.12.0 || ^24.0.0 || >=26.0.0 |
@types/node | ^20.0.0 || ^22.0.0 || >=24.0.0Optional peer · not required | ^22.0.0 || >=24.0.0Optional peer · not required |
@vitest/browser-playwright | 4.1.11Optional peer · not required | 5.0.0Optional peer · not required |
@vitest/browser-preview |
3 Sept 2026 · Newest first
Last checked
Showing 1 of 1 releases. Full release notes.
Signals highlight changes worth reviewing. They cannot determine whether your application is affected.
4.1.115.0.0Optional peer · not required |
@vitest/browser-webdriverio | 4.1.11Optional peer · not required | ^5.0.0-beta.5 || >=5.0.0Optional peer · not required |
|---|
@vitest/coverage-istanbul | 4.1.11Optional peer · not required | 5.0.0Optional peer · not required |
|---|
@vitest/coverage-v8 | 4.1.11Optional peer · not required | 5.0.0Optional peer · not required |
|---|
@vitest/ui | 4.1.11Optional peer · not required | 5.0.0Optional peer · not required |
|---|
vite | ^6.0.0 || ^7.0.0 || ^8.0.0Required peer | ^6.4.0 || ^7.0.0 || ^8.0.0Required peer |
|---|
ToMatchScreenshotResolvePath - by @macarie and @sheremet-va in #10138 (16654)kind in page.mark - by @AriPerkkio in #10302 (053e8)context.mark for custom command tracing - by @AriPerkkio in #10329 (aa514)onUserConsoleLog - by @Copilot, Hiroshi Ogawa, @hi-ogawa and @sheremet-va in #10308 (62756)importOriginal with optimizer and query import - by @davidxharris, David Harris, @hi-ogawa, Hiroshi Ogawa and OpenAI Codex in #10469 (6a3bb)sequence config - by @hi-ogawa, Hiroshi Ogawa and OpenCode (gpt-5.6-sol) in #10659 (40cdc)includeTaskLocation is enabled - by @sheremet-va in #10681 (bd9cc)vitest --typecheck from reporting a false success when the tsc process crashes - by @hitenkalda and Hiten Kalda in #10705 (a1b05)process.exit disabled in workers - by @sheremet-va in #10963 (5e69a)recordArtifact location with vi.defineHelper - by @hi-ogawa, Hiroshi Ogawa and OpenCode (gpt-5.6-sol) in #11047 (c2186)extends: true - by @sheremet-va in #11120 (584cf)wrapDynamicImport transform on ssr environment - by @hi-ogawa in #10355 (d3c96)cdp API when allowWrite/allowExec: false - by @hi-ogawa and OpenAI Codex in #10444 (63e3b)connectTimeout from the project config - by @lazerg in #10879 and #10880 (62c79)ui: true in projects - by @AriPerkkio in #10994 (9f710)exclude to not inherit negation globs from test.include - by @AriPerkkio in #10299 (28685)coverage.reportsDirectory conflicts between concurrent runs - by @jgamaraalv and @AriPerkkio in #10466 (833f0)/@fs/ prepended virtual files - by @AriPerkkio in #11119 (c4473)toNotFake - by @BPScott, @hi-ogawa and OpenAI Codex in #10043 (bbf2f)summary to intercept logger's streams even when they are not process.std* streams - by @AriPerkkio in #10340 (f79e7)testModules in onTestRunEnd when merging blobs from different root directory test runs - by @hi-ogawa and OpenAI Codex in #10348 (745b3)test.name in GitHub Actions reporter summary header - by @macarie in #10887 (49e24)error.stack throws - by @sheremet-va in #10839 (202e2)test.fails - by @hi-ogawa in #10090 (e1aa7)toMatchFileSnapshot uses same snapshot file as toMatchSnapshot - by @hi-ogawa, Hiroshi Ogawa, OpenCode (gpt-5.6-sol) and @sheremet-va in #10978 (17646)