Packages

vitest

5.1.1 · 18 Nov 2026MIT194M / weekRepositoryHomepagenpmAtom feed

Upgrading vitest From 1.1.1 to 3.2.6

52 releases in betweenevery note read

Other targets from 1.1.1Newest 1.x1.6.1Latest5.1.1
  1. 1.1.1yours
  2. 14 releases
  3. 2.0.0major
  4. 5 releases
  5. 2.1.0breaking
  6. 4 releases
  7. 2.1.5breaking
  8. 1 release
  9. 2.1.7breaking
  10. 2 releases
  11. 3.0.0major
  12. 3 releases
  13. 3.0.4security
  14. 3.0.5security
  15. 15 releases
  16. 3.2.6target

Start here

Before you upgrade

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

Security

Release by release

  1. 3.2.6

    1 Jun 20261 fix
    • Fixed

      Pin last supported vite-node version

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

  3. 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

  4. 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

  5. 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

  6. 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

  7. 3.2.0

    Deprecation2 Jun 202519 new · 28 fixes
    • Deprecated

      Deprecate workspace in favor of projects

    • New

      Provide ctx.signal

    • New

      Support custom colors for test.name

    • New

      Add vi.mockObject to automock any object

  8. 3.1.4nothing new or fixed in the note

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

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

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.