unstale

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

@unstale/cli 0.2.0 on npm

@flakiness/vitest 129 changes

Breaking changes 5

  • Switches to Vitest 5 by default.

    1.10.1release notes

  • Report titles are no longer auto-detected.

    1.5.0release notes

  • The open option was dropped.

    1.1.0release notes

  • Detects duplicate tests, with a default fail mode that surfaces the problem and a rename mode that auto-suffixes duplicates.

    1.0.0release notes

  • Supports Vitest 4.0+ through its new reporter API.

    1.0.0release notes

New APIs and options 9

  • GitLab pipelines can authenticate over OIDC for secretless uploads, using an id token whose audience matches the flakinessProject option.

    1.9.0release notes

  • Browser Mode visual regressions are captured via toMatchScreenshot().

    1.9.0release notes

  • Environment information is now included.

    1.7.0release notes

  • Tags are now supported.

    1.6.0release notes

  • Introduces a title option to name reports.

    1.4.0release notes

  • Automatically includes environment variables with this prefix in environment metadata.

    1.0.0release notes

  • First stable Flakiness.io reporter for Vitest; converts test results into reports that are saved locally and uploaded for tracking test flakiness.

    1.0.0release notes

  • Gives each Vitest project its own environment with separate history.

    1.0.0release notes

  • Configures whether the report opens in a browser on failure.

    1.0.0release notes

Behavior and default changes 4

  • When browser.screenshotFailures is enabled, the reporter captures failure screenshots in Browser Mode.

    1.9.0release notes

  • Syntax errors are reported as un-attributed errors.

    1.2.0release notes

  • Forwards test skip, todo, and fails annotations, as well as custom annotations.

    1.0.0release notes

  • Generates a fresh report for each test run in watch mode.

    1.0.0release notes

Tooling 6

  • Adds support for Vitest 5.

    1.10.0release notes

  • Detects run URLs for GitHub Actions, Azure DevOps, Jenkins, and GitLab CI.

    1.0.0release notes

  • Samples system utilization throughout the test run.

    1.0.0release notes

  • Supports GitHub OIDC authentication, with zero configuration in GitHub Actions.

    1.0.0release notes

  • Synthesizes per-retry attempts from Vitest diagnostics.

    1.0.0release notes

  • Records file, line, and column for tests, suites, and errors.

    1.0.0release notes

Fixes and other changes 5

  • Properly detects vitest.config.ts when using Vitest 5.

    1.10.1release notes

  • Tests marked as .fails are no longer reported as flaky.

    1.9.2release notes

  • Accounts for a Vitest stdio reporting bug.

    1.9.1release notes

  • The command output now properly detects pnpm when printing the show report command.

    1.3.0release notes

  • Reports are no longer created without environments.

    1.2.0release notes