stack.pulse
#stacks/vitest/testing

Vitest release notes, breaking changes, and upgrade notes.

Next generation testing framework powered by Vite StackPulse turns upstream changelogs into scannable summaries with risky changes, deprecations, migration notes, and source links.

releases
7
breaking
3
security
0
deprecated
0
migrations
0

Get source-linked upgrade notes and occasional sponsor recommendations. No GitHub login required.

what stackpulse tracks

Vitest releases from GitHub

StackPulse watches Vitest release notes and keeps the original source link close to every summary.

upgrade risk

Breaking changes and deprecations

Risky changes are separated from normal feature notes so you can scan upgrade impact before changing production dependencies.

migration notes

Source-backed next steps

Migration steps and recommended actions are only shown when the upstream release notes support them.

# latest_releases

source-backed
v4.1.9mediumfeatureJun 16, 2026

v4.1.9

Bug fixes including import fixes with optimizer and query imports, browser session readiness improvements, and worker crash prevention.

affected

Users experiencing issues with import optimizations, browser testing readiness, or worker crashes will benefit from these fixes.

action

Update to v4.1.9 if experiencing related issues.

view source on github->
v5.0.0-beta.5highbreakingfeatureprereleaseJun 15, 2026

v5.0.0-beta.5

This release introduces several breaking changes, including changes to config file lookup, package inline, and browser session handling. New features include enhanced browser UI and CLI options, while bug fixes address issues with logging, imports, and test execution.

affected

Users relying on config file lookup from ancestor directories or using the `@vitest/runner` package will be affected.

action

Review breaking changes and update configurations accordingly.

release_signals
-Don't lookup config file from ancestor directories
-Inline `@vitest/runner` package, do not publish it anymore
-Allow mutating happy-dom/jsdom window object
-Expose `concurrencyId`/`workerId` on TestModule's diagnostics, make id 1-based
-Require `sessionId` for orchestrator html request
+Display nested mark trace in browser UI
+Add `--repeats` CLI option
+`thresholds.autoUpdate` to receive previous threshold as argument
view source on github->
v3.2.6lowJun 1, 2026

v3.2.6

This release primarily addresses a bug related to pinning the last supported vite-node version.

affected

Users relying on vite-node compatibility may be affected.

action

Update to ensure compatibility with the pinned vite-node version.

view source on github->
v5.0.0-beta.4highbreakingfeatureprereleaseJun 1, 2026

v5.0.0-beta.4

This release introduces several breaking changes, including stricter behavior for hoistable methods and `toHaveTextContent`, along with a rewritten benchmark API. New features include enhanced browser trace view steps and HTML reporter single file output.

affected

Developers using hoistable methods, `toHaveTextContent`, or the benchmark API are affected by breaking changes.

action

Review breaking changes and update code accordingly.

release_signals
-Throw an error if hoistable methods are outside the top-level scope
-`toHaveTextContent` is now strict; use `toMatchTextContent` as an alternative
-Rewritten benchmark public API
-Enabled `locators.exact` by default in browser mode
+Show trace view steps in the browser editor panel
+Support HTML reporter single file output
view source on github->
v3.2.5mediumfeatureJun 1, 2026

v3.2.5

This release introduces new options for the `api` module and fixes a bug related to the browser client's `cdp` API.

affected

Developers using the `api` module or browser client `cdp` API may be affected.

action

Update to v3.2.5 to benefit from the new features and bug fixes.

release_signals
+Added `allowWrite` and `allowExec` options to the `api` module.
view source on github->
v4.1.8lowJun 1, 2026

v4.1.8

This release focuses on bug fixes related to browser testing, including disabling the client `cdp` API under specific conditions and resolving issues with Playwright route handling.

affected

Users relying on Vitest for browser testing may be affected by the fixes.

action

Update to version 4.1.8 to benefit from the bug fixes.

view source on github->
v5.0.0-beta.3highbreakingfeatureprereleaseMay 19, 2026

v5.0.0-beta.3

This release introduces significant breaking changes, including requiring Node.js 22 and Vite 6.4, and adds new features like TypeScript build mode and improved browser testing capabilities. Several bug fixes and performance improvements are also included.

affected

Users must upgrade to Node.js 22 and Vite 6.4 to use this version.

action

Upgrade Node.js to version 22 and Vite to version 6.4.

release_signals
-Require Node.js 22 and Vite 6.4
-Fail `expect.poll` when function didn't resolve in time
+Support TypeScript build mode
+Expose logs recorded during the test
+Show aria tree on locator element error
+Support custom `kind` in `page.mark`
+Live update trace view on watch UI
view source on github->
Vitest release notes, breaking changes, and upgrade notes · StackPulse