Skip to content

2.4.0

Compare
Choose a tag to compare
@slorber slorber released this 23 Mar 18:42
· 974 commits to main since this release

2.4.0 (2023-03-23)

Blog post: https://docusaurus.io/blog/releases/2.4/

🚀 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
  • 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