Skip to content

Commit 6ea9398

Browse files
authored
feat: add Vite 7-beta to peerDependencies range (#497)
1 parent 6db7e7c commit 6ea9398

File tree

6 files changed

+15
-4
lines changed

6 files changed

+15
-4
lines changed

packages/plugin-react-oxc/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Add Vite 7-beta to peerDependencies range [#497](https://github.com/vitejs/vite-plugin-react/pull/497)
6+
7+
React plugins are compatible with Vite 7, this removes the warning when testing the beta.
8+
59
## 0.2.1 (2025-06-03)
610

711
### Add explicit semicolon in preambleCode [#485](https://github.com/vitejs/vite-plugin-react/pull/485)

packages/plugin-react-oxc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"homepage": "https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme",
4242
"peerDependencies": {
43-
"vite": "^6.3.0"
43+
"vite": "^6.3.0 || ^7.0.0-beta.0"
4444
},
4545
"devDependencies": {
4646
"@vitejs/react-common": "workspace:*",

packages/plugin-react-swc/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ Emit a log which recommends `@vitejs/plugin-react-oxc` when `rolldown-vite` is d
1010

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

13+
### Add Vite 7-beta to peerDependencies range [#497](https://github.com/vitejs/vite-plugin-react/pull/497)
14+
15+
React plugins are compatible with Vite 7, this removes the warning when testing the beta.
16+
1317
## 3.10.1 (2025-06-03)
1418

1519
### Add explicit semicolon in preambleCode [#485](https://github.com/vitejs/vite-plugin-react/pull/485)

packages/plugin-react-swc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@swc/core": "^1.11.31"
3434
},
3535
"peerDependencies": {
36-
"vite": "^4 || ^5 || ^6"
36+
"vite": "^4 || ^5 || ^6 || ^7.0.0-beta.0"
3737
},
3838
"devDependencies": {
3939
"@playwright/test": "^1.52.0",

packages/plugin-react/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@
66

77
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.
88

9-
109
### Use `optimizeDeps.rollupOptions` instead of `optimizeDeps.esbuildOptions` for rolldown-vite [#489](https://github.com/vitejs/vite-plugin-react/pull/489)
1110

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

13+
### Add Vite 7-beta to peerDependencies range [#497](https://github.com/vitejs/vite-plugin-react/pull/497)
14+
15+
React plugins are compatible with Vite 7, this removes the warning when testing the beta.
16+
1417
## 4.5.1 (2025-06-03)
1518

1619
### Add explicit semicolon in preambleCode [#485](https://github.com/vitejs/vite-plugin-react/pull/485)

packages/plugin-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"react-refresh": "^0.17.0"
5757
},
5858
"peerDependencies": {
59-
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0"
59+
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0-beta.0"
6060
},
6161
"devDependencies": {
6262
"@vitejs/react-common": "workspace:*",

0 commit comments

Comments
 (0)