github facebook/docusaurus v2.0.0-beta.19
2.0.0-beta.19

latest releases: v3.6.1, v3.6.0, v3.5.2...
2 years ago

2.0.0-beta.19 (2022-05-04)

πŸš€ New Feature

  • docusaurus-theme-classic, docusaurus-theme-common
    • #7178 feat(theme-classic): extensible code block magic comment system (@Josh-Cena)
    • #7007 feat(theme-classic): code block showLineNumbers (@lex111)
    • #7012 feat(theme-classic): show blog sidebar on mobile (@Josh-Cena)
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus, eslint-plugin
    • #7206 feat: Docusaurus ESLint plugin to enforce best Docusaurus practices (@elias-pap)
  • docusaurus-plugin-google-analytics, docusaurus-plugin-google-gtag, docusaurus-theme-classic, docusaurus-types, docusaurus
    • #6732 feat(core): rework client modules lifecycles, officially make API public (@Josh-Cena)
  • docusaurus-theme-classic
    • #7231 feat: allow custom navbarItem types to pass through validation (@slorber)
    • #7058 feat(theme-classic): new 'html' type navbar item (@lex111)
    • #7079 feat: allow using pure HTML as label in navbar links (@lex111)
  • docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-translations
    • #7036 feat(theme-classic): toggle code wrap button (@lex111)
  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-theme-common
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-types, docusaurus
  • docusaurus-module-type-aliases, docusaurus-plugin-content-docs, docusaurus-types, docusaurus
  • docusaurus-plugin-content-docs
    • #7106 feat(content-docs): make docs:version command work on localized docs (@Josh-Cena)
  • docusaurus-types, docusaurus
    • #7082 feat(core): allow plugins to declare custom route context (@Josh-Cena)
    • #7124 feat(core): allow plugin/preset config to contain false/null (@Josh-Cena)
  • docusaurus-plugin-sitemap, docusaurus-utils

πŸ’₯ Breaking Change

  • docusaurus-types, docusaurus
    • #7257 refactor: remove long-deprecated routesLoaded lifecycle (@Josh-Cena)
  • docusaurus-theme-classic, docusaurus-theme-common
    • #7277 refactor(theme-classic): move all sidebar-related config under themeConfig.docs.sidebar (@Josh-Cena)
  • docusaurus-plugin-google-analytics, docusaurus-plugin-google-gtag, docusaurus-theme-classic, docusaurus-types, docusaurus
    • #6732 feat(core): rework client modules lifecycles, officially make API public (@Josh-Cena)
  • create-docusaurus, docusaurus-theme-classic
    • #7176 refactor: customize code block line highlight color via CSS var (@lex111)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-types, docusaurus-utils-validation, docusaurus-utils
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-theme-classic, docusaurus-theme-live-codeblock
    • #7027 refactor(content-docs): deduplicate types, JSDoc for some APIs (@Josh-Cena)

πŸ› Bug Fix

  • docusaurus-theme-classic
    • #7304 fix(theme-classic): remove breadcrumb items without href from microdata (@Josh-Cena)
    • #7179 fix(theme-classic): do not add microdata item prop to trailing breadcrumb (@Josh-Cena)
    • #7173 fix(theme-classic): admonition title: disable text-transform on inline code blocks (@chelproc)
    • #7048 fix(theme-classic): add caret for dropdown on mobile (@lex111)
    • #7025 fix: make docs page wrapper take full height (@lex111)
    • #7013 fix(theme-classic): adjust shadow on code block (@chernodub)
    • #7015 fix(theme-classic): do not add caret for non-collapsible categories (@Josh-Cena)
  • docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-debug, docusaurus-plugin-google-analytics, docusaurus-plugin-google-gtag, docusaurus-plugin-sitemap, docusaurus-preset-classic, docusaurus-theme-classic
    • #7294 fix(*): make TypeScript realize that each plugin package has a default export (@Josh-Cena)
  • docusaurus
  • docusaurus-plugin-content-docs
    • #7233 fix(content-docs): make category index text translatable (@Josh-Cena)
  • docusaurus-theme-common
    • #7200 fix(theme-common): do not persist color mode for OS-triggered changes (@Josh-Cena)
    • #7057 fix(theme-common): use native scrolling when smooth behavior set in CSS (@Josh-Cena)
    • #7033 fix(theme): only parse HTML- and JSX-style comments in MD code (@Josh-Cena)
  • docusaurus-plugin-content-blog
    • #7212 fix(content-blog): make footnote reference DOM ID unique on post listing page (@AkiraVoid)
  • docusaurus-utils, docusaurus
    • #7187 fix(core): handle case where package.json is not available at CWD (@Josh-Cena)
  • docusaurus-theme-translations
    • #7222 fix(theme-translations): fix invalid pluralization in cs (@Josh-Cena)
    • #7166 fix(theme-translations): always try all possible locale resolutions (@Josh-Cena)
  • docusaurus-theme-classic, docusaurus-theme-search-algolia
    • #7164 fix: adjust spacing for custom search properly (@lex111)
  • docusaurus-plugin-debug, docusaurus-plugin-sitemap, docusaurus-preset-classic, docusaurus-types, docusaurus
    • #7143 fix(sitemap): exclude pages with robots noindex from sitemap (@Josh-Cena)
  • create-docusaurus, docusaurus-types
  • docusaurus-utils
    • #7043 fix(utils): parse Markdown headings with CRLF line break (@Josh-Cena)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-utils, docusaurus
  • docusaurus-types
    • #7014 fix(types): declare history and react-loadable as dependencies (@sulu5890)

πŸ’… Polish

  • docusaurus-theme-classic, docusaurus-theme-translations
    • #7299 refactor: minor improvements for breadcrumbs (@lex111)
  • create-docusaurus
    • #7290 refactor(create): add i18n config in init template (@Josh-Cena)
    • #7286 refactor(create): update screenshots in quick start tutorial (@Josh-Cena)
    • #7223 refactor: use generated-index in init templates (@slorber)
    • #7118 refactor(create): mention that the edit links can be removed (@Josh-Cena)
  • docusaurus-plugin-debug, docusaurus-theme-classic
  • docusaurus-plugin-debug, docusaurus-types, docusaurus
  • docusaurus-theme-classic, docusaurus-theme-common
    • #7267 fix(theme-common): allow details to not provide a summary (@Josh-Cena)
    • #7172 refactor: control base styling of code blocks via CSS vars (@lex111)
    • #7129 refactor(theme-classic): fix a few margin inconsistencies (@lex111)
  • docusaurus-plugin-content-docs, docusaurus-utils
    • #7248 refactor: normalize Markdown linkification behavior, elaborate in documentation (@Josh-Cena)
  • docusaurus-theme-classic
    • #7244 refactor: semantic markup improvement, fix validation warnings (@Josh-Cena)
    • #7183 refactor: use SVG icon for home breadcrumb (@Dr-Electron)
    • #7139 fix: proper spacing between generated card items on mobiles (@lex111)
    • #7134 fix(theme-classic): fix docs sidebar layout shifts when expanding categories (@slorber)
    • #7068 refactor(theme-classic): blog mobile secondary menu use consistent styles (@Josh-Cena)
    • #7004 fix(theme-classic): shrink title size on mobile (@Pierre-Gilles)
  • docusaurus-theme-translations
    • #7214 chore(theme-translations): complete Polish translations (@rev4324)
    • #7031 chore(theme-translations): complete German translations (@deployn)
  • create-docusaurus, docusaurus-theme-classic
    • #7176 refactor: customize code block line highlight color via CSS var (@lex111)
  • docusaurus
    • #7218 fix(cli): always show error stack to unhandled rejection (@Josh-Cena)
    • #7142 refactor(core): lower timeout before rendering progress bar to 200ms (@Josh-Cena)
    • #7103 fix(core): preserve Interpolate children semantics (@Josh-Cena)
    • #7029 refactor: console output improvements (@lex111)
    • #7017 refactor: remove copyright comment from swizzled components (@lex111)
  • docusaurus-plugin-content-docs, docusaurus-preset-classic, docusaurus-theme-classic
  • docusaurus-plugin-debug, docusaurus-preset-classic
    • #7122 feat(preset-classic): exclude debug plugin routes from sitemap (@lex111)
  • docusaurus-theme-common, docusaurus-utils, docusaurus
  • docusaurus-mdx-loader, docusaurus-migrate, docusaurus-module-type-aliases, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-ideal-image, docusaurus-remark-plugin-npm2yarn, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-live-codeblock, docusaurus-types, docusaurus-utils-validation, docusaurus
    • #7080 refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type (@Josh-Cena)
  • create-docusaurus, docusaurus-logger, docusaurus-plugin-content-docs, docusaurus
    • #7019 feat(logger): new "url" format, add double quotes around paths (@lex111)
  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-theme-common
  • docusaurus-plugin-content-docs, docusaurus-theme-classic

πŸ“ Documentation

  • docusaurus-logger
  • Other
  • docusaurus-plugin-content-docs, docusaurus-utils
    • #7248 refactor: normalize Markdown linkification behavior, elaborate in documentation (@Josh-Cena)
  • create-docusaurus, docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-utils

πŸ”§ Maintenance

  • Other
  • docusaurus-logger, docusaurus-remark-plugin-npm2yarn
    • #7295 refactor: use export = syntax for Node utility packages (@Josh-Cena)
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-types, docusaurus-utils-validation, docusaurus-utils, docusaurus
    • #7293 refactor(types): move non-core, non-public types out of the types package (@Josh-Cena)
  • docusaurus-types, docusaurus
  • docusaurus-module-type-aliases, docusaurus
  • docusaurus-theme-classic, docusaurus-theme-common
    • #7273 refactor(theme-classic): multiple re-arrangements (@Josh-Cena)
    • #7268 refactor(theme-classic): DocPage theme refactors polish (@slorber)
    • #7269 refactor: extract useSkipToContent() (@slorber)
    • #7175 refactor(theme-classic): split CodeBlock (@slorber)
    • #7067 refactor(theme-classic): extract doc-related navbar items' logic to theme-common (@Josh-Cena)
    • #7021 refactor(theme): extract plumbing code of BTT button into theme-common (@Josh-Cena)
  • docusaurus-theme-classic
    • #7270 refactor(theme-classic): refactor TOC-related theme components (@slorber)
  • docusaurus
    • #7220 refactor(cli): normalize the application of default option values (@Josh-Cena)
    • #7141 refactor(core): minor PendingNavigation refactor (@Josh-Cena)
  • docusaurus-plugin-content-docs
    • #7243 chore: upgrade Jest to 28; add GitHub-actions reporter (@Josh-Cena)
    • #7140 refactor(content-docs): split version handling into several files (@Josh-Cena)
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-ideal-image, docusaurus-plugin-pwa, docusaurus-theme-live-codeblock, docusaurus
  • create-docusaurus, docusaurus-migrate, docusaurus-theme-translations, docusaurus
    • #7186 refactor: prefer fs.readJSON over readFile.then(JSON.parse) (@Josh-Cena)
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages
  • create-docusaurus, docusaurus-mdx-loader, docusaurus-migrate, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-ideal-image, docusaurus-plugin-pwa, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-search-algolia, docusaurus-types, docusaurus-utils, docusaurus, lqip-loader
  • docusaurus-logger, docusaurus-mdx-loader, docusaurus-migrate, docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-sitemap, docusaurus-remark-plugin-npm2yarn, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus-theme-translations, docusaurus-utils-validation, docusaurus-utils, docusaurus
  • docusaurus-module-type-aliases, docusaurus-plugin-content-blog, docusaurus-theme-common, docusaurus-types, docusaurus-utils, docusaurus
  • docusaurus-module-type-aliases, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-types, docusaurus
  • docusaurus-plugin-content-docs, docusaurus-utils, docusaurus
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-theme-classic, docusaurus-theme-live-codeblock
    • #7027 refactor(content-docs): deduplicate types, JSDoc for some APIs (@Josh-Cena)

πŸƒβ€β™€οΈ Performance

  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus-utils-common
    • #7085 refactor: mark a few client-side packages as side-effect-free (@Josh-Cena)
  • docusaurus-mdx-loader, docusaurus-remark-plugin-npm2yarn
    • #4997 perf(mdx-loader): cache mdx/remark compiler instances (@phryneas)

Committers: 47

Don't miss a new docusaurus release

NewReleases is sending notifications on new releases.