Skip to content

Upgrade Astro from version 6 to 7 - #4076

Draft
dev-dist wants to merge 1 commit into
astro-upgrade-5-to-6from
astro-upgrade-6-to-7
Draft

Upgrade Astro from version 6 to 7#4076
dev-dist wants to merge 1 commit into
astro-upgrade-5-to-6from
astro-upgrade-6-to-7

Conversation

@dev-dist

Copy link
Copy Markdown
Collaborator

This pull request updates the project's dependencies to their latest major versions and makes a configuration change to support Vite 8's new build system. The main focus is on keeping the codebase up-to-date with the latest Astro ecosystem packages and ensuring compatibility with Vite 8 by switching from esbuild to oxc for build configuration.

Dependency updates:

  • Upgraded core Astro and related packages to their latest major versions, including astro (now ^7.2.2), @astrojs/mdx, @astrojs/preact, @astrojs/react, and @astrojs/vercel, to ensure compatibility and access to new features and fixes. [1] [2]
  • Updated vite to version ^8.2.1 to align with the latest Astro requirements and ecosystem.

Build configuration changes:

  • Changed the build configuration in astro.config.ts to use the new oxc option instead of esbuild, as Vite 8 now uses Rolldown/Oxc for bundling. This avoids runtime warnings and ensures the build target remains consistent.

@dev-dist
dev-dist requested review from a team as code owners August 17, 2026 20:34
@vercel

vercel Bot commented Aug 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview Aug 17, 2026 8:53pm

Request Review

@dev-dist
dev-dist marked this pull request as draft August 17, 2026 20:34
@github-actions

Copy link
Copy Markdown
Contributor

👋 dev-dist, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@dev-dist dev-dist changed the title astro 6 to 7 upgrade Upgrade Astro from version 6 to 7 Aug 17, 2026
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