Skip to content

Releases: web-infra-dev/rspress

v1.16.1

26 Mar 13:23
2c94c50
Compare
Choose a tag to compare

What's Changed

New Features ๐ŸŽ‰

Bug Fixes ๐Ÿž

  • fix(doc): fix logo sidebar cannot be used properly. by @Yukiniro in #854
  • fix(core): replace flattened mdx content by rules by @10Derozan in #859
  • fix(preview): replace iframePosition with iframe.position by @10Derozan in #861
  • fix(api-docgen): allow multiple lines description by @chenjiahan in #863
  • fix: icon/logo display error in dark mode when refresh page by @sanyuan0704 in #866

Document ๐Ÿ“–

Other Changes

New Contributors

Full Changelog: v1.16.0...v1.16.1

v1.16.0

23 Mar 02:54
Compare
Choose a tag to compare

What's Changed

Performance Improvements โšก

  • perf: remove node-bundle-require dependency

New Features ๐ŸŽ‰

  • feat(deps): update rsbuild to v0.5.1
  • feat(theme-default): preserve query string on locale change
  • feat: optimize mobile ui
  • feat(theme): export all internal components
  • feat: improve bg opacity of container blocks
  • feat(theme): support link keep current params and navigate

Bug Fixes ๐Ÿž

  • fix(cli): fix relevant typo
  • fix: svg not displayed in iOS device
  • fix: support match double label api comp
  • fix: support source-build in mdx files
  • fix: improve filter func when generate overview
  • fix(theme): replace angle brackets in inline markdown
  • fix: avoid panic when relative path in markdown links point outside the root path
  • fix: custom theme color not work
  • fix: add user builderPlugin to iframe builder
  • fix(PluginDriver): nav and sidebar add ?

Other Changes

  • chore: remove #theme in source code
  • chore: optimize code style in aside component
  • Fix the capitalization issue of X in socialLinks presetIcons
  • chore: bump Rsbuild and update distPath config
  • chore: remove duplicated sidebar files
  • chore: remove parent sidebar group highlight background
  • chore: remove @modern-js/types dependency
  • chore: optimize the nav experience in pad device
  • chore: update mdx to 2.3.0

New Contributors

Full Changelog: v1.15.1...v1.16.0

v1.15.1

14 Mar 11:42
Compare
Choose a tag to compare

What's Changed

Bug Fixes ๐Ÿž

  • fix: add scroll padding top
  • fix: only scroll panel when item is unvisible
  • fix: sidebar text not update when navigate to other nav item (#770)

v1.15.0

14 Mar 03:03
Compare
Choose a tag to compare

What's Changed

New Features ๐ŸŽ‰

  • feat: support showing line numbers in shiki plugin
  • feat: support custom overview and sub overview
  • feat: set mask color of image preview to be black #000 in dark mode (#730)

Bug Fixes ๐Ÿž

  • fix sidebar begining top items was unchanged after page switch
  • fix: i18n json change won't trigger rebuild
  • fix: plugin-shiki space style
  • fix: update nav when resize
  • fix: pre transform svg to component
  • fix: support format pre code when children is array
  • fix(theme-deafult): use new Lark icon
  • fix(theme-default): scroll search panel when current item is unvisible

Other Changes

  • chore: enable more lint rules

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