Packages

@vitest/spy

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

Upgrading @vitest/spy from 3.0.6 to 5.0.5

54 releases in betweenevery note read

Other targets from 3.0.6Newest 3.x3.2.7

Start here

Before you upgrade

Tick each one off as you go
  • breaking5.0.0
  • breaking5.0.0
  • breaking5.0.0
  • breaking5.0.0
  • breaking5.0.0
  • breaking5.0.0
  • breaking5.0.0
  • breaking5.0.0
  • breaking5.0.0
  • breaking5.0.0

Release by release

  1. 5.0.5

    15 Oct 20261 new · 14 fixes
    • new

      Add data to the import.meta.hot stub

    • fixed

      Keep vite default fs.deny with api token file

    • fixed

      Handle quoted file names in --changed

    • fixed

      Set skip in skipIf, ignore undefined options

  2. 5.0.4

    12 Oct 20268 new · 39 fixes
    • new

      experimental: Tag cache directories with CACHEDIR.TAG

    • new

      experimental: Support test.ui.theme option

    • new

      experimental: Highlight selector multiple matches in trace view

    • new

      experimental: Print how many tests were affected and a total when running --changed

  3. 5.0.3

    30 Sep 202618 fixes
    • fixed

      Isolate result.status between repeats runs

    • fixed

      Don't print an interceptor warning in browser mode

    • fixed

      Don't retry when test.fails expectedly failed

    • fixed

      Scope cache key generators to projects

  4. 5.0.2

    25 Sep 20269 fixes
    • fixed

      Bind process in case global is overwritten

    • fixed

      detect-async-leaks: Ignore process.stdio handles

    • fixed

      expect: Fix toMatchObject with asymmetric matchers

    • fixed

      jsdom: Fix Request with Blob body on jsdom 28+

  5. 5.0.1

    15 Sep 20262 new · 17 fixes
    • new

      ui: Move trace attempts selector to viewer header

    • new

      ui: Add focused trace view layout mode

    • fixed

      Exit 1 when vitest list fails collection

    • fixed

      Keep parse error details in static collection

  6. 5.0.0

    3 Sep 202663 new · 137 fixes
    • new

      Add createReport and .vitest report directory convention

    • new

      Expose default reporters through configDefaults.reporters

    • new

      Support merge reports for non-sharded multi-environment runs (take 2)

    • new

      Add logger.formatError

  7. 4.1.12

    15 Oct 20261 fix
    • fixed

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

  8. 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]

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