ā—Change8

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

  1. 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