Astro, a web framework for building performant, content-focused websites, announced the release of version 2.0.
Astro's makers claim it can optimize a site to load 33% faster with 90% less JavaScript.
- Improvements to Astro enable developers to organize their Markdown with built-in parsing, validation, and automatic TypeScript type generation.
- The new Content Collections API organizes Markdown and MDX files into different collections, such as blog, newsletter, and products.
- Astro co-creator Fred Schott wrote that hybrid Rendering brings the benefits of static and server build output and offers the choice to pretender certain pages.
- Other features include a redesigned error experience, Hot Module Reloading, and internal upgrades to Vite 4.0 dependencies.