Skip to content

chore(deps): bump @astrojs/starlight from 0.37.7 to 0.38.3 in the website-framework group across 1 directory#692

Open
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/npm_and_yarn/website-framework-60ff1ae6af
Open

chore(deps): bump @astrojs/starlight from 0.37.7 to 0.38.3 in the website-framework group across 1 directory#692
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/npm_and_yarn/website-framework-60ff1ae6af

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 9, 2026

Summary

  • Fixes CI for Dependabot Starlight bump (0.37.7→0.38.3)
  • Time to review: 5 minutes

Changes proposed

Dependabot bumped @astrojs/starlight to 0.38.3 but didn't bump the required companion packages. Starlight 0.38.x requires Astro v6, which requires its own companion upgrades:

Package From To Why
astro ^5.18.1 ^6.1.5 Starlight 0.38.x drops Astro v5 support
@astrojs/react ^4.4.2 ^5.0.3 Required for Astro v6 compatibility
starlight-links-validator ^0.14.3 ^0.23.0 0.14.x uses Zod 3 APIs incompatible with Astro v6's Zod 4

Also bumped Node 20→22 in ci-website-preview.yml and cd-deploy-website.yml (Astro v6 requires Node >=22.12.0).

No website source code changes were needed.

Context for reviewers

Astro v6 breaking change audit: See #681 for the full audit table — identical results apply here. No removed or deprecated APIs are used by this site. The only finding is a deprecated Zod 4 pattern (z.string().uuid(), z.string().url()) in a docs code example — still works, can be updated separately.

@astrojs/react v4→v5: 4 React islands use client:load / client:only="react" — the directive API is unchanged between v4 and v5.

Verification:

  • pnpm run ci:website — full build + checks + test pass
  • starlight-links-validator runs during build and catches broken anchor links — build passes, links intact

Additional information

This PR conflicts with #681 (minor-patch group) in pnpm-lock.yaml. Merge one first, then @dependabot rebase the other.


Original Dependabot description

Bumps the website-framework group with 1 update in the / directory: @astrojs/starlight.

Updates @astrojs/starlight from 0.37.7 to 0.38.3

Bumps the website-framework group with 1 update in the / directory: [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight).


Updates `@astrojs/starlight` from 0.37.7 to 0.38.3
- [Release notes](https://github.com/withastro/starlight/releases)
- [Changelog](https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md)
- [Commits](https://github.com/withastro/starlight/commits/@astrojs/starlight@0.38.3/packages/starlight)

---
updated-dependencies:
- dependency-name: "@astrojs/starlight"
  dependency-version: 0.38.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: website-framework
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 9, 2026
@github-actions github-actions bot added website Issues related to the website typescript Issue or PR related to TypeScript tooling labels Apr 9, 2026
bryan-thompsoncodes added a commit that referenced this pull request Apr 9, 2026
Starlight 0.38.x requires Astro v6, which includes Zod 4 and Vite 7.

- Upgrade astro from ^5.18.1 to ^6.0.0
- Upgrade @astrojs/starlight from ^0.37.7 to ^0.38.3
- Upgrade @astrojs/react from ^4.4.2 to ^5.0.0
- Upgrade starlight-links-validator from ^0.14.3 to ^0.23.0 (Zod 4 compat)
- Update pnpm-lock.yaml

Resolves the build error:
  [vite] The requested module 'astro/zod' does not provide an export named 'locales'

This was caused by Starlight 0.38.x using Astro v6 APIs not present in v5.

Closes #692
@github-actions
Copy link
Copy Markdown
Contributor

🚀 Website Preview Deployed!

Preview your changes at: https://cg-pr-692.billy-daly.workers.dev

This preview will be automatically deleted when the PR is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file typescript Issue or PR related to TypeScript tooling website Issues related to the website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant