Skip to content

Releases: web-infra-dev/rspress

v1.14.0

07 Mar 12:53
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf: remove the built-in @rsbuild/plugin-svgr, which significantly reduces the number of dependencies. This may break some custom React components, see #716 for more details.

New Features 🎉

  • feat: support Badge component
  • feat: add support for custom iframe buildConfig
  • feat(deps): bump Rsbuild v0.4.11
  • feat: support custom pageMeta in js mdx loader
  • feat: support section header
  • feat: support inline markdown in sidebar

Bug Fixes 🐞

  • fix: useFullTextSearch hook not work
  • fix: adjust rspress doc max width
  • fix: remove virtual module plugin and use pageMeta in mdx loader
  • fix: modernjs plugin alias problem in iframe
  • fix: doc fragment hmr invalid
  • fix: add theme to preview plugin dep and import theme css
  • fix: keep code element src prop if it is not a relative path
  • fix: implement svg icon wrapper
  • fix: frontmatter.title priority is higher than h1 title

Other Changes

  • chore: remove useless overflow-hidden style
  • chore: optimize dark mode style
  • correct style issue with lark svg icon

v1.13.2

03 Mar 12:26
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • fix(theme-default): make outline have a well width again
  • fix(core): replace all import info in mdx

v1.13.1

29 Feb 14:01
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf: pre build svg in theme package

New Features 🎉

  • feat: extract all CSS into a single file

Bug Fixes 🐞

  • fix(style): overview links margin not work
  • fix: add semicon judgement in flattenMdxContent
  • fix(theme-default): adjust sidebar menu z-index
  • fix(theme-default): doc container with full width.

Other Changes

  • chore: replace omitted svg import statement

v1.13.0

29 Feb 04:10
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • feat(internal-components): New Steps Component!
  • feat: add support for custom theme assets

Bug Fixes 🐞

  • fix: support external link in nav
  • fix(core): remove global to avoid ambiguity in non-greedy match in flat mdx
  • fix: memoize the callback in useI18n hook
  • fix: respect search flag on mobile devices
  • fix: nested mdx imports build failed
  • fix(core): use alias to support custom theme, instead of detect
  • fix: avoid error in auto nav sidebar plugin
  • fix: location is not defined in ssg
  • fix: update theme when change storage
  • fix: add explicit height to social link icons, which is needed on Safari

更新内容

新特性 🎉

  • patch(docs): Add documentation for Steps Component!

v1.12.1

23 Feb 00:40
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • fix(theme-default): Fix collapsed space between last updated text and time

v1.12.0

22 Feb 10:42
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • feat(theme): add afterDocFooter slot for custom theme #646
  • feat(theme): add scroll to top button through enableScrollToTop config #622
  • feat(theme): pass through HTMLAnchorElement props to Link component. #641
  • feat(theme): add DocLayout export #635
  • feat(theme): set min time of initing search index as 1s #647
  • feat(theme): new social platform for social links——X #618
  • feat(core): trigger auto page reload after page meta changed #640

Bug Fixes 🐞

  • fix(doc-components): change code children to string #642
  • fix(theme-default): fix incorrect css variable name #606
  • fix(plugin-preview): support rspress restart #615
  • fix(theme-default): private import not work in production #637
  • fix: use logical OR instead of nullish coalescing when label is empty #605
  • fix: update sidebar after h1 change #640
  • fix: doc fragments' headers disappeared in development #640
  • fix(tab-list):overflown tabs not showing on mobile fixed #616

Other Changes

  • chore(theme-default): adjust copyCodeBtn icon size & updated wordWrapBtn animations for equality between both buttons #613
  • refactor(theme-default): ui switch query #634

v1.11.2

07 Feb 03:53
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf: use stream to serve search index file.

New Features 🎉

  • feat: support defaultRenderMode to keep same as preview
  • feat: expose radius css variable
  • feat: support custom search placeholder text

Bug Fixes 🐞

  • fix pure meta in code block which not effective
  • fix: playground cannot work with name import alias
  • fix: fix demo id and avoid 404 in production
  • fix: global theme vars not work

Other Changes

  • chore(deps): bump rsbuild 0.4.0
  • Support external demo to specific isMobile prop

v1.11.1

26 Jan 05:05
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • fix: sidebar walk excludes node_modules

v1.11.0

26 Jan 02:56
Compare
Choose a tag to compare

What's Changed

Performance Improvements ⚡

  • perf(cli): config.root conditional judgment

New Features 🎉

  • feat: allow table scrolling to avoid breaking work
  • feat: support toc component in mobile device

Bug Fixes 🐞

  • fix: ensure afterBuild executed after dev compile done

Other Changes

  • style: optimize code copy animation

v1.10.1

19 Jan 03:55
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • fix: publicDir repeat mkdir conflict