Change8

v3.2.0-beta.3

📦 vitest
3 features🐛 11 fixes🔧 9 symbols

Summary

This release adds Temporal equality support, upgrades to Vite 7, and introduces a new onWritePath option for the GitHub Actions reporter, along with numerous bug fixes and improvements across browser, cache, coverage, expect, vite-node, and WebDriverIO.

✨ New Features

  • Initial support for Temporal equality (adds Temporal equality handling in assertions).
  • Support for Vite 7 (enables compatibility with Vite version 7).
  • Reporter: Add onWritePath option to the github-actions reporter (allows customizing the output path for GitHub Actions reports).

🐛 Bug Fixes

  • Throw an error if the typechecker fails to spawn.
  • Ignore non-string stack properties.
  • Apply browser CLI options only when the project config already has a browser set.
  • Browser: Run tests serially when the provider does not supply a mocker.
  • Browser: Resolve upload files relative to the project root.
  • Browser: Await mocker invalidation to avoid race condition with "mock wasn't registered" errors.
  • Cache: Preserve test results from previous runs.
  • Coverage: Fix missing coverage for browser + v8 in source tests.
  • Expect: Support type‑safe declaration of custom matchers.
  • Vite‑node: Add __vite_ssr_exportName__ global.
  • WebdriverIO: Do not scale the iframe (playwright and preview still scale it for better DX).

🔧 Affected Symbols

Temporal equality handling (expect module)Vite 7 compatibility layergithub-actions reporter (onWritePath option)browser provider logic (serial execution, upload path resolution, mocker invalidation)cache module (result preservation)coverage module (browser + v8 source handling)expect module (type‑safe custom matcher support)vite-node global __vite_ssr_exportName__webdriverio provider (iframe scaling)