You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new container-renderer entrypoint exporting getContainerRenderer() has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used.
If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the getContainerRenderer() import for React:
- import { getContainerRenderer } from '@astrojs/react';+ import { getContainerRenderer } from '@astrojs/react/container-renderer';
Importing getContainerRenderer() from the package root still works, but is now deprecated and logs a warning.
Patch Changes
#17027241250b Thanks @ocavue! - Triggers beta prereleases for packages that are still on alpha
A new container-renderer entrypoint exporting getContainerRenderer() has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used.
If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the getContainerRenderer() import for React:
- import { getContainerRenderer } from '@astrojs/react';+ import { getContainerRenderer } from '@astrojs/react/container-renderer';
Importing getContainerRenderer() from the package root still works, but is now deprecated and logs a warning.
A new container-renderer entrypoint exporting getContainerRenderer() has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used.
If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the getContainerRenderer() import for React:
- import { getContainerRenderer } from '@astrojs/react';+ import { getContainerRenderer } from '@astrojs/react/container-renderer';
Importing getContainerRenderer() from the package root still works, but is now deprecated and logs a warning.
Patch Changes
#17027241250b Thanks @ocavue! - Triggers beta prereleases for packages that are still on alpha
A new container-renderer entrypoint exporting getContainerRenderer() has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used.
If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the getContainerRenderer() import for React:
- import { getContainerRenderer } from '@astrojs/react';+ import { getContainerRenderer } from '@astrojs/react/container-renderer';
Importing getContainerRenderer() from the package root still works, but is now deprecated and logs a warning.
This PR bumps @astrojs/react across a major version (5.0.7 → 6.0.1). The major change is an upgrade to Vite v8 internals, which appears in the lockfile as a new transitive vite@8.1.5 dependency. This repo uses @astrojs/react as a direct Astro integration in src/nimbus/astro-config.ts and imports its server renderer in src/nimbus/util/container.ts for experimental Astro Container rendering. The new container-renderer entrypoint is not relevant because getContainerRenderer() is not used here. There are no documented removed APIs that affect the callsites, but the Vite major-version change carries internal build/rendering risk, so a successful build and a spot-check of a rendered React/MDX page should be verified before merging.
Package details
@astrojs/react: 5.0.7 → 6.0.1
Type: breaking change Dependency type: direct
What changed
Major: upgraded integration internals to Vite v8 (lockfile now pulls in vite@8.1.5 as a transitive dependency).
Minor: added a dedicated @astrojs/react/container-renderer entrypoint for getContainerRenderer(); importing from the package root is deprecated but still works.
Patch (6.0.1): updated @astrojs/internal-helpers to 0.10.1.
Usage in this repo
Used directly as an Astro integration imported as react from '@astrojs/react' in src/nimbus/astro-config.ts (via the root astro.config.ts integrations array), and as a server renderer imported from @astrojs/react/server.js in src/nimbus/util/container.ts for experimental_AstroContainer rendering. getContainerRenderer() is not used.
Impact: 🟠 Medium — The integration and server renderer are on the content-render/build path; the integration's Vite v8 upgrade could cause build-time or container-rendering incompatibilities even though the repo pins vite@7.3.5.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependenciesPull requests that update a dependency filejavascriptPull requests that update Javascript codesize/l
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps @astrojs/react from 5.0.7 to 6.0.1.
Release notes
Sourced from @astrojs/react's releases.
Changelog
Sourced from @astrojs/react's changelog.
... (truncated)
Commits
a86160e[ci] release (#17256)2bfb179chore: simpler package.json types (#17229)f55ba4c[ci] release (#17132)0da0678[ci] release (beta) (#17089)4585fe5fix(integrations): Export container renderers from a dedicated export path to...08b84d6[ci] release (beta) (#17045)75cfa52chore: merge main into next9c2b95bMerge remote-tracking branch 'origin/main' into chore/merge-main-into-next3652d1cchore: merge main into next29ec81dchore: merge main into nextMost Recent Ignore Conditions Applied to This Pull Request