astro@6.3.8
📦 astroView on GitHub →
🐛 5 fixes🔧 4 symbols
Summary
This patch release addresses several bugs related to asset loading, route validation errors, scoped styles in MDX, and CSS rendering for conditionally rendered Svelte components.
Migration Steps
- If you rely on the error message for redirects between dynamic and static routes, be aware that `GetStaticPathsRequired` errors are replaced with `InvalidRedirectDestination` errors.
🐛 Bug Fixes
- Fixes 404s for dynamically imported JS chunks when using an adapter with `assetQueryParams` (e.g. Vercel skew protection).
- Fixes a misleading `GetStaticPathsRequired` error when a redirect is configured from a dynamic route to a static (or less-dynamic) destination; Astro now throws a clear `InvalidRedirectDestination` error naming missing parameters.
- Fixes scoped styles from `.astro` components being dropped when rendered inside MDX content (`<Content />` from `render(entry)`) passed through a named slot using `<Fragment slot="X">`.
- Fixes missing CSS for conditionally rendered Svelte components in production builds.
- Fixes a false-positive `Internal Warning: route cache overwritten` logged on every SSR request for dynamic routes.