Skip to content

Update dependency @vitejs/plugin-react to v6 - #184

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/vitejs-plugin-react-6.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/vitejs-plugin-react-6.x

Conversation

@renovate

@renovate renovate Bot commented Mar 16, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@vitejs/plugin-react (source) 5.1.3 → 6.1.2 age confidence

Release Notes

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

v6.1.2

Compare Source

Fix HMR for compound components (#​1484)

Adding or removing a component from a compound component was not handled, creating stale updates. Doing this now triggers hmr invalidate on the file and propagates the invalidation to importers.

Fix compiler.logDiagnostics option not working (#​1483)

With oxc-transform-react >= 0.148, the logDiagnostics was not working. This version fixes it and requires oxc-transform-react >= 0.152 as a peer dependency if you are using the compiler option. compiler.logDiagnostics option is now deprecated and should be swapped for the builtin compiler.reportDiagnostics.

Disable refresh for non-jsx with compiler enabled (fix #​1478) (#​1485)

When the compiler was enabled, TS files could trigger fast refresh which would cause runtime errors. The logic now follows what the builtin oxc plugin in Vite does.

v6.1.1

Compare Source

Add compiler.logDiagnostics option

Recoverable React Compiler diagnostics are no longer logged by default. Set compiler.logDiagnostics to true to log them through Vite. Fatal diagnostics are always logged and fail the transform.

Respect environment sourcemap option for React Compiler transform when builder.sharedPlugins is enabled (#​1439)

The React Compiler transform was using the top-level sourcemap option instead of the environment sourcemap option. This caused a problem when the experimental builder.sharedPlugins was enabled.

v6.1.0

Compare Source

Add experimental native React Compiler support (#​1419)

Add experimental native React Compiler support.

You can use it by installing oxc-transform-react and enabling it via the compiler option:

npm install -D oxc-transform-react
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

export default defineConfig({
  plugins: [
     react({ compiler: true })
  ]
})

v6.0.5

Compare Source

Fixed the react compiler preset filter to be linear (#​1353)

The improved filter in v6.0.3 was non-linear and caused a performance regression (#​1349). The filter was changed to be linear to avoid that.

v6.0.4

Compare Source

Fixed $RefreshSig$ is not defined error when running vite dev with NODE_ENV=production

When running vite dev with NODE_ENV=production, the app errored with $RefreshSig$ is not defined.
This error is now fixed.

v6.0.3

Compare Source

Improve the react compiler preset filter to reduce false-positives (#​1138)

Improved the filter in the react compiler babel preset to reduce the false-positives so that less modules are processed by the react compiler.

v6.0.2

Compare Source

Allow all options in reactCompilerPreset (#​1189)

This is a type only change. Only compilationMode and target options were available for reactCompilerPreset.

v6.0.1

Compare Source

Expand @rolldown/plugin-babel peer dep range (#​1146)

Expanded @rolldown/plugin-babel peer dep range to include ^0.2.0.

v6.0.0

Compare Source

v5.2.0

Compare Source

v5.1.4

Compare Source

Fix canSkipBabel not accounting for babel.overrides (#​1098)

When configuring babel.overrides without top-level plugins or presets, Babel was incorrectly skipped. The canSkipBabel function now checks for overrides.length to ensure override configurations are processed.


Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • Branch creation
    • Monday through Friday (* * * * 1-5)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, 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.

@renovate

renovate Bot commented Mar 16, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @convex-dev/workpool@0.4.14
npm error Found: vite@7.3.5
npm error node_modules/vite
npm error   dev vite@"7.3.5" from the root project
npm error
npm error Could not resolve dependency:
npm error peer vite@"^8.0.0" from @vitejs/plugin-react@6.1.2
npm error node_modules/@vitejs/plugin-react
npm error   dev @vitejs/plugin-react@"6.1.2" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-10-14T23_16_05_334Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-10-14T23_16_05_334Z-debug-0.log

@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 4 times, most recently from c156964 to 8789862 Compare March 18, 2026 10:07
@renovate renovate Bot changed the title chore(deps): update dependency @vitejs/plugin-react to v6 Update dependency @vitejs/plugin-react to v6 Mar 18, 2026
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 6 times, most recently from 5cd877b to e5ad1b2 Compare March 26, 2026 03:05
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 4 times, most recently from a762f1f to 935c38b Compare April 7, 2026 05:13
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 2 times, most recently from c822a4c to ba02a2e Compare April 14, 2026 10:27
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch from ba02a2e to a587ab1 Compare April 27, 2026 18:37
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 5 times, most recently from 4dc55a6 to c194695 Compare May 20, 2026 02:47
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 3 times, most recently from 3d4d14f to b8b67c5 Compare May 29, 2026 21:05
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch from b8b67c5 to d04dbed Compare May 29, 2026 22:43
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 2 times, most recently from c3f9e6e to de85efd Compare June 19, 2026 00:10
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch from 944c7b1 to 04e1008 Compare July 15, 2026 21:55
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 2 times, most recently from e4e0206 to 53bcedf Compare July 25, 2026 05:03
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 3 times, most recently from dd15301 to 8f575ae Compare August 2, 2026 14:11
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 6 times, most recently from f6d1939 to 720c2b2 Compare August 26, 2026 04:42
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 3 times, most recently from 7e62b97 to 653741d Compare September 1, 2026 06:51
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 5 times, most recently from 700d248 to df84cab Compare September 15, 2026 00:33
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch from df84cab to 5e661d3 Compare September 21, 2026 19:07
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 4 times, most recently from 796878f to b56631a Compare October 8, 2026 23:15
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch 3 times, most recently from 386e8d8 to 7022a18 Compare October 14, 2026 02:29
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-6.x branch from 7022a18 to 4610928 Compare October 14, 2026 23:16
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.

0 participants