v2.0.0-beta.23
Pre-releaseBreaking Changes 🚨
Enable markdown.link.checkDeadLinks
by default
related PR: #2423
Rspress V2 now re-implements the dead link check feature. More information is obtained during compilation, resulting in more accurate results and more beautiful logs.

Ref: https://v2.rspress.rs/guide/basic/use-mdx/link, https://v2.rspress.rs/zh/api/config/config-build#markdownlinkcheckdeadlinks
MDX fragments usage (ignore "_" prefix routes via route.excludeConvention
)
related PR: #2149
In the docs directory, MDX fragments or React components need to be excluded from routing through the route.exclude configuration. For convenience, we agree that files starting with "_" will be excluded by default.

Ref: https://v2.rspress.rs/guide/basic/use-mdx/components
Highlights ✨
New plugin @rspress/plugin-sitemap
🗺️
related PR: #2416
thanks to @jl917, he created rspress-plugin-sitemap during Rspress V1 for generating sitemap.
@rspress/plugin-sitemap
is a forked version of rspress-plugin-sitemap
and it is compatible with Rspress V2. During Rspress V2, it will be maintained as an official Rspress plugin.
Ref: https://v2.rspress.rs/plugin/official-plugins/sitemap
Documentation of Rspress V2 is happening📚
Most of the breaking changes in Rspress V2 have been completed, and we are now gradually enriching the documentation and standardizing various features provided to Rspress users such as links and mdx fragments usage
What's Changed
New Features 🎉
- feat(plugin-sitemap): init @rspress/plugin-sitemap by @SoonIter in #2416
- feat!: enable
checkDeadLinks
by default and addmarkdown.link.autoPrefix
by @SoonIter in #2415 - feat(core)!: routeService ignore "_" prefix files by default by @SoonIter in #2149
Performance 🚀
Bug Fixes 🐞
Document 📖
- docs: beta.22 @rspress/core breakingchange fix by @SoonIter in #2414
- docs: add @rspress/plugin-sitemap by @SoonIter in #2417
Other Changes
- chore: add open collective funding link by @chenjiahan in #2411
- chore(deps): update Biome to v2 by @Timeless0911 in #2412
- chore(deps): update all patch dependencies by @renovate[bot] in #2420
- chore(deps): update dependency @rslib/core to v0.11.0 by @renovate[bot] in #2421
- Release v2.0.0-beta.23 by @SoonIter in #2424
Full Changelog: v2.0.0-beta.22...v2.0.0-beta.23