@vitejs/plugin-react
6.3.0 · 9 Nov 2026MIT142M / weekRepositoryHomepagenpmAtom feed
Upgrading @vitejs/plugin-react From 4.0.4 to 6.3.0
39 releases in betweennotes for 37
- 3+
- changes to make
- 0
- advisories fixed
- 2+
- new
- ?
- fixes
Counted from 37 of 39 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
6.2.0 – 6.3.03 releases, nothing new or fixed in the notes
- Deprecated
compiler.logDiagnosticsoption is now deprecated and should be swapped for the builtincompiler.reportDiagnostics.
- Deprecated
6.0.1 – 6.1.17 releases, nothing new or fixed in the notes
- Breaking
Vite 7 and below are no longer supported.
- Breaking
5.0.1 – 5.2.010 releases, nothing new or fixed; 2 without a note
- Deprecated
Since this behavior is what
@vitejs/plugin-react-oxcdid,@vitejs/plugin-react-oxcis now deprecated and thedisableOxcRecommendationoption is removed.
- Deprecated
4.2.0 – 4.7.014 releases, nothing new or fixed in the notes
4 other lines we could not sort, mostly version bumps
- 4.1.0
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.ctsfile so you don't get types errors when settingmoduleResolutiontonode16ornodenextin your tsconfig (we recommend usingbundlerwhich is more close to how Vite works)
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.