Packages

@vitest/spy

5.0.5 · 15 Oct 2026MIT202.7M / weekRepositoryHomepagenpmAtom feed

Upgrading @vitest/spy from 4.0.18 to 4.1.12

13 releases in betweenevery note read

Other targets from 4.0.18Latest5.0.5

Before you upgrade

Tick each one off as you go
  • breaking4.1.0
  • deprecated4.1.0
  • deprecated4.1.0
  • deprecated4.1.0

Release by release

  1. 4.1.12

    15 Oct 20261 fix
    • fixed

      mocker: Harden manual and redirect mocks [backport to v4]

  2. 4.1.11

    18 Aug 20264 fixes
    • fixed

      Revive global concurrency limit for test lifecycle [backport to v4]

    • fixed

      browser: Encode iframeId in tester iframe URL [backport to v4]

    • fixed

      browser: Trigger playwright/chromium gc on lower disk availability [backport to v4]

    • fixed

      mocker: Restrict redirect mocks to the fs allowlist [backport to v4]

  3. 4.1.10

    6 Jul 20262 fixes
    • fixed

      browser: Check fs access in builtin commands [backport to v4]

    • fixed

      vm: Fix external module resolve error with deps optimizer query for encoded URI [backport to v4]

  4. 4.1.9

    15 Jun 20265 fixes
    • fixed

      Fix importOriginal with optimizer and query import [backport to v4] - by Hiroshi Ogawa, David Harris, Codexand Vladimir in #10546

    • fixed

      browser: Wait for orchestrator readiness before resolving browser sessions [backport to v4] - by Vladimir and Séamus O'Connor in #10555

    • fixed

      browser: Wait for iframe tester readiness before preparing [backport to v4] - by Vladimir and Séamus O'Connor in #10497 and #10556

    • fixed

      mocker: Hoist vi.mock() for vite-plus/test imports [backport to v4] - by Hiroshi Ogawa, LongYinan, Claude Opus 4.8 and Vladimir in #10548

    • fixed

      pool: Prevent test run hang on worker crash [backport to v4] - by Ari Perkkiö and Jattioui Ismail in #10543 and #10564

  5. 4.1.8

    1 Jun 20262 fixes
    • fixed

      browser: Disable client cdp API when allowWrite/allowExec: false [backport to v4]

    • fixed

      browser: Remove orphaned Playwright route when same module is mocked via multiple ids [backport to v4]

  6. 4.1.7

    20 May 20261 fix
    • fixed

      runner: Limit concurrency per task branch in addition to per leaf callbacks (backport)

  7. 4.1.6

    11 May 20261 new · 3 fixes
    • new

      Stringify diff objects only once

    • fixed

      browser: Provide project reference in ToMatchScreenshotResolvePath

    • fixed

      Global sequence.concurrent: true with top-level test(..., { concurrent: false }) + depreacte sequential test API and options

    • fixed

      browser: Simplify orchestrator otel carrier

  8. 4.1.5

    21 Apr 20261 new · 11 fixes
    • new

      coverage: Istanbul to support instrumenter option

    • fixed

      --project negation excludes browser instances

    • fixed

      Project color label on html reporter

    • fixed

      Fix vi.defineHelper called as object method

2 internal lines (docs, tests, tooling) left out.