5.0.1
🚀 Features
- ui:
- Move trace attempts selector to viewer header - by @hi-ogawa, Hiroshi Ogawa and Codex in https://github.com/vitest-dev/vitest/issues/11189 (5dc4b)
- Add focused trace view layout mode - by @hi-ogawa, Hiroshi Ogawa, OpenCode (gpt-5.6-sol) and Codex in https://github.com/vitest-dev/vitest/issues/11190 (376dc)
🐞 Bug Fixes
- Exit 1 when vitest list fails collection - by @hamed-bavar in https://github.com/vitest-dev/vitest/issues/11145 and https://github.com/vitest-dev/vitest/issues/11146 (6108b)
- Keep parse error details in static collection - by @hamed-bavar in https://github.com/vitest-dev/vitest/issues/11150 and https://github.com/vitest-dev/vitest/issues/11151 (7c818)
- Avoid recursive prototype in automocking - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11195 (99fc5)
- Prevent false Vitest import resolution - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11196 (b426c)
- Keep metadata file when clearing the cache - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11199 (73614)
- Correct typos in error message and comments - by @shinji00222 and Shinji in https://github.com/vitest-dev/vitest/issues/11187 (115c3)
- Resolve ResolvedConfig exactOptionalPropertyTypes errors - by @LukeAbby in https://github.com/vitest-dev/vitest/issues/11175 (498fb)
- Share the server on self-referencing
extends- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11034 (23dda) - Warn when deprecated
deps.optimizer.webis used - by @im10furry in https://github.com/vitest-dev/vitest/issues/11214 (2ce29) - browser:
- Avoid double quotes in
config.define- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11198 (972e2)
- Avoid double quotes in
- doctor:
- Measure vm pools for custom environments - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11212 (91ab1)
- expect:
- Correct return value in
toMatchAriaSnapshot- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/11208 (c119b)
- Correct return value in
- fakeTimers:
- Force
queueMicrotaskandnextTickintoNotFake- by @kingmakeruix, kingmakeruix, Hiroshi Ogawa, Codex and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/11261 (a47d7)
- Force
- snapshot:
- Report obsolete keys next to skipped tests - by @hamed-bavar, Hiroshi Ogawa and OpenCode (gpt-5.6-sol) in https://github.com/vitest-dev/vitest/issues/11157 and https://github.com/vitest-dev/vitest/issues/11158 (17e2b)
- types:
- Make public declarations self-contained - by @ZoeySigel in https://github.com/vitest-dev/vitest/issues/11141 (45546)
- ui:
- Fix collapse/expand suite with file name search - by @hi-ogawa, Hiroshi Ogawa and Codex in https://github.com/vitest-dev/vitest/issues/11260 (0a712)
- Fix explorer file summary count - by @hi-ogawa, Hiroshi Ogawa, OpenCode (gpt-5.6-sol) and Codex in https://github.com/vitest-dev/vitest/issues/11125 (05982)
- utils:
- Fix
deepMergeto handle prototype - by @hi-ogawa, Hiroshi Ogawa and Codex in https://github.com/vitest-dev/vitest/issues/11215 (4944c)
- Fix