Change8

v5.0.0-rc.2

📦 vitestView on GitHub →
1 features🐛 19 fixes🔧 10 symbols

Summary

This release introduces custom GitHub Actions summary titles and includes numerous bug fixes across various modules like browser, mocker, pool, and UI. It also updates non-major dependencies and improves error handling and reporting.

✨ New Features

  • Add custom GitHub Actions summary title to the reporter.

🐛 Bug Fixes

  • Revived global concurrency limit for test lifecycle.
  • Ensured post-restart rerun behavior and kept process.exit disabled in workers.
  • Preserved correct root during config resolution.
  • Triggered Playwright/Chromium garbage collection on lower disk availability.
  • Disallowed filter-only options in getBy* locators.
  • Fixed browser to fail instead of hanging when it stops responding.
  • Ensured graceful exit when the browser disconnects during cancellation.
  • Prevented redirection of vitest in client environment.
  • Updated all non-major dependencies.
  • Restricted redirect mocks to the fs allowlist.
  • Handled queued synchronous messages during worker initialization.
  • Reported worker exit instead of a pipe error that raced it.
  • Displayed test.name in the GitHub Actions reporter summary header.
  • Supported no-unsafe-eval CSP by evaluating snapshot files on the server.
  • Fixed code editor error and annotations gadgets layout shifts in the UI.
  • Synchronized watch-run UI state on file removal.
  • Required authentication for coverage report and all UI subtree requests.
  • Prevented crashes on malformed inline source maps.
  • Rendered non-Error causes from env setup to avoid dropping actual diagnostics.

Affected Symbols