npm / @flakiness/vitest
@flakiness/vitest
What changed in @flakiness/vitest 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
5 breaking9 new APIs and options4 behavior and defaults6 tooling5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@flakiness/vitest 129 changes
Breaking changes 5
Switches to Vitest 5 by default.
Report titles are no longer auto-detected.
The open option was dropped.
Detects duplicate tests, with a default fail mode that surfaces the problem and a rename mode that auto-suffixes duplicates.
Supports Vitest 4.0+ through its new reporter API.
New APIs and options 9
GitLab pipelines can authenticate over OIDC for secretless uploads, using an id token whose audience matches the flakinessProject option.
Browser Mode visual regressions are captured via toMatchScreenshot().
Environment information is now included.
Tags are now supported.
Introduces a title option to name reports.
Automatically includes environment variables with this prefix in environment metadata.
First stable Flakiness.io reporter for Vitest; converts test results into reports that are saved locally and uploaded for tracking test flakiness.
Gives each Vitest project its own environment with separate history.
Configures whether the report opens in a browser on failure.
Behavior and default changes 4
When browser.screenshotFailures is enabled, the reporter captures failure screenshots in Browser Mode.
Syntax errors are reported as un-attributed errors.
Forwards test skip, todo, and fails annotations, as well as custom annotations.
Generates a fresh report for each test run in watch mode.
Tooling 6
Adds support for Vitest 5.
Detects run URLs for GitHub Actions, Azure DevOps, Jenkins, and GitLab CI.
Samples system utilization throughout the test run.
Supports GitHub OIDC authentication, with zero configuration in GitHub Actions.
Synthesizes per-retry attempts from Vitest diagnostics.
Records file, line, and column for tests, suites, and errors.
Fixes and other changes 5
Properly detects vitest.config.ts when using Vitest 5.
Tests marked as .fails are no longer reported as flaky.
Accounts for a Vitest stdio reporting bug.
The command output now properly detects pnpm when printing the show report command.
Reports are no longer created without environments.