Astro 6.2 ships several new features: a redesigned SVG optimizer API with a pluggable SvgOptimizer interface (replacing the old svgo flag), an experimental custom logger with built-in JSON output suited for coding agents, and a new getFontFileURL() helper for accessing font data during prerendering (useful for OG image generation with Satori). Minor additions include allowedHosts propagation to adapter preview servers and a new 'jsx' value for compressHTML. The release also previews Astro v7 alpha, which upgrades to Vite 8 and promotes the Rust-based compiler to the default, replacing the previous Go compiler for faster build times.

5m read timeFrom astro.build
Post cover image
Table of contents
SVG optimizerExperimental LoggerExperimental: getFontFileURL()Astro v7 alphaOther improvementsCommunity
7 Comments

Sort: