Change8

astro@5.14.5

📦 astro
2 features🐛 2 fixes🔧 3 symbols

Summary

This patch release improves redirect consistency in the Node.js adapter, fixes types for live collections, and optimizes font preloading order.

Migration Steps

  1. No manual project changes are required, but verify any custom redirect logic that may have relied on the previous meta-refresh behavior in static builds.

✨ New Features

  • Updated the Node.js adapter to handle redirects as HTTP redirects in 'static' output mode instead of using meta refresh tags.
  • Updated the <Font /> component to generate preload links after the style tag for better performance optimization (capo.js recommendation).

🐛 Bug Fixes

  • Fixed TypeScript types for defineLiveCollection().
  • Resolved inconsistent redirect behavior in the Node.js adapter between 'static' and 'server' output modes.

🔧 Affected Symbols

defineLiveCollectionadapter-node<Font />