Astro [email protected] - Release Notes & Engineering Impact
Component: astro · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-11.
Astro 7.4.11 tightens security validation for forwarded host and protocol headers against configured allowed domains. It also resolves runtime bug fixes, including preventing object mutation when spreading attributes onto elements with scoped styles.
💻 Software Engineers & Devs
Engineers using `security.allowedDomains` or spreading object properties onto styled Astro components should update to ensure stable attribute rendering and header handling.
📊 Product & Engineering Leads
This patch update enhances platform security and runtime stability without altering user-facing features or workflows.
⚙️ DevOps & Security
Infrastructure engineers handling reverse proxies or relying on Vite-generated license files should verify build outputs and `X-Forwarded-*` header rules.
⚡ Performance & Enhancements (3)
- Validates `X-Forwarded-Proto`, `X-Forwarded-Host`, and `X-Forwarded-Port` together against `security.allowedDomains` entries.
- Returns a 400 Bad Request error for malformed percent-encoded paths in the dev server and static preview instead of a 500 error.
- Improves `astro check` error reporting to display original loading errors instead of prompting for package reinstallation.
🔧 Bug Fixes & Patches (3)
- Fixed object mutation when spreading objects onto elements with scoped styles across renders.
- Fixed `astro build` deleting license files created by Vite's `build.license` configuration.
- Fixed `security.allowedDomains` accepting non-HTTP(S) `X-Forwarded-Proto` values such as `ftp` or `ws`.