v4.0.10
📦 vitestView on GitHub →
🐛 8 fixes🔧 7 symbols
Summary
Vitest v4.0.10 includes several bug fixes across core, browser, Bun, pool, reporters, and UI components, improving stability and accuracy of test runs.
🐛 Bug Fixes
- Removed `onCancel` when a worker is terminated to prevent unexpected callbacks (fixes #9033).
- Browser: Disabled iframe scaling when UI is disabled (fixes #9018).
- Browser: Handled dependency stack traces with external source maps (fixes #9003, #9016).
- Bun: Added proper parsing of stack traces for the Bun runtime (fixes #9032).
- Core: Prevented starting a new test run when a cancellation is in progress (fixes #8991).
- Pool: Prevented writing to a closed worker to avoid errors (fixes #9023).
- Reporters: Corrected the reported test run duration at the end of a run (fixes #8969).
- UI: Used execution time from the WebSocket reporter (`onFinished`) for accurate display (fixes #8975).
🔧 Affected Symbols
onCancelbrowserbuncorepoolreportersui