跳到主要内容
← 返回索引页

2.4.0

Anas
Armano
biplavmz
Dewansh Thakur
Petter Drønnen
Joshua Chen
Kagan
Mysterious_Dev
Moritz Stückler
Sébastien Lorber

🚀 New Feature

  • docusaurus-plugin-content-docs, docusaurus-theme-classic
    • #8236 feat(content-docs): add support for sidebar item category/link descriptions in generated index page (@ZarakiKanzaki)
  • docusaurus-theme-classic
    • #8708 feat(theme): allow to load a Docusaurus page with theme from query-string: ?docusaurus-theme=dark (@slorber)
    • #8616 feat(theme): add ability to translate navbar+footer logo alt text (@Mysterious-Dev)
  • docusaurus-remark-plugin-npm2yarn
    • #8690 feat(npm-to-yarn): add support for PnPm and custom converters (@armano2)
  • docusaurus
    • #8677 feat(core): add script env variables: NODE_ENV + BABEL_ENV + DOCUSAURUS_CURRENT_LOCALE (temporary i18n workaround) (@slorber)
  • docusaurus-theme-classic, docusaurus-theme-common
    • #8674 feat(theme-classic): respect prefers-reduced-motion: reduce mediaquery, bump Infima to alpha.43 (@slorber)
  • docusaurus-theme-translations
    • #8668 feat(theme-translations): add Hungarian theme translations (@trueqap)
    • #8631 feat(theme-translations): add Norwegian (Bokmål) theme translation (@dr0nn1)
  • docusaurus-theme-common
    • #8656 feat(theme-common): allow passing a string for details summary (@pReya)
  • docusaurus-plugin-google-gtag
    • #8620 feat(gtag-plugin): gtag should support multiple tracking ids, notably for the UA => GA4 transition (@slorber)

🐛 Bug Fix

  • docusaurus-theme-classic
    • #8803 fix(theme): codeblock buttons should be kept on the right when using RTL locale (@Vishruta-Patil)
    • #8615 fix(theme): improve color toggle when using dark navbar (@dewanshDT)
    • #8699 fix(theme-classic): fix tab focus bug in dropdown (#8697) (@kagankan)
  • docusaurus-theme-classic, docusaurus-theme-common
  • docusaurus-theme-common, docusaurus-theme-search-algolia
    • #8757 fix(search): search page should react to querystring changes + cleanup/refactor (@slorber)
  • docusaurus
    • #8746 fix(core): baseUrl error banner link anchor case (@slorber)
  • docusaurus-theme-translations
    • #8744 fix(theme-translations): fix wrong arabic words (tip/next) (@Anasqx)

💅 Polish

  • create-docusaurus
    • #8712 polish(create-docusaurus): the starter template should use a navbar item "docSidebar" instead of "doc" (less fragile on updates) (@biplavmz)
  • docusaurus-theme-classic, docusaurus-theme-common, docusaurus-utils-common, docusaurus
    • #8735 polish(theme): better error messages on navbar item rendering failures + ErrorCauseBoundary API (@tannerdolby)
  • docusaurus-theme-classic, docusaurus-theme-common, docusaurus

Committers: 14