astro@5.16.5
š¦ astro
⨠2 featuresš 2 fixesš§ 4 symbols
Summary
This patch release focuses on performance optimizations for content-heavy sites, improved error messaging for legacy configuration options, and better developer experience through JSDoc and loader warnings.
Migration Steps
- If using 'output: "hybrid"' in your config, update it to 'output: "static"' as the hybrid option was removed in Astro 5.
⨠New Features
- Added a helpful error message when 'output: "hybrid"' is used, guiding users to use 'output: "static"' instead.
- The glob() loader now logs a warning when duplicated IDs are detected.
š Bug Fixes
- Fixed JSDoc annotations for fonts-related APIs in the Astro config.
- Fixed performance regression and Out of Memory (OOM) errors in generateLookupMap by replacing O(n²) object spreading with direct mutation.
š§ Affected Symbols
generateLookupMapglobastro.configoutput