v5.0.0-beta.2
🚨 Breaking Changes
- Default
attachmentsDirfrom.vitest-attachements/to.vitest/attachments/- by @MdSadiqMd in https://github.com/vitest-dev/vitest/issues/10186 <samp>(1ba73)</samp> - Remove
sequentialtest/suite options in favor ofconcurrent- by @hi-ogawa and Codex in https://github.com/vitest-dev/vitest/issues/10198 <samp>(9229f)</samp> - Represent locator as an object instead of a string - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10212 <samp>(80f07)</samp>
- Inline
expectpackage - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10221 <samp>(ad162)</samp> - Remove deprecated entry points - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10222 <samp>(994c6)</samp>
- mocker: Deserialize automock as automock - by @nami8824 in https://github.com/vitest-dev/vitest/issues/10192 <samp>(2f892)</samp>
- reporters:
blobreporter and--merge-reportsdefault to.vitest/blob/- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10232 <samp>(d22b0)</samp>
🚀 Features
- Expose default reporters through
configDefaults.reporters- by @hi-ogawa and Claude Sonnet 4.6 in https://github.com/vitest-dev/vitest/issues/10219 <samp>(083f6)</samp> - Support merge reports for non-sharded multi-environment runs (take 2) - by @hi-ogawa, Claude Sonnet 4.6, Codex and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10031 <samp>(e60b2)</samp>
- Add
logger.formatError- by @hi-ogawa and Codex in https://github.com/vitest-dev/vitest/issues/10268 <samp>(2c5f3)</samp> - browser: Provide project reference in
ToMatchScreenshotResolvePath- by @macarie and @sheremet-va in https://github.com/vitest-dev/vitest/issues/10138 <samp>(16654)</samp> - coverage: V8 to track
node:child_processandnode:worker_threadscontexts - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9976 <samp>(9baa5)</samp> - junit-reporter: Add jest-junit-compatible naming options - by @neumaennl, neumaennl, @neumann4soft and Copilot in https://github.com/vitest-dev/vitest/issues/10189 <samp>(27393)</samp>
🐞 Bug Fixes
- Global
sequence.concurrent: truewith top-leveltest(..., { concurrent: false })+ depreactesequentialtest API and options - by @hi-ogawa, Codex and @sheremet-va in https://github.com/vitest-dev/vitest/issues/10194 <samp>(9387f)</samp> - Test
tagsoptions should overwrite inherited suite options + inherit suite options intaskAPI - by @hi-ogawa and Codex in https://github.com/vitest-dev/vitest/issues/10216 <samp>(457db)</samp> - Udpate optimize deps config - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10223 <samp>(95dc6)</samp>
- browser:
- Fix trace highlight of shadow dom on webdriverio - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10227 <samp>(b01af)</samp>
- deps:
- Update ivya to fix empty aria tree snapshot - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10218 <samp>(f7822)</samp>
- runner:
- Propagate chainable flags in describe.for - by @DORI2001, Dor Alagem and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10187 <samp>(db678)</samp>
- Limit concurrency per task branch in addition to per leaf callbacks - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10179 <samp>(3112a)</samp>
- snapshot:
- Treat empty string as valid snapshot - by @mayrang and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10188 <samp>(e145d)</samp>
- spy:
- Support private method spy types - by @cyphercodes in https://github.com/vitest-dev/vitest/issues/10172 and https://github.com/vitest-dev/vitest/issues/10213 <samp>(628ab)</samp>
View changes on GitHub
Fetched June 1, 2026