Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
khadni
marked this pull request as ready for review
October 21, 2026 23:46
This branch was successfully deployed
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.
Why
Step 2 of the Astro 5 => 7 upgrade (step 1 here). Astro 5 is end-of-life and has known vulnerabilities, fixed in Astro 7.
Changes
astro6.4.8,@astrojs/vercel10,@astrojs/mdx6,@astrojs/react5,@astrojs/preact5,@astrojs/prism4,vite7.@chainlink/blockshoisted Zod 3 to the root and broke Astro 6's content schema.include/excludeto pick both the JSX transform and the island renderer.src/utils/preactModules.tsbuilds the matcher automatically from the@jsxImportSource preactpragma, Preact-only barrels and tsconfig aliases.node_modulesstays excluded from the React transform.CodeSample;zimported fromastro/zod;getSecret()(astro:env/server) for the CCIP GraphQL endpoint and key: read at runtime, and loaded from.env.local/.env.[mode]in development (Astro 6 inlinesimport.meta.envat build time);legacy.collections: falseoption (the legacy content collections API it opted out of no longer exists in Astro 6).generate-search-indexadapted to Vite 7.@astrojs/preact5.client:onlytoclient:loadwith a mount guard. With Astro 6, the CSS ofclient:onlyislands in MDX was either dropped or added to every docs page. It is now scoped to those 2 pages, as before.@chainlink/blocksSSR pre-bundle plugin (fix: speed up local dev server #4342) is no longer needed. With Astro 6 / Vite 7, page reloads inastro devtake ~0.1s without it.Verification
main(2,945 pages). HTML diffs are benign: entity encoding,is:rawleak fixed, unused CSS no longer loaded.nodejs24.x. Build ~30% faster.Notes
markdown.remarkPlugins,smartypants,mdx({ remarkPlugins })) are handled in chore: upgrade to Astro 7 #4345.npm ci.