github web-infra-dev/rspress v2.0.10

6 hours ago

Highlights✨

Rspack 2.0 & Rsbuild 2.0 integrated 🦀

related PR: #3322

Rspress v2.0.10 upgrades Rsbuild to 2.0.0, which means Rspress is now powered by the stable Rspack 2.0 toolchain.

This keeps Rspress aligned with the latest Rstack ecosystem and brings the compiler improvements from Rspack 2.0 to every Rspress site.

New Prompt component 🤖

related PR: #3325

Rspress now provides a built-in Prompt component from @rspress/core/theme, designed for AI-native documentation.

It helps authors present reusable, copyable agent instructions directly in MDX, with theme-ready styling and flexible custom content support.

20260428180332_rec_

What's Changed

New Features 🎉

  • feat(cli): add --base CLI option to build, dev, and preview commands by @Copilot in #3316
  • feat(deps): upgrade Rsbuild to 2.0.0 by @Timeless0911 in #3322
  • feat(theme/Prompt): add new Prompt component by @SoonIter in #3325
  • feat(theme)!: support sidebar: false and sidebar: placeholder mode by @SoonIter in #3331

Bug Fixes 🐞

  • fix(theme/Link): support custom URI schemes in external URL detection by @Copilot in #3304
  • fix(create-rspress): add env.d.ts to generated templates by @Copilot in #3310
  • fix(theme/table): polish table styles to fix too narrow col case by @SoonIter in #3317
  • fix(theme/outline): reduce outline toc mask spacing by @SoonIter in #3329
  • fix(theme/Prompt): address review follow-ups by @SoonIter in #3333

Document 📖

  • docs: add rspress-plugin-comments to community plugins by @kalicyh in #3319

Other Changes

  • chore(deps): update pnpm-plugin-skills to 0.5.0 by @SoonIter in #3305
  • chore(infra): migrate to skills-package-manager CLI and upgrade to skills-package-manager@0.7.0 by @SoonIter in #3312
  • chore(deps): update all patch dependencies by @renovate[bot] in #3302
  • chore(deps): update rstack by @renovate[bot] in #3303
  • chore(deps): update all patch dependencies by @renovate[bot] in #3314
  • chore(deps): update rstack by @renovate[bot] in #3315
  • chore(theme/inline-codeblock): lighten inline code link styles by @Copilot in #3320
  • chore(deps): upgrade rsbuild plugins to latest by @Timeless0911 in #3323
  • chore(deps): update rstack by @renovate[bot] in #3324
  • chore(deps): update all patch dependencies by @renovate[bot] in #3326
  • chore(deps): update dependency @rsbuild/core to ^2.0.2 by @renovate[bot] in #3327
  • Release v2.0.10 by @SoonIter in #3334

New Contributors

Full Changelog: v2.0.9...v2.0.10

Don't miss a new rspress release

NewReleases is sending notifications on new releases.