π Patch Changes
- Updated dependencies [
f8e9458]:- @astrojs/internal-helpers@0.11.0
f8e9458]:
05763a0]:
8c193f6]:
c895b12]:
eb6f97e]:
#17093 4585fe5 Thanks @Princesseuh! - Replaces the import entrypoint of getContainerRenderer()
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.
#17093 4585fe5 Thanks @Princesseuh! - Replaces the import entrypoint of getContainerRenderer()
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.
f732f3c]:
d365c97]:
#15862 06fba3a Thanks @crutchcorn! - Adds support for passing a Babel config to the Preact Vite Plugin:
import { defineConfig } from 'astro/config';import preact from '@astrojs/preact';
export default defineConfig({ integrations: [ preact({ babel: { generatorOpts: { importAttributesKeyword: 'with', }, }, }), ],});d3c7de9 Thanks @florian-lefebvre! - Removes temporary support for Node >=20.19.1 because Stackblitz now uses Node 22 by default#14427 e131261 Thanks @florian-lefebvre! - Increases minimum Node.js version to 22.12.0 - (v6 upgrade guidance)
#14445 ecb0b98 Thanks @florian-lefebvre! - Astro v6.0 upgrades to Vite v7.0 as the development server and production bundler - (v6 upgrade guidance)
#15619 bbfa7c8 Thanks @rururux! - Fixed an issue where the Preact integration would incorrectly intercept React 19 components, triggering βInvalid hook callβ error logs.
#15383 876b664 Thanks @matthewp! - Fixes Preact components failing to render when using the Cloudflare adapter in dev mode.
#15264 11efb05 Thanks @florian-lefebvre! - Lower the Node version requirement to allow running on Stackblitz until it supports v22
#15700 4e7f3e8 Thanks @ocavue! - Improves how Preact components are identified when setting the include and/or exclude options in projects where multiple JSX frameworks are used together
Updated dependencies [4ebc1e3, 4e7f3e8, a164c77, cf6ea6b, a18d727, 240c317, 745e632]: