Packages

@vitejs/plugin-react

6.3.0 · 9 Nov 2026MIT142M / weekRepositoryHomepagenpmAtom feed

Upgrading @vitejs/plugin-react From 4.0.0 to 6.3.0

43 releases in betweennotes for 41

Other targets from 4.0.0Newest 4.x4.7.0
  1. 4.0.0yours
  2. 20 releases
  3. 5.0.0major
  4. 10 releases
  5. 6.0.0major
  6. 10 releases
  7. 6.3.0target
3+
changes to make
0
advisories fixed
4+
new
2+
fixes

Counted from 41 of 43 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking6.0.0
  • Deprecated6.1.2
  • Deprecated5.0.0

Release by release

  1. 6.2.0 – 6.3.03 releases, nothing new or fixed in the notes

  2. 6.1.2

    Deprecation5 Oct 2026
    • Deprecated

      compiler.logDiagnostics option is now deprecated and should be swapped for the builtin compiler.reportDiagnostics.

  3. 6.0.1 – 6.1.17 releases, nothing new or fixed in the notes

  4. 6.0.0

    Migration needed12 Mar 2026
    • Breaking

      Vite 7 and below are no longer supported.

  5. 5.0.1 – 5.2.010 releases, nothing new or fixed; 2 without a note

  6. 5.0.0

    Deprecation7 Aug 2025
  7. 4.2.0 – 4.7.014 releases, nothing new or fixed in the notes

  8. 4.1.1

    2 Nov 20231 new
    • New

      Enable retainLines to get correct line numbers for jsxDev (fix #235)

5 other lines we could not sort, mostly version bumps
  • Improve build perf when not using Babel plugins by lazy loading @babel/core #212

    4.1.0
  • Better invalidation message when an export is added & fix HMR for export of nullish values #215

    4.1.0
  • Include non-dev jsx runtime in optimizeDeps & support HMR for JS files using the non dev runtime #224

    4.1.0
  • The build output now contains a index.d.cts file so you don't get types errors when setting moduleResolution to node16 or nodenext in your tsconfig (we recommend using bundler which is more close to how Vite works)

    4.1.0
  • Revert #108: Remove throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter.

    4.0.3

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.