Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 16, 2025

This PR contains the following updates:

Package Change Age Confidence
@vitejs/plugin-react (source) ^4.3.4 -> ^5.1.0 age confidence
vite (source) ^6.0.11 -> ^7.1.12 age confidence
vitest (source) ^2.1.8 -> ^4.0.4 age confidence

Release Notes

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

v5.1.0

Compare Source

Add @vitejs/plugin-react/preamble virtual module for SSR HMR (#​890)

SSR applications can now initialize HMR runtime by importing @vitejs/plugin-react/preamble at the top of their client entry instead of manually calling transformIndexHtml. This simplifies SSR setup for applications that don't use the transformIndexHtml API.

Fix raw Rolldown support for Rolldown 1.0.0-beta.44+ (#​930)

Rolldown 1.0.0-beta.44+ removed the top-level jsx option in favor of transform.jsx. This plugin now uses the transform.jsx option to support Rolldown 1.0.0-beta.44+.

v5.0.4

Compare Source

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

v5.0.3

Compare Source

HMR did not work for components imported with queries with rolldown-vite (#​872)
Perf: simplify refresh wrapper generation (#​835)

v5.0.2

Compare Source

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

v5.0.1

Compare Source

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)

v5.0.0

Compare Source

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: true 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.

vitejs/vite (vite)

v7.1.12

Compare Source

Please refer to CHANGELOG.md for details.

v7.1.11

Compare Source

Bug Fixes
Miscellaneous Chores
Code Refactoring
Build System

v7.1.10

Compare Source

Bug Fixes
Documentation
Miscellaneous Chores

v7.1.9

Compare Source

Reverts

v7.1.8

Compare Source

Bug Fixes
Documentation
Miscellaneous Chores

v7.1.7

Compare Source

Bug Fixes
  • build: fix ssr environment emitAssets: true when sharedConfigBuild: true (#​20787) (4c4583c)
  • client: use CSP nonce when rendering error overlay (#​20791) (9bc9d12)
  • deps: update all non-major dependencies (#​20811) (9f2247c)
  • glob: handle glob imports from folders starting with dot (#​20800) (105abe8)
  • hmr: trigger prune event when import is removed from non hmr module (#​20768) (9f32b1d)
  • hmr: wait for import.meta.hot.prune callbacks to complete before running other HMRs (#​20698) (98a3484)

v7.1.6

Compare Source

Bug Fixes
  • deps: update all non-major dependencies (#​20773) (88af2ae)
  • esbuild: inject esbuild helper functions with minified $ variables correctly (#​20761) (7e8e004)
  • fallback terser to main thread when nameCache is provided (#​20750) (a679a64)
  • types: strict env typings fail when skipLibCheck is false (#​20755) (cc54e29)
Miscellaneous Chores

v7.1.5

Compare Source

Bug Fixes

v7.1.4

Compare Source

Bug Fixes
Miscellaneous Chores
Code Refactoring

v7.1.3

Compare Source

Features
Bug Fixes
Performance Improvements
Miscellaneous Chores
Code Refactoring
Tests

v7.1.2

Compare Source

Bug Fixes
Miscellaneous Chores

v7.1.1

Compare Source

Bug Fixes
Miscellaneous Chores
Code Refactoring
Build System

v7.1.0

Compare Source

Features
Bug Fixes
Performance Improvements
Miscellaneous Chores
Code Refactoring
Tests
Beta Changelogs
7.1.0-beta.1 (2025-08-05)

See 7.1.0-beta.1 changelog

7.1.0-beta.0 (2025-07-30)

See 7.1.0-beta.0 changelog

v7.0.8

Compare Source

Please refer to CHANGELOG.md for details.

v7.0.7

Compare Source

Please refer to CHANGELOG.md for details.

v7.0.6

Compare Source

Features
Bug Fixes
Performance Improvements
Miscellaneous Chores
Code Refactoring
Tests
Beta Changelogs
7.1.0-beta.1 (2025-08-05)

See 7.1.0-beta.1 changelog

7.1.0-beta.0 (2025-07-30)

See 7.1.0-beta.0 changelog

v7.0.5

Compare Source

Bug Fixes
Miscellaneous Chores
Code Refactoring

v7.0.4

Compare Source

Bug Fixes
  • allow resolving bare specifiers to relative paths for entries (#​20379) (324669c)
Build System

v7.0.3

Compare Source

Bug Fixes

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 added the maintenance All improvements that are not visible to users label Jan 16, 2025
@renovate renovate bot force-pushed the renovate/major-vite branch 5 times, most recently from 2ddcb44 to cef14a4 Compare January 23, 2025 14:18
@renovate renovate bot force-pushed the renovate/major-vite branch from cef14a4 to 67e9cb5 Compare February 3, 2025 18:39
@renovate renovate bot force-pushed the renovate/major-vite branch 2 times, most recently from cf6a3b7 to 7e90a26 Compare February 24, 2025 22:07
@renovate renovate bot force-pushed the renovate/major-vite branch from 7e90a26 to f489710 Compare March 6, 2025 19:32
@renovate renovate bot force-pushed the renovate/major-vite branch from f489710 to 08d6343 Compare March 17, 2025 16:41
@renovate renovate bot force-pushed the renovate/major-vite branch from 08d6343 to ae9845b Compare March 31, 2025 11:41
@renovate renovate bot force-pushed the renovate/major-vite branch from ae9845b to 0fd3327 Compare April 21, 2025 10:57
@renovate renovate bot force-pushed the renovate/major-vite branch from 0fd3327 to 5f11297 Compare May 5, 2025 15:41
@renovate renovate bot force-pushed the renovate/major-vite branch from 5f11297 to f1bb4c6 Compare May 19, 2025 17:27
@renovate renovate bot force-pushed the renovate/major-vite branch 3 times, most recently from b1b0b63 to c136bef Compare June 5, 2025 15:11
@renovate renovate bot force-pushed the renovate/major-vite branch from c136bef to 317f0a7 Compare June 9, 2025 17:16
@renovate renovate bot force-pushed the renovate/major-vite branch 2 times, most recently from 48588f9 to ba1383e Compare June 24, 2025 13:33
@renovate renovate bot changed the title chore(deps): update dependency vitest to v3 chore(deps): update vite (major) Jun 24, 2025
@renovate renovate bot force-pushed the renovate/major-vite branch 3 times, most recently from e554f53 to b63a490 Compare July 8, 2025 14:40
@renovate renovate bot force-pushed the renovate/major-vite branch 2 times, most recently from 322ff9b to 270051b Compare July 17, 2025 05:58
@renovate renovate bot force-pushed the renovate/major-vite branch from 270051b to 8f2417c Compare July 24, 2025 09:02
@renovate renovate bot force-pushed the renovate/major-vite branch 2 times, most recently from 8ec520e to 7acb2df Compare August 8, 2025 01:43
@renovate renovate bot force-pushed the renovate/major-vite branch 3 times, most recently from e4f63fd to eba5797 Compare August 13, 2025 13:57
@renovate renovate bot force-pushed the renovate/major-vite branch 2 times, most recently from c065889 to 5c3939c Compare August 19, 2025 11:10
@renovate renovate bot force-pushed the renovate/major-vite branch 2 times, most recently from cb79e22 to 1f63376 Compare August 31, 2025 13:07
@renovate renovate bot force-pushed the renovate/major-vite branch 2 times, most recently from eed2b07 to f56f7db Compare September 8, 2025 11:38
@renovate renovate bot force-pushed the renovate/major-vite branch 3 times, most recently from 832fd4a to 03b2e4f Compare September 22, 2025 10:28
@renovate renovate bot force-pushed the renovate/major-vite branch 3 times, most recently from dfaf932 to edde748 Compare October 2, 2025 11:09
@renovate renovate bot force-pushed the renovate/major-vite branch from edde748 to 41c1467 Compare October 3, 2025 01:49
@renovate renovate bot force-pushed the renovate/major-vite branch 3 times, most recently from 241b2ce to 676c0b6 Compare October 21, 2025 16:47
@renovate renovate bot force-pushed the renovate/major-vite branch 4 times, most recently from ff9711d to f9fa68d Compare October 24, 2025 21:52
@renovate renovate bot force-pushed the renovate/major-vite branch from f9fa68d to 29d27be Compare October 27, 2025 15:37
@okaryo okaryo closed this Oct 28, 2025
@okaryo okaryo deleted the renovate/major-vite branch October 28, 2025 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance All improvements that are not visible to users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants