Skip to content

chore(deps): bump @astrojs/react from 6.0.6 to 7.0.1 - #207

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/astrojs/react-7.0.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/astrojs/react-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @astrojs/react from 6.0.6 to 7.0.1.

Release notes

Sourced from @​astrojs/react's releases.

@​astrojs/react@​7.0.1

Patch Changes

@​astrojs/react@​7.0.0

Major Changes

  • #17951 e5b0ac4 Thanks @​hanford! - Migrates the React integration to @vitejs/plugin-react v6, using Oxc for JSX and Fast Refresh. Removes the babel integration option; projects with custom Babel transforms must configure @rolldown/plugin-babel under vite.plugins instead.

    Adds an opt-in compiler option for the Oxc-based React Compiler. Install oxc-transform-react and enable it in your Astro config:

    import react from '@astrojs/react';
    export default {
    integrations: [react({ compiler: true })],
    };

    The compiler memoizes client components and hooks. Server rendering is not compiled. The target defaults to the installed React major version; React 17 and 18 projects also need react-compiler-runtime installed. Pass an options object to configure the compiler, for example compiler: { compilationMode: 'annotation' }. The integration's include and exclude options apply, and dependencies and Astro files are excluded.

    Migrating custom Babel transforms

    The integration uses @vitejs/plugin-react v6 and Oxc for JSX and Fast Refresh. The babel integration option has been removed in this major release.

    If you use custom Babel transforms, install @rolldown/plugin-babel and @babel/core, keeping your existing Babel plugins and presets installed:

    pnpm add -D @rolldown/plugin-babel @babel/core

    Move your Babel plugins and presets from react({ babel: ... }) to babel() in vite.plugins. For example, migrate a project using babel-plugin-styled-components from:

    import react from '@astrojs/react';
    import { defineConfig } from 'astro/config';
    export default defineConfig({
    integrations: [react({ babel: { plugins: ['babel-plugin-styled-components'] } })],
    });

    To:

    import react from '@astrojs/react';
    import babel from '@rolldown/plugin-babel';
    import { defineConfig } from 'astro/config';

... (truncated)

Changelog

Sourced from @​astrojs/react's changelog.

7.0.1

Patch Changes

7.0.0

Major Changes

  • #17951 e5b0ac4 Thanks @​hanford! - Migrates the React integration to @vitejs/plugin-react v6, using Oxc for JSX and Fast Refresh. Removes the babel integration option; projects with custom Babel transforms must configure @rolldown/plugin-babel under vite.plugins instead.

    Adds an opt-in compiler option for the Oxc-based React Compiler. Install oxc-transform-react and enable it in your Astro config:

    import react from '@astrojs/react';
    export default {
    integrations: [react({ compiler: true })],
    };

    The compiler memoizes client components and hooks. Server rendering is not compiled. The target defaults to the installed React major version; React 17 and 18 projects also need react-compiler-runtime installed. Pass an options object to configure the compiler, for example compiler: { compilationMode: 'annotation' }. The integration's include and exclude options apply, and dependencies and Astro files are excluded.

    Migrating custom Babel transforms

    The integration uses @vitejs/plugin-react v6 and Oxc for JSX and Fast Refresh. The babel integration option has been removed in this major release.

    If you use custom Babel transforms, install @rolldown/plugin-babel and @babel/core, keeping your existing Babel plugins and presets installed:

    pnpm add -D @rolldown/plugin-babel @babel/core

    Move your Babel plugins and presets from react({ babel: ... }) to babel() in vite.plugins. For example, migrate a project using babel-plugin-styled-components from:

    import react from '@astrojs/react';
    import { defineConfig } from 'astro/config';
    export default defineConfig({
    integrations: [react({ babel: { plugins: ['babel-plugin-styled-components'] } })],
    });

    To:

    import react from '@astrojs/react';

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 28, 2026
@dependabot dependabot Bot changed the title chore(deps): bump @astrojs/react from 6.0.6 to 7.0.0 chore(deps): bump @astrojs/react from 6.0.6 to 7.0.1 Oct 11, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/astrojs/react-7.0.0 branch from 1857fb9 to 828d720 Compare October 11, 2026 08:54
Bumps [@astrojs/react](https://github.com/withastro/astro/tree/HEAD/packages/integrations/react) from 6.0.6 to 7.0.1.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/react/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/react@7.0.1/packages/integrations/react)

---
updated-dependencies:
- dependency-name: "@astrojs/react"
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/astrojs/react-7.0.0 branch from 828d720 to dd18970 Compare October 11, 2026 15:02
@CaesiumY

Copy link
Copy Markdown
Owner

#219로 대체해 main에 반영했습니다(@astrojs/react 7.0.1).

@CaesiumY CaesiumY closed this Oct 12, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/astrojs/react-7.0.0 branch October 12, 2026 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant