astro@5.15.0
📦 astroView on GitHub →
✨ 5 features🔧 5 symbols
Summary
This release introduces new Adapter API options for asset and fetch management, improves the developer experience with a stack trace copy button, and enhances the experimental Fonts API and MDX TypeScript support.
Migration Steps
- If using the experimental Fonts API, you can now update your <Font /> components to use the object-based 'preload' property for more granular control.
- If using Cloudflare, consider running 'astro add cloudflare' to benefit from the new default configuration files.
✨ New Features
- Added 'assetQueryParams' and 'internalFetchHeaders' to the Adapter API for better control over asset URLs and internal fetch requests.
- Added a 'Copy to Clipboard' button to the error overlay stack trace in dev mode.
- Updated 'astro add cloudflare' to automatically scaffold 'wrangler.jsonc' and 'public/.assetsignore'.
- Added TypeScript support for the 'components' prop on MDX 'Content' components when using 'await render()'.
- Enhanced the experimental Fonts API to allow preloading specific weights, styles, or subsets via the 'preload' directive.
🔧 Affected Symbols
AstroAdapter.client.assetQueryParamsAstroAdapter.client.internalFetchHeadersMDX.Contentastro:assets.Fontastro add cloudflare