4.1.22026-03-26T14:37:17Z
Release notesSecurity
- This release bumps Vitest's
flattedversion and removes version pinning to resolveflatted's CVE related issues (https://github.com/vitest-dev/vitest/issues/9975).
🐞 Bug Fixes
- Don't resolve
setupFilesfrom parent directory - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9960 (7aa93) - Ensure sequential mock/unmock resolution - by @hi-ogawa and Claude Opus 4.6 in https://github.com/vitest-dev/vitest/issues/9830 (7c065)
- browser: Take failure screenshot if
toMatchScreenshotcan't capture a stable screenshot - by @macarie in https://github.com/vitest-dev/vitest/issues/9847 (faace) - coverage: Correct
coverageConfigDefaultsvalues and types - by @Arthie in https://github.com/vitest-dev/vitest/issues/9940 (b3c99) - pretty-format: Fix output limit over counting - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/9965 (d3b7a)
- Disable colors if agent is detected - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/9851 (6f97b)