Skip to content

Releases: web-infra-dev/rspress

v2.0.0-alpha.1

10 Mar 08:06
585561e
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release

What's Changed

Bug Fixes 🐞

Other Changes

Full Changelog: v2.0.0-alpha.0...v2.0.0-alpha.1

v1.43.2

10 Mar 08:23
8dfc6c7
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • fix: Revert "fix: display outline correctly on >=960px <=1280px screen width (#1914)" by @SoonIter in #1930

Full Changelog: v1.43.1...v1.43.2

v2.0.0-alpha.0

07 Mar 07:46
c962a90
Compare
Choose a tag to compare
v2.0.0-alpha.0 Pre-release
Pre-release

What's Changed

Breaking Changes 🚨

  • Use named export instead of default export in customizing theme (#1873)

    If you want to customize theme, please use named export as below:

    before

    Layout HomeLayout setup DocLayout use default export,

    other components use named export

     import Theme from 'rspress/theme';
     
     const Layout = () => <Theme.Layout beforeNavTitle={<div>some content</div>} />;
     
     export default {
       ...Theme,
       Layout,
     };
     
     export * from 'rspress/theme';
    

    after

    all the components use named export

     import { Layout as BasicLayout } from 'rspress/theme';
     
     const Layout = () => <BasicLayout beforeNavTitle={<div>some content</div>} />;
     
     // use named export, no need to `export default`
     export { Layout };
     
     export * from 'rspress/theme';
    

New Features 🎉

  • feat(nav): improve dropdown menu interaction by @chenjiahan in #1910
  • feat(theme)!: use named export instead of default export, for circular imports by @SoonIter in #1873

Performance 🚀

  • perf(search): add index async to avoid blocking the main thread by @chenjiahan in #1892
  • perf(search): remove group calculation by @chenjiahan in #1893
  • perf: use matchPath rather than matchRoutes, remove unused group.title by @SoonIter in #1895
  • perf(search): improve initialization and prefetching logic by @chenjiahan in #1899

Bug Fixes 🐞

Document 📖

Other Changes

New Contributors

Full Changelog: v1.43.0...v2.0.0-alpha.0

v1.43.1

07 Mar 08:25
1e273ac
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

Other Changes

Full Changelog: v1.43.0...v1.43.1

v1.43.0

06 Mar 07:16
69c72af
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Performance 🚀

  • perf(search): add index async to avoid blocking the main thread by @chenjiahan in #1892
  • perf(search): remove group calculation by @chenjiahan in #1893
  • perf: use matchPath rather than matchRoutes, remove unused group.title by @SoonIter in #1895
  • perf(search): improve initialization and prefetching logic by @chenjiahan in #1899

Bug Fixes 🐞

Full Changelog: v1.42.1...v1.43.0

v1.42.1

27 Feb 07:13
80542b8
Compare
Choose a tag to compare

What's Changed

Performance 🚀

  • perf(size): 🔥remove package.json useless field and bundle named package.json by @SoonIter in #1878

Bug Fixes 🐞

Other Changes

  • test(infra): use path-serializer by @SoonIter in #1869
  • refactor: remove all unnecessary any types, extend PageIndexInfo interface by @JounQin in #1877
  • refactor(tsconfig): migrate tsconfig to @rspress/config/tsconfig by @SoonIter in #1879
  • refactor(infra/tsconfig): turn on "noUnusedLocals" by @SoonIter in #1880
  • chore(deps): bump Rslib v0.5.2 and modify some build configurations by @Timeless0911 in #1881
  • refactor(types): turn on "strict": true for @rspress/core by @SoonIter in #1882
  • Release v1.42.1 by @SoonIter in #1885

Full Changelog: v1.42.0...v1.42.1

v1.42.0

19 Feb 07:17
ba8c3db
Compare
Choose a tag to compare

What's Changed

Bug Fixes 🐞

  • fix(ui): prevent key events from triggering during composition by @Alkaidcc in #1862

Other Changes

New Contributors

Full Changelog: v1.41.3...v1.42.0

v1.41.3

17 Feb 11:32
25b65a7
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

  • fix(core): search json path is incorrect when config.outDir is absolute by @liuwenzhuang in #1844
  • fix(core): route.extensions should work by @SoonIter in #1846
  • fix(theme): text in button should center by @Timeless0911 in #1847
  • fix(core): supersede require with import statement in ESM output by @fi3ework in #1848
  • fix(ui): SwitchApperance CLS, a flash when switching to dark mode by @SoonIter in #1853
  • fix(mdxjs): toc item including "emphasis" and "delete" should generate by @SoonIter in #1855
  • fix(ui): when click the url, calculating hash in real time by @SoonIter in #1856
  • fix(ui): for TOC highlight, revert setTimeout set unbinding changes by @SoonIter in #1858

Document 📖

Other Changes

New Contributors

Full Changelog: v1.41.2...v1.41.3

v1.41.2

12 Feb 09:21
173225d
Compare
Choose a tag to compare

What's Changed

New Features 🎉

  • style(theme-default): adjust layout and media query breakpoints by @chenjiahan in #1836

Bug Fixes 🐞

Document 📖

Other Changes

Full Changelog: v1.41.1...v1.41.2

v1.41.1

07 Feb 02:58
54e2d41
Compare
Choose a tag to compare

What's Changed

New Features 🎉

Bug Fixes 🐞

  • fix: remove socialLinks twitter in redirect and document by @SoonIter in #1812

Other Changes

Full Changelog: v1.41.0...v1.41.1