Skip to content

chore(deps)(deps-dev): bump @vitejs/plugin-react-swc from 3.11.0 to 4.3.0#88

Merged
adm01-debug merged 1 commit into
mainfrom
dependabot/npm_and_yarn/vitejs/plugin-react-swc-4.3.0
May 9, 2026
Merged

chore(deps)(deps-dev): bump @vitejs/plugin-react-swc from 3.11.0 to 4.3.0#88
adm01-debug merged 1 commit into
mainfrom
dependabot/npm_and_yarn/vitejs/plugin-react-swc-4.3.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Bumps @vitejs/plugin-react-swc from 3.11.0 to 4.3.0.

Release notes

Sourced from @​vitejs/plugin-react-swc's releases.

plugin-react-swc@4.3.0

Add Vite 8 to peerDependencies range #1142

This plugin is compatible with Vite 8.

plugin-react-swc@4.2.3

No release notes provided.

plugin-react-swc@4.2.2

Update code to support newer rolldown-vite (#978)

rolldown-vite will remove optimizeDeps.rollupOptions in favor of optimizeDeps.rolldownOptions soon. This plugin now uses optimizeDeps.rolldownOptions to support newer rolldown-vite. Please update rolldown-vite to the latest version if you are using an older version.

plugin-react-swc@4.2.1

Fix @vitejs/plugin-react-swc/preamble on build (#962)

plugin-react-swc@4.2.0

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

SSR applications can now initialize HMR runtime by importing @vitejs/plugin-react-swc/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.

Use SWC when useAtYourOwnRisk_mutateSwcOptions is provided (#951)

Previously, this plugin did not use SWC if plugins were not provided even if useAtYourOwnRisk_mutateSwcOptions was provided. This is now fixed.

plugin-react-swc@4.1.0

Set SWC cacheRoot options

This is set to {viteCacheDir}/swc and override the default of .swc.

Perf: simplify refresh wrapper generation (#835)

plugin-react-swc@4.0.1

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.

plugin-react-swc@4.0.0

(Same content as v4.0.0-beta.0 https://github.com/vitejs/vite-plugin-react/releases/edit/plugin-react-swc%404.0.0-beta.0)

Require Node 20.19+, 22.12+

This plugin now requires Node 20.19+ or 22.12+.

plugin-react-swc@4.0.0-beta.0

Require Node 20.19+, 22.12+

This plugin now requires Node 20.19+ or 22.12+.

Changelog

Sourced from @​vitejs/plugin-react-swc's changelog.

4.3.0 (2026-03-12)

Add Vite 8 to peerDependencies range #1142

This plugin is compatible with Vite 8.

4.2.3 (2026-02-02)

4.2.2 (2025-11-12)

Update code to support newer rolldown-vite (#978)

rolldown-vite will remove optimizeDeps.rollupOptions in favor of optimizeDeps.rolldownOptions soon. This plugin now uses optimizeDeps.rolldownOptions to support newer rolldown-vite. Please update rolldown-vite to the latest version if you are using an older version.

4.2.1 (2025-11-05)

Fix @vitejs/plugin-react-swc/preamble on build (#962)

4.2.0 (2025-10-24)

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

SSR applications can now initialize HMR runtime by importing @vitejs/plugin-react-swc/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.

Use SWC when useAtYourOwnRisk_mutateSwcOptions is provided (#951)

Previously, this plugin did not use SWC if plugins were not provided even if useAtYourOwnRisk_mutateSwcOptions was provided. This is now fixed.

4.1.0 (2025-09-17)

Set SWC cacheRoot options

This is set to {viteCacheDir}/swc and override the default of .swc.

Perf: simplify refresh wrapper generation (#835)

4.0.1 (2025-08-19)

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.

4.0.0 (2025-08-07)

4.0.0-beta.0 (2025-07-28)

Require Node 20.19+, 22.12+

This plugin now requires Node 20.19+ or 22.12+.

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​vitejs/plugin-react-swc since your current version.


Summary by CodeRabbit

  • Chores
    • Atualização de ferramentas de desenvolvimento

Review Change Stack

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 4, 2026

Labels

The following labels could not be found: automated, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 4, 2026

Warning

.coderabbit.yaml has a parsing error

The CodeRabbit configuration file in this repository has a parsing error and default settings were used instead. Please fix the error(s) in the configuration file. You can initialize chat with CodeRabbit to get help with the configuration file.

💥 Parsing errors (1)
Validation error: String must contain at most 250 character(s) at "tone_instructions"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ccb999e9-5e9f-4db2-8080-3f3f19014799

📥 Commits

Reviewing files that changed from the base of the PR and between b7074c5 and f3cb8a1.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json
✅ Files skipped from review due to trivial changes (1)
  • package.json

📝 Walkthrough

Walkthrough

Atualiza a devDependency @vitejs/plugin-react-swc em package.json de ^3.11.0 para ^4.3.0.

Changes

DevDependency bump

Layer / File(s) Summary
Dependency Change
package.json
devDependencies["@vitejs/plugin-react-swc"] alterado de ^3.11.0 para ^4.3.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Pulei no ramo do package.json,
Troquei números com cuidado e bom vizinho,
De três-um-um para quatro-três brinquei,
O build sorriu, então eu dancei,
Um rabinho feliz, eu celebro sozinho.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning A descrição fornecida é um sumário de dependências gerado automaticamente que inclui detalhes de release notes e changelog, mas não segue o template obrigatório do repositório que requer seções estruturadas. Preencha o template de descrição obrigatório incluindo: Descrição da mudança, Tipo de mudança (selecione 🔒 Segurança ou ⚡ Performance conforme aplicável), Como testar (npm run build, npm run dev com testes de HMR, npx tsc --noEmit), e Notas para o reviewer.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed O título descreve claramente a mudança principal: atualização da dependência de desenvolvimento @vitejs/plugin-react-swc de 3.11.0 para 4.3.0, sendo específico e relevante.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-swc-4.3.0 branch 2 times, most recently from cfe989a to e3740bd Compare May 6, 2026 22:22
Copy link
Copy Markdown
Owner

@coderabbitai full review


Generated by Claude Code

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 6, 2026

Tip

For best results, initiate chat on the files or code changes.

@adm01-debug Sure! I'll redo the full review of this PR now.

[full_review]

@adm01-debug
Copy link
Copy Markdown
Owner

🟠 Parecer técnico — TESTAR HMR/build antes de mergear

Tipo: npm dev dependency major (3.11.0 → 4.3.0)
Risco: Médio-Alto
Categoria: Build tool / Vite plugin core

@vitejs/plugin-react-swc é o motor de transformação JSX/TSX no Vite. Major bumps já causaram regressões (HMR quebrado, fast refresh perdido) em outros projetos.

Diff principal: @swc/core upgrade transitivo (de 1.7 → 1.13+ provável).

Verificação ESSENCIAL antes de mergear:

  • npm run build deve passar
  • npm run dev — testar HMR funcionando manualmente (editar um componente, ver atualização)
  • npx tsc --noEmit — nada a ver com o plugin mas confirma stack
  • ✅ Verificar se algum decorator/feature exotic é usado no código

Bloqueio atual: CI quebrado — aguardar #101.

— Claude (housekeeping de PRs, 08/05/2026)

Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc) from 3.11.0 to 4.3.0.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.3.0/packages/plugin-react-swc)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react-swc"
  dependency-version: 4.3.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-swc-4.3.0 branch from b7074c5 to f3cb8a1 Compare May 9, 2026 12:31
@dependabot dependabot Bot requested a review from adm01-debug as a code owner May 9, 2026 12:31
@vercel
Copy link
Copy Markdown

vercel Bot commented May 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
promo-gifts Ready Ready Preview, Comment May 9, 2026 0:32am

@adm01-debug adm01-debug merged commit 2bc921a into main May 9, 2026
21 of 24 checks passed
@adm01-debug adm01-debug deleted the dependabot/npm_and_yarn/vitejs/plugin-react-swc-4.3.0 branch May 9, 2026 14:52
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.

1 participant