@astrojs/svelte@9.0.0
📦 astroView on GitHub →
✨ 1 features⚡ 1 deprecations🔧 7 symbols
Summary
This release upgrades Astro to Vite v8 and introduces a new dedicated entrypoint for the Container API in several integrations to improve bundling efficiency.
Migration Steps
- If using the Container API, update import statements for `getContainerRenderer()` to use the new entrypoint, e.g., change `import { getContainerRenderer } from '@astrojs/react';` to `import { getContainerRenderer } from '@astrojs/react/container-renderer';`.
✨ New Features
- Added a new `container-renderer` entrypoint for React, Preact, Svelte, SolidJS, Vue, and MDX integrations to export `getContainerRenderer()`, preventing bundlers from bundling unrelated exports from the package root.
Affected Symbols
⚡ Deprecations
- Importing `getContainerRenderer()` from the package root of React, Preact, Svelte, SolidJS, Vue, and MDX integrations is deprecated and will log a warning.