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

2.0.0-alpha.51

Anayo Oleru
Fanny
Jay Lees
José Renan
JavaScript Joe
Kamil Kisiela
Kristóf Poduszló
Alexey Pyltsyn
Noah Silvera
Reece Dunham

💥 Breaking Change

  • infima
    • The following infima variables have been renamed for consistency:
      • --ifm-font-base-color--ifm-font-color-base
      • --ifm-font-base-color-inverse--ifm-font-color-base-inverse
      • --ifm-font-color-secondary--ifm-font-color-secondary

🚀 New Feature

  • docusaurus-theme-classic
    • #2660 feat(v2): add ability to specify CSS class for navbar item (@lex111)
    • #2597 feat(v2): add ability set dark mode by default (@lex111)
  • docusaurus
    • #2665 feat(v2): add fallback to BrowserOnly component (@lex111)
  • docusaurus-types, docusaurus
  • docusaurus-init
    • #2541 feat(v2): add showReadingTime and editUrl to the templates (@fanny)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-utils
  • docusaurus-plugin-content-blog, docusaurus-theme-classic

🐛 Bug Fix

  • docusaurus-theme-classic
    • #2672 fix(v2): add a11y support for dropdown (@lex111)
    • #2649 fix(v2): hide sidebar after click on child item (@lex111)
    • #2631 fix(v2): hide doc sidebar on mobiles (@lex111)
    • #2626 fix(v2): make border right of doc sidebar equals doc page (@lex111)
    • #2625 fix(v2): disable tab focus on collapsed doc sidebar items (@lex111)
    • #2602 fix(v2): inherit color for announcement bar close icon (@lex111)
    • #2582 fix(v2): remove horizontal scroll on docs page (@lex111)
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
    • #2666 chore(v2): upgrade prism-react-renderer to latest version (@lex111)
    • #2533 fix(v2): add rounded corners in code blocks properly (@lex111)
  • docusaurus-1.x, docusaurus-init-1.x, docusaurus-init, docusaurus-plugin-content-docs, docusaurus
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-preset-classic, docusaurus-theme-classic
    • #2642 fix(v2): use remark-admonitions separately in each plugin instead of in preset only (@lex111)
  • docusaurus-utils
    • #2380 fix(v2): ignore import declarations in excerpt (@lex111)
  • docusaurus-plugin-sitemap
    • #2616 fix(v2): don't include 404 page in sitemaps (@RDIL)
    • #2530 fix(v2): Use writeFileSync to write generated sitemap.xml to avoid early termination (@SamChou19815)
  • docusaurus
    • #2558 fix(v2): properly link top-level github pages sites in deploy command (@RDIL)
    • #2580 fix(v2): do not process anchor links by router (@lex111)
    • #2579 fix(v2): treat mailto and tel links properly (@lex111)
  • docusaurus-plugin-content-blog
    • #2540 fix(v2): use synchronous write for generate blog feeds (@lex111)

💅 Polish

  • docusaurus-theme-classic
    • #2656 refactor(v2): lose focus of active sidebar item after click on it (@lex111)
    • #2627 refactor(v2): extract scroll position detection into separate hook (@lex111)
    • #2595 refactor(v2): make margin top on blog pages as on other pages (@lex111)
    • #2588 refactor(v2): remove redundant container on docs page (@lex111)
  • docusaurus-theme-classic, docusaurus
    • #2585 refactor(v2): use nav link component only where needed (@lex111)
  • docusaurus
    • #2556 refactor(v2): enhance CLI experience (@RDIL)
    • #2529 refactor(v2): replace few Lodash methods with native counterparts (@Simek)
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
  • docusaurus-plugin-content-docs
    • #2519 chore(v2): use single method Lodash packages in docs plugin (@Simek)

📝 Documentation

🏠 Internal

  • docusaurus-types, docusaurus
  • Other
  • docusaurus-1.x, lqip-loader
    • #2563 chore(v2): fix lint, tweak lqip-loader utils comment (@Simek)
  • lqip-loader
    • #2561 chore(v2): add lqip-loader tests, clarify loader code, improve README (@Simek)
  • docusaurus-plugin-ideal-image, lqip-loader
    • #2544 refactor(v2): import lqip-loader to monorepo, fix build on Node 13, fix lint-staged (@Simek)
  • docusaurus-init
  • docusaurus-1.x, docusaurus-init, docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-google-analytics, docusaurus-plugin-google-gtag, docusaurus-plugin-ideal-image, docusaurus-plugin-sitemap, docusaurus-preset-classic, docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus-utils, docusaurus, stylelint-copyright
  • docusaurus-utils
    • #2536 refactor(v2): replace Lodash with single methods packages in utils (@Simek)
  • docusaurus
    • #2535 refactor(v2): replace Lodash with single methods packages in core (@Simek)

Committers: 18