Skip to content

chore(deps): update dependency @vitejs/plugin-react-swc to v3.11.0#46

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

chore(deps): update dependency @vitejs/plugin-react-swc to v3.11.0#46
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/vitejs-plugin-react-swc-3.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Jul 18, 2024

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@vitejs/plugin-react-swc (source) 3.6.03.11.0 age confidence

Release Notes

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

v3.11.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()
  .map(p => ({ ...p, applyToEnvironment: e => e.name === 'client' }))

v3.10.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.

v3.10.1

Compare Source

Add explicit semicolon in preambleCode #​485

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

v3.10.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 preamble in Vitest browser mode #​478

This was causing annoying Sourcemap for "/@&#8203;react-refresh" points to missing source files and is unnecessary in test mode.

Skip HMR for JSX files with hooks #​480

This removes the HMR warning for hooks with JSX.

v3.9.0

Compare Source

Make compatible with rolldown-vite

This plugin is now compatible with rolldown-powered version of Vite.

v3.8.1

Compare Source

Remove WebContainers warning #​268

SWC is now supported in WebContainers 🎉

v3.8.0

Compare Source

Add useAtYourOwnRisk_mutateSwcOptions option

The future of Vite is with OXC, and from the beginning this was a design choice to not exposed too many specialties from SWC so that Vite React users can move to another transformer later.
Also debugging why some specific version of decorators with some other unstable/legacy feature doesn't work is not fun, so we won't provide support for it, hence the name useAtYourOwnRisk.

react({
  useAtYourOwnRisk_mutateSwcOptions(options) {
    options.jsc.parser.decorators = true;
    options.jsc.transform.decoratorVersion = "2022-03";
  },
});

v3.7.2

Compare Source

Add Vite 6 to peerDependencies range #​207

Thanks @​RobinTail

Revert throw when refresh runtime is loaded twice #​237

Revert the throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter.

This revert was done in the Babel plugin last year and I didn't port it back.

v3.7.1

Compare Source

Ignore directive sourcemap error #​231

v3.7.0

Compare Source

Support HMR for class components

This is a long overdue and should fix some issues people had with HMR when migrating from CRA.


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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title chore(deps): update dependency @vitejs/plugin-react-swc to v3.7.0 chore(deps): update dependency @vitejs/plugin-react-swc to v3.7.1 Sep 29, 2024
@renovate renovate Bot changed the title chore(deps): update dependency @vitejs/plugin-react-swc to v3.7.1 chore(deps): update dependency @vitejs/plugin-react-swc to v3.7.2 Nov 26, 2024
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch 2 times, most recently from a7cb943 to 74327bf Compare January 30, 2025 14:48
@renovate renovate Bot changed the title chore(deps): update dependency @vitejs/plugin-react-swc to v3.7.2 chore(deps): update dependency @vitejs/plugin-react-swc to v3.8.0 Feb 9, 2025
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 74327bf to b8d541a Compare February 9, 2025 00:47
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from b8d541a to 9c86eed Compare March 3, 2025 12:18
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch 3 times, most recently from 861168c to 6310df2 Compare March 17, 2025 12:45
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 6310df2 to 09f6852 Compare March 19, 2025 11:12
@renovate renovate Bot changed the title chore(deps): update dependency @vitejs/plugin-react-swc to v3.8.0 chore(deps): update dependency @vitejs/plugin-react-swc to v3.8.1 Mar 19, 2025
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 09f6852 to 8c25b19 Compare April 1, 2025 10:54
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch 2 times, most recently from 80069c6 to 14cc5f6 Compare April 15, 2025 11:07
@renovate renovate Bot changed the title chore(deps): update dependency @vitejs/plugin-react-swc to v3.8.1 chore(deps): update dependency @vitejs/plugin-react-swc to v3.9.0 Apr 15, 2025
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 14cc5f6 to d987ae6 Compare April 24, 2025 07:50
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch 2 times, most recently from 25809a8 to d9d22ca Compare May 23, 2025 03:08
@renovate renovate Bot changed the title chore(deps): update dependency @vitejs/plugin-react-swc to v3.9.0 chore(deps): update dependency @vitejs/plugin-react-swc to v3.10.0 May 23, 2025
@renovate renovate Bot changed the title chore(deps): update dependency @vitejs/plugin-react-swc to v3.10.0 chore(deps): update dependency @vitejs/plugin-react-swc to v3.10.1 Jun 5, 2025
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from d9d22ca to 53cd69a Compare June 5, 2025 22:38
@renovate renovate Bot changed the title chore(deps): update dependency @vitejs/plugin-react-swc to v3.10.1 chore(deps): update dependency @vitejs/plugin-react-swc to v3.10.2 Jun 10, 2025
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 53cd69a to 3fb2d88 Compare June 10, 2025 01:34
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 3fb2d88 to 5964e86 Compare June 22, 2025 13:57
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch 2 times, most recently from 9e61c4b to 51e8947 Compare July 18, 2025 05:12
@renovate renovate Bot changed the title chore(deps): update dependency @vitejs/plugin-react-swc to v3.10.2 chore(deps): update dependency @vitejs/plugin-react-swc to v3.11.0 Jul 18, 2025
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 51e8947 to 6db6d32 Compare August 10, 2025 14:01
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 6db6d32 to 2435ae0 Compare August 31, 2025 09:50
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 2435ae0 to 0ef21da Compare September 25, 2025 14:38
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 0ef21da to 612cc5a Compare October 21, 2025 09:35
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch 2 times, most recently from e127e77 to 6e97fa0 Compare November 18, 2025 12:56
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 6e97fa0 to dff4545 Compare December 3, 2025 17:26
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from dff4545 to d83c476 Compare December 31, 2025 16:34
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from d83c476 to 2e8a936 Compare January 23, 2026 20:00
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 2e8a936 to 027f881 Compare February 2, 2026 16:39
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 027f881 to 3b6a522 Compare March 5, 2026 19:49
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 3b6a522 to e529254 Compare April 15, 2026 19:13
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from e529254 to 5e125eb Compare April 29, 2026 10:02
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 5e125eb to 3f2c9d0 Compare May 12, 2026 17:35
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 3f2c9d0 to d5e8b5d Compare May 28, 2026 17:03
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from d5e8b5d to 82bff8a Compare June 13, 2026 03:03
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 82bff8a to 5ec58e4 Compare June 20, 2026 11:53
@renovate renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 5ec58e4 to 2b2159c Compare June 24, 2026 07:55
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