Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 29, 2025

Bumps @vitejs/plugin-react from 4.7.0 to 5.0.4.

Release notes

Sourced from @​vitejs/plugin-react's releases.

[email protected]

Perf: use native refresh wrapper plugin in rolldown-vite (#881)

[email protected]

HMR did not work for components imported with queries with rolldown-vite (#872)

Perf: simplify refresh wrapper generation (#835)

[email protected]

Skip transform hook completely in rolldown-vite in dev if possible (#783)

[email protected]

Set optimizeDeps.rollupOptions.transform.jsx instead of optimizeDeps.rollupOptions.jsx for rolldown-vite (#735)

optimizeDeps.rollupOptions.jsx is going to be deprecated in favor of optimizeDeps.rollupOptions.transform.jsx.

Perf: skip babel-plugin-react-compiler if code has no "use memo" when { compilationMode: "annotation" } (#734)

Respect tsconfig jsxImportSource (#726)

Fix reactRefreshHost option on rolldown-vite (#716)

Fix RefreshRuntime being injected twice for class components on rolldown-vite (#708)

Skip babel-plugin-react-compiler on non client environment (689)

[email protected]

(Same content as v5.0.0-beta.0 https://github.com/vitejs/vite-plugin-react/releases/tag/plugin-react%405.0.0-beta.0)

Use Oxc for react refresh transform in rolldown-vite

When used with rolldown-vite, this plugin now uses Oxc for react refresh transform.

Since this behavior is what @vitejs/plugin-react-oxc did, @vitejs/plugin-react-oxc is now deprecated and the disableOxcRecommendation option is removed.

Also, while @vitejs/plugin-react-oxc used the production JSX transform even for NODE_ENV=development build, @vitejs/plugin-react uses the development JSX transform for NODE_ENV=development build.

Allow processing files in node_modules

The default value of exclude options is now [/\/node_modules\//] to allow processing files in node_modules directory. It was previously [] and files in node_modules was always excluded regardless of the value of exclude option.

react and react-dom is no longer added to resolve.dedupe automatically

Adding values to resolve.dedupe forces Vite to resolve them differently from how Node.js does, which can be confusing and may not be expected. This plugin no longer adds react and react-dom to resolve.dedupe automatically.

If you encounter errors after upgrading, check your package.json for version mismatches in dependencies or devDependencies, as well as your package manager’s configuration. If you prefer the previous behavior, you can manually add react and react-dom to resolve.dedupe.

Remove old babel-plugin-react-compiler support that requires runtimeModule option

runtimeModule option is no longer needed in newer babel-plugin-react-compiler versions. Make sure to use a newer version of babel-plugin-react-compiler that supports target option.

... (truncated)

Changelog

Sourced from @​vitejs/plugin-react's changelog.

5.0.4 (2025-09-27)

Perf: use native refresh wrapper plugin in rolldown-vite (#881)

5.0.3 (2025-09-17)

HMR did not work for components imported with queries with rolldown-vite (#872)

Perf: simplify refresh wrapper generation (#835)

5.0.2 (2025-08-28)

Skip transform hook completely in rolldown-vite in dev if possible (#783)

5.0.1 (2025-08-19)

Set optimizeDeps.rollupOptions.transform.jsx instead of optimizeDeps.rollupOptions.jsx for rolldown-vite (#735)

optimizeDeps.rollupOptions.jsx is going to be deprecated in favor of optimizeDeps.rollupOptions.transform.jsx.

Perf: skip babel-plugin-react-compiler if code has no "use memo" when { compilationMode: "annotation" } (#734)

Respect tsconfig jsxImportSource (#726)

Fix reactRefreshHost option on rolldown-vite (#716)

Fix RefreshRuntime being injected twice for class components on rolldown-vite (#708)

Skip babel-plugin-react-compiler on non client environment (689)

5.0.0 (2025-08-07)

5.0.0-beta.0 (2025-07-28)

Use Oxc for react refresh transform in rolldown-vite

When used with rolldown-vite, this plugin now uses Oxc for react refresh transform.

Since this behavior is what @vitejs/plugin-react-oxc did, @vitejs/plugin-react-oxc is now deprecated and the disableOxcRecommendation option is removed.

Also, while @vitejs/plugin-react-oxc used the production JSX transform even for NODE_ENV=development build, @vitejs/plugin-react uses the development JSX transform for NODE_ENV=development build.

Allow processing files in node_modules

The default value of exclude options is now [/\/node_modules\//] to allow processing files in node_modules directory. It was previously [] and files in node_modules was always excluded regardless of the value of exclude option.

react and react-dom is no longer added to resolve.dedupe automatically

Adding values to resolve.dedupe forces Vite to resolve them differently from how Node.js does, which can be confusing and may not be expected. This plugin no longer adds react and react-dom to resolve.dedupe automatically.

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​vitejs/plugin-react since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 29, 2025
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 29, 2025
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from 07a4066 to c9eee52 Compare September 29, 2025 00:26
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from c9eee52 to 3d2090f Compare September 30, 2025 00:43
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from 3d2090f to 0ac9785 Compare October 1, 2025 00:29
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from 0ac9785 to 2499b43 Compare October 1, 2025 00:34
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from 2499b43 to d9872ad Compare October 2, 2025 00:17
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from d9872ad to b28b7a2 Compare October 3, 2025 00:19
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from b28b7a2 to e821011 Compare October 3, 2025 11:28
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from e821011 to f90da7c Compare October 7, 2025 00:21
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from f90da7c to 061b2e2 Compare October 9, 2025 11:16
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from 061b2e2 to d05381d Compare October 10, 2025 00:18
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from d05381d to 9f4498e Compare October 10, 2025 00:21
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from 9f4498e to 84501aa Compare October 10, 2025 08:21
@nmerget nmerget enabled auto-merge (squash) October 10, 2025 10:54
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from 84501aa to dd464b2 Compare October 14, 2025 00:21
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.7.0 to 5.0.4.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/[email protected]/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 5.0.4
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch from dd464b2 to 7814e24 Compare October 14, 2025 00:23
@nmerget nmerget merged commit 08ded13 into main Oct 14, 2025
6 checks passed
@nmerget nmerget deleted the dependabot-npm_and_yarn-react-tailwind-template-vitejs-plugin-react-5.0.4 branch October 14, 2025 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant