Skip to content

Releases: web-infra-dev/rspress

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

v1.10.0

18 Jan 03:30
Compare
Choose a tag to compare

What's Changed

New Features πŸŽ‰

  • feat(cli): add update command
  • feat: reuse logger from Rsbuild
  • feat html head meta generator
  • feat: serve publicDir via Rsbuild

Bug Fixes 🐞

  • fix: custom tsx file error
  • fix: table word break style
  • fix: -c unknown option in rspress cli
  • fix avoid pushing to history when clicking on the current link
  • fix(modern-plugin): support custom root
  • fix clear query text when search box opens again

Other Changes

  • refactor: use rsbuild.preview for preview
  • chore(deps): bump rsbuild to 0.3.1
  • types: export PluginShikiOptions type

v1.9.3

04 Jan 05:02
Compare
Choose a tag to compare

What's Changed

New Features πŸŽ‰

  • feat: add class name for nav menu item and search button

Bug Fixes 🐞

  • fix(api-docgen): add opitional chaining operator when read apiDocMap
  • fix(runtime): ignore case in isEqualPath
  • fix(plugin-preview): remove virtual demo and get it from pageData in Device

v1.9.2

02 Jan 07:28
Compare
Choose a tag to compare

What's Changed

New Features πŸŽ‰

  • feat: support custom render type in onSearch hook

Bug Fixes 🐞

  • fix: sidebar disappeared in cleanUrl mode
  • fix: normalize text case for number

v1.9.1

31 Dec 02:49
Compare
Choose a tag to compare

What's Changed

New Features πŸŽ‰

  • feat: add after nav menu slot

Bug Fixes 🐞

  • fix: search index file not found when i18n is not set
  • fix: failed to submit search when rendering with react@16