Catalog / Vitest

Vitest 2 to 3

Every Vitest 3.x release the archive holds, 23 of them, starting at 3.0.0 and running to 3.2.7. The publisher writes these one at a time and its documentation describes the version you are on, so the run between two majors is not laid out anywhere as a list.

Releases
2323 carry notes
Opened
16 Jan 20251.6 years ago
Span
18 monthsto 6 Jul 2026
Breaking
1tagged by the publisher
Advisories closed
5security

The turn

The last 2.x release the archive holds before the turn is 2.1.8, on 2 Dec 2024. 3.0.0 followed 45 days later. 2.x did not stop there. 1 more 2.x release shipped after 3.0.0 opened, the last of them on 3 Feb 2025, so both lines were being maintained at once.

Tagged breaking

1 of these releases carries the breaking label: 3.0.0. The label is matched from words in the publisher’s own notes, so a release that changed an API without using the word does not carry it.

Every 3.x release

All Vitest releases
3.2.7fixed

🐞 Bug Fixes browser: Check fs access in builtin commands [backport to v3] - by @hi-ogawa, Hiroshi Ogawa and OpenCode (claude-opus-4-8) in https://github.com/vitest-dev/vitest/issues/10679 (b795e) View changes on GitHub

3.2.6fixed

🐞 Bug Fixes Pin last supported vite-node version - by @sheremet-va (16f12) View changes on GitHub

3.2.5addedfixed

πŸš€ Features api: Add allowWrite and allowExec options to api [backport to v3] - by @hi-ogawa and Codex in https://github.com/vitest-dev/vitest/issues/10445 (af88b) 🐞 Bug Fixes browser: Disable client cdp API when allowWrite/allowExec: fals

3.2.4fixedchanged

🐞 Bug Fixes Use correct path for optimisation of strip-literal - by @mrginglymus in https://github.com/vitest-dev/vitest/issues/8139 (44940) Print uint and buffer as a simple string - by @sheremet-va in https://github.com/vitest-dev/vitest

3.2.3fixedchanged

πŸš€ Features browser: Use base url instead of vitest - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8126 (1d8eb) ui: Show test annotations and metadata in the test report tab - by @sheremet-va in https://github.com/vitest-d

3.2.2fixed

πŸš€ Features Support rolldown-vite - by @sheremet-va and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7509 (c8d62) 🐞 Bug Fixes browser: Calculate prepare time from createTesters call on the main thread - by @sheremet-va in https

3.2.1fixed

🐞 Bug Fixes Use sha1 instead of md5 for hashing - by @sheremet-va (e4c73) expect: Fix chai import in dts - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/8077 (a7593) Export DeeplyAllowMatchers - by @sheremet-va in https://git

3.2.0addedfixeddeprecated

πŸš€ Features Provide ctx.signal - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7878 (e761f) Support custom colors for test.name - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/7809 (4af5d) Add vi.mockObject

3.1.4fixed

🐞 Bug Fixes Apply browser CLI options only if the project has the browser set in the config already - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/8002 (64f2b) View changes on GitHub

3.1.3fixedchanged

🐞 Bug Fixes Correctly resolve vitest import if inline: true is set - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7856 (a83f3) Fix fixture parsing with lowered async with esbuild 0.25.3 - by @hi-ogawa in https://github.co

3.1.2addedfixedchanged

🐞 Bug Fixes Add global chai variable in vitest/globals (fix: #7474) - by @Jay-Karia in https://github.com/vitest-dev/vitest/issues/7771 and https://github.com/vitest-dev/vitest/issues/7474 (d9297) Prevent modifying test.exclude when same o

3.1.1fixed

🐞 Bug Fixes reporter: Report tests in correct order - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7752 (b166e) Print test only once in the verbose mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/773

3.1.0addedfixedchanged

πŸš€ Features Introduce %$ option to add number of the test to its title - by @kemuridama in https://github.com/vitest-dev/vitest/issues/7412 (df347) Add diff.maxDepth option and set non-Infinity value as a default to reduce crash - by @hi-og

3.0.9fixed

🐞 Bug Fixes Typings of ctx.skip() as never - by @sirlancelot in https://github.com/vitest-dev/vitest/issues/7608 (09f35) Cleanup vitest in public resolveConfig API - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7623 (db14a)

3.0.8fixedchanged

🐞 Bug Fixes Fix fetch cache multiple writes - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7546 (1a8b4) Use browser.isolate instead of config.isolate - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7560 (4b5

3.0.7fixedchanged

🐞 Bug Fixes browser: Support webdriverio 9 - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7553 (b1949) deps: Update all non-major dependencies - in https://github.com/vitest-dev/vitest/issues/7543 (365ff) expect: Correct

3.0.6fixedchanged

🐞 Bug Fixes Fix getMockedSystemTime for useFakeTimer - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7405 (03912) Compat for jest-image-snapshot - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/7390 (9542b) Ensur

3.0.5securityfixed

This release includes security patches for: Remote Code Execution when accessing a malicious website while Vitest API server is listening | CVE-2025-24964 πŸš€ Features ui: Insert message "no tests found" in ui - by @DevJoaoLopes in https://g

3.0.4securityfixedchanged

This release includes security patches for: Browser mode serves arbitrary files | CVE-2025-24963 🐞 Bug Fixes Filter projects eagerly during config resolution - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/

3.0.3fixedchanged

🐞 Bug Fixes browser: Don't throw a validation error if v8 coverage is used with filtered instances - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7306 (fa463) Don't fail when running --browser.headless if the browser proj

3.0.2fixed

🐞 Bug Fixes Don't await an empty timeout after every test - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7281 (ef1aa) expect: Fix expect().resolves/rejects chain typings - by @hi-ogawa in https://github.com/vitest-dev/vit

3.0.1fixedchanged

🐞 Bug Fixes Revert "fix: re-apply default conditions if using vite 6 or later (https://github.com/vitest-dev/vitest/issues/7071)" - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/7071 and https://github.com/vitest-dev/vites

3.0.0breakingaddedfixed

Vitest 3 is here! There are a few breaking changes, but we expect the migration to be smooth. This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation. 🚨 Breaking C