docs: upgrade Starlight to 0.37 and Astro to 5.17#510
Merged
Conversation
- Upgrade @astrojs/starlight from 0.31 to 0.37.6 and astro from 5.1 to 5.17.1 - Migrate social config to the new array-based format (breaking in 0.33) - Migrate content collections to the Content Layer API using docsLoader and i18nLoader - Update LastUpdated component to read from Astro.locals.starlightRoute (breaking in 0.32) - Switch to passthroughImageService and remove sharp — no image optimization was in use - Remove dead pluginLineNumbers import and ec.config.mjs (plugins were commented out) - Fix broken CodeBlock reference to eas-build-qa.yml → eas-build-preview.yml - Add vite.ssr.noExternal for zod to prevent conflict with root project zod v4
✅ Deploy Preview for obytes-starter ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
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.
Summary
@astrojs/starlightfrom0.31to0.37.6andastrofrom5.1to5.17.1(latest stable, stays on v5 — Astro 6 is still beta)sharpand switch topassthroughImageService— no image optimization was actually in use<CodeBlock>reference to a deleted workflow fileBreaking changes addressed
Astro.propstoAstro.locals.starlightRouteLastUpdated.astrocomponent overridesocialconfig changed from object shorthand to explicit arrayastro.config.mjssrc/content/config.tswithsrc/content.config.tsusingdocsLoader/i18nLoaderstarlightlayerOther changes
pluginLineNumbersimport and deletedec.config.mjs(both expressive-code plugins were commented out)vite.ssr.noExternal: ['zod']to prevent the root project'szod@4from leaking into the Starlight buildworkflows-references.mdx:eas-build-qa.yml→eas-build-preview.yml(the QA workflow file no longer exists)Test plan
pnpm buildinsidedocs/exits cleanly (31 pages built)