Skip to content

Upgrade the docs site to Rspress 2.1.2 - #636

Closed
ruibaby wants to merge 1 commit into
mainfrom
deps/upgrade-rspress-2.1.2
Closed

ruibaby wants to merge 1 commit into
mainfrom
deps/upgrade-rspress-2.1.2

Conversation

@ruibaby

@ruibaby ruibaby commented Nov 11, 2026

Copy link
Copy Markdown
Member

Bump @rspress/core from 2.1.0 to 2.1.2, the latest patch release.

  • 2.1.1: Shiki notation transformers (notationHighlight, notationWordHighlight, notationDiff, notationFocus, notationErrorLevel) are enabled by default, and all @shikijs/transformers exports are available from @rspress/core/shiki-transformers.
  • 2.1.2: "View as Markdown" in the Markdown menu, more built-in theme translations, nested sidebar layout refinements, and search dropdown accessibility fixes.

Changes

  • package.json: @rspress/core ^2.1.0 → ^2.1.2.
  • pnpm-lock.yaml: regenerated with pnpm 12.4.2.
  • pnpm-workspace.yaml: minimumReleaseAgeExclude now lists @rspress/core@2.1.2 and @rspress/shared@2.1.2, so the release-age policy still accepts the fresh release.

Verification

  • pnpm install — clean, lockfile passes the supply-chain policy check.
  • pnpm check:ci — lint and format pass.
  • pnpm build — 255 pages rendered, sitemap generated, dead-link and dead-image checks enabled, build exits 0.

Notes

  • pnpm build now logs six non-fatal ReferenceError: window is not defined errors while generating the per-page Markdown (SSG-MD). The stack points at the theme's useStorageValue, which now registers listeners inside the useSyncExternalStore subscribe callback (rspress#3851, released in 2.1.2). The error is caught by React Router's error boundary: the build still succeeds, all 255 .md files are generated, and their content only differs from 2.1.0 by Markdown escaping. 2.1.0 produced no such errors, so it looks like an upstream regression worth reporting.
  • rstack.config.ts still passes transformerNotationDiff() explicitly, which is now a default in 2.1.1. Harmless duplicate, left untouched to keep this PR focused.

🤖 Generated with OpenBot

Bump @rspress/core from 2.1.0 to 2.1.2 and refresh the lockfile.
minimumReleaseAgeExclude now points at the 2.1.2 versions so the
supply-chain release-age check still lets the new release through.

Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
docs 32dffe1 Commit Preview URL

Branch Preview URL
Nov 11 2026, 11:21 AM

ruibaby commented Nov 11, 2026

Copy link
Copy Markdown
Member Author

Closing as a duplicate of #635, which contains the same 2.1.0 -> 2.1.2 upgrade plus the now-redundant @shikijs/transformers cleanup. Both PRs were opened for the same request.

@ruibaby ruibaby closed this Nov 11, 2026
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.

1 participant