Skip to content

Releases: inotelab/Astroverse-i18n

v5.0.0: ✨ feat: upgrade to Astro v5 with compatibility and improvements

06 Dec 02:12
Compare
Choose a tag to compare

✨ feat: upgrade to Astro v5 with compatibility and improvements

  • 🗂️ Migrated content collections to the new Content Layer API:

    • Removed deprecated type: "content" from content collections.
    • Updated src/content/config.ts to use the Content Layer API.
    • Validated content files and schema using astro check.
  • 🔄 Refactored BaseLayout for updated routing and transitions:

    • Replaced deprecated <ViewTransitions /> with <ClientRouter /> from astro:transitions.
    • Ensured seamless functionality for routing and transitions.
  • 🛠️ Updated TypeScript configuration for Astro v5:

    • Added .astro/types.d.ts and **/* to the include property for better type inference.
    • Excluded dist directory from type-checking.
  • ✅ Verified overall compatibility with Astro v5 and optimized for future updates.