Highlights β¨
ποΈ Support common tags
related PR: #2879
You can use it in the frontmatter, and it also supports customization:
---
tag: new, experimental, ejectable
---
π 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 π
- feat(plugin-typedoc): allow customize the docs/api/_meta.json and track in git by @SoonIter in #2869
- feat(theme/tags): allow frontmatter tag by @SoonIter in #2879
- feat(theme): add text-autospace: normal; by @SoonIter in #2920
Bug Fixes π
- fix(core): Fix an issue where llms.txt was not generated when locales was not set by @Karibash in #2866
- fix(plugin-algolia): add missing constant by @dragomano in #2865
- fix(theme/Link): add forwardRef for react 18 by @SoonIter in #2871
- fix(theme/NavScreen): Disable clicks on active language/version entries in mobile nav by @Copilot in #2883
- fix(cli/eject): fix the component path not right by @SoonIter in #2896
- fix(theme/CodeBlockRuntime): Render SSR fallback for CodeBlockRuntime to avoid first-paint empty DOM/CLS by @Copilot in #2902
- fix: do not modify singleton global sidebar by @JounQin in #2911
Document π
- docs(codeblock): a typo by @SoonIter in #2868
- docs(temp-fix-workaround): add shiki langs for markdown codeblock unstable bundle size by @SoonIter in #2874
- docs: Polish Rspress V2 bilingual docs for navigation, MDX usage, and UI components by @Copilot in #2875
- docs: add Chinese guide for llms.txt SSG-MD output by @Copilot in #2877
- docs: adjust structure by @SoonIter in #2884
- docs(ui): Add PackageManagerTabs component docs in en/zh UI sections by @Copilot in #2882
- docs(api): add rspress eject command documentation by @Copilot in #2886
- docs: Split runtime hook docs into dedicated UI hook pages by @Copilot in #2885
- docs: describe useSite/usePage runtime hooks by @Copilot in #2887
- docs: add components by @SoonIter in #2891
- docs(theme): Clarify LastUpdated configuration and customization guidance by @Copilot in #2901
- docs: add preview for some codeblocks by @SoonIter in #2907
- docs: Add usePages and useFrontmatter hook docs with overview example and HMR note by @Copilot in #2905
- docs: add pluginOg and og-image to rspress docsite by @SoonIter in #2835
Other Changes
- chore(theme/CodeBlock): add box-shadow to codeblock by @SoonIter in #2863
- test: use Rstest as Rspress's test framework by @9aoy in #2413
- chore(theme/Codeblock): beautify the shiki highlight by @SoonIter in #2864
- chore(theme/Tabs): update style when nested Tabs in Tabs by @SoonIter in #2870
- chore(create-rspress): Add React 19 dependencies to create-rspress template by @Copilot in #2873
- chore(deps): upgrade rsbuild and not show warning for __dirname and __filename when bundling for web by @Timeless0911 in #2878
- chore(deps): update all patch dependencies by @renovate[bot] in #2889
- chore(deps): update pnpm to v10.25.0 by @renovate[bot] in #2890
- chore(deps): update shiki monorepo to ^3.20.0 by @renovate[bot] in #2892
- chore(deps): update actions/cache action to v5 by @renovate[bot] in #2893
- chore(auto-nav-sidebar): Improve missing page error readability by @Copilot in #2880
- chore(ci): update playwright test config by @SoonIter in #2897
- chore: remove unused view transition code by @SoonIter in #2898
- test(e2e): playwright support lazyCompilation after Rsbuild 1.4.0, remove RSPRESS_LAZY_COMPILATION=false by @SoonIter in #2319
- chore(theme): better UI for overview items without headers case by @Copilot in #2899
- refactor(ssg-md): redesign the remarkSplitMdx split logic by @SoonIter in #2903
- chore: remove unused min-height style by @SoonIter in #2917
- chore(deps): update dependency react-router-dom to ^7.11.0 by @renovate[bot] in #2914
- chore(deps): update pnpm to v10.26.1 by @renovate[bot] in #2915
- chore(deps): update actions/upload-artifact action to v6 by @renovate[bot] in #2916
- chore(deps): update all patch dependencies - autoclosed by @renovate[bot] in #2913
- chore(e2e): stable plugin-preview-custom-entry test by @SoonIter in #2918
- Release v2.0.0-rc.3 by @SoonIter in #2921
Full Changelog: v2.0.0-rc.2...v2.0.0-rc.3