Home / Companies / Strapi / Blog / Post Details
Content Deep Dive

Astro 6 is Here: What Changed and How We Updated Our Strapi 5 & Astro Starter

Blog post from Strapi

Post Details
Company
Date Published
Author
Paul Bratslavsky
Word Count
2,120
Language
English
Hacker News Points
-
Summary

Astro 6 introduces several updates, including a rebuilt dev server that bridges the gap between development and production environments, a Node 22 minimum requirement, and the integration of Zod v4, which necessitated changes to existing loaders. The update also includes new features such as a Fonts API, live content collections, built-in Content Security Policy (CSP), and an experimental Rust compiler. Additionally, the update deprecates the legacy content collections approach and introduces an experimental route caching feature. A smooth transition to Astro 6 was achieved by updating the strapi-community-astro-loader to support the new Zod version, removing the old Zod bundling, and defining schemas with defineCollection(). The new starter setup allows users to quickly create an Astro 6 and Strapi 5 site with seed data, and includes a Claude Code skill for efficiently adding new pages by automating the creation of Strapi content types, seed scripts, Astro collections, and styled templates.