Releases Index

vitest

$npx @buildinternet/releases get vitest
Mon
Wed
Fri
NovDecJanFebMarAprMayJunJulAugSepOctNov
Less
More
Releases12Avg4/moVersionsv4.1.11 to v5.0.5
v5.1.0

New --last-failed flag runs only previously failed tests and --since-last-run limits runs to tests changed since the last execution, alongside fake timer support for node:timers and node:timers/promise and interactive failed-snapshot review. Fixed setup files not rerunning after --changed filtering and mock factories that form cycles later, and the browser mode default port changed to 23315.

Read more ↗
v5.0.5

Hook cleanups now run when a later hook fails, and mocks of finished test files are released to avoid leaks. Also abort all running tests on cancel, keep the Vite default fs.deny with an api token file, and fix browser-mode issues around global setup and closed sessions.

Read more ↗
v5.0.4

fsModuleCache is now enabled by default, and the trace viewer gains fit and zoom controls plus highlighting of multiple selector matches. Fixed coverage memory leaks, V8 browser leak between test files, module mock resolution in directories with spaces, and Map/Set deep equality in assertions.

Read more ↗
v5.0.3

Fixed result.status leaking between repeats runs and mock path boundary checks in browser mode, where configs of browser-consumed environments are now kept and the server listen is delayed until tests start. Also revalidates imports of cached modules and scopes cache key generators to projects.

Read more ↗
v5.0.1

vitest list now exits with code 1 when collection fails, parse error details are preserved in static collection, and deepMerge no longer mishandles prototypes. Also adds a focused trace view layout mode and a trace attempts selector in the UI header, plus a warning when the deprecated deps.optimizer.web is used.

Read more ↗

Vitest 5 is officially out! This release focuses on performance and brings a lot of new features while fixing long-standing bugs. See our blog post for the official announcement.    🚨 Breaking Changes Replace loupe.inspect with pretty-format  -  by…

Read more ↗
v5.0.0-rc.4

vitest list now parses files statically by default, replacing the previous behavior that relied on running the test files. Also promotes clearCache out of experimental, adds a link to open Playwright traces in the UI, and includes several bug fixes.

Read more ↗
v5.0.0-rc.3

parseSpecifications is no longer experimental. Coverage now uses @vitest/istanbuljs packages, and UI features include source-location highlighting and keyboard navigation for trace steps. Several bug fixes roll in across browser, coverage, snapshot, and worker handling.

Read more ↗
v4.1.11

Revived the global concurrency limit for test lifecycle in a backport to v4. Also backported fixes that encode iframeId in tester iframe URLs, trigger playwright/chromium gc on low disk availability, and restrict redirect mocks to the fs allowlist.

Read more ↗
v5.0.0-rc.2

Browser tests now fail instead of hanging when the browser stops responding, and the GitHub Actions reporter supports a custom summary title and displays test names. Multiple fixes across browser, pool, and UI, including requiring auth for coverage report requests and preserving the root during config resolution.

Read more ↗
v5.0.0-beta.7

Config resolution is now separated from server creation, a breaking change for programmatic usage. New features include a pluggable benchmark provider API, toggable injectCjsGlobals option, and performance improvements through warm modules, Node compile cache, and bundled dependencies.

Read more ↗
v5.0.0-beta.6

Mocks now clear by default before each test, and JSON and JUnit reporter output files are written to .vitest by default instead of the project root. The HTML reporter output also moves to .vitest. Added vi.when() for conditional mocking, support for mocking Temporal with updated @sinonjs/fake-timers, screenshotDirectory config for browser.expect.toMatchScreenshot, and webdriverio package removal. Plus fixes for per-project sequence config, coverage offset calculation, worker startup errors, and browser locator timeouts.

Read more ↗
Last Checked
1h ago
Latest
v5.1.0
Tracking since Sep 13, 2024