Skip to content

chore: upgrade from Astro v5 to v6#289

Merged
andygrunwald merged 1 commit intomainfrom
chore/astro-v6-upgrade
Mar 22, 2026
Merged

chore: upgrade from Astro v5 to v6#289
andygrunwald merged 1 commit intomainfrom
chore/astro-v6-upgrade

Conversation

@andygrunwald
Copy link
Member

Summary

  • Upgrade Astro from 5.18.1 to 6.0.8
  • Migrate removed Astro.glob() to import.meta.glob() in 3 pages (blog index, changelog index, FAQ)
  • @astrojs/sitemap 3.7.1 remains compatible — no version change needed

Breaking changes addressed

  • Astro.glob() removed in v6 — replaced with Object.values(import.meta.glob('...', { eager: true })) which returns the same module shape (.frontmatter, .url, etc.)
  • Node.js 22.12.0+ required — already on 24.14.0, no change needed
  • Other v6 breaking changes (content collections removal, ViewTransitions removal, Zod 4, etc.) do not affect this project

Test plan

  • npm run build succeeds (verified locally — 16 pages built, sitemap generated)
  • Verify homepage, blog index, changelog index, FAQ page render correctly
  • Verify individual blog posts and changelog entries render correctly
  • Verify sitemap at /sitemap-index.xml

🤖 Generated with Claude Code

- Update astro from 5.18.1 to 6.0.8
- Replace removed Astro.glob() with import.meta.glob() in 3 files
  (blog index, changelog index, FAQ page)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@netlify
Copy link

netlify bot commented Mar 22, 2026

Deploy Preview for lively-frangollo-e43a02 ready!

Name Link
🔨 Latest commit 46fd63b
🔍 Latest deploy log https://app.netlify.com/projects/lively-frangollo-e43a02/deploys/69bfa27389092500084ecd24
😎 Deploy Preview https://deploy-preview-289--lively-frangollo-e43a02.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@andygrunwald andygrunwald merged commit 52b34c3 into main Mar 22, 2026
5 checks passed
@andygrunwald andygrunwald deleted the chore/astro-v6-upgrade branch March 22, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant