Change8

v4.1.4

📦 vitestView on GitHub →
4 features🐛 4 fixes🔧 4 symbols

Summary

This release introduces several experimental features, including changes to coverage reporting and JSON reporter options, alongside fixes for terminal output contrast and import hoisting behavior.

✨ New Features

  • Default to text reporter `skipFull` if agent detected in coverage settings.
  • Expose `assertion` as a public field (experimental).
  • Support aria snapshot (experimental).
  • Add `filterMeta` option to json reporter (experimental).

🐛 Bug Fixes

  • Use "black" foreground for labeled terminal message to ensure contrast.
  • Make `expect(..., message)` consistent as error message prefix.
  • Do not hoist imports whose names match class properties.
  • Spread user server options into browser Vite server in project for browser testing.

Affected Symbols