chore(deps): update dependency @rspress/plugin-preview to v2.0.0 #1295

Closed
renovate wants to merge 1 commit from renovate/rspress-plugin-preview-2.x-lockfile into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
@rspress/plugin-preview (source) 2.0.0-rc.12.0.0 age confidence

Release Notes

web-infra-dev/rspress (@​rspress/plugin-preview)

v2.0.0-rc.8

Compare Source

What's Changed
New Features 🎉
  • feat(theme/HomeHero): add new hero image slot and add interactive to document by @​SoonIter in #​3051
  • feat(plugin-playground)!: change defaultRenderMode to 'pure' and support combined usage with plugin-preview by @​SoonIter in #​3059
Document 📖
  • docs(css-vars): improve generateThemeCssVariables scope matching for better theme color extraction by @​SoonIter in #​3058
Other Changes

Full Changelog: https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.7...v2.0.0-rc.8

v2.0.0-rc.7

Compare Source

What's Changed
New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes
New Contributors

Full Changelog: https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.6...v2.0.0-rc.7

v2.0.0-rc.6

Compare Source

What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
  • fix(theme): fix inline code style in Callout when code is direct child of content by @​SoonIter in #​2997
  • fix(config/types): defineConfig should support asyncFn by @​SoonIter in #​3000
  • fix(core): improve i18n missing keys warning with configuration hints by @​SoonIter in #​3030
  • fix(ssg): collapse experimentalExcludeRoutePaths log when too many routes are ignored by @​SoonIter in #​3032
Document 📖
Other Changes

Full Changelog: https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.5...v2.0.0-rc.6

v2.0.0-rc.5

Compare Source

What's Changed
New Features 🎉
  • feat(theme): support clickable badge in HomeHero by @​SoonIter in #​2969
  • feat(ssg-md): add SSG-MD support to OverviewGroup and FallbackHeading components (Vibe Kanban) by @​SoonIter in #​2966
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.4...v2.0.0-rc.5

v2.0.0-rc.4

Compare Source

What's Changed
New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.3...v2.0.0-rc.4

v2.0.0-rc.3

Compare Source

Highlights
🆕️ Support common tags

related PR: #​2879

You can use it in the frontmatter, and it also supports customization:

---
tag: new, experimental, ejectable
---
image
🌏 Enable text-autospace: normal; by default

related PR: #​2920

The text-autospace CSS property allows you to specify the space applied between Chinese/Japanese/Korean (CJK) and non-CJK characters.

/* If you don't like it, you can cancel it via `:root { text-autospace: unset; }` */
:root {
   text-autospace: normal;
}
What's Changed
New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.2...v2.0.0-rc.3

v2.0.0-rc.2

Compare Source

Breaking Changes🚨
theme folder should use @rspress/core/theme-original

related PR: #​2860

In Rspress V1 document, @theme is the alias for rspress/theme, but @theme is an alias which points to theme/index.tsx and falls back to rspress/theme.

rspress/theme or @rspress/core/theme points to Rspress's theme-default, they are actually different things.

We standardize this behavior, which is the same as docusaurus.

  1. In docs directory, @theme or @rspress/core/theme should be used, which points to theme/index.tsx and falls back to theme-default

  2. In theme directory , @theme-original or @rspress/core/theme-original should be used, which always points to Rspress's theme-default, used for users to customize themes, which is very useful for users who publish npm theme packages.

 // theme/index.tsx
- import { Layout as BasicLayout } from 'rspress/theme'; // or @​rspress/core/theme
+ import { Layout } from '@​rspress/core/theme-original';

 const Layout = () => {
    return <BasicLayout {...} />
 }
 
 export { Layout }
- export * from 'rspress/theme' // or @&#8203;rspress/core/theme
+ export * from '@&#8203;rspress/core/theme-original';
Merge @theme-assets to @theme

Before

We have a separate entry for exporting @​theme-assets

import { SvgWrapper } from '@&#8203;theme'
import SearchSvg from '@&#8203;theme-assets/Search';

<SvgWrapper icon={SearchSvg} />

After

@theme-assets has been removed. Icons are exported from @theme and prefixed with Icon, for example: IconSearch

import { SvgWrapper, IconSearch } from '@&#8203;theme';

<SvgWrapper icon={IconSearch} />
                   ^? type Icon = React.FC<React.SVGProps<SVGSVGElement>> | string;
Refactor @rspress/plugin-preview and simplify usage

related PR: #​2806

Before: Required declarations in both config file and MDX file.

pluginPreview({
  previewMode: 'iframe',
  iframeOptions: { position: 'fixed' },
});
```tsx preview

```

After: Only declare in the MDX file.

```tsx preview="iframe-fixed"

```
What's Changed
New Features 🎉
Performance 🚀
  • perf(theme/useWindowSize): optimize useWindowSize with debounce to reduce resize handler calls by @​Copilot in #​2849
Bug Fixes 🐞
Document 📖
Other Changes
New Contributors

Full Changelog: https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.1...v2.0.0-rc.2


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@rspress/plugin-preview](https://github.com/web-infra-dev/rspress) ([source](https://github.com/web-infra-dev/rspress/tree/HEAD/packages/plugin-preview)) | [`2.0.0-rc.1` → `2.0.0`](https://renovatebot.com/diffs/npm/@rspress%2fplugin-preview/2.0.0-rc.1/2.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@rspress%2fplugin-preview/2.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@rspress%2fplugin-preview/2.0.0-rc.1/2.0.0?slim=true) | --- ### Release Notes <details> <summary>web-infra-dev/rspress (@&#8203;rspress/plugin-preview)</summary> ### [`v2.0.0-rc.8`](https://github.com/web-infra-dev/rspress/releases/tag/v2.0.0-rc.8) [Compare Source](https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.7...v2.0.0-rc.8) <!-- Release notes generated using configuration in .github/release.yml at main --> ##### What's Changed ##### New Features 🎉 - feat(theme/HomeHero): add new hero image slot and add interactive to document by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3051](https://github.com/web-infra-dev/rspress/pull/3051) - feat(plugin-playground)!: change defaultRenderMode to 'pure' and support combined usage with plugin-preview by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3059](https://github.com/web-infra-dev/rspress/pull/3059) ##### Document 📖 - docs(css-vars): improve generateThemeCssVariables scope matching for better theme color extraction by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3058](https://github.com/web-infra-dev/rspress/pull/3058) ##### Other Changes - chore(deps): update dependency [@&#8203;docsearch/css](https://github.com/docsearch/css) to ^4.5.3 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3055](https://github.com/web-infra-dev/rspress/pull/3055) - chore(deps): update dependency [@&#8203;docsearch/react](https://github.com/docsearch/react) to ^4.5.3 ([#&#8203;3055](https://github.com/web-infra-dev/rspress/issues/3055)) by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3056](https://github.com/web-infra-dev/rspress/pull/3056) - chore(theme/nav): fix hover menu exit transition in nav dropdowns by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;3043](https://github.com/web-infra-dev/rspress/pull/3043) - refactor(theme): remove navbar compatibility class names and update Algolia docs by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3057](https://github.com/web-infra-dev/rspress/pull/3057) - Release v2.0.0-rc.8 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3061](https://github.com/web-infra-dev/rspress/pull/3061) **Full Changelog**: <https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.7...v2.0.0-rc.8> ### [`v2.0.0-rc.7`](https://github.com/web-infra-dev/rspress/releases/tag/v2.0.0-rc.7) [Compare Source](https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.6...v2.0.0-rc.7) <!-- Release notes generated using configuration in .github/release.yml at main --> ##### What's Changed ##### New Features 🎉 - feat(theme/SvgWrapper): icon field support svg and img icon in HomeLayout by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3036](https://github.com/web-infra-dev/rspress/pull/3036) - feat(theme/icon): extract IconLink use in LlmsViewOptions by [@&#8203;jaworek](https://github.com/jaworek) in [#&#8203;3046](https://github.com/web-infra-dev/rspress/pull/3046) ##### Bug Fixes 🐞 - fix(theme/Llms): use SvgWrapper in Llms by [@&#8203;jaworek](https://github.com/jaworek) in [#&#8203;3045](https://github.com/web-infra-dev/rspress/pull/3045) ##### Document 📖 - docs: fix custom theme examples and update documentation by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3035](https://github.com/web-infra-dev/rspress/pull/3035) - docs: improve Overview page and custom-theme related pages by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3037](https://github.com/web-infra-dev/rspress/pull/3037) - docs: improve documentation and sync zh/en by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3040](https://github.com/web-infra-dev/rspress/pull/3040) - docs(ssg-md): improve document structure for better usability by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3047](https://github.com/web-infra-dev/rspress/pull/3047) ##### Other Changes - chore(deps): update dependency lodash-es to v4.17.23 \[security] by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3038](https://github.com/web-infra-dev/rspress/pull/3038) - chore(theme): remove unused icons and update docs by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3048](https://github.com/web-infra-dev/rspress/pull/3048) - chore(theme): standardize link icon SVG attributes format by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3049](https://github.com/web-infra-dev/rspress/pull/3049) - chore(deps): upgrade rsbuild to 2.0.0-alpha.2 by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;3050](https://github.com/web-infra-dev/rspress/pull/3050) - Release v2.0.0-rc.7 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3052](https://github.com/web-infra-dev/rspress/pull/3052) ##### New Contributors - [@&#8203;jaworek](https://github.com/jaworek) made their first contribution in [#&#8203;3045](https://github.com/web-infra-dev/rspress/pull/3045) **Full Changelog**: <https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.6...v2.0.0-rc.7> ### [`v2.0.0-rc.6`](https://github.com/web-infra-dev/rspress/releases/tag/v2.0.0-rc.6) [Compare Source](https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.5...v2.0.0-rc.6) <!-- Release notes generated using configuration in .github/release.yml at main --> ##### What's Changed ##### New Features 🎉 - feat(core): auto-extract description from first contentful line in extractPageData by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3006](https://github.com/web-infra-dev/rspress/pull/3006) - feat(theme/nav): Added fancy transition to nav background by [@&#8203;elliotcourant](https://github.com/elliotcourant) in [#&#8203;3017](https://github.com/web-infra-dev/rspress/pull/3017) - feat(theme): make NavTitle component ejectable by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3022](https://github.com/web-infra-dev/rspress/pull/3022) - feat(core): add `markdown.extractDescription` config by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3023](https://github.com/web-infra-dev/rspress/pull/3023) - feat(core): move Llms runtime components from plugin-llms to core/theme by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3026](https://github.com/web-infra-dev/rspress/pull/3026) - feat(core): add logoHref config option by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3012](https://github.com/web-infra-dev/rspress/pull/3012) - feat(ssg-md)!: add llmsUI config option to automatically show LlmsCopyButton and LlmsViewOptions when set `llms: true` by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3029](https://github.com/web-infra-dev/rspress/pull/3029) ##### Performance 🚀 - perf(core): skip search index generation when search is disabled by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3031](https://github.com/web-infra-dev/rspress/pull/3031) ##### Bug Fixes 🐞 - fix(theme): fix inline code style in Callout when code is direct child of content by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2997](https://github.com/web-infra-dev/rspress/pull/2997) - fix(config/types): defineConfig should support asyncFn by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3000](https://github.com/web-infra-dev/rspress/pull/3000) - fix(core): improve i18n missing keys warning with configuration hints by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3030](https://github.com/web-infra-dev/rspress/pull/3030) - fix(ssg): collapse experimentalExcludeRoutePaths log when too many routes are ignored by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3032](https://github.com/web-infra-dev/rspress/pull/3032) ##### Document 📖 - docs: add troubleshooting tip for @&#8203;rspress/core/theme-original export errors in migration guide by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2984](https://github.com/web-infra-dev/rspress/pull/2984) - docs(guide): rewrite SSG documentation with comprehensive explanations by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2985](https://github.com/web-infra-dev/rspress/pull/2985) - docs(ssg): add 404.html to output structure and troubleshooting for page refresh 404 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2987](https://github.com/web-infra-dev/rspress/pull/2987) - docs: improve conventional route documentation with better examples and best practices by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2995](https://github.com/web-infra-dev/rspress/pull/2995) - docs: add Callout component documentation by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2998](https://github.com/web-infra-dev/rspress/pull/2998) - docs: add tip for pageType: doc-wide usage with outline: false by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3005](https://github.com/web-infra-dev/rspress/pull/3005) - docs: add frontmatter description to guide docs (zh & en) by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3007](https://github.com/web-infra-dev/rspress/pull/3007) - docs: Update documentation and improve frontmatter references by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3009](https://github.com/web-infra-dev/rspress/pull/3009) - docs: improve static assets documentation structure and clarifiy public folder usage by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3011](https://github.com/web-infra-dev/rspress/pull/3011) - docs: simplify CSS modification state management by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3014](https://github.com/web-infra-dev/rspress/pull/3014) - docs(zh): rename "预览页" to "Overview 页" for terminology consistency by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3016](https://github.com/web-infra-dev/rspress/pull/3016) - docs(theme): refactor home page and component documentation by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3015](https://github.com/web-infra-dev/rspress/pull/3015) - docs: remove URL parameters as switches section from custom page docs by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3024](https://github.com/web-infra-dev/rspress/pull/3024) - docs(description): add description frontmatter to ui documentation files by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3008](https://github.com/web-infra-dev/rspress/pull/3008) ##### Other Changes - chore(deps): update all patch dependencies by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2991](https://github.com/web-infra-dev/rspress/pull/2991) - chore(deps): update dependency react-router-dom to ^7.12.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2992](https://github.com/web-infra-dev/rspress/pull/2992) - chore(deps): update pnpm to v10.28.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2993](https://github.com/web-infra-dev/rspress/pull/2993) - chore(deps): update shiki monorepo to ^3.21.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2994](https://github.com/web-infra-dev/rspress/pull/2994) - chore(deps): upgrade [@&#8203;rslib/core](https://github.com/rslib/core) 0.19.2 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3002](https://github.com/web-infra-dev/rspress/pull/3002) - refactor(plugin-rss)!: requires the `ssg` config, and remove `_html` field by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3003](https://github.com/web-infra-dev/rspress/pull/3003) - refactor(core): replace [@&#8203;rspress/mdx-rs](https://github.com/rspress/mdx-rs) and html-to-text with [@&#8203;mdx-js/mdx](https://github.com/mdx-js/mdx) createProcessor for toc and searchIndex generation by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3001](https://github.com/web-infra-dev/rspress/pull/3001) - chore(deps): update all patch dependencies by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3018](https://github.com/web-infra-dev/rspress/pull/3018) - chore(deps): update actions/setup-node action to v6.2.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3019](https://github.com/web-infra-dev/rspress/pull/3019) - chore(deps): update dependency cspell to ^9.6.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3021](https://github.com/web-infra-dev/rspress/pull/3021) - chore(deps): update dependency [@&#8203;rsdoctor/rspack-plugin](https://github.com/rsdoctor/rspack-plugin) to v1.5.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;3020](https://github.com/web-infra-dev/rspress/pull/3020) - chore(ssg): `experimentalExcludeRoutePaths` warning level to info by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3025](https://github.com/web-infra-dev/rspress/pull/3025) - Release v2.0.0-rc.6 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;3033](https://github.com/web-infra-dev/rspress/pull/3033) **Full Changelog**: <https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.5...v2.0.0-rc.6> ### [`v2.0.0-rc.5`](https://github.com/web-infra-dev/rspress/releases/tag/v2.0.0-rc.5) [Compare Source](https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.4...v2.0.0-rc.5) <!-- Release notes generated using configuration in .github/release.yml at main --> ##### What's Changed ##### New Features 🎉 - feat(theme): support clickable badge in HomeHero by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2969](https://github.com/web-infra-dev/rspress/pull/2969) - feat(ssg-md): add SSG-MD support to OverviewGroup and FallbackHeading components (Vibe Kanban) by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2966](https://github.com/web-infra-dev/rspress/pull/2966) ##### Bug Fixes 🐞 - fix: use layout effect for theme sync by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2961](https://github.com/web-infra-dev/rspress/pull/2961) - fix(theme): use modern sidebar CSS to respect system scrollbar settings by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2973](https://github.com/web-infra-dev/rspress/pull/2973) - fix(theme/nav): Fixed small layout shift on scroll by [@&#8203;elliotcourant](https://github.com/elliotcourant) in [#&#8203;2980](https://github.com/web-infra-dev/rspress/pull/2980) - fix(theme): Fixed step counter text alignment by [@&#8203;elliotcourant](https://github.com/elliotcourant) in [#&#8203;2981](https://github.com/web-infra-dev/rspress/pull/2981) ##### Document 📖 - docs: update links from rspack-contrib to rstackjs by [@&#8203;chenjiahan](https://github.com/chenjiahan) in [#&#8203;2953](https://github.com/web-infra-dev/rspress/pull/2953) - docs: add migrate from V1 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2954](https://github.com/web-infra-dev/rspress/pull/2954) - docs: add missing Layout slots (beforeNavMenu, afterNav) and add Layout Slots heading (Vibe Kanban) by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2964](https://github.com/web-infra-dev/rspress/pull/2964) - docs: remove work-in-progress warning from CSS variables documentation (Vibe Kanban) by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2972](https://github.com/web-infra-dev/rspress/pull/2972) - docs: add prettier-ignore to wrapCode examples in code-blocks documentation by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2974](https://github.com/web-infra-dev/rspress/pull/2974) - docs: improve plugin-llms warning about implementation limitations and SSR compatibility by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2975](https://github.com/web-infra-dev/rspress/pull/2975) - docs: add rspress-plugin-file-tree and use tree syntax for file tree code blocks by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2976](https://github.com/web-infra-dev/rspress/pull/2976) - docs: update auto-nav-sidebar to recommend index.mdx for dir, index convention by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2978](https://github.com/web-infra-dev/rspress/pull/2978) - docs: Update introduction and index for Rspress V2 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2971](https://github.com/web-infra-dev/rspress/pull/2971) - docs: add documentation for markdown.crossCompilerCache option by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2979](https://github.com/web-infra-dev/rspress/pull/2979) ##### Other Changes - chore(deps): update all patch dependencies by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2957](https://github.com/web-infra-dev/rspress/pull/2957) - chore(deps): update dependency [@&#8203;rslib/core](https://github.com/rslib/core) to v0.19.1 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2959](https://github.com/web-infra-dev/rspress/pull/2959) - chore(deps): update dependency [@&#8203;unhead/react](https://github.com/unhead/react) to ^2.1.1 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2960](https://github.com/web-infra-dev/rspress/pull/2960) - chore(deps): update dependency [@&#8203;rsbuild/core](https://github.com/rsbuild/core) to \~1.7.1 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2958](https://github.com/web-infra-dev/rspress/pull/2958) - refactor(theme/dark): simplify useThemeState hook and avoid dark mode flash by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2955](https://github.com/web-infra-dev/rspress/pull/2955) - refactor!: merge [@&#8203;rspress/runtime](https://github.com/rspress/runtime) into [@&#8203;rspress/core](https://github.com/rspress/core) package and remove [@&#8203;rspress/runtime](https://github.com/rspress/runtime) package by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2935](https://github.com/web-infra-dev/rspress/pull/2935) - chore(core): expose routePathToMdPath utility in runtime by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2967](https://github.com/web-infra-dev/rspress/pull/2967) - chore(deps): update rspress-plugin-file-tree to ^1.0.3 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2977](https://github.com/web-infra-dev/rspress/pull/2977) - Release v2.0.0-rc.5 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2982](https://github.com/web-infra-dev/rspress/pull/2982) **Full Changelog**: <https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.4...v2.0.0-rc.5> ### [`v2.0.0-rc.4`](https://github.com/web-infra-dev/rspress/releases/tag/v2.0.0-rc.4) [Compare Source](https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.3...v2.0.0-rc.4) <!-- Release notes generated using configuration in .github/release.yml at main --> ##### What's Changed ##### New Features 🎉 - feat(ssg-md): support Overview and HomeLayout by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2933](https://github.com/web-infra-dev/rspress/pull/2933) - feat(core): add import.meta.env.SSR and import.meta.env.SSG\_MD by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2948](https://github.com/web-infra-dev/rspress/pull/2948) - feat(theme/nav): support multiple level nested navigation items by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2943](https://github.com/web-infra-dev/rspress/pull/2943) - feat(nodejs)!: drop support of node 18, upgrade engines to `node >= 20.9.0` by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2924](https://github.com/web-infra-dev/rspress/pull/2924) ##### Bug Fixes 🐞 - fix(core): `Iterator#map` is only available on Node 22+ by [@&#8203;JounQin](https://github.com/JounQin) in [#&#8203;2923](https://github.com/web-infra-dev/rspress/pull/2923) - fix(theme/Sidebar): sidebar should also listen location changes by [@&#8203;JounQin](https://github.com/JounQin) in [#&#8203;2922](https://github.com/web-infra-dev/rspress/pull/2922) - fix(theme): improve SSR compatibility by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2934](https://github.com/web-infra-dev/rspress/pull/2934) - fix: hover group links should also calc active with matchNavbar by default by [@&#8203;JounQin](https://github.com/JounQin) in [#&#8203;2930](https://github.com/web-infra-dev/rspress/pull/2930) - fix(theme/Nav): render empty nav items correctly not link by [@&#8203;JounQin](https://github.com/JounQin) in [#&#8203;2929](https://github.com/web-infra-dev/rspress/pull/2929) - fix(theme/Layout): render `beforeNavMenu` correctly by [@&#8203;JounQin](https://github.com/JounQin) in [#&#8203;2822](https://github.com/web-infra-dev/rspress/pull/2822) - fix(ssg-md): use .md links instead of .html in Overview SSG-MD mode by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2944](https://github.com/web-infra-dev/rspress/pull/2944) - fix(plugin-algolia): upgrade docsearch and fix the css regression by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2946](https://github.com/web-infra-dev/rspress/pull/2946) - fix(theme/Codeblock): revert the code shadow and enhance the separator line by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2931](https://github.com/web-infra-dev/rspress/pull/2931) - fix(plugin-algolia): should remove base by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2949](https://github.com/web-infra-dev/rspress/pull/2949) ##### Document 📖 - docs: Add wrap vs eject guides for customizing Rspress theme by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2906](https://github.com/web-infra-dev/rspress/pull/2906) - docs: upgrade custom-theme and add wrap and eject by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2925](https://github.com/web-infra-dev/rspress/pull/2925) - docs: upgrade llms.txt and ssg-md by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2927](https://github.com/web-infra-dev/rspress/pull/2927) - docs: fix og-image cjk wrong font and title slice logic by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2919](https://github.com/web-infra-dev/rspress/pull/2919) - docs: typo translate by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2932](https://github.com/web-infra-dev/rspress/pull/2932) - docs: fix the shiki highlighter ansi "/" by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2947](https://github.com/web-infra-dev/rspress/pull/2947) - docs: add SSG vs SSG-MD comparison table by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2950](https://github.com/web-infra-dev/rspress/pull/2950) ##### Other Changes - chore(deps): update all patch dependencies by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2938](https://github.com/web-infra-dev/rspress/pull/2938) - chore(deps): update dependency [@&#8203;docsearch/css](https://github.com/docsearch/css) to ^4.4.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2939](https://github.com/web-infra-dev/rspress/pull/2939) - chore(deps): update dependency [@&#8203;docsearch/react](https://github.com/docsearch/react) to ^4.4.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2941](https://github.com/web-infra-dev/rspress/pull/2941) - chore(deps): update dependency [@&#8203;rsdoctor/rspack-plugin](https://github.com/rsdoctor/rspack-plugin) to v1.4.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2942](https://github.com/web-infra-dev/rspress/pull/2942) - Release v2.0.0-rc.4 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2936](https://github.com/web-infra-dev/rspress/pull/2936) **Full Changelog**: <https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.3...v2.0.0-rc.4> ### [`v2.0.0-rc.3`](https://github.com/web-infra-dev/rspress/releases/tag/v2.0.0-rc.3) [Compare Source](https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.2...v2.0.0-rc.3) <!-- Release notes generated using configuration in .github/release.yml at main --> ##### Highlights ✨ ##### 🆕️ Support common tags > related PR: [#&#8203;2879](https://github.com/web-infra-dev/rspress/pull/2879) - ref: <https://v2.rspress.rs/ui/components/tag> You can use it in the frontmatter, and it also supports customization: ```md --- tag: new, experimental, ejectable --- ``` <img width="3057" height="1981" alt="image" src="https://github.com/user-attachments/assets/2cb32161-a659-474f-a97f-84320f09b537" /> ##### 🌏 Enable `text-autospace: normal;` by default > related PR: [#&#8203;2920](https://github.com/web-infra-dev/rspress/pull/2920) The text-autospace CSS property allows you to specify the space applied between Chinese/Japanese/Korean (CJK) and non-CJK characters. - ref: <https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/text-autospace> ```css /* If you don't like it, you can cancel it via `:root { text-autospace: unset; }` */ :root { text-autospace: normal; } ``` ##### What's Changed ##### New Features 🎉 - feat(plugin-typedoc): allow customize the docs/api/\_meta.json and track in git by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2869](https://github.com/web-infra-dev/rspress/pull/2869) - feat(theme/tags): allow frontmatter tag by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2879](https://github.com/web-infra-dev/rspress/pull/2879) - feat(theme): add text-autospace: normal; by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2920](https://github.com/web-infra-dev/rspress/pull/2920) ##### Bug Fixes 🐞 - fix(core): Fix an issue where llms.txt was not generated when locales was not set by [@&#8203;Karibash](https://github.com/Karibash) in [#&#8203;2866](https://github.com/web-infra-dev/rspress/pull/2866) - fix(plugin-algolia): add missing constant by [@&#8203;dragomano](https://github.com/dragomano) in [#&#8203;2865](https://github.com/web-infra-dev/rspress/pull/2865) - fix(theme/Link): add forwardRef for react 18 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2871](https://github.com/web-infra-dev/rspress/pull/2871) - fix(theme/NavScreen): Disable clicks on active language/version entries in mobile nav by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2883](https://github.com/web-infra-dev/rspress/pull/2883) - fix(cli/eject): fix the component path not right by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2896](https://github.com/web-infra-dev/rspress/pull/2896) - fix(theme/CodeBlockRuntime): Render SSR fallback for CodeBlockRuntime to avoid first-paint empty DOM/CLS by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2902](https://github.com/web-infra-dev/rspress/pull/2902) - fix: do not modify singleton global sidebar by [@&#8203;JounQin](https://github.com/JounQin) in [#&#8203;2911](https://github.com/web-infra-dev/rspress/pull/2911) ##### Document 📖 - docs(codeblock): a typo by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2868](https://github.com/web-infra-dev/rspress/pull/2868) - docs(temp-fix-workaround): add shiki langs for markdown codeblock unstable bundle size by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2874](https://github.com/web-infra-dev/rspress/pull/2874) - docs: Polish Rspress V2 bilingual docs for navigation, MDX usage, and UI components by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2875](https://github.com/web-infra-dev/rspress/pull/2875) - docs: add Chinese guide for llms.txt SSG-MD output by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2877](https://github.com/web-infra-dev/rspress/pull/2877) - docs: adjust structure by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2884](https://github.com/web-infra-dev/rspress/pull/2884) - docs(ui): Add PackageManagerTabs component docs in en/zh UI sections by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2882](https://github.com/web-infra-dev/rspress/pull/2882) - docs(api): add rspress eject command documentation by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2886](https://github.com/web-infra-dev/rspress/pull/2886) - docs: Split runtime hook docs into dedicated UI hook pages by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2885](https://github.com/web-infra-dev/rspress/pull/2885) - docs: describe useSite/usePage runtime hooks by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2887](https://github.com/web-infra-dev/rspress/pull/2887) - docs: add components by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2891](https://github.com/web-infra-dev/rspress/pull/2891) - docs(theme): Clarify LastUpdated configuration and customization guidance by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2901](https://github.com/web-infra-dev/rspress/pull/2901) - docs: add preview for some codeblocks by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2907](https://github.com/web-infra-dev/rspress/pull/2907) - docs: Add usePages and useFrontmatter hook docs with overview example and HMR note by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2905](https://github.com/web-infra-dev/rspress/pull/2905) - docs: add pluginOg and og-image to rspress docsite by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2835](https://github.com/web-infra-dev/rspress/pull/2835) ##### Other Changes - chore(theme/CodeBlock): add box-shadow to codeblock by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2863](https://github.com/web-infra-dev/rspress/pull/2863) - test: use Rstest as Rspress's test framework by [@&#8203;9aoy](https://github.com/9aoy) in [#&#8203;2413](https://github.com/web-infra-dev/rspress/pull/2413) - chore(theme/Codeblock): beautify the shiki highlight by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2864](https://github.com/web-infra-dev/rspress/pull/2864) - chore(theme/Tabs): update style when nested Tabs in Tabs by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2870](https://github.com/web-infra-dev/rspress/pull/2870) - chore(create-rspress): Add React 19 dependencies to create-rspress template by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2873](https://github.com/web-infra-dev/rspress/pull/2873) - chore(deps): upgrade rsbuild and not show warning for \_\_dirname and \_\_filename when bundling for web by [@&#8203;Timeless0911](https://github.com/Timeless0911) in [#&#8203;2878](https://github.com/web-infra-dev/rspress/pull/2878) - chore(deps): update all patch dependencies by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2889](https://github.com/web-infra-dev/rspress/pull/2889) - chore(deps): update pnpm to v10.25.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2890](https://github.com/web-infra-dev/rspress/pull/2890) - chore(deps): update shiki monorepo to ^3.20.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2892](https://github.com/web-infra-dev/rspress/pull/2892) - chore(deps): update actions/cache action to v5 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2893](https://github.com/web-infra-dev/rspress/pull/2893) - chore(auto-nav-sidebar): Improve missing page error readability by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2880](https://github.com/web-infra-dev/rspress/pull/2880) - chore(ci): update playwright test config by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2897](https://github.com/web-infra-dev/rspress/pull/2897) - chore: remove unused view transition code by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2898](https://github.com/web-infra-dev/rspress/pull/2898) - test(e2e): playwright support lazyCompilation after Rsbuild 1.4.0, remove RSPRESS\_LAZY\_COMPILATION=false by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2319](https://github.com/web-infra-dev/rspress/pull/2319) - chore(theme): better UI for overview items without headers case by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2899](https://github.com/web-infra-dev/rspress/pull/2899) - refactor(ssg-md): redesign the remarkSplitMdx split logic by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2903](https://github.com/web-infra-dev/rspress/pull/2903) - chore: remove unused min-height style by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2917](https://github.com/web-infra-dev/rspress/pull/2917) - chore(deps): update dependency react-router-dom to ^7.11.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2914](https://github.com/web-infra-dev/rspress/pull/2914) - chore(deps): update pnpm to v10.26.1 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2915](https://github.com/web-infra-dev/rspress/pull/2915) - chore(deps): update actions/upload-artifact action to v6 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2916](https://github.com/web-infra-dev/rspress/pull/2916) - chore(deps): update all patch dependencies - autoclosed by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2913](https://github.com/web-infra-dev/rspress/pull/2913) - chore(e2e): stable plugin-preview-custom-entry test by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2918](https://github.com/web-infra-dev/rspress/pull/2918) - Release v2.0.0-rc.3 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2921](https://github.com/web-infra-dev/rspress/pull/2921) **Full Changelog**: <https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.2...v2.0.0-rc.3> ### [`v2.0.0-rc.2`](https://github.com/web-infra-dev/rspress/releases/tag/v2.0.0-rc.2) [Compare Source](https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.1...v2.0.0-rc.2) <!-- Release notes generated using configuration in .github/release.yml at main --> ##### Breaking Changes🚨 ##### `theme` folder should use `@rspress/core/theme-original` > related PR: [#&#8203;2860](https://github.com/web-infra-dev/rspress/pull/2860) In Rspress V1 document, `@theme` is the alias for `rspress/theme`, but `@theme` is an alias which points to `theme/index.tsx` and falls back to `rspress/theme`. `rspress/theme` or `@rspress/core/theme` points to Rspress's `theme-default`, they are actually different things. We standardize this behavior, which is the same as docusaurus. 1. In `docs` directory, `@theme` or `@rspress/core/theme` should be used, which points to `theme/index.tsx` and falls back to `theme-default` 2. In `theme` directory , `@theme-original` or `@rspress/core/theme-original` should be used, which always points to Rspress's `theme-default`, used for users to customize themes, which is very useful for users who publish npm theme packages. ```diff // theme/index.tsx - import { Layout as BasicLayout } from 'rspress/theme'; // or @&#8203;rspress/core/theme + import { Layout } from '@&#8203;rspress/core/theme-original'; const Layout = () => { return <BasicLayout {...} /> } export { Layout } - export * from 'rspress/theme' // or @&#8203;rspress/core/theme + export * from '@&#8203;rspress/core/theme-original'; ``` ##### Merge `@theme-assets` to `@theme` **Before** We have a separate entry for exporting [@&#8203;theme-assets](https://github.com/theme-assets) ```tsx import { SvgWrapper } from '@&#8203;theme' import SearchSvg from '@&#8203;theme-assets/Search'; <SvgWrapper icon={SearchSvg} /> ``` **After** `@theme-assets` has been removed. Icons are exported from `@theme` and prefixed with `Icon`, for example: `IconSearch` ```tsx import { SvgWrapper, IconSearch } from '@&#8203;theme'; <SvgWrapper icon={IconSearch} /> ^? type Icon = React.FC<React.SVGProps<SVGSVGElement>> | string; ``` ##### Refactor `@rspress/plugin-preview` and simplify usage > related PR: [#&#8203;2806](https://github.com/web-infra-dev/rspress/pull/2806) **Before: Required declarations in both config file and MDX file.** ```ts pluginPreview({ previewMode: 'iframe', iframeOptions: { position: 'fixed' }, }); ``` ````mdx ```tsx preview ``` ```` **After: Only declare in the MDX file.** ````mdx ```tsx preview="iframe-fixed" ``` ```` ##### What's Changed ##### New Features 🎉 - feat(plugin-preview)!: simplify the usage via `tsx preview="iframe-fixed"` and support hmr by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2806](https://github.com/web-infra-dev/rspress/pull/2806) - feat(plugin-preview): should support dark mode by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2816](https://github.com/web-infra-dev/rspress/pull/2816) - feat(i18n): add Russian translation for built-in i18n text by [@&#8203;dragomano](https://github.com/dragomano) in [#&#8203;2827](https://github.com/web-infra-dev/rspress/pull/2827) - feat(rspack)!: revert Rspack native watcher by default by [@&#8203;Timeless0911](https://github.com/Timeless0911) in [#&#8203;2830](https://github.com/web-infra-dev/rspress/pull/2830) - feat(plugin-typedoc): Upgrade to TypeDoc v0.28 with new API by [@&#8203;Karibash](https://github.com/Karibash) in [#&#8203;2790](https://github.com/web-infra-dev/rspress/pull/2790) - feat(mdx): support absolute paths with `<root>/` prefix in remarkFileCodeBlock by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2665](https://github.com/web-infra-dev/rspress/pull/2665) - feat(theme)!: custom theme should use `@rspress/core/theme-original` by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2860](https://github.com/web-infra-dev/rspress/pull/2860) - feat(theme/Root): add ejectable <Root /> component to theme by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2858](https://github.com/web-infra-dev/rspress/pull/2858) - feat(theme/Toc): Add data-depth attribute to TOC items by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2859](https://github.com/web-infra-dev/rspress/pull/2859) - feat(plugin-typedoc): Add setup callback for TypeDoc customization by [@&#8203;Karibash](https://github.com/Karibash) in [#&#8203;2841](https://github.com/web-infra-dev/rspress/pull/2841) ##### Performance 🚀 - perf(theme/useWindowSize): optimize useWindowSize with debounce to reduce resize handler calls by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2849](https://github.com/web-infra-dev/rspress/pull/2849) ##### Bug Fixes 🐞 - fix(theme): css vars color by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2791](https://github.com/web-infra-dev/rspress/pull/2791) - fix(theme): table should be scrollable and startTransition should not be a html attribute by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2792](https://github.com/web-infra-dev/rspress/pull/2792) - fix(theme): th width should be same with td by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2804](https://github.com/web-infra-dev/rspress/pull/2804) - fix(theme): plugin-preview should hide the toc by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2803](https://github.com/web-infra-dev/rspress/pull/2803) - fix(theme/Sidebar): pass down `onClick` prop by [@&#8203;JounQin](https://github.com/JounQin) in [#&#8203;2811](https://github.com/web-infra-dev/rspress/pull/2811) - fix(plugin-twoslash): Make twoslashOptions optional by [@&#8203;Karibash](https://github.com/Karibash) in [#&#8203;2819](https://github.com/web-infra-dev/rspress/pull/2819) - fix(ssg): wrong html selector for crawlers regression due to react\@&#8203;19.2.0 `progressiveChunkSize` change by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2831](https://github.com/web-infra-dev/rspress/pull/2831) - fix(theme/callout): link in callout should use currentColor by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2838](https://github.com/web-infra-dev/rspress/pull/2838) - fix(plugin-typedoc): allow typedoc plugin interface as usual by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2836](https://github.com/web-infra-dev/rspress/pull/2836) - fix(theme/outline): line-height of toc item by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2840](https://github.com/web-infra-dev/rspress/pull/2840) - fix(cli): should not restart when public folder change files by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2847](https://github.com/web-infra-dev/rspress/pull/2847) - fix(core): Fix an issue where the PackageManagerTabs component outputs broken Markdown by [@&#8203;Karibash](https://github.com/Karibash) in [#&#8203;2861](https://github.com/web-infra-dev/rspress/pull/2861) ##### Document 📖 - docs: update package manager command from beta to rc by [@&#8203;chenjiahan](https://github.com/chenjiahan) in [#&#8203;2800](https://github.com/web-infra-dev/rspress/pull/2800) - docs: Add "new" tag to plugin documentation for new v1 plugins by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2851](https://github.com/web-infra-dev/rspress/pull/2851) ##### Other Changes - chore(theme/doc): add border to inline text code by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2796](https://github.com/web-infra-dev/rspress/pull/2796) - chore(deps)!: update dependency react-router-dom to v7 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;1802](https://github.com/web-infra-dev/rspress/pull/1802) - chore(deps): update actions/checkout digest to [`34e1148`](https://github.com/web-infra-dev/rspress/commit/34e1148) by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2798](https://github.com/web-infra-dev/rspress/pull/2798) - chore(deps): update all patch dependencies by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2799](https://github.com/web-infra-dev/rspress/pull/2799) - chore(deps): update dependency [@&#8203;rstack-dev/doc-ui](https://github.com/rstack-dev/doc-ui) to ^1.12.0 - autoclosed by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2802](https://github.com/web-infra-dev/rspress/pull/2802) - chore(deps): update dependency [@&#8203;rslib/core](https://github.com/rslib/core) to v0.18.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2801](https://github.com/web-infra-dev/rspress/pull/2801) - chore(infra): use [@&#8203;rslib/core](https://github.com/rslib/core) preserveModules by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2805](https://github.com/web-infra-dev/rspress/pull/2805) - chore(build): enable `redirect.dts.extension` to fix type issue by [@&#8203;Timeless0911](https://github.com/Timeless0911) in [#&#8203;2814](https://github.com/web-infra-dev/rspress/pull/2814) - chore(deps): update dependency prettier to v3.7.3 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2825](https://github.com/web-infra-dev/rspress/pull/2825) - chore(deps): update all patch dependencies by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2824](https://github.com/web-infra-dev/rspress/pull/2824) - chore: fix the diff.yml event by [@&#8203;yifancong](https://github.com/yifancong) in [#&#8203;2828](https://github.com/web-infra-dev/rspress/pull/2828) - chore(theme): export `FallbackHeading` for reusing by [@&#8203;JounQin](https://github.com/JounQin) in [#&#8203;2813](https://github.com/web-infra-dev/rspress/pull/2813) - chore: bump pnpm 10.24.0 and remove trust policy config by [@&#8203;Timeless0911](https://github.com/Timeless0911) in [#&#8203;2829](https://github.com/web-infra-dev/rspress/pull/2829) - chore(deps): update actions/checkout action to v6 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2833](https://github.com/web-infra-dev/rspress/pull/2833) - chore(deps): update actions/setup-node action to v6 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2834](https://github.com/web-infra-dev/rspress/pull/2834) - chore(theme/Tabs): upgrade hover style by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2837](https://github.com/web-infra-dev/rspress/pull/2837) - chore(deps): update all patch dependencies by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2842](https://github.com/web-infra-dev/rspress/pull/2842) - chore(deps): update dependency lint-staged to v16 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2844](https://github.com/web-infra-dev/rspress/pull/2844) - chore(deps): update playwright monorepo to v1.57.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2843](https://github.com/web-infra-dev/rspress/pull/2843) - chore(theme/Table): narrow table padding by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2845](https://github.com/web-infra-dev/rspress/pull/2845) - chore(Theme/outline): add shadow by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2846](https://github.com/web-infra-dev/rspress/pull/2846) - chore(plugin-algolia): Add Russian translation for plugin-algolia by [@&#8203;dragomano](https://github.com/dragomano) in [#&#8203;2832](https://github.com/web-infra-dev/rspress/pull/2832) - chore(core): truncate some error stack traces to 5 lines by [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2821](https://github.com/web-infra-dev/rspress/pull/2821) - chore(build): use advanced ESM by [@&#8203;Timeless0911](https://github.com/Timeless0911) in [#&#8203;2848](https://github.com/web-infra-dev/rspress/pull/2848) - chore(deps): update dependency cspell to ^9.4.0 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2854](https://github.com/web-infra-dev/rspress/pull/2854) - chore(deps): update all patch dependencies by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2853](https://github.com/web-infra-dev/rspress/pull/2853) - chore(deps): update dependency react-router-dom to ^7.10.1 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2855](https://github.com/web-infra-dev/rspress/pull/2855) - chore(deps): update dependency rimraf to ^6.1.2 by [@&#8203;renovate](https://github.com/renovate)\[bot] in [#&#8203;2856](https://github.com/web-infra-dev/rspress/pull/2856) - Release v2.0.0-rc.2 by [@&#8203;SoonIter](https://github.com/SoonIter) in [#&#8203;2862](https://github.com/web-infra-dev/rspress/pull/2862) ##### New Contributors - [@&#8203;dragomano](https://github.com/dragomano) made their first contribution in [#&#8203;2827](https://github.com/web-infra-dev/rspress/pull/2827) **Full Changelog**: <https://github.com/web-infra-dev/rspress/compare/v2.0.0-rc.1...v2.0.0-rc.2> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43MC4yIiwidXBkYXRlZEluVmVyIjoiNDIuNzAuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiRGVwZW5kZW5jaWVzIiwiRGVwZW5kZW5jaWVzL1Jlbm92YXRlIl19-->
chore(deps): update dependency @rspress/plugin-preview to v2.0.0-rc.5
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 1m1s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 9m49s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 27m59s
ead2cc491b
renovate force-pushed renovate/rspress-plugin-preview-2.x-lockfile from ead2cc491b
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 1m1s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 9m49s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 27m59s
to 94a89218a1
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 2m54s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 10m31s
Update flake hashes / update-flake-hashes (pull_request) Successful in 42s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 17m29s
2026-01-19 05:03:32 +00:00
Compare
renovate changed title from chore(deps): update dependency @rspress/plugin-preview to v2.0.0-rc.5 to chore(deps): update dependency @rspress/plugin-preview to v2.0.0-rc.6 2026-01-21 05:02:04 +00:00
renovate force-pushed renovate/rspress-plugin-preview-2.x-lockfile from 94a89218a1
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 2m54s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 10m31s
Update flake hashes / update-flake-hashes (pull_request) Successful in 42s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 17m29s
to 33cc67172d 2026-01-21 05:02:05 +00:00
Compare
renovate force-pushed renovate/rspress-plugin-preview-2.x-lockfile from 94a89218a1
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 2m54s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 10m31s
Update flake hashes / update-flake-hashes (pull_request) Successful in 42s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 17m29s
to d7267412f8 2026-01-22 05:04:09 +00:00
Compare
renovate force-pushed renovate/rspress-plugin-preview-2.x-lockfile from 94a89218a1
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 2m54s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 10m31s
Update flake hashes / update-flake-hashes (pull_request) Successful in 42s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 17m29s
to d8194aa2cb
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 2m18s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 11m35s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 19m50s
2026-01-23 05:02:01 +00:00
Compare
renovate changed title from chore(deps): update dependency @rspress/plugin-preview to v2.0.0-rc.6 to chore(deps): update dependency @rspress/plugin-preview to v2.0.0-rc.7 2026-01-24 05:03:53 +00:00
renovate force-pushed renovate/rspress-plugin-preview-2.x-lockfile from d8194aa2cb
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 2m18s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 11m35s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 19m50s
to 1d553ad3df 2026-01-24 05:03:54 +00:00
Compare
renovate force-pushed renovate/rspress-plugin-preview-2.x-lockfile from d8194aa2cb
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 2m18s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 11m35s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 19m50s
to 08df5d6bf0
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 53s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 9m21s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 39m48s
2026-01-25 05:02:08 +00:00
Compare
renovate force-pushed renovate/rspress-plugin-preview-2.x-lockfile from 08df5d6bf0
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 53s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 9m21s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 39m48s
to e830f53fac
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 1m53s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 4m34s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 47m29s
2026-01-27 05:03:42 +00:00
Compare
renovate changed title from chore(deps): update dependency @rspress/plugin-preview to v2.0.0-rc.7 to chore(deps): update dependency @rspress/plugin-preview to v2.0.0-rc.8 2026-01-28 05:04:20 +00:00
renovate force-pushed renovate/rspress-plugin-preview-2.x-lockfile from e830f53fac
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 1m53s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 4m34s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 47m29s
to d3a4de1642
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 4m30s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 8m37s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 46m54s
2026-01-28 05:04:21 +00:00
Compare
renovate changed title from chore(deps): update dependency @rspress/plugin-preview to v2.0.0-rc.8 to chore(deps): update dependency @rspress/plugin-preview to v2.0.0 2026-01-29 05:02:19 +00:00
renovate force-pushed renovate/rspress-plugin-preview-2.x-lockfile from e830f53fac
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 1m53s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 4m34s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 47m29s
to dcc7c8af17
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 3m39s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 18m18s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 58m16s
2026-01-29 05:02:19 +00:00
Compare
ginger closed this pull request 2026-01-29 15:47:06 +00:00
nex added this to the 0.5.4 milestone 2026-02-08 16:14:53 +00:00
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Failing after 3m39s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 18m18s
Required
Details
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 58m16s
Required
Details

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity!1295
No description provided.