Releases: web-infra-dev/rspress
Releases ยท web-infra-dev/rspress
v1.16.1
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 ๐
- docs: fix broken Rsbuild links by @chenjiahan in #852
- docs: translate Tailwind CSS setup by @chenjiahan in #856
Other Changes
- chore(workflow): add PR labeler by @chenjiahan in #850
- docs: tailwind setup by @ToTeTo in #754
- chore(workflow): let renovate bump package.json by @chenjiahan in #857
- test: split base E2E tests by @10Derozan in #860
- fix(core): remove searchHooks in siteData by @10Derozan in #839
- chore(deps): update dependency @mdx-js/mdx to v2.3.0 by @renovate in #823
- test(e2e): add case for api-docgen plugin by @chenjiahan in #862
- Release v1.16.1 by @sanyuan0704 in #867
- chore(workflow): add GitHub release yaml config by @chenjiahan in #868
New Contributors
Full Changelog: v1.16.0...v1.16.1
v1.16.0
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
- @wChenonly made their first contribution in #751
- @renovate made their first contribution in #795
- @wzono made their first contribution in #845
Full Changelog: v1.15.1...v1.16.0
v1.15.1
v1.15.0
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
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
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
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
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
What's Changed
Bug Fixes ๐
- fix(theme-default): Fix collapsed space between last updated text and time
v1.12.0
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