Packages

@vitejs/plugin-react

6.3.0 · 9 Nov 2026MIT142M / weekRepositoryHomepagenpmAtom feed

Upgrading @vitejs/plugin-react From 1.3.2 to 6.3.0

51 releases in betweennotes for 49

  1. 1.3.2yours
  2. 2.0.0major
  3. 3 releases
  4. 3.0.0major
  5. 2 releases
  6. 4.0.0major
  7. 20 releases
  8. 5.0.0major
  9. 10 releases
  10. 6.0.0major
  11. 10 releases
  12. 6.3.0target
6+
changes to make
0
advisories fixed
6+
new
11+
fixes

Counted from 49 of 51 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking6.0.0
  • Breaking4.0.0
  • Breaking4.0.0
  • Breaking3.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)

8 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
  • Silence "use client" warning (#144, fix #137)

    4.0.0
  • Vite 4.2 is required as a peer dependency

    4.0.0
  • Throw when refresh runtime is loaded twice (#108, fix #101)

    4.0.0

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