Skip to content

Upgrade Astro to v5.16.4 - #45

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
upgrade-astro-v5
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
upgrade-astro-v5

Conversation

@github-actions

@github-actions github-actions Bot commented Dec 5, 2025

Copy link
Copy Markdown

Summary

This PR upgrades Astro from v4.15.2 to v5.16.4 and makes the necessary compatibility changes.

Changes

  • Upgraded packages:

    • astro: 4.15.2 → 5.16.4
    • @astrojs/markdoc: 0.11.4 → 0.15.9
    • @astrojs/netlify: 5.5.1 → 6.6.3
    • @astrojs/react: 3.6.2 → 4.4.2
    • @astrojs/rss: 4.0.7 → 4.0.14
    • @astrojs/check: 0.9.3 → 0.9.6
  • Compatibility updates:

    • Changed output: "hybrid" to output: "server" in astro.config.mjs (Astro v5 merged hybrid mode into server mode)
    • Updated Newsletter.tsx to use withState instead of experimental_withState (API stabilized in v5)

Verification

✅ Site builds successfully with npm run build

Resolves #44


This PR was generated with Warp.

- Upgraded Astro from v4.15.2 to v5.16.4 and related packages
- Updated astro.config.mjs: Changed output from 'hybrid' to 'server' (v5 compatibility)
- Updated Newsletter.tsx: Replaced experimental_withState with withState
- Verified site builds successfully

Resolves #44

Co-Authored-By: Warp <agent@warp.dev>
@netlify

netlify Bot commented Dec 5, 2025 •

Copy link
Copy Markdown

❌ Deploy Preview for bholmes failed.

Name Link
🔨 Latest commit dd47979
🔍 Latest deploy log https://app.netlify.com/projects/bholmes/deploys/69336925f3e91a000841c370

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying bholmesdev with  Cloudflare Pages  Cloudflare Pages

Latest commit: dd47979
Status:🚫  Build failed.

View logs

@github-actions github-actions Bot mentioned this pull request Dec 6, 2025

@bholmesdev bholmesdev left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview: This Astro 5 upgrade changes runtime dependencies and Astro configuration, but the branch is not mergeable and the dependency lockfile update does not match the repository package manager.

⚠️ [IMPORTANT] The PR adds package-lock.json while the repository uses pnpm-lock.yaml and does not update that lockfile. Install/build resolution can drift between local pnpm installs and deployment/CI, especially for a framework upgrade. Regenerate the dependency update with pnpm and remove the npm lockfile.

⚠️ [IMPORTANT] GitHub reports this branch as CONFLICTING and the deploy checks are failing. Rebase or merge main, resolve the conflicts, and rerun the build/deploy checks before merging.

Found: 0 critical, 2 important, 0 suggestions

Recommendation: Request changes

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.

Bump Astro version

2 participants