Change8

astro@6.0.0-beta.8

Breaking Changes
📦 astroView on GitHub →
1 breaking🐛 3 fixes🔧 1 symbols

Summary

This release stabilizes the `staticHeaders` adapter feature by renaming it from `experimentalStatiHeaders` and includes several bug fixes related to CSS updates in development mode and image generation during build.

⚠️ Breaking Changes

  • The adapter feature flag `experimentalStatiHeaders` has been renamed to `staticHeaders`. If you were using this flag in an adapter configuration (e.g., netlify), you must change `experimentalStaticHeaders: true` to `staticHeaders: true`.

Migration Steps

  1. If using the adapter feature flag for static headers, rename `experimentalStaticHeaders: true` to `staticHeaders: true` in your adapter configuration.

🐛 Bug Fixes

  • Fixed an issue where CSS from unused components, when using content collections, could be incorrectly included between page navigations in development mode.
  • Fixed an issue where adding or removing <style> tags in Astro components would not visually update styles during development without restarting the development server.
  • Avoided creating unused images during build in the Picture component.

Affected Symbols