astro@5.14.6
Breaking Changes📦 astro
⚠ 1 breaking✨ 2 features🐛 1 fixes🔧 5 symbols
Summary
This patch release fixes HTML attribute inconsistencies and improves Actions, while introducing a breaking change for experimental live loaders by removing 'maxAge' from cache hints.
⚠️ Breaking Changes
- The 'maxAge' property has been removed from 'cacheHint' objects in experimental live loaders. To fix this, remove 'maxAge' from the returned cacheHint object and set cache headers manually using 'Astro.headers.set' if needed.
Migration Steps
- If using experimental live loaders, remove the 'maxAge' property from any returned 'cacheHint' objects.
- To replicate 'maxAge' functionality for a page, use 'Astro.headers.set('cdn-cache-control', 'max-age=3600')' in your Astro component.
✨ New Features
- Improves the internal implementation of Actions.
- Adds the missing 'rendered' property to the TypeScript types for experimental live collections entries, allowing pre-rendered HTML support without type errors.
🐛 Bug Fixes
- Fixed a bug where the 'muted' HTML attribute behavior was inconsistent with other attributes.
🔧 Affected Symbols
cacheHintcacheHint.maxAgelive-collectionsActionsrendered