Update dependency @vitejs/plugin-react to v6.3.0 #122

Open
renovate-bot wants to merge 1 commit from renovate/vitejs-plugin-react-6.x into main
Collaborator

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vitejs/plugin-react (source) 6.0.3 → 6.3.0 age adoption passing confidence

Release Notes

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

v6.3.0

Compare Source

Make reactCompilerPreset work with @rolldown/plugin-babel's parallel option (#​1549)

reactCompilerPreset now refers to its Babel preset by module path instead of by function, so it can be sent to worker threads.

v6.2.1

Compare Source

Fix refreshInclude and refreshExclude options not working (#​1543)

Fix mistake from #​1516

v6.2.0

Compare Source

Add refreshInclude and refreshExclude options (#​1516)

Add refreshInclude and refreshExclude options to skip fast refresh for certain files that won't run in the browser.

Expand oxc-transform-react peer dependency range (#​1540)

The peer dependency version range for oxc-transform-react was expanded from ^0.152.0 to >=0.152.0 <0.157.0.

Expand @rolldown/plugin-babel peer dependency range (#​1541)

The peer dependency version range for @rolldown/plugin-babel was expanded from ^0.1.7 || ^0.2.0 to ^0.1.7 || ^0.2.0 || ^0.3.0.

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.


Configuration

📅 Schedule: (UTC)

  • 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 has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme) ([source](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react)) | [`6.0.3` → `6.3.0`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react/6.0.3/6.3.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-react/6.3.0?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-react/6.3.0?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-react/6.0.3/6.3.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-react/6.0.3/6.3.0?slim=true) | --- ### Release Notes <details> <summary>vitejs/vite-plugin-react (@&#8203;vitejs/plugin-react)</summary> ### [`v6.3.0`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#630-2026-11-09) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/29efd1cc6d875185f91a3325beb981bb45af876f...0e95069a8f90489da74371c9ad35dfc619c1b72e) ##### Make `reactCompilerPreset` work with `@rolldown/plugin-babel`'s `parallel` option ([#&#8203;1549](https://github.com/vitejs/vite-plugin-react/pull/1549)) `reactCompilerPreset` now refers to its Babel preset by module path instead of by function, so it can be sent to worker threads. ### [`v6.2.1`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#621-2026-11-02) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/d0f72340cf4e6572363548ae039d92f059e4ceb0...29efd1cc6d875185f91a3325beb981bb45af876f) ##### Fix `refreshInclude` and `refreshExclude` options not working ([#&#8203;1543](https://github.com/vitejs/vite-plugin-react/pull/1543)) Fix mistake from [#&#8203;1516](https://github.com/vitejs/vite-plugin-react/issues/1516) ### [`v6.2.0`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#620-2026-11-02) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/ac47648e17674299accb51816e9e33b8a7b07b05...d0f72340cf4e6572363548ae039d92f059e4ceb0) ##### Add `refreshInclude` and `refreshExclude` options ([#&#8203;1516](https://github.com/vitejs/vite-plugin-react/pull/1516)) Add `refreshInclude` and `refreshExclude` options to skip fast refresh for certain files that won't run in the browser. ##### Expand `oxc-transform-react` peer dependency range ([#&#8203;1540](https://github.com/vitejs/vite-plugin-react/pull/1540)) The peer dependency version range for `oxc-transform-react` was expanded from `^0.152.0` to `>=0.152.0 <0.157.0`. ##### Expand `@rolldown/plugin-babel` peer dependency range ([#&#8203;1541](https://github.com/vitejs/vite-plugin-react/pull/1541)) The peer dependency version range for `@rolldown/plugin-babel` was expanded from `^0.1.7 || ^0.2.0` to `^0.1.7 || ^0.2.0 || ^0.3.0`. ### [`v6.1.2`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#612-2026-10-05) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/04cac5020e349f452d76c5a4f6d788ad4b38930a...ac47648e17674299accb51816e9e33b8a7b07b05) ##### Fix HMR for compound components ([#&#8203;1484](https://github.com/vitejs/vite-plugin-react/pull/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 ([#&#8203;1483](https://github.com/vitejs/vite-plugin-react/pull/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 [#&#8203;1478](https://github.com/vitejs/vite-plugin-react/issues/1478)) ([#&#8203;1485](https://github.com/vitejs/vite-plugin-react/pull/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`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#611-2026-08-28) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/39b31735bf79c2dd380eedaba7ed849256f92a29...04cac5020e349f452d76c5a4f6d788ad4b38930a) ##### 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 ([#&#8203;1439](https://github.com/vitejs/vite-plugin-react/pull/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`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#610-2026-08-19) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/68c0cb8796ce18bd049c3d05c5210eaf0617eac0...39b31735bf79c2dd380eedaba7ed849256f92a29) ##### Add experimental native React Compiler support ([#&#8203;1419](https://github.com/vitejs/vite-plugin-react/pull/1419)) Add experimental native React Compiler support. You can use it by installing `oxc-transform-react` and enabling it via the `compiler` option: ```sh npm install -D oxc-transform-react ``` ```js import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' export default defineConfig({ plugins: [ react({ compiler: true }) ] }) ``` ### [`v6.0.5`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#605-2026-07-30) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/f4b549822ec239799d746c030abb0b9a7d8f0a04...68c0cb8796ce18bd049c3d05c5210eaf0617eac0) ##### Fixed the react compiler preset filter to be linear ([#&#8203;1353](https://github.com/vitejs/vite-plugin-react/pull/1353)) The improved filter in v6.0.3 was non-linear and caused a performance regression ([#&#8203;1349](https://github.com/vitejs/vite-plugin-react/issues/1349)). The filter was changed to be linear to avoid that. ### [`v6.0.4`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#604-2026-07-22) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/640fd358a0e82393acfce4e92e19a6ac6e1641a7...f4b549822ec239799d746c030abb0b9a7d8f0a04) ##### 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. </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjQuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjY1LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImZyb250ZW5kIiwicmVub3ZhdGUiXX0=-->
renovate-bot force-pushed renovate/vitejs-plugin-react-6.x from 0969d93a24 to 92fc5ed315 2026-07-31 06:01:11 +01:00 Compare
renovate-bot changed title from Update dependency @vitejs/plugin-react to v6.0.4 to Update dependency @vitejs/plugin-react to v6.0.5 2026-07-31 06:01:13 +01:00
renovate-bot force-pushed renovate/vitejs-plugin-react-6.x from 92fc5ed315 to 368110cd9d 2026-08-20 06:02:08 +01:00 Compare
renovate-bot changed title from Update dependency @vitejs/plugin-react to v6.0.5 to Update dependency @vitejs/plugin-react to v6.1.0 2026-08-20 06:02:10 +01:00
renovate-bot force-pushed renovate/vitejs-plugin-react-6.x from 368110cd9d to 1806f8140a 2026-08-28 06:01:33 +01:00 Compare
renovate-bot changed title from Update dependency @vitejs/plugin-react to v6.1.0 to Update dependency @vitejs/plugin-react to v6.1.1 2026-08-28 06:01:36 +01:00
renovate-bot force-pushed renovate/vitejs-plugin-react-6.x from 1806f8140a to 4dd4d815e6 2026-10-06 06:02:27 +01:00 Compare
renovate-bot changed title from Update dependency @vitejs/plugin-react to v6.1.1 to Update dependency @vitejs/plugin-react to v6.1.2 2026-10-06 06:02:29 +01:00
renovate-bot force-pushed renovate/vitejs-plugin-react-6.x from 4dd4d815e6 to 48bfbcc4cf 2026-11-03 05:01:55 +00:00 Compare
renovate-bot changed title from Update dependency @vitejs/plugin-react to v6.1.2 to Update dependency @vitejs/plugin-react to v6.2.1 2026-11-03 05:01:55 +00:00
renovate-bot force-pushed renovate/vitejs-plugin-react-6.x from 48bfbcc4cf to 8638ab9d14 2026-11-10 05:03:09 +00:00 Compare
renovate-bot changed title from Update dependency @vitejs/plugin-react to v6.2.1 to Update dependency @vitejs/plugin-react to v6.3.0 2026-11-10 05:03:12 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'renovate/vitejs-plugin-react-6.x:renovate/vitejs-plugin-react-6.x'
git switch 'renovate/vitejs-plugin-react-6.x'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'renovate/vitejs-plugin-react-6.x'
git switch 'renovate/vitejs-plugin-react-6.x'
git rebase 'main'
git switch 'main'
git merge --ff-only 'renovate/vitejs-plugin-react-6.x'
git switch 'renovate/vitejs-plugin-react-6.x'
git rebase 'main'
git switch 'main'
git merge --no-ff 'renovate/vitejs-plugin-react-6.x'
git switch 'main'
git merge --squash 'renovate/vitejs-plugin-react-6.x'
git switch 'main'
git merge --ff-only 'renovate/vitejs-plugin-react-6.x'
git switch 'main'
git merge 'renovate/vitejs-plugin-react-6.x'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MobiusReactor/TicTacToeV2!122
No description provided.