chore(astro): upgrade to v7#312
Open
darbyjack wants to merge 9 commits into
Open
Conversation
Deploying with
|
| 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 |
Doc94
approved these changes
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
package.json, includingastro(6.4.8 → 7.0.1),@astrojs/cloudflare,@astrojs/svelte, and@astrojs/mdxto their latest major versions. This ensures compatibility with the latest features and bug fixes. [1] [2]Asset Import and Usage Improvements:
?urlsuffix, and replaced usage of the Astro<Image />component with standard<img />tags incontribute.astro. This change improves asset handling and likely resolves compatibility issues with the new Astro version. [1] [2] [3] [4] [5]RemoteImageWrapper.astroto use the?urlsuffix, aligning with the new asset handling approach.Avatar and User Image Handling:
UserImage.astroto improve avatar fallback logic: now, if an avatar fails to load, the user's initial is shown instead. Also, theavatarUrlprop is now optional, and image rendering uses better defaults for format and layout.team.astroto use thewebpformat for better performance.Team Data Maintenance:
team.json.Configuration Updates:
wrangler.jsoncwith a new compatibility date and added thedisable_nodejs_process_v2flag for improved deployment compatibility.Other Minor Cleanups:
<style>blocks from news and post pages to keep the codebase clean. [1] [2] src/pages/news/[id].astroL91-L96)Fixes #315