Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 26, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Change Age Confidence
@vitejs/plugin-react (source) 4.3.4 -> 4.7.0 age confidence

Release Notes

vitejs/vite-plugin-react (@​vitejs/plugin-react)

v4.7.0

Compare Source

Add HMR support for compound components (#​518)

HMR now works for compound components like this:

const Root = () => <div>Accordion Root</div>
const Item = () => <div>Accordion Item</div>

export const Accordion = { Root, Item }
Return Plugin[] instead of PluginOption[] (#​537)

The return type has changed from react(): PluginOption[] to more specialized type react(): Plugin[]. This allows for type-safe manipulation of plugins, for example:

// previously this causes type errors
react({ babel: { plugins: ['babel-plugin-react-compiler'] } })
  .map(p => ({ ...p, applyToEnvironment: e => e.name === 'client' }))

v4.6.0

Compare Source

Add raw Rolldown support

This plugin only worked with Vite. But now it can also be used with raw Rolldown. The main purpose for using this plugin with Rolldown is to use react compiler.

v4.5.2

Compare Source

Suggest @vitejs/plugin-react-oxc if rolldown-vite is detected #​491

Emit a log which recommends @vitejs/plugin-react-oxc when rolldown-vite is detected to improve performance and use Oxc under the hood. The warning can be disabled by setting disableOxcRecommendation: false in the plugin options.

Use optimizeDeps.rollupOptions instead of optimizeDeps.esbuildOptions for rolldown-vite #​489

This suppresses the warning about optimizeDeps.esbuildOptions being deprecated in rolldown-vite.

Add Vite 7-beta to peerDependencies range #​497

React plugins are compatible with Vite 7, this removes the warning when testing the beta.

v4.5.1

Compare Source

Add explicit semicolon in preambleCode #​485

This fixes an edge case when using HTML minifiers that strips line breaks aggressively.

v4.5.0

Compare Source

Add filter for rolldown-vite #​470

Added filter so that it is more performant when running this plugin with rolldown-powered version of Vite.

Skip HMR for JSX files with hooks #​480

This removes the HMR warning for hooks with JSX.

v4.4.1

Compare Source

Fix type issue when using moduleResolution: "node" in tsconfig #​462

v4.4.0

Compare Source

Make compatible with rolldown-vite

This plugin is now compatible with rolldown-powered version of Vite.
Note that currently the __source property value position might be incorrect. This will be fixed in the near future.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.


This change is Reviewable

@coderabbitai
Copy link

coderabbitai bot commented Jun 26, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@socket-security
Copy link

socket-security bot commented Jun 26, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​vitejs/​plugin-react@​4.3.4 ⏵ 4.7.010010010095100

View full report

@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-4.x-lockfile branch from fed082a to cef1533 Compare July 2, 2025 15:42
@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-4.x-lockfile branch from cef1533 to 634d286 Compare July 18, 2025 05:49
@renovate renovate bot changed the title Update dependency @vitejs/plugin-react to v4.6.0 Update dependency @vitejs/plugin-react to v4.7.0 Jul 18, 2025
@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-4.x-lockfile branch 2 times, most recently from 792a0db to 800e14b Compare August 8, 2025 09:43
@socket-security
Copy link

socket-security bot commented Aug 8, 2025

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-4.x-lockfile branch 2 times, most recently from e3b8ccb to e14ca9c Compare August 13, 2025 15:28
@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-4.x-lockfile branch from e14ca9c to 0fabe10 Compare August 19, 2025 18:41
@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-4.x-lockfile branch from 0fabe10 to d5c03b8 Compare August 31, 2025 11:02
@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-4.x-lockfile branch from d5c03b8 to 5192cd2 Compare September 25, 2025 19:48
@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-4.x-lockfile branch from 5192cd2 to 534e6f5 Compare September 27, 2025 05:17
@renovate
Copy link
Contributor Author

renovate bot commented Sep 27, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant