Back to Explore

vitest-dev/vitest

GitHub
10 updates · last 90 days1 watchersOpen source

Last release: 1 week ago

Vitest is a next-generation JavaScript testing framework powered by Vite. It integrates with Vite’s configuration and plugins, provides Jest-compatible assertions and mocking, and supports features like smart watch mode, code coverage, DOM/browser testing modes, and running tests in the browser.

Project status

  • vitest-dev/vitest appears actively maintained, with a very recent upstream push on 2026-06-08 and multiple tagged updates on 2026-06-01 (v3.2.6, v5.0.0-beta.4, v4.1.8).
  • The apparent update cadence is fairly active, with several versioned updates clustered within the same day, and at least one additional commit/push about a week later.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v3.2.6

    1 week ago

    v3.2.6 primarily updates Vitest documentation and internals around Vite node compatibility, described in the release notes as pinning the last supported vite-node version. However, the code diff also introduces new API security controls (api.allowWrite, api.allowExec, and corresponding browser.api options) that change runtime behavior for API operations, file writes, test execution, and CDP access.

    BreakingSecurityFeatures
  • v5.0.0-beta.4

    1 week ago

    Vitest v5.0.0-beta.4 ships with several explicitly documented breaking changes around hoistable method placement, text-content matcher strictness, a major benchmark API rewrite, and browser locator behavior (locators.exact). The release notes also include new browser/UI and reporter features, plus multiple bug fixes and performance improvements. However, the provided diff indicates additional API and behavioral changes not mentioned in the release notes.

    BreakingFeatures
  • v3.2.5

    1 week ago

    v3.2.5 introduces new API permission options `allowWrite` and `allowExec` to control whether Vitest API clients can modify files and trigger test execution. The browser/UI side also enforces these permissions, including disabling privileged CDP usage when execution and/or write permissions are disabled.

    Features
  • v4.1.8

    1 week ago

    v4.1.8 is presented as a browser-mode bugfix release. The documented changes address CDP client behavior when write/exec permissions are disabled, and prevent an orphaned Playwright route when the same module is mocked under multiple ids.

  • v4.1.7

    2 weeks ago

    v4.1.7 is a small release focused on a runner concurrency fix. The change adjusts how Vitest limits parallel execution for concurrent suite children, aiming to prevent excessive overlap and improve lifecycle ordering.

  • v5.0.0-beta.3

    2 weeks ago

    Vitest v5.0.0-beta.3 introduces new browser tracing and diagnostics capabilities (notably trace markers customization and exposing console logs through the API). It also contains at least two documented breaking changes: higher runtime requirements (Node 22, Vite 6.4) and a stricter `expect.poll` timeout behavior. The diff shown in the repository, however, indicates additional API removals and type signature changes that are not mentioned in the release notes.

    BreakingFeatures
  • v4.1.6

    4 weeks ago

    Vitest v4.1.6 ships a set of bug fixes around browser screenshot utilities and global sequence concurrency behavior, plus a performance tweak to avoid redundant diff object stringification. It also deprecates the `test.sequential` and `describe.sequential` APIs in favor of using `concurrent: false`.

    Features
  • v5.0.0-beta.2

    1 month ago

    Vitest v5.0.0-beta.2 includes several breaking API and behavioral changes around concurrency, locator handling for browser commands, and default filesystem paths for attachments and blob reports. It also adds new config-driven behavior (exposing default reporters via configDefaults) and coverage improvements for Node child_process and worker_threads contexts. While the release notes cover the headline breaking changes, the diff also suggests additional user-visible behavior around blob report labeling that is not mentioned.

    BreakingFeatures
  • v5.0.0-beta.1

    1 month ago

    v5.0.0-beta.1 focuses on improved browser debugging and reporting, adding createReport support (with a standardized .vitest artifact directory convention) and an experimental browser.traceView mode that captures DOM snapshots for trace viewing. It also adds browser ARIA tree utilities and includes multiple documented breaking changes around assertion formatting, browser iframe scaling, and expect behavior.

    BreakingFeatures
  • v4.1.5

    1 month ago

    Vitest v4.1.5 ships an experimental coverage change for the Istanbul provider by adding support for a custom instrumenter factory. It also includes a set of bug fixes across reporters, assertions, snapshot output sizing, browser/web-worker behavior, and several UX/documentation improvements.

    Features