Packages

@vitest/expect

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

Upgrading @vitest/expect from 3.0.4 to 3.2.7

18 releases in betweenevery note read

Other targets from 3.0.4Latest5.0.5

Before you upgrade

Tick each one off as you go
  • deprecated3.2.0

Security

Release by release

  1. 3.2.7

    6 Jul 20261 fix
    • fixed

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

  2. 3.2.6

    1 Jun 20261 fix
    • fixed

      Pin last supported vite-node version

  3. 3.2.5

    1 Jun 20261 new · 1 fix
    • new

      api: Add allowWrite and allowExec options to api [backport to v3]

    • fixed

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

  4. 3.2.4

    17 Jun 202513 fixes
    • fixed

      Use correct path for optimisation of strip-literal

    • fixed

      Print uint and buffer as a simple string

    • fixed

      browser: Show a helpful error when spying on an export

    • fixed

      cli: vitest run --watch should be watch-mode

  5. 3.2.3

    9 Jun 20252 new · 7 fixes
    • new

      browser: Use base url instead of vitest

    • new

      ui: Show test annotations and metadata in the test report tab

    • fixed

      Rerun tests when project's setup file is changed

    • fixed

      Revert expect.any return type

  6. 3.2.2

    5 Jun 20251 new · 5 fixes
    • new

      Support rolldown-vite

    • fixed

      browser: Calculate prepare time from createTesters call on the main thread

    • fixed

      browser: Optimize build output and always prebundle vitest

    • fixed

      browser: Make custom locators available in vitest-browser-* packages

    • fixed

      expect: Ensure we can always self toEqual

    • fixed

      reporter: Allow dot reporter to work in non interactive terminals

  7. 3.2.1

    3 Jun 20253 fixes
    • fixed

      Use sha1 instead of md5 for hashing

    • fixed

      expect: Fix chai import in dts

    • fixed

      expect: Export DeeplyAllowMatchers

  8. 3.2.0

    2 Jun 202519 new · 28 fixes
    • new

      Provide ctx.signal

    • new

      Support custom colors for test.name

    • new

      Add vi.mockObject to automock any object

    • new

      Introduce watchTriggerPatterns option