astro@6.4.2
📦 astroView on GitHub →
🐛 2 fixes🔧 4 symbols
Summary
This patch release addresses two specific bugs: one causing a crash with older MDX setups and integrations, and another causing 404 errors for SSR dynamic routes when sorted incorrectly relative to prerendered dynamic routes.
🐛 Bug Fixes
- Fixes a `plugins is not iterable` crash when using a pre-6.0 `@astrojs/mdx` alongside integrations (e.g. Starlight) that set `markdown.remarkPlugins`, `markdown.rehypePlugins`, or `markdown.remarkRehype`.
- Fixes an issue where on-demand (SSR) dynamic routes would return 404 when a prerendered dynamic route with the same URL pattern was sorted first alphabetically in production builds using the `@astrojs/node` adapter. The fix adds fallthrough logic for prerendered dynamic routes that cannot serve a request.