Skip to content

feat: add support for Astro 6#68

Open
trueberryless wants to merge 6 commits intomainfrom
docs/upgrade-astro
Open

feat: add support for Astro 6#68
trueberryless wants to merge 6 commits intomainfrom
docs/upgrade-astro

Conversation

@trueberryless
Copy link
Member

@trueberryless trueberryless commented Mar 11, 2026

Needs to wait for withastro/astro#15753
Needs to wait for withastro/astro#15888 as well

Summary by CodeRabbit

  • Chores
    • Updated all project dependencies and development tooling to latest compatible versions.
    • Node.js engine requirement updated: all users must now use version 22.12.0 or higher.
    • Upgraded core documentation framework, build system tooling, validation packages, and related components to enhance stability, improve security standards, and enable access to latest ecosystem features.

@changeset-bot
Copy link

changeset-bot bot commented Mar 11, 2026

🦋 Changeset detected

Latest commit: 09c6b99

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "starlight-latest-version-docs" is specified in the `ignore` option but it is not found in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

@netlify
Copy link

netlify bot commented Mar 11, 2026

Deploy Preview for starlight-latest-version failed.

Name Link
🔨 Latest commit 09c6b99
🔍 Latest deploy log https://app.netlify.com/projects/starlight-latest-version/deploys/69b7f33b8c95260008bc9f14

@coderabbitai
Copy link

coderabbitai bot commented Mar 11, 2026

Warning

Rate limit exceeded

@trueberryless has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 17 minutes and 38 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 731e8ce8-f267-46b1-a85f-a1b435fc8591

📥 Commits

Reviewing files that changed from the base of the PR and between 2b6af49 and 09c6b99.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (4)
  • .changeset/silent-monkeys-admire.md
  • package.json
  • packages/starlight-latest-version/libs/config.ts
  • packages/starlight-latest-version/package.json

Walkthrough

The docs/package.json file was updated with upgraded dependency versions: astro (5.16.5 to 6.0.4), netlify (6.6.3 to 7.0.2), starlight (0.37.1 to 0.38.1), and starlight-links-validator (0.19.2 to 0.20.0). The Node.js engine constraint was changed from supporting versions ^18.17.1, ^20.3.0, or >=21.0.0 to requiring >=22.12.0.

Changes

Cohort / File(s) Summary
Dependency & Engine Updates
docs/package.json
Upgraded astro, netlify, starlight, and starlight-links-validator to newer major/minor versions. Restricted Node.js engine requirement from flexible ranges to >=22.12.0.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 Hops of joy through version trees,
Astro hops to six with ease,
Starlight twinkles, netlify flows,
Node grows stronger as we go,
Dependencies dance, shiny and new! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The PR title 'feat: add support for Astro 6' clearly and accurately summarizes the main change: upgrading Astro from v5 to v6 with supporting dependency updates.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs/upgrade-astro
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added 🌏 i18n Updates to internationalized docs, excluding English 📦 package Updates in package structure or package.json labels Mar 11, 2026
@trueberryless trueberryless changed the title docs: upgrade Astro feat: add support for Astro 6 Mar 16, 2026
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/package.json`:
- Around line 29-36: The starlight-latest-version workspace plugin declares a
Starlight peer but lacks an explicit Astro peer while the docs app uses Astro 6;
update the plugin package manifest (packages/starlight-latest-version
package.json) to add a peerDependencies entry for "astro" (e.g., "astro": "^6"
or an appropriate range), run the plugin against Astro 6 to verify
compatibility, and if any dev or test tooling is pinned to Astro 5
(devDependencies or local test env pinned to 5.16.5), update those pins to a
matching 6.x version or run compatibility fixes; alternatively, if you cannot
confirm compatibility, revert the docs app Astro version to the supported Astro
5 range instead.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 8881f6f7-f694-4fcc-b8c8-a2cdc896a240

📥 Commits

Reviewing files that changed from the base of the PR and between bf10134 and 2b6af49.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • docs/package.json

@github-actions github-actions bot added 📝 changeset Contains changeset files 🚧 config Configuration file updates ✒️ documentation Documentation updates, like README changes and removed 🌏 i18n Updates to internationalized docs, excluding English labels Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📝 changeset Contains changeset files 🚧 config Configuration file updates ✒️ documentation Documentation updates, like README changes 📦 package Updates in package structure or package.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant