Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @vitejs/plugin-react-swc to v3.7.0 #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 24, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vitejs/plugin-react-swc 3.3.0 -> 3.7.0 age adoption passing confidence

Release Notes

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

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.

v3.6.0

Compare Source

Add parserConfig option

This will unlock to use the plugin in some use cases where the original source code is not in TS. Using this option to keep using JSX inside .js files is highly discouraged and can be removed in any future version.

v3.5.0

Compare Source

Update peer dependency range to target Vite 5

There were no breaking change that impacted this plugin, so any combination of React plugins and Vite core version will work.

Align jsx runtime for optimized dependencies

This will only affect people using internal libraries that contains untranspiled JSX. This change aligns the optimizer with the source code and avoid issues when the published source don't have React in the scope.

Reminder: While being partially supported in Vite, publishing TS & JSX outside of internal libraries is highly discouraged.

v3.4.1

Compare Source

Add support for .mts (fixes #​161)

Using CJS in source code will not work in Vite (and will never be supported), so this is better to only use .ts.

But to better align with Vite core defaults, .mts extension will now be processed like .ts. This maybe reverted in a future major.

v3.4.0

Compare Source

  • Add devTarget option (fixes #​141)
  • Disable Fast Refresh based on config.server.hmr === false instead of process.env.TEST
  • Warn when plugin is in WebContainers (see #​118)
  • Better invalidation message when an export is added & fix HMR for export of nullish values (#​143)

v3.3.2

Compare Source

v3.3.1

Compare Source

  • Add type: module to package.json (#​101). Because the library already publish .cjs & .mjs files, the only change is for typing when using the node16 module resolution (fixes #​95)
  • Throw an error when the MDX plugin is after this one (#​100). This is an expected breaking change added in 3.2.0 and this should people that were using both plugins before this version to migrate.

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), 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. View repository job log here.

@renovate renovate bot changed the title Update dependency @vitejs/plugin-react-swc to v3.4.0 Update dependency @vitejs/plugin-react-swc to v3.4.1 Oct 30, 2023
@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from 6bd5b52 to bd90536 Compare October 30, 2023 13:27
@renovate renovate bot changed the title Update dependency @vitejs/plugin-react-swc to v3.4.1 Update dependency @vitejs/plugin-react-swc to v3.5.0 Nov 16, 2023
@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from bd90536 to dbd85da Compare November 16, 2023 15:27
@renovate renovate bot changed the title Update dependency @vitejs/plugin-react-swc to v3.5.0 Update dependency @vitejs/plugin-react-swc to v3.6.0 Jan 31, 2024
@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from dbd85da to bbe8d1f Compare January 31, 2024 16:47
@renovate renovate bot changed the title Update dependency @vitejs/plugin-react-swc to v3.6.0 Update dependency @vitejs/plugin-react-swc to v3.7.0 May 22, 2024
@renovate renovate bot force-pushed the renovate/vitejs-plugin-react-swc-3.x-lockfile branch from bbe8d1f to b9403de Compare May 22, 2024 23:03
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