Skip to content

v2.0.0-beta.23

Pre-release
Pre-release
Compare
Choose a tag to compare
@SoonIter SoonIter released this 29 Jul 07:55
· 171 commits to main since this release
970b52d

Breaking 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.

image

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.

image

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 add markdown.link.autoPrefix by @SoonIter in #2415
  • feat(core)!: routeService ignore "_" prefix files by default by @SoonIter in #2149

Performance 🚀

  • perf(mdx/crossCompilerCache): free the memory after one read by @SoonIter in #2418

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v2.0.0-beta.22...v2.0.0-beta.23