- Here is the official link: https://docs.astro.build/it/guides/upgrade-to/v5/
- faced issue with marked module. solved by adding a null check there to handle null/undefined
why astro 5
i migrated to 5 mainly because of Astro Content Layer.
Astro is the best framework for content-driven sites, and with Astro 5.0 we’re making it even better. The Astro Content Layer is a new flexible and pluggable way to manage content, providing a unified, type-safe API to define, load, and access your content in your Astro project, no matter where it comes from