Skip to content

docs: add Rslib v1 upgrade guide - #1805

Merged
Timeless0911 merged 1 commit into
mainfrom
david/docs-rslib-v1-upgrade
Jul 28, 2026
Merged

Timeless0911 merged 1 commit into
mainfrom
david/docs-rslib-v1-upgrade

Conversation

@Timeless0911

@Timeless0911 Timeless0911 commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Rslib v1 introduces behavior and configuration changes that users need to account for when upgrading from 0.x. This PR adds bilingual v0-to-v1 migration guides covering Rsbuild v2 compatibility, syntax target and externalsType updates, native TypeScript handling, configuration migrations, and JavaScript API changes. It also moves the general upgrade guide into a dedicated Upgrade section.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings July 28, 2026 09:59
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rslib with  Cloudflare Pages  Cloudflare Pages

Latest commit: 76bc1b9
Status: ✅  Deploy successful!
Preview URL: https://487db3b3.rslib.pages.dev
Branch Preview URL: https://david-docs-rslib-v1-upgrade.rslib.pages.dev

View logs

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds new bilingual (EN/ZH) upgrade documentation for migrating from Rslib 0.x to v1, and reorganizes the docs sidebar to introduce a dedicated Upgrade section.

Changes:

  • Add EN/ZH “v0 to v1” migration guides describing breaking changes and recommended config updates.
  • Add EN/ZH “Upgrade Rslib” guide documenting versioning, changelogs, and using Taze to update dependencies.
  • Move the general upgrade guide entry out of “Basic” and into a new “Upgrade” docs section via _meta.json updates.

Reviewed changes

Copilot reviewed 8 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
website/docs/en/guide/upgrade/v0-to-v1.mdx New EN v0→v1 migration guide content.
website/docs/en/guide/upgrade/upgrade-rslib.mdx New EN “Upgrade Rslib” guide (Taze workflow, versioning, links).
website/docs/en/guide/upgrade/_meta.json Adds the new EN Upgrade section navigation ordering.
website/docs/en/guide/basic/_meta.json Removes upgrade-rslib from the EN Basic section nav.
website/docs/en/guide/_meta.json Adds EN “Upgrade” directory section header to the guide sidebar.
website/docs/zh/guide/upgrade/v0-to-v1.mdx New ZH v0→v1 migration guide content.
website/docs/zh/guide/upgrade/upgrade-rslib.mdx New ZH “升级 Rslib” guide (Taze workflow, versioning, links).
website/docs/zh/guide/upgrade/_meta.json Adds the new ZH Upgrade section navigation ordering.
website/docs/zh/guide/basic/_meta.json Removes upgrade-rslib from the ZH Basic section nav.
website/docs/zh/guide/_meta.json Adds ZH “升级” directory section header to the guide sidebar.

Comment thread website/docs/en/guide/upgrade/v0-to-v1.mdx
Comment thread website/docs/zh/guide/upgrade/v0-to-v1.mdx

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 76bc1b9822

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread website/docs/en/guide/upgrade/_meta.json
@Timeless0911
Timeless0911 merged commit 520da15 into main Jul 28, 2026
13 checks passed
@Timeless0911
Timeless0911 deleted the david/docs-rslib-v1-upgrade branch July 28, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Sponsor
SponsoredKunjungi sekarang
Promo