v5.0.0-rc.3
📦 vitestView on GitHub →
✨ 6 features🐛 14 fixes🔧 13 symbols
Summary
This release promotes parseSpecifications out of experimental and includes several improvements to the UI, coverage, and browser testing features. It also addresses various bug fixes and performance enhancements.
Migration Steps
- Update all non-major dependencies.
✨ New Features
- Promoted parseSpecifications out of experimental.
- Coverage: Switched to @vitest/istanbuljs packages.
- UI: Highlighted editor source locations.
- UI: Enabled navigation of trace steps with keyboard and removed indirect editor focus.
- UI: Persisted trace view selection in URL.
- UI: Added toggle for trace target highlight.
🐛 Bug Fixes
- Fixed combining multiple --project filters correctly.
- Fixed `recordArtifact` location with `vi.defineHelper`.
- Invalidated resolved setup files.
- Accepted awaited value in `vi.when thenResolve`.
- Ignored computed member calls in static collection.
- Browser: Prevented hanging when `ui: true` in projects.
- Browser: Preserved trace popover state.
- Coverage: V8 now ignores Vite SSR's generated import bindings.
- Snapshot: Rejected when `toMatchFileSnapshot` uses the same snapshot file as `toMatchSnapshot`.
- UI: Improved suite interaction and layout in the explorer tree.
- UI: Revealed explorer virtual scroller on resize.
- UI: Persisted trace step-iframe split pane sizes.
- VM: Fallback to compiling from source when a module's code cache is rejected.
- Worker: Bound stdio's early in case overridden.