🚨 Breaking Changes
- Verbose reporter prints tests in a list, introduce
tree
reporter - by @sheremet-va and @AriPerkkio in #8500 (25fd3) - Include shadow root contents in pretty-format output - by @wkillerud in #8545 (9e722)
- expect: Pass current equality testers to asymmetric matcher - by @hi-ogawa in #6825 (965ce)
- projects: Allow only files that have "vitest.config" or "vite.config" in the name - by @sheremet-va in #8542 (304bc)
🚀 Features
- Clickable dashboard numbers - by @shairez in #7406 (2344c)
- Display test "path" when filtering - by @userquin in #8547 (2e491)
🐞 Bug Fixes
- Custom expect messages for
expect.extend
matchers - by @lzl0304 in #8520 (96945) - Process sourcemaps for stack traces from
globalSetup
files - by @sheremet-va in #8534 (8978a) - Resolve performance issue when throwing errors with stackTraceLimit = 0 - by @Copilot, sheremet-va and @AriPerkkio in #8531 (6d5b5)
- Avoid recursively applying
$
and%
formatting totest.for/each
title - by @hi-ogawa in #8557 (ea6d7) - Replace wildcard exports
"./*"
with specific files in vitest package - by @hi-ogawa in #8560 (ce746) - Don't publish unused d.ts files - by @sheremet-va in #8562 (42dfd)
- browser: Don't import from
vite
directly - by @sheremet-va in #8541 (d7fca) - deps: Update all non-major dependencies - in #8550 (048f7)
- spy: Can respy on an exported method - by @sheremet-va in #8521 (bf450)
🏎 Performance
- Replace startsWith with strict equality - by @btea in #8546 (c42e6)
- Reduce the number of unused imports - by @sheremet-va in #8508 (9a79b)