Skip to content

chore(astro): upgrade to v7#312

Open
darbyjack wants to merge 9 commits into
mainfrom
chore/astro-7
Open

chore(astro): upgrade to v7#312
darbyjack wants to merge 9 commits into
mainfrom
chore/astro-7

Conversation

@darbyjack

@darbyjack darbyjack commented Jun 23, 2026

Copy link
Copy Markdown
Member

This pull request introduces several dependency upgrades, asset import improvements, and UI enhancements for image handling and team data. The most significant changes include updating major dependencies, improving avatar image fallback logic, and updating asset import patterns for better compatibility and performance.

Dependency Upgrades:

  • Upgraded major dependencies in package.json, including astro (6.4.8 → 7.0.1), @astrojs/cloudflare, @astrojs/svelte, and @astrojs/mdx to their latest major versions. This ensures compatibility with the latest features and bug fixes. [1] [2]

Asset Import and Usage Improvements:

  • Updated SVG asset imports to use the ?url suffix, and replaced usage of the Astro <Image /> component with standard <img /> tags in contribute.astro. This change improves asset handling and likely resolves compatibility issues with the new Astro version. [1] [2] [3] [4] [5]
  • Updated fallback image import in RemoteImageWrapper.astro to use the ?url suffix, aligning with the new asset handling approach.

Avatar and User Image Handling:

  • Enhanced UserImage.astro to improve avatar fallback logic: now, if an avatar fails to load, the user's initial is shown instead. Also, the avatarUrl prop is now optional, and image rendering uses better defaults for format and layout.
  • Updated team member avatar rendering in team.astro to use the webp format for better performance.

Team Data Maintenance:

  • Removed a former team member ("Nacio") from team.json.

Configuration Updates:

  • Updated wrangler.jsonc with a new compatibility date and added the disable_nodejs_process_v2 flag for improved deployment compatibility.

Other Minor Cleanups:

Fixes #315

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 23, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
papermc-website 63f755f Commit Preview URL

Branch Preview URL
Jun 25 2026, 02:51 PM

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.

Random flash in news transitions

2 participants