Packages

vitest

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

Upgrading vitest From 0.10.5 to 3.2.6

156 releases in betweenevery note read

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