Packages

@vitejs/plugin-react

6.1.2MIT
  • 6.1.2 is the latest, published 5 October 2026.
  • No known security advisory.
  • 6.x: 9 releases since 12 March 2026, 5 in the last 90 days.

Releases in the last 90 days

Feed of releases and advisories

Every stable release, newest first. Notes are quoted as the maintainers published them.

  1. 6.1.2

    5 October 2026
    Adding or removing a component from a compound component was not handled, creating stale updates. Doing this now triggers hmr invalidate on the file and propagates the invalidation to importers.

    Fix HMR for compound components

    Adding or removing a component from a compound component was not handled, creating stale updates. Doing this now triggers hmr invalidate on the file and propagates the invalidation to importers.

    Fix compiler.logDiagnostics option not working

    With oxc-transform-react >= 0.148, the logDiagnostics was not working. This version fixes it and requires oxc-transform-react >= 0.152 as a peer dependency if you are using the compiler option. compiler.logDiagnostics option is now deprecated and should be swapped for the builtin compiler.reportDiagnostics.

    Disable refresh for non-jsx with compiler enabled (fix #1478)

    When the compiler was enabled, TS files could trigger fast refresh which would cause runtime errors. The logic now follows what the builtin oxc plugin in Vite does.

  2. 6.1.1

    28 August 2026
    Recoverable React Compiler diagnostics are no longer logged by default. Set compiler.logDiagnostics to true to log them through Vite. Fatal diagnostics are always logged and fail the transform.

    Add compiler.logDiagnostics option

    Recoverable React Compiler diagnostics are no longer logged by default. Set compiler.logDiagnostics to true to log them through Vite. Fatal diagnostics are always logged and fail the transform.

    Respect environment sourcemap option for React Compiler transform when builder.sharedPlugins is enabled

    The React Compiler transform was using the top-level sourcemap option instead of the environment sourcemap option. This caused a problem when the experimental builder.sharedPlugins was enabled.

  3. 6.1.0

    20 August 2026
    Add experimental native React Compiler support.

    Add experimental native React Compiler support

    Add experimental native React Compiler support.

    You can use it by installing oxc-transform-react and enabling it via the compiler option:

    npm install -D oxc-transform-react
    import { defineConfig } from 'vite'
    import react from '@vitejs/plugin-react'
    
    export default defineConfig({
      plugins: [
         react({ compiler: true })
      ]
    })
  4. 6.0.5

    30 July 2026
    The improved filter in v6.0.3 was non-linear and caused a performance regression (#1349). The filter was changed to be linear to avoid that.

    Fixed the react compiler preset filter to be linear

    The improved filter in v6.0.3 was non-linear and caused a performance regression (#1349). The filter was changed to be linear to avoid that.

  5. 6.0.4

    22 July 2026
    When running vite dev with NODE_ENV=production, the app errored with $RefreshSig$ is not defined.

    Fixed $RefreshSig$ is not defined error when running vite dev with NODE_ENV=production

    When running vite dev with NODE_ENV=production, the app errored with $RefreshSig$ is not defined. This error is now fixed.

All 67 releases

Major versions

  • 6.xsince 12 March 2026 · latest 6.1.2 · 9 releases
  • 5.xsince 7 August 2025 · latest 5.2.0 · 11 releases
  • 4.xsince 20 April 2023 · latest 4.7.0 · 21 releases
  • 3.xsince 9 December 2022 · latest 3.1.0 · 3 releases
  • 2.xsince 13 July 2022 · latest 2.2.0 · 4 releases
  • 1.xsince 22 September 2021 · latest 1.3.2 · 19 releases

Quality and security signals

What npm and deps.dev say about the latest release. Signals, not a verdict.

Reading npm and deps.dev…

Registry facts last checked 15 October 2026. Releases and advisories last read 15 October 2026.

Know when your own dependencies move

Inlinr tracks your coding time automatically. Switch dependency tracking on for a project and it reads that repository's manifest to show what is behind and what has been deprecated — off by default, one project at a time.