note: no summary for this older release
We summarize recent releases. The original release notes for this version are below.
release-notesgithub.com/vitest-dev/vitest · 37 lines
- ### 🚨 Breaking Changes
- - Throw an error if hoistable methods are outside the top level scope - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10460 [<samp>(d0b4f)</samp>](https://github.com/vitest-dev/vitest/commit/d0b4fddcb)
- - `toHaveTextContent` is strict, add `toMatchTextContent` as alternative - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10473 [<samp>(18f30)</samp>](https://github.com/vitest-dev/vitest/commit/18f303079)
- - **benchmark**: Rewrite the public API - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10113 [<samp>(19f6e)</samp>](https://github.com/vitest-dev/vitest/commit/19f6e8947)
- - **browser**: Enable `locators.exact` by default - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10430 [<samp>(e2032)</samp>](https://github.com/vitest-dev/vitest/commit/e203202f9)
- ### 🚀 Features
- - **browser**: Show trace view steps in editor panel - by @hi-ogawa and **Codex** in https://github.com/vitest-dev/vitest/issues/10404 [<samp>(8c4b6)</samp>](https://github.com/vitest-dev/vitest/commit/8c4b6da02)
- - **reporter**: Support html reporter single file output - by @hi-ogawa, **Codex** and **Claude Opus 4.7 (1M context)** in https://github.com/vitest-dev/vitest/issues/10235 [<samp>(f757e)</samp>](https://github.com/vitest-dev/vitest/commit/f757ec5e6)
- ### 🐞 Bug Fixes
- - Preserve `vi.defineHelper` callsite for async error stack - by @macayu17 and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10415 [<samp>(ac697)</samp>](https://github.com/vitest-dev/vitest/commit/ac6971ca2)
- - Respect `disableConsoleIntercept` in browser mode - by @Copilot, **hi-ogawa**, @hi-ogawa and **Codex** in https://github.com/vitest-dev/vitest/issues/10391 [<samp>(66110)</samp>](https://github.com/vitest-dev/vitest/commit/66110d271)
- - ForceRerunTriggers uses directory globs against files - by @Patrick-Clausen and **Patrick Clausen** in https://github.com/vitest-dev/vitest/issues/10421 and https://github.com/vitest-dev/vitest/issues/10420 [<samp>(4fee2)</samp>](https://github.com/vitest-dev/vitest/commit/4fee2e303)
- - Unify typechecking and ast collection - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10449 [<samp>(af993)</samp>](https://github.com/vitest-dev/vitest/commit/af993b66b)
- - Don't print typecheck warning more than once - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10461 [<samp>(15275)</samp>](https://github.com/vitest-dev/vitest/commit/152750ec0)
- - Correct collumn when parsing tests - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10467 [<samp>(7c2fc)</samp>](https://github.com/vitest-dev/vitest/commit/7c2fc133e)
- - **browser**:
- - Fix stale source map on watch mode - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10389 [<samp>(6d772)</samp>](https://github.com/vitest-dev/vitest/commit/6d772c800)
- - Escape inline orchestrator scripts - by @hi-ogawa and **Codex** in https://github.com/vitest-dev/vitest/issues/10412 [<samp>(c22cf)</samp>](https://github.com/vitest-dev/vitest/commit/c22cfb656)
- - Disable client `cdp` API when `allowWrite/allowExec: false` - by @hi-ogawa and **Codex** in https://github.com/vitest-dev/vitest/issues/10444 [<samp>(63e3b)</samp>](https://github.com/vitest-dev/vitest/commit/63e3b2eee)
- - **mocker**:
- - Skip hoist transform without ast mock calls - by @hi-ogawa and **Codex** in https://github.com/vitest-dev/vitest/issues/10410 [<samp>(0468e)</samp>](https://github.com/vitest-dev/vitest/commit/0468e1572)
- - **ui**:
- - Fix module graph in browser mode with --ui - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10386 [<samp>(3003c)</samp>](https://github.com/vitest-dev/vitest/commit/3003c4327)
- - Render ANSI color codes in editor panel inline error widget - by @Copilot, **hi-ogawa** and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10418 [<samp>(766b8)</samp>](https://github.com/vitest-dev/vitest/commit/766b8d2fa)
- - **webdriverio**:
- - Allow gpu in headless chrome - by @rotempasharel1 in https://github.com/vitest-dev/vitest/issues/10376 [<samp>(f310a)</samp>](https://github.com/vitest-dev/vitest/commit/f310abe4e)
- ### 🏎 Performance
- - Improve performance in hot paths - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10446 [<samp>(03faf)</samp>](https://github.com/vitest-dev/vitest/commit/03faf6db6)
- ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v5.0.0-beta.3...v5.0.0-beta.4)