Migrating to Vitest v4.0.0-beta.12
Version v4.0.0-beta.12 introduces 1 breaking change. This guide details how to update your code.
Released: 9/22/2025
1
Breaking Changes
1
Migration Steps
6
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
test()getSeedexpect.elementiframespyuiBreaking Changes
●Issue #1
Removed deprecated order parameter from test() API; update calls to test() to use the new argument order.
Migration Steps
- 1Remove usage of the deprecated order argument in test() calls.
Release Summary
Vitest v4.0.0-beta.12 adds a new getSeed API, Playwright tracing support, drops Node 18, and removes the deprecated order argument from test(), requiring code updates.
Need More Details?
View the full release notes and all changes for Vitest v4.0.0-beta.12.
View Full Changelog