v5.0.0-rc.2Pre-release
Added 1
- Add custom GitHub Actions summary title to reporter
Changed 1
- Update all non-major dependencies
Fixed 17
- Revive global concurrency limit for test lifecycle
- Own the post-restart rerun, keep process.exit disabled in workers
- Preserve correct root during resolve config
- Trigger playwright/chromium gc on lower disk availability
- Disallow filter-only options in getBy* locators
- Fail instead of hanging when the browser stops responding
- Exit gracefully when the browser disconnects during cancellation
- Don't redirect vitest in client environment
- Restrict redirect mocks to the fs allowlist
- Worker init to handle queued synchronous messages
- Report the worker exit instead of a pipe error that raced it
- Display test.name in GitHub Actions reporter summary header
- Support no-unsafe-eval CSP by evaluating snapshot files on server
- Fix code editor error and annotations gadgets layout shifts
- Synchronize watch-run UI state on file removal
- Don't crash on a malformed inline source map
- Render non-Error causes from env setup so the actual diagnostic is not dropped
Security 1
- Require auth for coverage report and all UI subtree requests
From Vitest
🚀 Features
- reporter: Add custom GitHub Actions summary title - by @heyJonBray and @macarie in https://github.com/vitest-dev/vitest/issues/10891 (4363c)
🐞 Bug Fixes
- Revive global concurrency limit for test lifecycle - by @hi-ogawa, Hiroshi Ogawa, OpenCode (claude-opus-4-8) and @sheremet-va in https://github.com/vitest-dev/vitest/issues/10928 (cf917)
- Own the post-restart rerun, keep
process.exitdisabled in workers - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10963 (5e69a) - Preserve correct root during resolve config - by @AriPerkkio and @sheremet-va in https://github.com/vitest-dev/vitest/issues/10909 (210ba)
- browser:
- Trigger playwright/chromium gc on lower disk availability - by @hi-ogawa, Hiroshi Ogawa and OpenCode (claude-opus-4-8) in https://github.com/vitest-dev/vitest/issues/10912 (032d3)
- Disallow filter-only options in getBy* locators - by @arjun2075 in https://github.com/vitest-dev/vitest/issues/10295 and https://github.com/vitest-dev/vitest/issues/10933 (9b4df)
- Fail instead of hanging when the browser stops responding - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10956 (c496c)
- Exit gracefully when the browser disconnects during cancellation - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10962 (67e84)
- Don't redirect vitest in client environment - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10975 (aeb67)
- deps:
- Update all non-major dependencies - in https://github.com/vitest-dev/vitest/issues/10966 (65263)
- mocker:
- Restrict redirect mocks to the fs allowlist - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10972 (8ff9b)
- pool:
- Worker init to handle queued synchronous messages - by @lazerg and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/10932 (76096)
- Report the worker exit instead of a pipe error that raced it - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10964 (59a03)
- reporters:
- Display
test.namein GitHub Actions reporter summary header - by @macarie in https://github.com/vitest-dev/vitest/issues/10887 (49e24)
- Display
- snapshot:
- Support no-unsafe-eval CSP by evaluating snapshot files on server - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10665 (667c1)
- ui:
- Fix code editor error and annotations gadgets layout shifts - by @hi-ogawa, Hiroshi Ogawa and OpenCode (claude-opus-4-8) in https://github.com/vitest-dev/vitest/issues/10969 (438ed)
- Synchronize watch-run UI state on file removal - by @hi-ogawa, Hiroshi Ogawa and OpenCode (claude-opus-4-8) in https://github.com/vitest-dev/vitest/issues/10941 (30c21)
- Require auth for coverage report and all UI subtree requests - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/10971 (5622f)
- utils:
- Don't crash on a malformed inline source map - by @lazerg, Hiroshi Ogawa, OpenCode (claude-opus-4-8) and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/10892 and https://github.com/vitest-dev/vitest/issues/10893 (fe790)
- vitest:
- Render non-Error causes from env setup so the actual diagnostic is not dropped - by @spokodev in https://github.com/vitest-dev/vitest/issues/10567 (b298d)