Packages

vitest

5.1.1 · 18 Nov 2026MIT193.3M / weekRepositoryHomepagenpmAtom feed

Upgrading vitest From 0.12.0 to 3.2.6

154 releases in betweenevery note read

Other targets from 0.12.0Newest 0.x0.34.6Latest5.1.1
  1. 0.12.0yours
  2. 10 releases
  3. 0.13.0major
  4. 1 release
  5. 0.14.0major
  6. 2 releases
  7. 0.15.0major
  8. 2 releases
  9. 0.16.0major
  10. 0.17.0major
  11. 1 release
  12. 0.18.0major
  13. 1 release
  14. 0.19.0major
  15. 1 release
  16. 0.20.0major
  17. 3 releases
  18. 0.21.0major
  19. 1 release
  20. 0.22.0major
  21. 1 release
  22. 0.23.0major
  23. 3 releases
  24. 0.24.0major
  25. 5 releases
  26. 0.25.0major
  27. 8 releases
  28. 0.26.0major
  29. 3 releases
  30. 0.27.0major
  31. 3 releases
  32. 0.28.0major
  33. 5 releases
  34. 0.29.0major
  35. 8 releases
  36. 0.30.0major
  37. 1 release
  38. 0.31.0major
  39. 4 releases
  40. 0.32.0major
  41. 4 releases
  42. 0.33.0major
  43. 0.34.0major
  44. 6 releases
  45. 1.0.0major
  46. 20 releases
  47. 2.0.0major
  48. 15 releases
  49. 3.0.0major
  50. 3 releases
  51. 3.0.4security
  52. 3.0.5security
  53. 15 releases
  54. 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

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

    3.0.1
  • Most of deps. options are now moved to server.deps with a deprecation warning. Please, consider using deps.optimizer instead of deps.inline/deps.external. Ideally, we would like to move away from using server.deps.inline altogether.

    0.34.0

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