Change8

astro@5.15.6

📦 astroView on GitHub →
1 features🐛 3 fixes🔧 3 symbols

Summary

This patch release improves the experimental Fonts API with granular configuration and fixes hydration issues related to barrel files and declarative Shadow DOM transitions.

✨ New Features

  • Enhanced the experimental Fonts API to allow granular configuration of remote font families by specifying the same font multiple times with different weight/style combinations.

🐛 Bug Fixes

  • Fixed hydration of client components in the dev server when using barrel files that re-export both Astro and UI framework components.
  • Fixed 'Unable to re-attach to existing ShadowDOM' navigation errors when using transition:persist with components using declarative Shadow DOM.
  • Added a warning in the experimental Fonts API when font families are provided with conflicting cssVariable values.

🔧 Affected Symbols

transition:persistexperimental.fontsfontProviders