Packages

@vitest/expect

5.0.5 · 15 Oct 2026MIT151.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @vitest/expect from 1.0.2 to 5.0.5

95 releases in betweennotes for 91

Other targets from 1.0.2Newest 1.x1.6.1
123+
changes to make
0
advisories fixed
392+
new
1108+
fixes

Counted from 91 of 95 release notes. Advisories are counted from the advisory database, in full.

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

Security

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]

1 other line we could not sort, mostly version bumps
  • Revert "fix: re-apply default conditions if using vite 6 or later (#7071)"

    3.0.1

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