Skip to content

Latest commit

 

History

History
3902 lines (3307 loc) · 326 KB

CHANGELOG.md

File metadata and controls

3902 lines (3307 loc) · 326 KB

Docusaurus 2 Changelog

2.0.0-beta.4 (2021-07-28)

🚀 New Feature

  • docusaurus-theme-classic
  • docusaurus-init
    • #5235 feat: docusaurus.new + improve StackBlitz playground integration (@slorber)
  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-theme-common
    • #5203 feat: docs plugin options sidebarCollapsible + sidebarCollapsed (@Josh-Cena)
  • docusaurus
  • docusaurus-plugin-content-docs, docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-types, docusaurus
    • #4273 feat(v2): redesign mobile UX: inline TOC + doc sidebar in main menu (@lex111)

💥 Breaking Change

  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-theme-common
    • #5203 feat: docs plugin options sidebarCollapsible + sidebarCollapsed (@Josh-Cena)
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-utils, docusaurus
    • #5173 feat(v2): generalize usage of _ prefix convention to exclude content files/folders (@slorber)
  • docusaurus-plugin-content-docs, docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-types, docusaurus
    • #4273 feat(v2): redesign mobile UX: inline TOC + doc sidebar in main menu (@lex111)

🐛 Bug Fix

  • docusaurus-plugin-content-blog
    • #5232 fix(v2): blog should parse frontMatter.date even when time is present (@wenerme)
  • docusaurus-theme-classic
    • #5230 fix(v2): remove top margin from first element inside doc article (@lex111)
    • #5229 fix(v2): keep mobile TOC after hydration (@lex111)
    • #5179 fix(v2): wrap dropdown item to missing li element + remove extra attributes (@lex111)
    • #5183 fix(v2): pass all props to CodeBlock component (@lex111)
    • #5176 fix(v2): Fix type for navlink label (@Josh-Cena)
    • #5172 fix(v2): hide mobile collapsible doc toc if no headings (@slorber)
    • #5161 fix(v2): disable default behavior when click on collapsible item (@lex111)
    • #5151 fix(v2): add missing french translations for mobile (@forresst)
    • #5104 fix(v2): fix SkipToContent programmatic focus when updating querystring (@slorber)
  • docusaurus-theme-search-algolia
  • docusaurus
    • #5204 fix: cli upgrade helper fail when no package.dependencies (@mweststrate)
    • #5164 fix(v2): revert webpack.resolve.symlinks = false (@slorber)
    • #5126 fix(v2): remove webpackConfig.resolve.symlinks: true (@slorber)
    • #5110 fix(v2): Fix update-notifier not run at first and not notifying consistently (@slorber)
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-utils
    • #5199 fix(v2): Fix MDX docs being considered as partials when siteDir match the _ prefix convention (@slorber)
  • docusaurus-plugin-pwa
    • #5185 fix(v2): add base URL to content attribute of head tags PWA (@lex111)
    • #5169 refactor(v2): automatically add base URL to PWA head tags (@lex111)
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-utils, docusaurus
    • #5173 feat(v2): generalize usage of _ prefix convention to exclude content files/folders (@slorber)
  • docusaurus-theme-common
    • #5159 fix(v2): Fix Collapsible hydration layout shift (@slorber)
    • #5146 fix(v2): improve work of useCollapsible hook with multiple clicks (@lex111)
  • docusaurus-types
  • docusaurus-theme-classic, docusaurus-theme-common
    • #5116 fix(v2): introduce useCollapsible to fix collapsible animation perf issues (@lex111)
  • docusaurus-plugin-client-redirects
    • #5102 fix(v2): fix redirect plugin when trailingSlash=false for .html extension (@slorber)

💅 Polish

  • docusaurus-theme-classic
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
    • #5215 refactor: make code block shadows consistent with new admonitions (@slorber)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-theme-classic
    • #5193 refactor: redesign admonitions/callouts/quotes (@slorber)
  • docusaurus-theme-classic, docusaurus-theme-common
    • #5168 refactor(v2): mobile dropdown navbar: expand when subitem become active (@slorber)

📝 Documentation

🏠 Internal

🏃‍♀️ Performance

  • docusaurus-theme-classic, docusaurus-theme-common
    • #5136 perf(v2): lazy sidebar categories / collapsibles, reduce html output / build times (@slorber)
  • docusaurus-theme-classic
    • #5130 test(v2): dogfooding: add huge sidebar for testing purposes (@slorber)

Committers: 28

2.0.0-beta.3 (2021-06-30)

🚀 New Feature

  • docusaurus-theme-classic
    • #5092 feat(v2): add icon to external footer links (@lex111)

🐛 Bug Fix

  • docusaurus-theme-classic
    • #5080 fix(v2): classic theme - semantic correct anchors links (@AuHau)
    • #5081 fix(v2): restore previous scroll position on back button click (@lex111)
    • #5063 fix(v2): restore responsive menu (@lex111)
  • docusaurus
  • docusaurus-plugin-content-docs
    • #5097 fix(v2): fix useEffect infinite loop in blogOnly mode (@slorber)
    • #5074 fix(v2): allow negative sidebar positions (@kdrag0n)
  • docusaurus-plugin-client-redirects
    • #5093 fix(v2): redirect from should work with trailingSlash: true (@slorber)
  • docusaurus-plugin-client-redirects, docusaurus-utils
    • #5085 fix(v2): redirect plugin should emit redirect files with lower precedence than redirect target (@slorber)
  • docusaurus-plugin-client-redirects, docusaurus-plugin-sitemap, docusaurus-types, docusaurus-utils-common, docusaurus
    • #5082 fix(v2): never remove trailing slash from site root like '/baseUrl/' (@slorber)
  • docusaurus-plugin-sitemap
    • #5068 fix(v2): sitemap should respect the global trailingSlash config option. (@taylorreece)
  • docusaurus-types
    • #5058 fix(v2): fix bad @docusaurus/types Plugin type generics (@jsamr)

📝 Documentation

🏠 Internal

Committers: 11

2.0.0-beta.2 (2021-06-24)

🚀 New Feature

  • docusaurus-plugin-content-docs, docusaurus-theme-classic
    • #5052 feat(v2): docs version banner configuration option (@slorber)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-types, docusaurus
    • #5037 feat(v2): plugins injectHtmlTags + configureWebpack should receive content loaded (@slorber)

💥 Breaking Change

  • docusaurus-plugin-content-docs
    • #5053 refactor(v2): remove deprecated docs option excludeNextVersionDocs (@slorber)
  • docusaurus-plugin-content-docs, docusaurus-theme-classic
    • #5052 feat(v2): docs version banner configuration option (@slorber)

🐛 Bug Fix

  • docusaurus-plugin-content-blog, docusaurus-types, docusaurus
  • docusaurus-plugin-content-docs
  • docusaurus-theme-classic
    • #5050 fix(v2): add shadow to skip link on focus only (@lex111)
    • #5035 fix(v2): fix some docs container/sidebar layout issues (@slorber)
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-ideal-image, docusaurus-plugin-pwa, docusaurus-types, docusaurus-utils, docusaurus
    • #5047 fix(v2): Fix Webpack persistent caching (evict on swizzle/alias/config change) (@slorber)
  • docusaurus-theme-classic, docusaurus-theme-common
  • docusaurus
  • docusaurus-module-type-aliases, docusaurus-theme-classic, docusaurus-theme-common
    • #5023 fix(v2): ignore hash changes in useChangeRoute hook (@lex111)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-utils-validation
    • #5032 fix(v2): less strict blog/docs uri frontmatter validation (@slorber)

💅 Polish

  • docusaurus-plugin-content-docs
    • #5053 refactor(v2): remove deprecated docs option excludeNextVersionDocs (@slorber)
  • docusaurus-plugin-content-docs, docusaurus-plugin-ideal-image, docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-utils-common, docusaurus-utils-validation, docusaurus-utils, docusaurus
  • Other

📝 Documentation

🏠 Internal

  • #5005 chore: add archived versions system + archive alpha.73-75 (@slorber)

Committers: 11

2.0.0-beta.1 (2021-06-18)

🚀 New Feature

  • docusaurus-plugin-content-docs
    • #4982 feat(v2): add docs pagination_label frontmatter (@slorber)
  • docusaurus-theme-classic
  • docusaurus-init
  • docusaurus-theme-classic, docusaurus-types, docusaurus
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs
  • docusaurus-types, docusaurus
    • #4618 feat(v2): allow config plugins as functions or [function,options] (@besemuna)
  • docusaurus-plugin-content-blog, docusaurus-utils-validation
    • #4759 feat(v2): exhaustive BlogPostFrontMatter schema validation (@nam-hle)

🐛 Bug Fix

  • docusaurus-theme-classic
  • docusaurus-theme-classic, docusaurus-utils-common
  • docusaurus-plugin-client-redirects, docusaurus-utils-common, docusaurus-utils, docusaurus
    • #4988 fix(v2): redirect plugin should use siteConfig.trailingSlash (@slorber)
  • docusaurus-plugin-content-blog
  • docusaurus-plugin-content-docs, docusaurus-theme-classic
    • #4985 fix(v2): navbar doc item fallback: search doc in lastVersion (@slorber)
  • docusaurus-remark-plugin-npm2yarn
    • #4964 fix(v2): avoid duplicated imports in npm2yarn plugin (@lex111)
  • docusaurus-plugin-content-docs
    • #4970 fix(v2): sidebar_label should be used to compute next/previous button labels (@slorber)
    • #4861 fix(v2): allow relative sidebar path resolution in docs:version command (@lex111)
    • #4859 fix(v2): use frontmatter title at first for paginated links (@lex111)
    • #4775 fix(v2): improve dx sidebar config, ability to have no sidebars file (@nam-hle)
  • docusaurus-plugin-sitemap, docusaurus-utils-common, docusaurus-utils-validation, docusaurus-utils, docusaurus
    • #4950 fix(v2): sitemap plugin should handle siteConfig.trailingSlash automatically (@slorber)
  • docusaurus
    • #4924 fix(v2): respect baseUrl in serving command (@lex111)
    • #4935 fix(v2): render children in BrowserOnly after client is ready (@lex111)
    • #4894 fix(v2): escape HTML entities in user tags attributes (@lex111)
    • #4789 fix(v2): transpile libs with too recent syntax with babel (@slorber)
    • #4784 fix(v2): update notifier should never suggest to downgrade (@slorber)
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-theme-classic, docusaurus-utils
    • #4882 fix(v2): fix contentTitle issues when markdown h1 title contains code blocks (@slorber)
  • docusaurus-utils
    • #4862 fix(v2): remove Markdown heading id from excerpt (@lex111)
  • docusaurus-theme-classic, docusaurus-theme-common
    • #4871 fix(v2): unbreak adding of custom HTML metadatas (@lex111)
    • #4797 fix(v2): do not focus on skip link if page refreshed (@lex111)
  • docusaurus-theme-classic, docusaurus-theme-search-algolia
    • #4856 fix(v2): adjust padding when custom search box location (@lex111)
  • docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-live-codeblock
    • #4830 fix(v2): pin prism-react-renderer version to 1.1.1 (@lex111)
  • docusaurus-plugin-ideal-image, lqip-loader

💅 Polish

  • docusaurus-theme-classic
    • #4995 refactor(v2): reduce top padding in doc content container (@lex111)
    • #4918 refactor(v2): readjust footer of blog item (@lex111)
    • #4959 refactor(v2): minor cleanups (@lex111)
    • #4945 refactor(v2): remove extra padding from doc item container (@lex111)
    • #4940 refactor(v2): improve semantic doc sidebar markup (@lex111)
    • #4961 refactor(v2): improve semantic blog sidebar markup (@lex111)
    • #4903 refactor(v2): make doc item layout more semantic (@lex111)
    • #4877 refactor(v2): reduce vertical space in doc content container (@lex111)
    • #4914 refactor(v2): use SVG for external link icon (@lex111)
    • #4916 refactor(v2): replace strong with b in UI components (@lex111)
    • #4926 refactor(v2): hide decorative SVGs from screen readers (@lex111)
    • #4865 refactor(v2): make little better doc update block UI (@lex111)
    • #4795 refactor(v2): remove transition on body element (@lex111)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs
    • #4989 refactor(v2): blog/docs: add more context in error messages (@slorber)
  • docusaurus-init, docusaurus-mdx-loader, docusaurus-migrate, docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-google-analytics, docusaurus-plugin-google-gtag, docusaurus-plugin-sitemap, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-utils-validation, docusaurus-utils, docusaurus
  • docusaurus-utils-validation, docusaurus
    • #4977 polish(v2): url-subpath config validation warning (@slorber)
  • docusaurus-plugin-content-docs
    • #4969 refactor(v2): include path in error about non-existent ids (@lex111)
    • #4863 refactor(v2): remove sidebar_label filed from doc metadata file (@lex111)
  • docusaurus-theme-classic, docusaurus
    • #4907 refactor(v2): remove type attribute from link and script tags (@lex111)
  • docusaurus-theme-search-algolia
    • #4919 refactor(v2): improve markup and styling on search page (@lex111)
    • #4867 chore(v2): update @docsearch/react (@lex111)
  • docusaurus-plugin-content-blog
    • #4905 refactor(v2): do not generate RSS files for empty feed (@lex111)
    • #4860 refactor(v2): use aliased path for blog list sidebar file (@lex111)
  • docusaurus
    • #4870 refactor(v2): add exception handling if external command is fails (@lex111)
    • #4875 refactor(v2): make even better SSR error notify and add tip (@lex111)
    • #4866 refactor(v2): output URL to console only if it has changed (@lex111)
  • docusaurus-utils

📝 Documentation

🏠 Internal

  • Other
  • docusaurus-init, docusaurus-migrate, docusaurus
  • docusaurus-1.x, docusaurus-init-1.x
    • #4902 chore: remove docusaurus v1 from master branch (moved to docusaurus-v1 branch) (@slorber)
  • docusaurus-plugin-ideal-image
    • #4915 chore(v2): bump react-waypoint from 9.0.2 to 10.1.0 (@lex111)
  • docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-live-codeblock
    • #4834 chore(v2): unlock prism-react-renderer version (@lex111)
  • docusaurus-cssnano-preset, docusaurus
  • docusaurus-cssnano-preset, docusaurus-init, docusaurus-mdx-loader, docusaurus-migrate, docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-debug, docusaurus-plugin-sitemap, docusaurus-theme-classic, docusaurus-types, docusaurus-utils-validation, docusaurus-utils, docusaurus
  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-theme-common

Committers: 31

2.0.0-beta.0 (2021-05-12)

Read the 2.0.0 beta blog post!

Note: this first beta release does not contain any new major feature. We are removing the alpha label, as we are confident Docusaurus 2 is stable enough.

🚀 New Feature

  • docusaurus-theme-classic
    • #4762 feat(v2): add es translations for docusaurus-theme-classic (@rodmoreno)

🐛 Bug Fix

  • docusaurus-theme-classic
    • #4750 fix(v2): improve french translation for theme-classic (@forresst)
  • docusaurus-mdx-loader, docusaurus-utils
    • #4736 fix(v2): fix encoding of markdown image/file inline file-loaders (@slorber)
  • docusaurus-utils
    • #4735 fix(v2): markdown title parser should ignore all forms of MDX import statements (@nam-hle)
    • #4729 fix(v2): optimize markdown parser regex (Closes #4726) (@nam-hle)

📝 Documentation

🏠 Internal

  • #4746 chore(v2): attempt to fix crowdin dl again (@slorber)
  • #4743 chore(v2): fix prod deployment due to bad image path (@slorber)
  • #4740 chore(v2): delay i18n-staging deployment to avoid Crowdin 409 errors (@slorber)
  • #4739 chore(v2): Fix Crowdin 409 issues in CI (@slorber)

Committers: 11

2.0.0-alpha.75 (2021-04-30)

💥 Breaking Change

  • docusaurus-cssnano-preset, docusaurus-init, docusaurus-mdx-loader, 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-types, docusaurus, lqip-loader

📝 Documentation

Committers: 4

2.0.0-alpha.74 (2021-04-27)

🚀 New Feature

  • Other
  • docusaurus-plugin-content-docs
    • #4658 feat(v2): allow user to customize/enhance the default sidebar items generator (@slorber)
    • #4655 feat(v2): docs, make numberPrefixParser configurable, better defaults, minor breaking-changes (@slorber)

🐛 Bug Fix

  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-utils, docusaurus
    • #4688 fix(v2): fix title logic (meta vs heading) + ignore fixed anchor id syntax (@slorber)
  • docusaurus-theme-classic
  • docusaurus-plugin-content-docs
    • #4687 fix(v2): accept empty/null custom_edit_url docs frontmatter for retrocompat (@slorber)
    • #4651 fix(v2): sidebar autogen from subfolder should read category metadata correctly (@slorber)
    • #4629 fix(v2): fix validation rejecting admonitions false (@kazk)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-utils-validation
  • docusaurus-utils
    • #4646 fix(v2): ignore imports when h1 heading parsing (@lex111)
    • #4641 fix(v2): parse headings directly after h1 properly (@lex111)

💅 Polish

  • docusaurus-theme-classic
    • #4682 refactor(v2): align external icon on right (@lex111)

📝 Documentation

🏠 Internal

  • Other
  • docusaurus-init

Committers: 12

2.0.0-alpha.73 (2021-04-16)

🚀 New Feature

  • docusaurus-theme-classic
    • #4624 feat(v2): Add Filipino default translations to theme (@gumacahin)
    • #4596 feat(v2): theme default translations hindi (@lisa761)
    • #4536 feat(v2): add pt-PT translations for docusaurus-theme-classic (@tiago-rr)
    • #4525 feat(v2): add Brazilian Portuguese translation for docusaurus-theme-classic (@thiagog3)
  • docusaurus-theme-classic, docusaurus-theme-common
    • #4511 feat(v2): add unique page/wrapper className to each theme pages (@ShinteiMai)
  • docusaurus-init, docusaurus-plugin-content-docs, docusaurus-theme-classic
    • #4582 feat(v2): auto-generated sidebars, frontmatter-less sites (@slorber)
  • docusaurus-types, docusaurus
    • #4545 feat(v2): docusaurus deploy: ability to configure port in git url (@talesporto)
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-utils
    • #4590 feat(v2): various markdown string parsing improvements/fixes (@slorber)
    • #4485 feat(v2): frontmatter-less: read first heading as title and use it in front-matter (@armano2)
  • docusaurus-utils
    • #4581 feat(v2): default theme translations: locale "pt" should load "pt-BR" translations (@slorber)
  • docusaurus-plugin-content-docs
    • #4495 feat(v2): include frontmatter in loadedContent doc metadatas (@kaytwo)
    • #4500 feat(v2): provide doc sidebar_label through sidebars.js (@besemuna)
  • docusaurus-theme-classic, docusaurus-types, docusaurus
    • #4449 feat(v2): infer default i18n locale config from locale code (@slorber)

💥 Breaking Change

  • docusaurus-theme-classic, docusaurus-theme-common
    • #4619 refactor(v2): rename class main-docs-wrapper to docs-wrapper (@slorber)
  • docusaurus-init, docusaurus-plugin-content-docs, docusaurus-theme-classic
    • #4582 feat(v2): auto-generated sidebars, frontmatter-less sites (@slorber)

🐛 Bug Fix

  • docusaurus-theme-classic
    • #4627 chore(v2): update Infima to alpha.22 (@slorber)
    • #4621 fix(v2): center align content if no sidebar exists (@lex111)
    • #4620 fix(v2): restore toggle responsive sidebar button (@lex111)
    • #4598 fix(v2): render escaped HTML entities inside code properly (@lex111)
    • #4554 fix: DocNavbarItem error message (@serut)
    • #4468 fix(v2): select correct tab when items are incorrectly ordered (@armano2)
    • #4461 fix(v2): Fix i18n staging deployment due to json typo (@slorber)
  • docusaurus-theme-classic, docusaurus-theme-common
    • #4541 fix(v2): fix code block title parsing, support multiple metastring attributes (@duanwilliam)
    • #4600 fix(v2): use page title from config if not set (@lex111)
  • docusaurus-plugin-pwa, docusaurus-theme-classic, docusaurus-theme-common
    • #4501 fix(v2): fail-safe usage of browser storage (localStorage/sessionStorage) when access is denied (@jknoxville)
  • docusaurus-plugin-content-docs, docusaurus-types, docusaurus
    • #4593 fix(v2): i18n perf issue: getTranslationFile() should not load content again (@slorber)
  • Other
    • #4574 fix(v2): examples should use Node 14 by default on CodeSandbox + regen with alpha72 (@slorber)
  • docusaurus
    • #4547 feat(v2) : use symbols to denote swizzle safety (@besemuna)
    • #4575 fix(v2): fix i18n isLastLocale bug preventing docusaurus from building some locales (@slorber)
    • #4506 fix(v2): remove no longer used postcss-present-env from dependencies (@armano2)
    • #4444 fix(v2): Fix writeHeadingIds on Windows due to non-posix paths (@slorber)
  • docusaurus-utils
    • #4507 fix(v2): do not warn about duplicated title for pages (@armano2)
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus
  • docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-pwa, docusaurus-plugin-sitemap, docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus-utils-validation, docusaurus
    • #4459 fix(v2): Export Joi from validation-utils package (@slorber)

💅 Polish

  • docusaurus-theme-classic
    • #4626 refactor(v2): toggleResponsiveSidebar => more stable callback (@slorber)
    • #4617 refactor(v2): simplify and optimize sidebar (@slorber)
    • #4608 refactor(v2): replace react-toggle with own implementation (@lex111)
    • #4601 refactor(v2): increase heading anchor offset (@lex111)
    • #4467 refactor(v2): add missing types to theme-classic useTheme (@armano2)
    • #4448 polish(v2): Add german translations (@miku86)
  • docusaurus-theme-classic, docusaurus-theme-common
    • #4619 refactor(v2): rename class main-docs-wrapper to docs-wrapper (@slorber)
  • docusaurus-module-type-aliases, docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus
    • #4451 refactor(v2): correct client types and type aliases (@armano2)
  • docusaurus-mdx-loader, docusaurus-migrate, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-theme-classic, docusaurus-types, docusaurus-utils-validation, docusaurus-utils, docusaurus
  • docusaurus-migrate, docusaurus-module-type-aliases, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-debug, docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-utils, docusaurus
  • docusaurus-init, docusaurus-mdx-loader, docusaurus-migrate, docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-debug, docusaurus-plugin-ideal-image, docusaurus-plugin-sitemap, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-utils-validation, docusaurus-utils, docusaurus
    • #4375 refactor(v2): TS config update: reduce the size of npm modules (@RDIL)

📝 Documentation

🏠 Internal

  • docusaurus-theme-classic
  • Other
    • #4613 chore(v2): fix yarn2 end2end test by using lerna publish --exact (@slorber)
    • #4611 chore(v2): CI: do not build all locales when monitoring build time perf (@slorber)
    • #4486 ci: enable yarn install cache (@armano2)
    • #4508 ci: change default actions timeout from 6h to 30m (@armano2)
    • #4488 chore(v2): fix typo in classic init template (@clarus)
    • #4471 chore: fix GH actions lint problem matchers issue in PR (@slorber)
    • #4458 chore(v2): enable staging locales: ko ja (@slorber)
    • #4457 chore(v2): remove docs for alpha v70 (@lex111)
    • #4452 chore(v2): update typescript-eslint to v4.18.0 (@armano2)
  • docusaurus
  • docusaurus-init, docusaurus-migrate, 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-pwa, docusaurus-plugin-sitemap, docusaurus-preset-bootstrap, docusaurus-preset-classic, docusaurus-remark-plugin-npm2yarn, docusaurus-theme-classic, docusaurus-theme-search-algolia, docusaurus
    • #4490 chore: rename v2.docusaurus.io urls after domain switch + redirect + cleanups (@slorber)
  • docusaurus-1.x
  • docusaurus-1.x, docusaurus-init
    • #4453 chore(v2): migrate babel-eslint to @babel/eslint-parser (@armano2)
  • docusaurus-utils-validation
  • docusaurus-migrate, docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-ideal-image, docusaurus-theme-common, docusaurus-utils, docusaurus

🏃‍♀️ Performance

  • docusaurus-theme-classic
    • #4626 refactor(v2): toggleResponsiveSidebar => more stable callback (@slorber)
    • #4603 perf(v2): avoid rerender of sidebar items while scrolling (@lex111)
    • #4473 perf(v2): reduce amount of component updates while scrolling (@armano2)

Committers: 37

2.0.0-alpha.72 (2021-03-16)

💥 Breaking Change

Starting with this release for a proper work of i18n functionality, you need to either use Node v14+ or in case of using earlier version of Node.js install full-icu package and set NODE_ICU_DATA environment variable in your npm scripts, for example:

"scripts": {
  "start": "cross-env NODE_ICU_DATA=node_modules/full-icu docusaurus start"
}

🚀 New Feature

  • docusaurus-init
  • docusaurus-theme-classic

🐛 Bug Fix

  • docusaurus-theme-classic
    • #4429 chore(v2): upgrade Infima to v0.2.0-alpha.21 (@lex111)
    • #4428 fix(v2): allow using pre tag in Markdown directly (@lex111)
    • #4381 fix(v2): specify proper TS path in classic theme (@lex111)
    • #4383 fix(v2): set theme color mode for SSR (@lex111)
  • docusaurus-plugin-pwa
  • docusaurus
    • #4407 fix(v2): broken link checker should not report false positives when using encoded chars (@Harvtronix)
  • Other
    • #4410 fix(v1): Fix v1 site deployment with Crowdin again... (@slorber)
    • #4396 fix(v1): Temp fix v1 site deployment: fail-safe on Crowdin upload translations error (@slorber)
    • #4395 fix(v1): fix v1 site deploy issues (@slorber)

💅 Polish

  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-sitemap, docusaurus-theme-classic, docusaurus-types, docusaurus-utils-validation, docusaurus
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-theme-common, docusaurus-utils, docusaurus
  • docusaurus-module-type-aliases
    • #4387 refactor(v2): add ExecutionEnvironment, BrowserOnly, isInternalUrl to type aliases (@armano2)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-utils
    • #4402 refactor(v2): merge linkify function used in blog and docs and align properties (@armano2)
  • docusaurus-plugin-client-redirects, docusaurus-plugin-content-docs, docusaurus-theme-common, docusaurus-utils-validation, docusaurus
    • #4382 refactor(v2): correct some of type errors reported by eslint (@armano2)
  • docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-theme-common

📝 Documentation

🏠 Internal

  • docusaurus-1.x
  • Other
  • docusaurus-utils
    • #4384 chore(v2): avoid bad publish of intl-locales-supported (@lex111)

Committers: 14

2.0.0-alpha.71 (2021-03-09)

🚀 New Feature

  • docusaurus-init, docusaurus-mdx-loader, docusaurus-utils, docusaurus
    • #4222 feat(v2): add ability to set custom heading id (@lex111)
  • docusaurus-theme-live-codeblock
    • #4328 feat(v2): Add playgroundPosition config for live codeblock (@tokarchyn)
  • docusaurus-theme-classic
  • docusaurus-types, docusaurus
  • docusaurus-theme-classic, docusaurus-theme-search-algolia
  • docusaurus-module-type-aliases, docusaurus-theme-classic, docusaurus
    • #4295 feat(v2): Add Interpolate / interpolate APIs + complete theme translations (@slorber)
  • docusaurus-mdx-loader
    • #4278 feat(v2): ability to "escape" JSX in MDX files as code blocks (@slorber)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs
    • #4232 feat(v2): editUrl functions should receive md doc permalink (@slorber)
    • #4121 feat(v2): editUrl function for advanced use-cases (@slorber)
  • docusaurus-1.x, docusaurus-init, docusaurus-mdx-loader, docusaurus-migrate, 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-ideal-image, docusaurus-plugin-pwa, docusaurus-plugin-sitemap, docusaurus-preset-bootstrap, docusaurus-preset-classic, docusaurus-remark-plugin-npm2yarn, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus
    • #4218 feat(v2): support/use React v17 by default (@lex111)
  • docusaurus-theme-classic, docusaurus-types, docusaurus-utils, docusaurus
    • #4215 feat(v2): Add i18n default code translation bundles (@slorber)
  • docusaurus-module-type-aliases, docusaurus-theme-classic, docusaurus-types, docusaurus
  • docusaurus-theme-classic, docusaurus-theme-common
  • docusaurus
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus
    • #4168 feat(v2): Extract/translate hardcoded labels from classic theme (@slorber)
  • docusaurus-init
    • #4098 feat(v2): improve templates, use JSDoc type annotation, improve docusaurus.config.js autocompletion (@LittleboyHarry)
  • docusaurus-init, docusaurus-migrate
  • docusaurus-plugin-content-docs
    • #3949 feat(v2): new docs edit options: editCurrentVersion + editLocalizedDocs (@slorber)

💥 Breaking Change

  • docusaurus-1.x, docusaurus-init, docusaurus-mdx-loader, docusaurus-migrate, 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-ideal-image, docusaurus-plugin-pwa, docusaurus-plugin-sitemap, docusaurus-preset-bootstrap, docusaurus-preset-classic, docusaurus-remark-plugin-npm2yarn, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus-utils-validation, docusaurus-utils, docusaurus, lqip-loader
    • #4223 chore(v2): upgrade dependencies + require Node 12 (@lex111)

🐛 Bug Fix

  • docusaurus
  • docusaurus-theme-classic
    • #4349 fix(v2): fix update code translations script + update some translations (@slorber)
    • #4311 fix(v2): fit footer in viewport when content area is too small (@lex111)
    • #4340 fix(v2): prevent useless blog pages to be in search results (@slorber)
    • #4274 fix(v2): theme classic should have lib-next prettified (@slorber)
    • #4267 fix(v2): Allow null as valid for title of item in footer links. (@ben-qnimble)
    • #4254 fix(v2): fix LTR PostCSS bug on Netlify and monorepo symlinks (@slorber)
    • #4247 fix(v2): make doc container full width when hidden sidebar (@lex111)
    • #4241 fix(v2): avoid horizontal scrolling when long lines of code (@lex111)
    • #4200 fix(v2): various minor bugs with location hash (@lex111)
    • #4195 fix(v2): restore hamburger menu (@lex111)
    • #4189 fix(v2): prevent click on item menu with children on mobiles (@lex111)
    • #4176 fix(v2): make locale dropdown accessible from keyboard (@lex111)
    • #4163 fix(v2): fix warning and improve styling inline TOC (@lex111)
    • #4162 fix(v2): make more accessible skip link (@lex111)
    • #4160 fix(v2): fix hreflang headers (@slorber)
    • #4147 fix(v2): avoid misuse section tag in blog posts (@lex111)
    • #4146 fix(v2): use current color for language icon (@lex111)
    • #4118 fix(v2): navbar dropdown subitems should be translated properly (@slorber)
    • #4011 fix(v2): fix accessibility issue with IconArrow (@natac13)
    • #3968 fix(v2): fix blog only contextual search (@slorber)
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
  • docusaurus-theme-live-codeblock
    • #4318 fix(v2): evaluate code in live editor on client only (@lex111)
    • #3954 fix(v2): allow async/await in live code editor (@9oelM)
  • docusaurus-theme-classic, docusaurus-theme-search-algolia
  • docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-search-algolia, docusaurus
    • #4304 fix(v2): fix bad theme pluralization rules for some labels (@slorber)
  • docusaurus-cssnano-preset
    • #4240 fix(v2): remove PostCSS plugin for combine duplicated selectors (@lex111)
  • Other
  • docusaurus-theme-search-algolia
    • #4188 fix(v2): prepend docsearch modal to body element (@lex111)
    • #4154 fix(v2): add base url to opensearch.xml (@lex111)
  • docusaurus-plugin-ideal-image
    • #4166 fix(v2): ideal image assets should be served under ./assets (@slorber)
  • docusaurus-theme-classic, docusaurus-theme-common
    • #4092 fix(v2): fix/enhance minor i18n issues reported (@slorber)
    • #3940 fix(v2): i18n should not crash theme without footer (@slorber)
  • docusaurus-plugin-sitemap
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-utils
    • #3970 fix(v2): fix multi-instance mdx loaders not sandboxed correctly (@slorber)
  • docusaurus-plugin-client-redirects
    • #3903 fix(v2): fix redirect toUrl (windows + trailing slash) (@saydo17)
  • docusaurus-utils

💅 Polish

  • docusaurus-theme-classic
    • #4371 refactor(v2): update Russian translation in classic theme (@lex111)
    • #4359 polish(v2): [theme-classic] slightly improve Japanese translation (@MisterFISHUP)
    • #4350 polish(v2): Updated theme label translations for Turkish (@caglarturali)
    • #4351 polish(v2): add japanese translation for #4304 (@ykzts)
    • #4309 polish(v2): improved Farsi translation (@massoudmaboudi)
    • #4279 polish(v2): theme default translations for language de / german (@philipp985)
    • #4275 polish(v2): Add more tags translations (@slorber)
    • #4246 refactor(v2): add Russian translation for classic theme (@lex111)
    • #4242 refactor(v2): use Link component for external links (@lex111)
    • #4244 refactor(v2): clean-ups and fixes (@lex111)
    • #4193 refactor(v2): update tabs to follow WAI-ARIA spec (@lex111)
    • #4194 refactor(v2): use transform instead of top position for hideable navbar (@lex111)
    • #4167 refactor(v2): minor styling improvements (@lex111)
    • #4169 refactor(v2): remove delay after skip link pressed (@lex111)
    • #4086 style(v2): add className to tab container (@ArtFlag)
  • docusaurus-plugin-content-docs, docusaurus-theme-classic
    • #4352 refactor(v2): format last updated date using Intl (@lex111)
    • #4243 refactor(v2): introduce Seo component for internal using (@lex111)
  • docusaurus-plugin-content-blog, docusaurus-theme-classic, docusaurus-utils
  • docusaurus
  • docusaurus-plugin-pwa, docusaurus-theme-classic, docusaurus-theme-search-algolia
    • #4219 refactor(v2): add more translatable strings (@lex111)
  • Other
    • #4074 polish(v2): improve codesandbox template package.json (@slorber)
  • docusaurus-plugin-debug
    • #3953 refactor(v2): fix debug plugin name (@RDIL)
  • docusaurus-plugin-debug, docusaurus-theme-classic

📝 Documentation

  • Other
  • docusaurus-theme-classic
    • #4356 polish(v2): [theme-classic] add Chinese translations (zh-Hant & zh-Hans) (@MisterFISHUP)
  • docusaurus
    • #4126 docs(v2): do not recommend using useBaseUrl() hook in most cases (@slorber)
    • #4049 docs(v1): version page should recommend v2 (bis) (@slorber)
  • docusaurus-init, docusaurus-theme-classic, docusaurus
  • docusaurus-cssnano-preset, docusaurus-init, docusaurus-mdx-loader, docusaurus-migrate, docusaurus-module-type-aliases, 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-ideal-image, docusaurus-plugin-pwa, docusaurus-plugin-sitemap, docusaurus-preset-bootstrap, docusaurus-preset-classic, docusaurus-remark-plugin-npm2yarn, docusaurus-theme-bootstrap, docusaurus-theme-common, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus-types, docusaurus-utils-validation, docusaurus-utils, docusaurus, lqip-loader, stylelint-copyright
    • #4034 docs(v2): Add READMEs to v2 packages (@RDIL)
  • docusaurus-init

🏠 Internal

  • Other
  • docusaurus-theme-classic
  • docusaurus-init, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-theme-classic, docusaurus-theme-search-algolia, docusaurus-utils, docusaurus, lqip-loader
    • #4361 refactor(v2): remove duplicated lodash dependencies and import only what needed (@armano2)
  • docusaurus-1.x, docusaurus
  • docusaurus-init, docusaurus-migrate, docusaurus-plugin-client-redirects, docusaurus-plugin-content-docs, docusaurus-plugin-ideal-image, docusaurus-types, docusaurus
    • #4264 chore(v2): bump/align deps in monorepo: commander, semver, fs-extra (@Simek)
  • docusaurus
    • #4265 chore(v2): PostCSS peer dep fix (@RDIL)
    • #4091 refactor(v2): Switch from inquirer to prompts (@RDIL)
    • #4066 chore(v2): Update a few dependencies (@RDIL)
  • docusaurus-init, docusaurus-mdx-loader, docusaurus-migrate, docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-debug, docusaurus-plugin-ideal-image, docusaurus-plugin-sitemap, docusaurus-theme-classic, docusaurus-theme-search-algolia, docusaurus-utils-validation, docusaurus-utils, docusaurus, lqip-loader
  • docusaurus-plugin-pwa
  • docusaurus-utils, docusaurus
    • #4081 chore(v2): Update webpack-related dependencies, pre-work to migrate to Webpack 5 (@RDIL)
  • docusaurus-init, docusaurus
    • #4012 chore(v2): docusaurus-init: switch from inquirer to prompts (@RDIL)
  • docusaurus-plugin-sitemap
  • docusaurus-migrate
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-debug, docusaurus-remark-plugin-npm2yarn, docusaurus-utils, docusaurus, stylelint-copyright

🏃‍♀️ Performance

  • docusaurus-cssnano-preset, docusaurus-plugin-content-blog, docusaurus
    • #4355 perf(v2): improve blog mdx-loader and postcss loader (@lex111)

Committers: 70

2.0.0-alpha.70 (2020-12-17)

🚀 New Feature

  • docusaurus
  • docusaurus-module-type-aliases, docusaurus-theme-classic, docusaurus-types, docusaurus
    • #3916 feat(v2): Add localeDropdown navbar item type + i18n localeConfigs field (@slorber)
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-types
    • #3904 feat(v2): inline table-of-contents + refactor TOC (@slorber)
  • docusaurus-plugin-content-docs
    • #3888 feat(v2): add custom props for consumption by swizzled sidebar (@oriooctopus)
  • docusaurus-plugin-content-blog
  • Other
  • docusaurus-1.x, docusaurus-module-type-aliases, docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-search-algolia, docusaurus-types, docusaurus-utils, docusaurus
    • #3325 feat(v2): core v2 i18n support + Docusaurus site Crowdin integration (@slorber)

💥 Breaking Change

  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-types
    • #3904 feat(v2): inline table-of-contents + refactor TOC (@slorber)
  • docusaurus-plugin-content-blog

🐛 Bug Fix

  • docusaurus
    • #3922 fix(v2): fix navbar items issue on Windows? (@slorber)
    • #3920 fix(v2): i18n translation extractor should handle JSX formatting edge cases better (@slorber)
    • #3896 fix(v2): do not treat at-rules during CSS minification (@lex111)
    • #3869 fix(v2): load plugin commands async to fix broken plugin CLI commands docs:version (@aeneasr)
  • docusaurus-theme-classic
    • #3921 fix(v2): remove useless console log (@slorber)
    • #3895 fix(v2): use proper element for pagination nav label (@lex111)
    • #3882 fix(v2): improve Footer structure, add class names, use Infima transition (@Simek)
    • #3877 fix(v2): dynamic dark mode detection without toggle widget (@hmil)
    • #3854 fix(v2): refactor icons in theme-classic, fix swizzle issue (@Simek)
    • #3823 fix(v2): support rendering of singular tabs (@aeneasr)
    • #3817 fix(v2): Allow footer logo at attribute to be empty (@aarongarciah)
  • docusaurus-theme-bootstrap, docusaurus-theme-classic
    • #3900 fix(v2): correct typo in metas generated for Twitter cards (@mpsq)
  • Other
    • #3872 chore: add missing v1 generated files to ignores (@Simek)
    • #3833 fix(v2): temporary: disable crowdin until PR env variable permission fixed (@slorber)
  • stylelint-copyright
    • #3852 fix(v2): to fix the canary release GH workflow (@slorber)
  • docusaurus-theme-search-algolia
  • docusaurus-plugin-content-docs
  • docusaurus-theme-classic, docusaurus-theme-search-algolia
  • docusaurus-init, docusaurus

💅 Polish

  • docusaurus

📝 Documentation

🏠 Internal

  • Other
    • #3912 chore(v2): remove docs for alpha v64 (@lex111)
    • #3907 chore(ci): fix canary release filtering (@slorber)
    • #3902 chore(deps): bump ini from 1.3.5 to 1.3.7 (@dependabot[bot])
    • #3884 chore(ci): increase Lighthouse CI max_timeout (@Simek)
    • #3883 chore(v2): remove docs for alpha v62-63 (@lex111)
    • #3863 chore(ci): run V1 Build and Migration CLI tests conditionally on CI (@Simek)
    • #3861 chore(ci): reduce number of jobs, remove build from lighthouse pipeline (@Simek)
    • #3860 chore: add Yarn v2 cache directory to ignores (@Simek)
    • #3858 chore(v2): disable Crowdin for deploy previews (@slorber)
    • #3857 fix(v2): fix Crowdin ci commands (@slorber)
    • #3849 chore(ci): CI scripts cleanup, add Node 14 runs, bump checkout action (@Simek)
    • #3850 chore(v2): i18n CI: add write-translations call (@slorber)
    • #3848 chore(v2): fix CI typo (@slorber)
    • #3847 chore(v2): wire production Crowdin project + setup (@slorber)
    • #3846 chore(v2): fix PRs not able to add lighthouse/buildsize comment from works (@slorber)
  • docusaurus-1.x, docusaurus-theme-bootstrap, docusaurus-theme-classic
    • #3865 chore(v2): fix ignore paths and Prettier commands in themes (@Simek)
  • docusaurus-cssnano-preset, 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-theme-classic, docusaurus-theme-common, docusaurus-types, docusaurus-utils-validation, docusaurus-utils, docusaurus
    • #3844 chore(v2): fix several lint warnings, add missing types, cleanup (@Simek)
  • docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-theme-common, docusaurus-theme-search-algolia
    • #3838 refactor(v2): extract site title formatter to theme-common util (@Simek)

Committers: 23

2.0.0-alpha.69 (2020-11-24)

🚀 New Feature

  • docusaurus-types, docusaurus
    • #3802 feat(v2): add baseUrlIssueBanner configuration to disable banner (@slorber)

🐛 Bug Fix

  • docusaurus-theme-classic
    • #3807 chore(v2): upgrade Infima to v0.2.0-alpha.18 (@lex111)
    • #3806 fix(v2): remove aria-hidden attr from anchor link of heading (@lex111)
    • #3784 fix(v2): fix missing logo in dark theme when darkSrc was not set (@Simek)
  • docusaurus-theme-search-algolia
    • #3804 fix(v2): Algolia: allow contextualSearch + facetFilters (@slorber)
  • docusaurus

📝 Documentation

🏠 Internal

  • #3800 chore(v2): remove useless stylelint-copyright peerDependency (@slorber)
  • #3786 chore(v2): ensure publishConfig.access presence with tests (@slorber)

Committers: 5

2.0.0-alpha.68 (2020-11-18)

🚀 New Feature

  • Other
  • docusaurus-init
  • docusaurus-theme-bootstrap, docusaurus-theme-classic
  • docusaurus-cssnano-preset, docusaurus-theme-classic, docusaurus
    • #3716 feat(v2): introduce new minification of CSS bundle (@lex111)
  • docusaurus
    • #3694 feat(v2): Added the ability to specify GIT_PASS in deploy command (for CI purposes) (@smcelhinney)
    • #3621 feat(v2): baseUrl config issues: show help message if css/js can't load (@jcs98)
    • #3594 feat(v2): add support for key,cert in https (@ThakurKarthik)
  • docusaurus-remark-plugin-npm2yarn
    • #3705 feat(v2): add support for sync to npm2yarn tabs (@lex111)
  • docusaurus-init, docusaurus-migrate, docusaurus-plugin-content-docs, docusaurus-types, docusaurus-utils, docusaurus
  • docusaurus-theme-classic

🐛 Bug Fix

  • docusaurus-theme-classic
    • #3749 fix(v2): add support for interleaving Markdown in code blocks (@lex111)
    • #3739 fix(v2): add support for prefers-reduced-motion in hideable sidebar (@lex111)
    • #3726 fix(v2): add thin scrollbar to proper element in TOC (@lex111)
    • #3681 Revert "refactor(v2): improve regex matching code-block title" (@lex111)
    • #3662 fix(v2): navbar dropdown crash when item.to is undefined (@artemkovalyov)
    • #3669 fix(v2): make scrollbar styles consistent (@nategiraudeau)
    • #3666 fix(v2): make optional title for footer links column (@lex111)
    • #3647 fix(v2): do not set height for mobile dropdown during build (@lex111)
    • #3650 fix(v2): add landmark for skip to content link (@lex111)
    • #3627 fix(v2): disable tabbing on hidden doc sidebar (@lex111)
    • #3637 fix(v2): wrap code blocks on print (@haivp3010)
    • #3603 fix(v2): animate dropdown properly (@lex111)
    • #3611 fix(v2): Added back support for optional logo field in theme-classic navbarConfig (@SamChou19815)
  • docusaurus-theme-classic, docusaurus
    • #3763 refactor(v2): various markup improvements (@lex111)
    • #3724 fix(v2): add support for non-ASCII chars in anchor link scroll (@lex111)
  • docusaurus-module-type-aliases, docusaurus
  • Other
    • #3760 fix(v2): codesandbox generated examples should use published init package (@slorber)
    • #3701 fix(v2): limit images height on showcase page (@lex111)
  • docusaurus-mdx-loader
    • #3757 fix(v2): escape alt text in img tag (@lex111)
    • #3653 fix(v2): handle multiple asset links in one line properly (@lex111)
  • docusaurus-theme-search-algolia, docusaurus-utils
    • #3721 fix(v2): use swizzled SearchPage component if any (@lex111)
  • docusaurus
  • docusaurus-utils
    • #3703 fix(v2): ignore export declarations in excerpt (@lex111)
  • docusaurus-theme-search-algolia
    • #3639 fix(v2): restore infinite scroll pagination on search page (@lex111)
  • docusaurus-types, docusaurus
    • #3622 fix(v2): docusaurus start --poll 500 should work + better config load failure error (@slorber)

💅 Polish

  • docusaurus
    • #3765 chore(v2): replace wait-file with wait-on to reduce npm warnings (@lex111)
    • #3725 fix(v2): fix inconsistent error output in swizzle command (@lex111)
    • #3609 refactor(v2): Improve SSR error message: log page path (@slorber)
  • docusaurus-theme-classic
    • #3764 refactor(v2): make accessible anchor links from keyboard (@lex111)
    • #3745 refactor(v2): introduce Logo component, remove useLogo hook (@Simek)
    • #3706 refactor(v2): render all tab panels at once (@lex111)
    • #3712 chore(v2): upgrade Infima to v0.2.0-alpha.15 (@lex111)
    • #3685 refactor(v2): improve regex matching code-block title (@hong4rc)
    • #3674 feat(v2): add additional wrapper class to blog pages (@Simek)
    • #3671 refactor(v2): improve regex matching code-block title (@hong4rc)
    • #3654 refactor(v2): clean up code blocks (@lex111)
    • #3649 refactor(v2): make code blocks scrollable from keyboard (@lex111)
    • #3626 refactor(v2): remove focus outline from mouse users (@lex111)
  • docusaurus-init
  • docusaurus-theme-classic, docusaurus-theme-search-algolia
    • #3707 chore(v2): upgrade Infima to v0.2.0-alpha.14 (@lex111)
  • docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-pwa, docusaurus-plugin-sitemap, docusaurus-theme-classic, docusaurus-theme-search-algolia, docusaurus-utils-validation, docusaurus
  • docusaurus-plugin-content-docs, docusaurus-theme-search-algolia
    • #3604 refactor(v2): use new way to get versions for search page (@lex111)

📝 Documentation

🏠 Internal

  • Other
    • #3769 docs(v2): fix statements background, update footer background (@Simek)
    • #3744 chore(v2): add build size bot workflow Github CI workflow (@jcs98)
    • #3741 chore: update yarn lock again (@slorber)
    • #3740 chore: update yarn lock (@slorber)
    • #3738 chore(internal): add yarn deduplicate script, cleanup lock (@Simek)
    • #3732 fix(internal): fix clear script from the main package.json (@Simek)
    • #3708 chore(v2): remove docs for alpha v60-61 (@lex111)
    • #3693 fix(v2): fix website scripts on Windows by using cross-env (@Simek)
    • #3673 test(e2e): dogfood Yarn with enableGlobalCache (@ylemkimon)
    • #3641 misc: fix unbound env variable in test release script (@lex111)
  • docusaurus-mdx-loader, docusaurus-migrate, lqip-loader
  • docusaurus-mdx-loader
    • #3753 chore(v2): fix mismatch peer dependency in MDX loader (@lex111)
  • docusaurus
    • #3742 chore(v2): pin version of babel-plugin-dynamic-import-node to 2.3.0 (@lex111)
    • #3734 chore(v2): downgrade babel-plugin-dynamic-import-node to 2.3.0 (@lex111)
    • #3714 chore(v2): fix prettier formatting (@slorber)
    • #3619 refactor(v2): add better error message for yarn workspace/monorepo/terser issue (@slorber)
  • docusaurus-1.x, docusaurus-init, docusaurus-mdx-loader, docusaurus-migrate, docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-pwa, docusaurus-remark-plugin-npm2yarn, docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus
  • docusaurus-1.x
  • docusaurus-mdx-loader, docusaurus-plugin-google-analytics, docusaurus-plugin-google-gtag, docusaurus-plugin-sitemap
    • #3675 fix(v2): add missing 'react' and 'webpack' peer dependencies (@ylemkimon)
  • docusaurus-1.x, docusaurus-init-1.x, docusaurus-init, docusaurus-mdx-loader, docusaurus-migrate, docusaurus-module-type-aliases, 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-ideal-image, docusaurus-plugin-pwa, docusaurus-plugin-sitemap, docusaurus-preset-bootstrap, docusaurus-preset-classic, docusaurus-remark-plugin-npm2yarn, docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus-types, docusaurus-utils-validation, docusaurus-utils, docusaurus, lqip-loader, stylelint-copyright

Committers: 26

2.0.0-alpha.67 (2020-11-18)

Failed release

2.0.0-alpha.66 (2020-10-19)

🚀 New Feature

  • docusaurus-plugin-content-blog, docusaurus-theme-classic
  • docusaurus-mdx-loader, docusaurus-remark-plugin-npm2yarn
  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-theme-search-algolia
    • #3550 feat(v2): contextual search, dynamic Algolia facetFilters (@slorber)
  • docusaurus-theme-classic
    • #3580 feat(v2): allow to define custom CSS class for Tabs component (@Simek)
    • #3553 feat(v2): make dropdown menu collapsible on mobiles (@lex111)
  • docusaurus-migrate, docusaurus-types, docusaurus
  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus
  • docusaurus-theme-classic, docusaurus
    • #3548 feat(v2): version dropdown before/after items + move site "All Versions" link (@slorber)
  • docusaurus-types, docusaurus
  • docusaurus-plugin-content-docs, docusaurus-theme-classic

💥 Breaking Change

  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-theme-search-algolia
    • #3550 feat(v2): contextual search, dynamic Algolia facetFilters (@slorber)

🐛 Bug Fix

  • docusaurus-theme-classic, docusaurus
    • #3607 fix(v2): fix error with required href attr of link in mobiles (@lex111)
  • docusaurus-theme-classic
    • #3602 fix(v2): make dropdown button clickable with mouse (@lex111)
    • #3601 fix(v2): fix table-of-content scroll highlighting issues (@slorber)
  • docusaurus-theme-bootstrap, docusaurus-theme-classic
    • #3599 fix(v2): remove event listeners on Tabs component unmount (@lex111)
  • docusaurus-types, docusaurus

💅 Polish

  • docusaurus-theme-classic
    • #3585 refactor(v2): various dropdown improvements (@lex111)
    • #3588 refactor(v2): make accessible copy code button from keyboard (@lex111)
    • #3578 refactor(v2): apply common behavior to dropdowns (@lex111)
    • #3546 docs: various fixes and improvements (@lex111)
  • docusaurus-theme-classic, docusaurus
  • docusaurus
    • #3569 refactor(v2): improve broken links error message (@slorber)

📝 Documentation

🏠 Internal

  • docusaurus-theme-search-algolia
    • #3591 chore(v2): enable new contextual search feature (@slorber)
  • Other
  • docusaurus-theme-classic
    • #3394 refactor(v2): add useThemeConfig hook + cleanup useless theme default values (@imskr)

Committers: 17

2.0.0-alpha.65 (2020-10-02)

🚀 New Feature

  • docusaurus
    • #3497 feat(v2): env variable TERSER_PARALLEL to customize TerserPlugin.parallel (@aeneasr)
    • #3446 feat(v2): new docusaurus clear command (@abadon7)
    • #3485 feat(v2): Add @theme-init components to user theme (@edno)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages
    • #3467 feat(v2): add beforeDefaultRemarkPlugins/beforeDefaultRehypePlugins options to all md content plugins (@ayshiff)
  • docusaurus-init, docusaurus-theme-bootstrap
  • docusaurus-theme-classic
    • #3474 feat(v2): allow to use array of files in customCss field (@Simek)
  • docusaurus-plugin-content-pages, docusaurus-theme-classic
    • #3457 feat(v2): add optional custom wrapper class name for pages based on theme classic Layout (@Simek)

🐛 Bug Fix

  • Other
    • #3517 fix(v1): v1 deploy preview should be available (@slorber)
  • docusaurus
    • #3498 fix(v2): fixed props being passed to @svgr/webpack loader (@anru)
  • docusaurus-theme-search-algolia
    • #3456 fix(v2): use valid value for crossorigin attribute (@lex111)
  • docusaurus-utils
  • docusaurus-theme-classic
    • #3472 fix(v2): Show dropdown instead of a single button when there are two versions (@SamChou19815)
  • docusaurus-plugin-content-docs

💅 Polish

  • docusaurus-theme-classic
    • #3499 chore(v2): upgrade Infima to 0.2.0-alpha.13 (@lex111)

📝 Documentation

  • docusaurus
    • #3502 docs(v2): add doc for wrapping theme components with @theme-original and @theme-init (@slorber)
  • Other

🏠 Internal

  • docusaurus-1.x, docusaurus-migrate
  • Other
  • docusaurus-utils-validation

Committers: 18

2.0.0-alpha.64 (2020-09-11)

🚀 New Feature

  • docusaurus-theme-classic
    • #3432 feat(v2): add style property to theme-classic navbar (@Simek)
    • #3406 feat(v2): ability to add/override theme html metadatas (@slorber)
  • docusaurus-plugin-sitemap
    • #3426 feat(v2): add option to add trailing slash to urls in sitemap (@mpsq)

🐛 Bug Fix

  • Other
    • #3438 fix(v2): docusaurus 2 PWA should work under baseurl (deploy previews) (@slorber)
  • docusaurus-mdx-loader
  • docusaurus-plugin-pwa
  • docusaurus-theme-classic
    • #3433 fix(v2): fix theme-classic announcement bar closeable style (@Simek)
  • docusaurus-1.x
    • #3429 fix(v1): versioned_docs and skip-next-release relative path issue (@josephMG)
  • docusaurus-theme-bootstrap, docusaurus-theme-classic
    • #3418 fix(v2): reset sidebar state on sidebar changes (@slorber)
  • docusaurus-plugin-debug
    • #3405 fix(v2): fix debug plugin unscoped inline code global css (@slorber)

📝 Documentation

🏠 Internal

  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-ideal-image, docusaurus-plugin-pwa, docusaurus
    • #3439 chore(v2): fix serialize-javascript security issue by upgrading webpack/workbox (@slorber)
  • Other

Committers: 7

2.0.0-alpha.63 (2020-09-03)

🚀 New Feature

  • docusaurus-types, docusaurus
    • #3387 feat(v2): allow users to specify a custom ssr HTML template (@mpsq)
  • docusaurus-plugin-debug
    • #3392 feat(v2): officially release @docusaurus/plugin-debug (@slorber)
  • docusaurus-theme-classic
    • #3388 feat(v2): add isCloseable property for theme-classic announcement bar (@Simek)
  • docusaurus-plugin-content-docs, docusaurus-theme-classic

🐛 Bug Fix

  • Other
    • #3397 fix(v2): DocSearch should keep working after a new release (part 2/2) (@slorber)
  • docusaurus-plugin-content-docs, docusaurus-theme-classic
    • #3393 fix(v2): DocSearch should keep working after a new release (part 1/2) (@slorber)
    • #3381 fix(v2): alpha 62 doc fixes (@slorber)
  • docusaurus
  • docusaurus-preset-bootstrap, docusaurus-preset-classic, docusaurus-theme-classic, docusaurus
    • #3382 fix(v2): allow using classic theme/preset without the docs plugin (@slorber)
  • docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-utils-validation

📝 Documentation

🏠 Internal

  • docusaurus-init, docusaurus-mdx-loader, 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-ideal-image, docusaurus-plugin-pwa, docusaurus-plugin-sitemap, docusaurus-preset-bootstrap, docusaurus-preset-classic, docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus-types, docusaurus-utils-validation, docusaurus
  • docusaurus-1.x, docusaurus-init-1.x, docusaurus-init, docusaurus-mdx-loader, docusaurus-migrate, docusaurus-module-type-aliases, 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-ideal-image, docusaurus-plugin-pwa, docusaurus-plugin-sitemap, docusaurus-preset-bootstrap, docusaurus-preset-classic, docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus-types, docusaurus-utils-validation, docusaurus-utils, docusaurus, lqip-loader, stylelint-copyright

Committers: 5

2.0.0-alpha.62 (2020-08-28)

🚀 New Feature

  • docusaurus-plugin-content-docs, docusaurus-theme-classic
    • #3357 feat(v2): docs version configuration: lastVersion, version.{path,label} (@slorber)
    • #3328 feat(v2): Provide docs plugin theme typing (@SamChou19815)
  • docusaurus-theme-classic
  • docusaurus-plugin-content-pages, docusaurus-theme-classic
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-theme-classic
  • docusaurus-init, docusaurus-plugin-content-blog
  • docusaurus-init, docusaurus-theme-bootstrap
    • #2981 feat(v2): bootstrap theme, preset, template, CI previews (@fanny)
  • docusaurus-plugin-content-blog, docusaurus-theme-classic
  • docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-debug, docusaurus-preset-classic, docusaurus-theme-bootstrap, docusaurus-types, docusaurus
    • #3229 feat(v2): debug pages + debug layout + ability to debug content (@slorber)
  • docusaurus-theme-classic, docusaurus-types, docusaurus
  • docusaurus-mdx-loader, docusaurus-plugin-content-pages
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-utils-validation, docusaurus
  • docusaurus-mdx-loader
    • #3096 feat(v2): add support to import assets using relative link in markdown syntax (@anshulrgoyal)

🐛 Bug Fix

  • docusaurus-migrate
    • #3358 fix(v2): fix migrate cli paths (sidebars/customcss) (@slorber)
  • docusaurus
    • #3311 fix(v2): add https support in webpack devserver (@arcvats)
    • #3313 fix(v2): resolve webpack loaders from siteDir/node_modules (@anshulrgoyal)
    • #3308 fix(v2): brokenLinks should not report links that belong to an existing folder if folder/index.html exists (@slorber)
    • #3273 fix: logic error while deciding deploymentBranch (@thehanimo)
    • #3281 fix(v2): allow swizzling of component even if case doesn't match (@anshulrgoyal)
    • #3222 fix(v2): update react-loadable-ssr-addon to solve yarn2 error (@slorber)
    • #3191 fix(v2): add missing lodash.flatmap dependency (@ylemkimon)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-pages, docusaurus-plugin-ideal-image, docusaurus-plugin-pwa, docusaurus-theme-bootstrap, docusaurus-theme-search-algolia, docusaurus-types
  • docusaurus-theme-classic
    • #3352 fix(v2): Allow the alt for the logo to be empty (@Vinnl)
    • #3240 fix(v2): navbar dropdown opened with tab, not closing on click outside (@Ako92)
  • docusaurus-mdx-loader, docusaurus
    • #3347 fix(v2): linking to asset or external html page -> don't use history.push() (@slorber)
  • docusaurus-1.x
    • #3340 fix(v1): show images after one line code block (@adinaja)
  • docusaurus-1.x, docusaurus
    • #3290 fix(v1,v2): Add initial-scale=1.0 to all meta viewport tags (@nebrelbug)
  • docusaurus-theme-search-algolia
  • docusaurus-mdx-loader, docusaurus-plugin-content-pages
  • Other
  • docusaurus-plugin-google-gtag
  • docusaurus-plugin-content-docs, docusaurus-utils
    • #3262 fix(v2): doc path special char (space or other) should lead to a valid slug (@slorber)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-utils-validation, docusaurus
    • #3247 fix(v2): modify validation schema and tests for rehype/remark + remove duplicate dependency (@teikjun)
  • docusaurus-init
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-utils-validation, docusaurus
  • docusaurus-init, docusaurus-plugin-content-docs
    • #3228 fix(v2): deprecate docs homePageId in favor of frontmatter "slug: /" (@slorber)
  • docusaurus-plugin-content-docs, docusaurus
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
    • #3210 fix(v2): fix theme validation for prism field and add tests (@teikjun)
  • docusaurus-plugin-content-docs

💅 Polish

  • docusaurus-module-type-aliases, docusaurus
    • #3244 chore(v2): tighten up the TypeScript onboarding (@orta)
  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-utils, docusaurus
  • docusaurus
    • #3188 fix(v2): Add a missing whitespace before prompt to use npm run serve (@SamChou19815)

📝 Documentation

🏠 Internal

  • docusaurus-migrate
  • docusaurus-theme-classic
    • #3343 refactor(v2): announcement bar bad spelling + minor refactors (@slorber)
  • docusaurus-plugin-content-blog
    • #3339 test(v2): make blog posts unit test ordering determinate (@BogdanDor)
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-theme-classic, docusaurus-types
  • docusaurus-module-type-aliases, docusaurus
    • #3244 chore(v2): tighten up the TypeScript onboarding (@orta)
  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-utils, docusaurus
  • docusaurus
  • Other
  • docusaurus-1.x

🏃‍♀️ Performance

  • docusaurus-plugin-client-redirects, docusaurus-theme-search-algolia, docusaurus

Committers: 39

2.0.0-alpha.61 (2020-08-01)

🚀 New Feature

  • docusaurus-types, docusaurus
    • #3083 feat(v2): warn user when there are conflicting routes (@teikjun)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-theme-classic, docusaurus-utils-validation, docusaurus-utils
  • docusaurus-theme-classic
  • docusaurus-theme-search-algolia
  • docusaurus-plugin-content-blog, docusaurus-theme-classic
    • #2359 feat(v2): support custom description for blog-only mode (@zxuqian)

🐛 Bug Fix

  • docusaurus-mdx-loader, docusaurus
    • #3180 fix(v2): fix markdown images always using webpack url-loader (@slorber)
  • docusaurus-theme-classic
    • #3171 fix(v2): tab label showing outline & background when clicked (@mdfaizan7)
  • docusaurus-init, docusaurus-theme-classic
    • #3168 fix(v2): fix link items refusing attributes like target, rel etc... (@slorber)
  • docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-debug, docusaurus-plugin-ideal-image, docusaurus-plugin-sitemap, docusaurus-preset-bootstrap, docusaurus-preset-classic, docusaurus-theme-classic, docusaurus-theme-search-algolia, docusaurus
    • #3162 fix(v2): inability for users to pin their docusaurus version (@BuckyMaler)

📝 Documentation

🏠 Internal

  • Other
  • docusaurus-1.x, docusaurus-init-1.x, docusaurus-init, docusaurus-mdx-loader, docusaurus-migrate, docusaurus-module-type-aliases, 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-ideal-image, docusaurus-plugin-pwa, docusaurus-plugin-sitemap, docusaurus-preset-bootstrap, docusaurus-preset-classic, docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus-types, docusaurus-utils, docusaurus, lqip-loader, stylelint-copyright

Committers: 8

2.0.0-alpha.60 (2020-07-29)

🚀 New Feature

  • docusaurus
  • docusaurus-1.x
    • #3124 feat(v1): add 'slugPreprocessor' config option to allow users customize the hash links (@Simek)
  • docusaurus-theme-search-algolia
    • #3133 feat(v2): add themeConfig validation to algolia theme (@slorber)

🐛 Bug Fix

  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus
    • #3142 fix(v2): config validation fixes + add tests for config validation (@teikjun)
  • docusaurus
    • #3149 fix(v2): BrowserOnly should not return undefined (@slorber)
    • #3143 fix(v2): absolute Links should be automatically prefixed by baseurl (@slorber)
  • docusaurus-plugin-content-docs, docusaurus-types, docusaurus
    • #3141 fix(v2): remove buggy routesLoaded + deprecate routesLoaded lifecycle (@slorber)
  • docusaurus-theme-classic
    • #3140 fix(v2): navbar item links should allow unknown attributes (@slorber)
  • docusaurus-theme-search-algolia
    • #3138 fix(v2): add accessible label for Algolia search button (@hobadams)
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus

📝 Documentation

🏠 Internal

  • Other
  • docusaurus-1.x, docusaurus-init-1.x, docusaurus-init, docusaurus-mdx-loader, docusaurus-migrate, docusaurus-module-type-aliases, 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-ideal-image, docusaurus-plugin-pwa, docusaurus-plugin-sitemap, docusaurus-preset-bootstrap, docusaurus-preset-classic, docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus-types, docusaurus-utils, docusaurus, lqip-loader, stylelint-copyright

Committers: 4

2.0.0-alpha.59 (2020-07-24)

🚀 New Feature

  • docusaurus-migrate, docusaurus-plugin-client-redirects
  • docusaurus-init
  • docusaurus-theme-search-algolia
  • docusaurus-init, docusaurus-types, docusaurus
  • docusaurus-plugin-content-docs, docusaurus-utils
    • #3084 feat(v2): absolute slugs and slug resolution system (@slorber)
  • docusaurus-init, docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs
    • #3069 feat(v2): support for adding relative images and handling broken image links (@anshulrgoyal)
  • docusaurus-init, docusaurus-module-type-aliases, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-debug, docusaurus-theme-classic, docusaurus-types, docusaurus
    • #2971 feat(v2): global data + useGlobalData + docs versions dropdown (@slorber)
  • docusaurus-init, docusaurus
  • docusaurus-module-type-aliases, docusaurus-plugin-debug, docusaurus-types, docusaurus
  • docusaurus
  • docusaurus-module-type-aliases, docusaurus-plugin-debug, docusaurus
    • #3050 feat(v2): Collect plugin versions to allow them to be inspected in debug plugin (@SamChou19815)
  • docusaurus-theme-classic
    • #3038 feat(v2): Support keywords meta in blog posts (@dpkg)
    • #2974 feat(v2): Error when hooks depends on context is used outside of Layout (@SamChou19815)
  • docusaurus-plugin-pwa, docusaurus
  • docusaurus-plugin-ideal-image, docusaurus-types, docusaurus
    • #2994 feat(v2): configureWebpack merge strategy + use file-loader for common asset types (@slorber)
  • docusaurus-plugin-content-docs
    • #2989 feat(v2): add disableVersioning config to docs plugin (@slorber)
    • #2877 feat(v2): allow skipping build docs for next version (@lex111)
  • docusaurus-1.x
    • #2955 feat(v1): add deletedDocs config to fix unwanted versioning fallback (@aldeed)
  • docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus-types, docusaurus
    • #2943 feat(v2): option and config validation life cycle method for official plugins (@anshulrgoyal)

💥 Breaking Change

  • docusaurus-init, docusaurus-module-type-aliases, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-debug, docusaurus-theme-classic, docusaurus-types, docusaurus
    • #2971 feat(v2): global data + useGlobalData + docs versions dropdown (@slorber)
  • docusaurus-theme-classic, docusaurus

🐛 Bug Fix

  • docusaurus
    • #3107 fix(v2): broken links detector: ignore existing folders (@slorber)
    • #3112 fix(v2): baseUrl is wrongly appended to anchor links (@slorber)
    • #3063 fix(v2): classify link hrefs with protocol identifier as internal (@svtfrida)
  • docusaurus-theme-classic
    • #3106 fix(v2): dropdown navbar item: validation too strict (@slorber)
    • #3029 fix(v2): change description for blog post paginator (@teikjun)
  • docusaurus-plugin-content-docs
  • docusaurus-plugin-content-pages
  • docusaurus-init
  • Other
  • docusaurus-theme-classic, docusaurus
  • docusaurus-plugin-content-docs, docusaurus-utils, docusaurus
    • #3001 fix(v2): refactor routes.ts + add route hash for chunkNames key (@slorber)
  • docusaurus-plugin-client-redirects, docusaurus-utils, docusaurus
    • #3010 fix(v2): make client-redirect-plugin not baseUrl sensitive (@teikjun)
  • docusaurus-1.x
    • #2993 fix(relative path): last update date and by isn’t generated if localh… (@amirulahmad)
  • docusaurus-plugin-client-redirects
    • #2969 fix: fromExtensions and toExtensions translation when used with baseUrl (@jknoxville)

💅 Polish

  • docusaurus-theme-classic, docusaurus
  • docusaurus-mdx-loader
    • #3087 refactor(v2): async md image transformer + pathname protocol as an escape hatch (@slorber)
  • docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-sitemap, docusaurus-theme-live-codeblock, docusaurus-types
    • #2970 feat(v2): add option validation for remaining official plugins (@teikjun)
  • docusaurus

📝 Documentation

🏠 Internal

  • docusaurus-migrate
    • #3113 chore(v2): ability to test the migration cli easily (@slorber)
  • Other
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus
  • docusaurus-mdx-loader
    • #3087 refactor(v2): async md image transformer + pathname protocol as an escape hatch (@slorber)
  • docusaurus-plugin-pwa, docusaurus
  • docusaurus-init, docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-debug, docusaurus-plugin-ideal-image, docusaurus-plugin-sitemap, docusaurus-theme-classic, docusaurus-utils, docusaurus
    • #2998 chore(v2): refactor yarn tsc to yarn build + add theme-classic watch mode (@slorber)
  • docusaurus-init
  • docusaurus-plugin-content-docs, docusaurus-utils, docusaurus
    • #3001 fix(v2): refactor routes.ts + add route hash for chunkNames key (@slorber)
  • docusaurus
  • docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-sitemap, docusaurus-theme-live-codeblock, docusaurus-types
    • #2970 feat(v2): add option validation for remaining official plugins (@teikjun)
  • docusaurus-theme-classic
  • docusaurus-plugin-client-redirects
  • docusaurus-init, docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-ideal-image, docusaurus-plugin-sitemap, docusaurus-theme-bootstrap, docusaurus-theme-classic, docusaurus-theme-search-algolia, docusaurus-types, docusaurus-utils, docusaurus, lqip-loader
  • docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-sitemap, docusaurus-utils, docusaurus, lqip-loader

Committers: 25

2.0.0-alpha.58

🚀 New Feature

  • docusaurus-plugin-content-docs, docusaurus-theme-classic
    • #2916 feat(v2): add a banner that links to latest version of documentation (@teikjun)
    • #2682 feat(v2): expanded sidebar categories by default (@jsjoeio)
  • docusaurus-plugin-debug, docusaurus-preset-classic
  • docusaurus-init, docusaurus
  • docusaurus-plugin-client-redirects, docusaurus-utils
  • docusaurus-theme-live-codeblock
    • #2826 feat(v2): allow adding components to react-live scope (@slorber)
  • docusaurus-theme-classic, docusaurus
    • #2856 feat(v2): allow specifying meta image for blog posts (@lex111)
  • docusaurus-theme-classic
    • #2841 feat(v2): Allow swizzling prism-include-languages in theme-classic (@SamChou19815)

💥 Breaking Change

  • docusaurus-init, docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus
  • docusaurus-plugin-content-docs
    • #2861 fix(v2): do not create route for document that serve as docs home page (@lex111)
  • docusaurus-plugin-content-docs, docusaurus-theme-classic
    • #2682 feat(v2): expanded sidebar categories by default (@jsjoeio)

🐛 Bug Fix

  • docusaurus-plugin-content-docs, docusaurus-theme-bootstrap, docusaurus-theme-classic
  • docusaurus-theme-classic
    • #2932 fix(v2): Add hooks to detect window resize, toggle off sidebar and navbar in desktop (@guillaumejacquart)
    • #2909 fix(v2): adjust anchor offset when routes switched (@lex111)
    • #2896 fix(v2): set correct canonical url for docs home page (@lex111)
    • #2893 fix(v2): Do not automatically change tab when a non-existing option is selected (@SamChou19815)
    • #2888 fix(v2): restore styles for menu scrollbar (@lex111)
    • #2857 fix(v2): treat inline code in raw HTML as native element (@lex111)
  • docusaurus
  • docusaurus-preset-classic
    • #2944 fix(v2): Declare @docusaurus-plugin-debug as dependency of preset classic (@SamChou19815)
  • docusaurus-init
    • #2902 feat(v2): add nojekyll file to static folder for all templates (@teikjun)
  • docusaurus-theme-bootstrap
  • Other
  • docusaurus-plugin-content-docs
    • #2861 fix(v2): do not create route for document that serve as docs home page (@lex111)
  • docusaurus-plugin-content-docs, docusaurus-theme-classic
    • #2867 fix(v2): fix FOUC in doc sidebar and various improvements (@slorber)
  • docusaurus-theme-search-algolia
  • docusaurus-utils
    • #2855 fix(v2): strip images and footnotes for excerpt correctly (@lex111)
  • docusaurus-theme-live-codeblock

💅 Polish

  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-utils, docusaurus
    • #2884 polish(v2): improve Docusaurus 1 to 2 migration developer experience (@slorber)
  • docusaurus-theme-classic
    • #2870 refactor(v2): combine nested theme providers into one (@lex111)
    • #2880 fix(v2): render as regular text uncollapsible categories (@lex111)
    • #2864 refactor(v2): add aria role for doc sidebar (@lex111)
    • #2859 refactor(v2): add aria label to paginators (@lex111)
    • #2858 refactor(v2): add missing main landmark for needed pages (@lex111)
  • Other

📝 Documentation

🏠 Internal

  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs
  • docusaurus-init, docusaurus-plugin-client-redirects, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-plugin-ideal-image, docusaurus-plugin-sitemap, docusaurus-utils, docusaurus
    • #2922 misc(v2): better dx: yarn clear, yarn watch, yarn serve (@slorber)
  • Other
  • docusaurus-theme-bootstrap
    • #2931 chore(v2): remove unused hooks from bootstrap theme (@fanny)
  • docusaurus-1.x, docusaurus-plugin-content-docs
  • docusaurus-theme-classic
    • #2858 refactor(v2): add missing main landmark for needed pages (@lex111)

🏃‍♀️ Performance

  • docusaurus-plugin-content-blog, docusaurus-plugin-sitemap
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
    • #2900 chore(v2): replace Clipboard with copy-text-to-clipboard (@lex111)
  • docusaurus-init, docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus

Committers: 18

2.0.0-alpha.57

Bad release, check ## 2.0.0-alpha.58

2.0.0-alpha.56

💥 Breaking Change

  • If you refer to modules (plugins) in your config file in a string form, you will need to replace them with require.resolve calls, for example:
- plugins: ['@docusaurus/plugin-google-analytics']
+ plugins: [require.resolve('@docusaurus/plugin-google-analytics')]
  • docusaurus-theme-classic
    • #2818 feat(v2): automatically add base url to logo link (@lex111)
  • docusaurus-theme-classic, docusaurus-theme-search-algolia
    • #2791 refactor(v2): show search icon only on mobiles (@lex111)
  • docusaurus

🚀 New Feature

  • docusaurus-types, docusaurus
    • #2770 feat(v2): allow deploy without building website (@lex111)
  • docusaurus-theme-classic
    • #2818 feat(v2): automatically add base url to logo link (@lex111)

🐛 Bug Fix

  • docusaurus-theme-classic
    • #2645 fix(v2): enable scrolling for sidebar menu only (@lex111)
    • #2800 fix(v2): make proper h1 font size on mobiles (@lex111)
  • docusaurus
  • docusaurus-plugin-content-docs
    • #2785 fix(v2): do not show sidebar on reserved docs home page (@lex111)
    • #2777 fix(v2): check for docs homepage correctly (@lex111)

💅 Polish

  • docusaurus-theme-classic
    • #2820 chore(v2): upgrade Infima to 0.2.0-alpha.12 (@lex111)
  • docusaurus-theme-search-algolia
    • #2814 refactor(v2): align search icon to center on mobiles (@lex111)
    • #2799 refactor(v2): increase search input on medium screens (@lex111)
  • docusaurus-init
    • #2802 misc: minor improvements for init templates (@lex111)
  • docusaurus-theme-classic, docusaurus-theme-search-algolia
    • #2791 refactor(v2): show search icon only on mobiles (@lex111)
  • docusaurus
    • #2783 refactor(v2): make external links more secure (@lex111)

📝 Documentation

  • #2809 docs(v2): add mention on DocSearch when you run the crawler on your own (@s-pace)

🏠 Internal

  • #2778 fix(v2): do not highlight root docs path in navbar (@lex111)

Committers: 8

2.0.0-alpha.55

💥 Breaking Change

  • infima

    • The following Infima classes have been renamed for consistency:

      • page-itempagination__item
      • pagination-nav__link--labelpagination-nav__label
      • pagination-nav__link--sublabelpagination-nav__sublabel
      • tab-itemtabs__item
      • tab-item--activetabs__item--active

      If you have swizzled components, you need to replace these class names.

  • docusaurus

🚀 New Feature

  • docusaurus
  • docusaurus-theme-classic
  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-types, docusaurus
  • docusaurus-plugin-content-docs, docusaurus-theme-search-algolia, docusaurus

🐛 Bug Fix

  • docusaurus-plugin-content-docs, docusaurus-utils
    • #2701 fix(v2): remove Markdown syntax from excerpt (@lex111)
  • docusaurus-theme-classic
    • #2765 fix(v2): remove invalid attr from mobile nav links (@lex111)
    • #2760 fix(v2): move anchor link to right of heading (@lex111)
    • #2758 fix(v2): remove extra top margin of tab item (@lex111)
    • #2759 fix(v2): restore hiding of docs toc (@lex111)
  • docusaurus-theme-search-algolia
    • #2762 fix(v2): avoid duplication search input in navbar (@lex111)
  • lqip-loader
    • #2693 fix(v2): add support esModule to lqip-loader (@ykzts)
  • docusaurus-init
    • #2751 fix(v2): fix index page features.length when 0 (@jdeniau)

💅 Polish

  • docusaurus-theme-classic
    • #2773 chore(v2): upgrade Infima to 0.2.0-alpha.11 (@lex111)
    • #2766 refactor(v2): remove extra active CSS class for menu item links (@lex111)
  • docusaurus-theme-live-codeblock
    • #2767 refactor(v2): add support for dark mode to live code blocks (@lex111)
  • docusaurus-theme-search-algolia
  • docusaurus-theme-bootstrap, docusaurus-theme-classic
    • #2729 chore(v2): upgrade Infima to 0.2.0-alpha.10 (@lex111)
  • docusaurus-utils
    • #2696 refactor(v2): make semicolon optional in imports for excerpt (@lex111)

📝 Documentation

🏠 Internal

  • docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus
    • #2464 refactor(v2): add @theme-init alias to give access to initial components (@lex111)

🏃‍♀️ Performance

  • docusaurus

Committers: 13

2.0.0-alpha.54

HOTFIX for 2.0.0-alpha.53.

🐛 Bug Fix

  • docusaurus-theme-classic
    • #2688 fix(v2): add default value for options in theme classic (@lex111)
  • docusaurus-module-type-aliases

📝 Documentation

Committers: 3

2.0.0-alpha.53

HOTFIX for 2.0.0-alpha.51.

🐛 Bug Fix

  • docusaurus-theme-classic
    • #2676 fix(v2): allow build website without custom css (@lex111)

Committers: 1

2.0.0-alpha.51

💥 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

2.0.0-alpha.50 (2020-04-02)

HOTFIX for 2.0.0-alpha.49.

🐛 Bug Fix

  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
    • #2509 fix(v2): synchronize code block components changes (@lex111)
  • docusaurus-theme-classic
  • docusaurus
    • #2496 fix(v2): do not force terminate building when running deploy command (@lex111)
  • docusaurus-utils
    • #2497 fix(v2): unbreak blog-only mode routing by deplicating starting forward slashes (@SamChou19815)

💅 Polish

  • docusaurus-theme-classic
    • #2505 fix(v2): tweak colors for announcement bar (@yangshun)
    • #2504 refactor(v2): improve announcement bar (@lex111)
    • #2495 refactor(v2): update HTML markup of pagination for better a11y (@lex111)
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
  • docusaurus-plugin-content-docs, docusaurus
    • #2490 fix(v2): use lodash instead of array-map-polyfill (@lex111)

📝 Documentation

  • docusaurus-theme-classic

🏠 Internal

Committers: 5

2.0.0-alpha.49 (2020-04-01)

🚀 New Feature

  • docusaurus-theme-classic
  • docusaurus
    • #2323 feat(v2): add a way to exclude components from build-time prerendering (@lex111)
    • #2469 feat(v2): add TypeScript support for theme components (@SamChou19815)
    • #2455 feat(v2): add @theme-original alias to give access to pre-swizzled components (@yangshun)
    • #2438 feat(v2): add version to page's generated meta tags (@lex111)
  • docusaurus-types, docusaurus
    • #2474 feat(v2): add ability to create unminimized bundles (@lex111)
    • #2417 feat(v2): allow custom output directory for build (@ZachJW34)
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
  • docusaurus-plugin-content-docs, docusaurus
    • #2444 feat(v2): allow nested sidebar category shorthand syntax (@slorber)

🐛 Bug Fix

  • docusaurus-theme-classic
    • #2483 fix(v2): do not render sidebar logo if used sticky navbar (@lex111)
    • #2475 fix(v2): make correct Open Graph title for doc page (@lex111)
    • #2436 fix(v2): update twitter:card to summary_large_image (@lex111)
    • #2434 fix(v2): add support dark logo for sidebar logo (@lex111)
    • #2420 fix(v2): fix external URL for og:image tag (@38elements)
  • docusaurus-theme-live-codeblock
    • #2480 fix(v2): various improvements for accessibility (@lex111)
  • docusaurus-mdx-loader, docusaurus-theme-classic
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
    • #2476 fix(v2): improve code block scroll accessibility (@lex111)
    • #2442 fix(v2): various improvements for accessibility (@lex111)
  • docusaurus-preset-classic, docusaurus-theme-classic
    • #2477 chore(v2): upgrade remark-admonitions for a11y fixes (@lex111)
  • docusaurus
    • #2462 fix(v2): do not force terminate building when bundle analyzer is on (@lex111)
    • #2393 fix(v2): normalize location for route matching (@rlamana)
    • #2443 fix(v2): always exit after successful build (@mohrash92)
    • #2437 fix(v2): do not force terminate building if client bundle failed in development mode (@lex111)
    • #2424 fix(v2): make correct internal link check (@lex111)
  • docusaurus-preset-classic
  • docusaurus-mdx-loader
  • docusaurus-utils
    • #2405 fix(v2): properly dedupe forward slashes in the entire URL path (@rlamana)

💅 Polish

  • docusaurus-theme-classic
    • #2485 refactor(v2): remove unnecessary X-UA-Compatible meta tag (@lex111)
  • docusaurus-plugin-content-blog
    • #2460 refactor(v2): use single method package instead of whole Lodash package in blog plugin (@Simek)
  • Other
    • #2428 polish(v2): use npm-to-yarn for the npm2yarn remark plugin (@nebrelbug)

📝 Documentation

🏠 Internal

Committers: 24

2.0.0-alpha.48 (2020-03-08)

HOTFIX for 2.0.0-alpha.44.

🐛 Bug Fix

  • Other
    • #2383 fix(v2): specify proper version for stylelint-copyright (@lex111)
  • docusaurus
    • #2382 fix(v2): add missing preset-typescript dependency (@lex111)
  • docusaurus-theme-classic
    • #2386 fix(v2): add missing prismjs dependency and Noop component (@lex111)

Committers: 1

2.0.0-alpha.44 (2020-03-08)

🚀 New Feature

  • docusaurus-theme-classic
    • #2250 feat(v2): add support specify new languages for Prism (@lex111)
    • #2344 feat(v2): allow specifying custom target for logo link (@lex111)
    • #2327 feat(v2): add ability to use HTML in footer copyright (@lex111)
  • docusaurus-plugin-content-blog
  • docusaurus-init, docusaurus-theme-classic
  • docusaurus-plugin-google-analytics, docusaurus-plugin-google-gtag, docusaurus

🐛 Bug Fix

  • docusaurus
    • #2345 fix(v2): force terminate building if client bundle failed (@lex111)
    • #2310 fix(v2): add @babel/preset-typescript to babel-loader (@deniaz)
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
    • #2371 fix(v2): remove line break from end of code blocks (@lex111)
  • docusaurus-plugin-content-blog
  • docusaurus-theme-classic
    • #2324 fix(v2): properly set dark mode logo on build-time prerendering (@lex111)
    • #2325 fix(v2): switch a toggle when system theme changed (@lex111)
  • docusaurus-plugin-content-pages, docusaurus-utils
  • Other

💅 Polish

  • docusaurus-theme-search-algolia
    • #2376 refactor(v2): clean up and improve Algolia styles (@lex111)
  • docusaurus-theme-classic, docusaurus-theme-search-algolia
    • #2372 chore(v2): upgrade Infima and remark-admonitions (@lex111)
  • docusaurus-theme-classic
    • #2367 refactor(v2): increase CSS specificity on application container (@lex111)
  • docusaurus-init, stylelint-copyright
  • docusaurus-types, docusaurus

📝 Documentation

🏠 Internal

  • Other
  • docusaurus-init

Committers: 16

2.0.0-alpha.43 (2020-02-18)

HOTFIX for 2.0.0-alpha.41.

🐛 Bug Fix

  • docusaurus-theme-classic

Committers: 2

2.0.0-alpha.41 (2020-02-16)

🚀 New Feature

  • docusaurus-init, docusaurus-preset-classic, docusaurus-theme-classic
  • docusaurus-theme-classic, docusaurus
  • docusaurus-theme-classic
    • #2261 feat(v2): allow to specify different logo for dark mode (@lex111)
    • #2253 feat(v2): allow specify custom link for logo (@lex111)
    • #2255 feat(v2): add site title to meta title (@lex111)
  • docusaurus-plugin-content-pages, docusaurus-utils, docusaurus

💥 Breaking Change

  • docusaurus-theme-classic
    • #2235 fix(v2): show doc sidebar on pages with case-sensitive paths (@lex111)

🐛 Bug Fix

  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
  • docusaurus-theme-classic
    • #2259 fix(v2): use site title if enabled blog-only mode (@lex111)
    • #2248 fix(v2): adjust correct behavior of navbar when active anchor (@lex111)
    • #2235 fix(v2): show doc sidebar on pages with case-sensitive paths (@lex111)
    • #2162 fix(v2): unify anchor behavior (@lex111)
  • docusaurus-theme-search-algolia
    • #2262 fix(v2): remove focus on search input when hovering over it (@lex111)
  • docusaurus-plugin-content-blog, docusaurus-theme-classic
    • #2240 fix(v2): hide read more button on non-truncated posts (@lex111)
  • docusaurus
  • docusaurus-mdx-loader
  • docusaurus-theme-live-codeblock
    • #2227 fix(v2): render correct theme for live code blocks on SSR (@lex111)

💅 Polish

  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
    • #2254 refactor(v2): avoid to use raw theme values (@lex111)

📝 Documentation

🏠 Internal

Committers: 18

2.0.0-alpha.40 (2019-12-25)

🚀 New Feature

  • docusaurus-theme-classic
    • #2117 feat(v2): auto switch theme depending on the system theme (@lex111)
    • #2055 feat(v2): hide navbar on scroll (@lex111)

🐛 Bug Fix

  • docusaurus
    • #2145 fix(v2): remove style-loader, use minicssextract in both dev & prod (@endiliey)
    • #2122 fix(v2): dont collapse whitespace in minified html (@endiliey)
  • docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs
    • #2105 fix(v2): move metadata export after compiling MDX to avoid weird MDX parsing error. (@endiliey)
  • docusaurus-theme-classic
    • #2113 fix(v2): set stored theme only if it exists (@lex111)

💅 Polish

  • docusaurus-theme-classic
    • #2129 fix(v2): disable scroll while mobile menu open (@lex111)
  • docusaurus-theme-classic, docusaurus
    • #2127 refactor(v2): toggle data-theme with vanilla js instead of react helmet (@endiliey)
  • docusaurus-theme-search-algolia, docusaurus
    • #2125 feat(v2): lazy load algolia css so its not render blocking (@endiliey)

📝 Documentation

  • Other
  • docusaurus-theme-classic, docusaurus-theme-live-codeblock
    • #2114 fix(v2): add syntax highlight to generated colors (@lex111)

🏠 Internal

  • Other
  • docusaurus-init
  • docusaurus
  • docusaurus-1.x, docusaurus-init, docusaurus-mdx-loader, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-ideal-image, docusaurus-theme-live-codeblock, docusaurus

🏃‍♀️ Performance

Committers: 6

2.0.0-alpha.39

🐛 Bug Fix

  • docusaurus
  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs
    • #2095 fix(v2): metadata error if markdown does not have ending line (@endiliey)

🏠 Internal

  • Other
    • #2100 chore(CI): docusaurus build on Windows with GitHub actions (@endiliey)
  • docusaurus

Committers: 1

2.0.0-alpha.38

💥 Breaking Change

  • docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-theme-classic, docusaurus-utils
    • #2088 perf(v2): smaller bundlesize by embedding metadata to content (@endiliey)

If you have swizzled any Docs/Blog component that depends on metadata, you'll have to update. If you haven't, no action is needed.

For example, if you've swizzled @theme/DocItem. You'll have to update

- const {metadata, content: DocContent} = props;
+ const {content: DocContent} = props;
+ const {metadata} = DocContent;

🐛 Bug Fix

  • docusaurus
  • docusaurus-plugin-ideal-image
    • #2074 fix(v2): fix plugin-ideal-image breaking website (exports not defined) (@endiliey)

💅 Polish

  • docusaurus-mdx-loader

🏠 Internal

  • docusaurus-1.x
  • docusaurus
    • #2081 refactor(v2): move scripts/stylesheets injection to server side (@endiliey)
    • #2080 refactor(v2): minor code refactoring on component creator (@endiliey)

🏃‍♀️ Performance

  • docusaurus-utils
    • #2089 perf(v2): improve dev build time by not overwriting file if possible (@endiliey)
  • docusaurus-theme-search-algolia
    • #2079 perf(v2): algolia search result no longer cause full page refresh (@endiliey)
    • #2076 perf(v2): load algolia JS only when user interacts with search (@endiliey)

Committers: 4

2.0.0-alpha.37

💥 Breaking Change

  • docusaurus-init, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-plugin-content-pages, docusaurus-theme-classic, docusaurus-theme-live-codeblock, docusaurus-theme-search-algolia, docusaurus-utils, docusaurus
    • #2045 breaking(v2): minimum required nodejs version 8.9-> 8.10 so we can use es2017 (@endiliey)

🚀 New Feature

  • docusaurus-theme-classic, docusaurus
    • #2069 feat(v2): support prefers-color-scheme & fix dark mode FOUC on refresh (@endiliey)
  • docusaurus-plugin-content-blog
    • #2000 feat(v2): add meta RSS/Atom feed links to head (@lex111)
  • docusaurus-plugin-content-docs, docusaurus-types, docusaurus
    • #2057 feat(v2): injectHtmlTags API to inject head and/or body html tags (@endiliey)
  • docusaurus-mdx-loader, docusaurus-plugin-content-docs, docusaurus-plugin-sitemap, docusaurus-theme-classic, docusaurus
    • #2032 feat(v2): allow non sidebar category to be first item of sidebar (@endiliey)
  • docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-types, docusaurus

🐛 Bug Fix

  • docusaurus-theme-classic, docusaurus
    • #2069 feat(v2): support prefers-color-scheme & fix dark mode FOUC on refresh (@endiliey)
  • docusaurus-mdx-loader
    • #2067 fix(v2): toc should not be broken for heading with html inline code (@endiliey)
  • docusaurus-theme-classic
    • #2064 fix(v2): markdown reference to file should not be page not found (@endiliey)
    • #2061 fix(v2): fix docs sidebar highlighting if link is partially matched (@endiliey)
  • docusaurus
    • #2042 fix(v2): remove css order warning if css imports are not sorted (@endiliey)

💅 Polish

  • docusaurus-theme-classic

📝 Documentation

🏠 Internal

  • docusaurus-plugin-content-blog
  • docusaurus
    • #2060 fix(v2): clean generated manifest from previous build so we dont use the wrong one (@endiliey)
    • #2033 refactor(v2): move unused generated files out from build folder (@endiliey)
  • docusaurus-types, docusaurus
  • docusaurus-mdx-loader, docusaurus-plugin-ideal-image, docusaurus-types, docusaurus
  • docusaurus-init, docusaurus-mdx-loader, docusaurus-plugin-content-docs, docusaurus

🏃‍♀️ Performance

  • docusaurus-plugin-google-analytics, docusaurus-plugin-google-gtag
    • #2070 perf(v2): more performant gtag and analytics plugin (@endiliey)
  • docusaurus
    • #2046 perf(v2): use webpack future version of asset emitting logic to free memory (@endiliey)
    • #2039 perf(v2): replace unnecessary json stringify(string) with inline string (@endiliey)
    • #2035 perf(v2): use @babel/runtime plugin to reduce codesize (@endiliey)
  • docusaurus-plugin-content-docs
    • #2054 perf(v2): unblock metadata processing when possible (@endiliey)

Committers: 5

2.0.0-alpha.36

💥 Breaking Change

  • docusaurus-init, docusaurus-plugin-content-blog, docusaurus-theme-classic

🚀 New Feature

  • docusaurus-plugin-content-docs, docusaurus-theme-classic

🐛 Bug Fix

  • docusaurus
    • #2007 feat(v2): only create one css file to avoid code-split css loading problem (@endiliey)
  • docusaurus-theme-classic
    • #2005 fix(v2): adjust first-level heading offset (@lex111)

💅 Polish

  • docusaurus-theme-classic
    • #2013 refactor(v2): split out dark mode toggle so it is easily swizzle-able (@endiliey)
    • #2017 feat(v2): style right sidebar scrollbar when overflow (@endiliey)
    • #2003 refactor(v2): improve semantic markup of blog (@lex111)

🏠 Internal

  • docusaurus
    • #2024 test(v2): babel exclude transpilation logic to prevent regression (@endiliey)
    • #2014 feat(v2): add meta generator docusaurus (@endiliey)
  • docusaurus-mdx-loader, docusaurus-plugin-ideal-image
  • Other

📝 Documentation

Committers: 3

2.0.0-alpha.35

🚀 New Feature

  • docusaurus-theme-classic
    • #1965 feat(v2): add ability specify link in footer logo (@lex111)

🐛 Bug Fix

  • docusaurus-mdx-loader, docusaurus-theme-classic
    • #1992 fix(v2): static phrasing content should be rendered correctly in TOC (@endiliey)
  • docusaurus-theme-classic
    • #1999 fix(v2): remove hashbang when click on category (@lex111)
    • #1962 fix(v2): make not clickable post title on post item page (@lex111)
    • #1980 fix(v2): remove invalid label attribute of footer links (@lex111)
    • #1978 fix(v2): use regular div instead of main tag for wrapper layout page (@lex111)
    • #1975 fix(v2): move header inside article tag in doc page (@lex111)
    • #1974 fix(v2): remove invalid attributes of nav links (@lex111)
    • #1963 fix(v2): remove empty containers when no data in blog pages (@lex111)
    • #1966 fix(v2): remove duplicate meta tags (@lex111)
  • docusaurus-plugin-content-docs
    • #1994 fix(v2): throw error if first level item of a sidebar is not category (@endiliey)

💅 Polish

  • docusaurus-theme-search-algolia
  • docusaurus-theme-classic
    • #1991 fix(v2): remove accessible anchors via keyboard (@lex111)
    • #1987 refactor(v2): replace h1 tag with h2 in blog list pages (@lex111)
    • #1981 fix(v2): use tag time for showing last update of doc item (@lex111)
    • #1977 feat(v2): add aria-label to read more links for a11y (@lex111)
    • #1964 fix(v2): use tag time for showing post item date (@lex111)
  • docusaurus-plugin-content-docs
    • #1994 fix(v2): throw error if first level item of a sidebar is not category (@endiliey)
  • Other
    • #1986 fix(v2): remove obsolete iframe attributes (@lex111)
  • docusaurus-init
  • docusaurus-plugin-content-blog

📝 Documentation

🏠 Internal

  • Other
    • #2002 fix(v2): fix browser window menu icon on smaller screen (@lex111)
    • #1986 fix(v2): remove obsolete iframe attributes (@lex111)
  • docusaurus-init
  • docusaurus-1.x, docusaurus-init-1.x, docusaurus-init, docusaurus-plugin-content-docs, docusaurus-plugin-ideal-image, docusaurus-types, docusaurus

🏃‍♀️ Performance

  • docusaurus
    • #1979 perf(v2): reduce main bundle size by using es5 if possible (@endiliey)

Committers: 6

2.0.0-alpha.34

🚀 New Feature

  • docusaurus-theme-classic
    • #1956 feat(v2): add ability hide dark mode toggle (@lex111)

💥 Breaking Change

  • docusaurus-plugin-content-docs
    • #1958 breaking(v2): editUrl should point to website instead of docsDir (@endiliey)

🐛 Bug Fix

  • docusaurus-theme-classic
    • #1959 fix(v2): useTOC hooks should not be called in each nested children (@endiliey)

💅 Polish

  • docusaurus-plugin-content-docs, docusaurus
    • #1957 refactor(v2): avoid synchronous/ blocking operation when possible (@endiliey)

📝 Documentation

🏠 Internal

  • docusaurus-1.x, docusaurus-plugin-content-blog, docusaurus-plugin-content-docs, docusaurus-theme-classic, docusaurus-theme-search-algolia, docusaurus-types, docusaurus-utils, docusaurus
  • Other

🏃‍♀️ Performance

  • docusaurus-plugin-content-docs, docusaurus-utils, docusaurus
    • #1951 perf(v2): skip runtime fileHash cache in prod & get timestamp asynchronously (@endiliey)
    • #1950 perf(v2): more efficient hot reload & consistent filegen (@endiliey)

Committers: 3

2.0.0-alpha.33

Features

  • Table of contents is now highlighted depending on current active headings. (thanks to awesome @SantiagoGdaR) #1896
  • Official blog plugin can now generate feed for blog posts. (thanks to awesome @moozzyk) #1916
  • BREAKING prismTheme is renamed to theme as part new prism object in themeConfig field in your docusaurus.config.js. Eg:
     themeConfig: {
    -   prismTheme: require('prism-react-renderer/themes/dracula'),
    +   prism: {
    +     theme: require('prism-react-renderer/themes/dracula'),
    +   },
    },
  • Added new prism option defaultLanguage that is used if the language is not specified in code blocks. #1910

Fixes

  • Fix babel/env not picking the correct browserslist configuration during development. When running docusaurus start, process.env.NODE_ENV is now consistently set to development.
  • Ensure routes config generation to be more consistent in ordering. Nested routes should be placed last in routes.js. This will allow user to create src/pages/docs.js to create custom docs page for /docs or even src/pages/docs/super.js to create page for /docs/super/;
  • Fix watcher does not trigger reload on windows.
  • Fix build compilation error if exists only one code tab.
  • Add minor padding to docs container so that hash-link won't be cut off.

Others

  • Misc dependency upgrades.
  • Stability improvement (more tests) & refactoring on docs plugin to prevent regression.

2.0.0-alpha.32

Features

  • Add <Redirect> component for client side redirect. Example Usage:
import React from 'react';
import {Redirect} from '@docusaurus/router';

function Home() {
  return <Redirect to="/docs/test" />;
}
  • Allow user to add custom HTML to footer items. #1905
  • Added code block line highlighting feature (thanks @lex111)! If you have previously swizzled the CodeBlock theme component, it is recommended to update your source code to have this feature. (#1860)

Bug Fixes

  • Fix @theme/Tabs component to be able to create tabs with only one item.
  • Fix MDX @theme/Heading component. If there is no id, it should not create anchor link.
  • Fixed a bug in which if themeConfig.algolia is not defined, the custom searchbar won't appear. If you've swizzled Algolia SearchBar component before, please update your source code otherwise CSS might break. See #1909 for reference.
- <Fragment>
+ <div className="navbar__search" key="search-box">
  • Slightly adjust search icon position to be more aligned on small width device. (#1893)
  • Fix algolia styling bug, previously search suggestion result is sometimes hidden. (#1915)
  • Changed the way we read the USE_SSH env variable during deployment to be the same as in v1.
  • Fix accessing docs/ or /docs/xxxx that does not match any existing doc page should return 404 (Not found) page, not blank page. (#1903)
  • Prioritize @docusaurus/core dependencies/ node_modules over user's node_modules. This fix a bug whereby if user has core-js@3 on its own node_modules but docusaurus depends on core-js@2, we previously encounter Module not found: core-js/modules/xxxx (because core-js@3 doesn't have that).
  • Fix a bug where docs plugin add /docs route even if docs folder is empty. We also improved docs plugin test coverage to 100% for stability before working on docs versioning. (#1912)

Performance Improvement

  • Reduce memory usage consumption. (#1900)
  • Significantly reduce main bundle size and initial HTML payload on production build. Generated files from webpack is also shorter in name. (#1898)
  • Simplify blog metadata. Previously, accessing /blog/post-xxx will request for next and prev blog post metadata too aside from target post metadata. We should only request target post metadata. (#1908)

Others

  • Convert sitemap plugin to TypeScript. (#1894)
  • Refactor dark mode toggle into a hook. (#1899)

2.0.0-alpha.31

  • Footer is now sticky/ pinned to the bottom of the viewport in desktop browsers.
  • Footer is now also displayed in docs page for consistency.
  • Remove empty doc sidebar container if sidebar for a particular doc page does not exist. Otherwise, it will cause an additional empty space.
  • Default PostCSS loader now only polyfills stage 3+ features (previously it was stage 2) like Create React App. Stage 2 CSS is considered relatively unstable and subject to change while Stage 3 features will likely become a standard.
  • Fix search bar focus bug. When you put the focus on search input, previously the focus will remain although we have clicked to other area outside of the search input.
  • New themeConfig option sidebarCollapsible. It is on by default. If explicitly set to false, all doc items in sidebar is expanded. Otherwise, it will still be a collapsible sidebar.
  • Disable adding hashes to the generated class names of CSS modules in dev mode. Generating unique identifiers takes some time, which can be saved since including paths to files in class names is enough to avoid collisions.
  • Fix showing sidebar category with empty items.
  • Update infima from 0.2.0-alpha.2 to 0.2.0-alpha.3
    • Fix pagination nav and right sidebar color contrast ratio
    • Fix sidebar arrow color in dark mode
    • Fix footer mobile issue
    • Increase sidebar width
    • etc

2.0.0-alpha.30

  • Fix babel transpilation include/exclude logic to be more efficient. This also fix a very weird bug TypeError: Cannot assign to read only property 'exports' of object '#<Object>'.(#1868)

If you are still encountering the error. Please check whether you use module.exports for your .js file instead of doing export (mixing CJS and ES). See webpack/webpack#4039 (comment) and webpack/webpack#4039 (comment) for more context.

2.0.0-alpha.29

HOTFIX for 2.0.0-alpha.28.

  • Fix missing core-js dependencies on @docusaurus/core.
  • Fix wrong @babel/env preset configuration that causes build compilation error.
  • New UI for webpack compilation progress bar.

2.0.0-alpha.28

  • Further reduce memory usage to avoid heap memory allocation failure.
  • Fix keywords frontmatter for SEO not working properly.
  • Fix swizzle command not passing context properly to theme packages.
  • Add extendCli api for plugins. This will allow plugin to further extend Docusaurus CLI.
  • Fix swizzle command not being able to swizzle single js file.
  • Fix logo URL in footer to be appended with baseUrl automatically.
  • Add the option --no-open for start command.
  • Set @babel/env useBuiltins to usage. This will automatically use browserlist and import polyfills required.
  • Modified TerserWebpackPlugin terserOptions for better cross-browser compatibility.
  • BREAKING withBaseUrl is renamed to useBaseUrl because its a React Hooks. Make sure you import/rename it correctly. Eg: import useBaseUrl from '@docusaurus/useBaseUrl;
  • Fix potential security vulnerability because we're exposing the directory structure of the host machine.
  • Upgrade dependencies.

2.0.0-alpha.27

  • Add @theme/Tabs which can be used to implement multi-language code tabs.
  • Implement custom_edit_url and hide_title markdown header for docusaurus v1 feature parity.
  • Reduce memory usage and slightly faster production build.
  • Misc dependency upgrades.

2.0.0-alpha.26

  • Docs, pages plugin is rewritten in TypeScript
  • Docs improvements and tweaks
    • Improved metadata which results in smaller bundle size.
    • Docs sidebar can now be more than one level deep, theoretically up to infinity
    • Collapsible docs sidebar!
    • Make doc page title larger
    • Add editUrl option (URL for editing) to docs plugin. If this field is set, there will be an "Edit this page" link for each doc page. Example: 'https://github.com/facebook/docusaurus/edit/master/docs'
    • Add showLastUpdateTime and showLastUpdateAuthor options to docs plugin to further achieve v1 parity of showing last update data for a particular doc
  • Slight tweaks to the Blog components - blog title is larger now
  • Code Blocks
    • Change default theme from Night Owl to Palenight
    • Slight tweaks to playground/preview components
  • Add scripts and stylesheets field to docusaurus.config.js
  • More documentation...

2.0.0-alpha.25

  • Blog plugin is rewritten in TypeScript and can now support CJK
  • Upgrade key direct dependencies such as webpack, mdx and babel to latest
  • Do not escape html and body attributes
  • For devices with very small viewport width, the searchbar is replaced with a search icon. On tap of the search icon the searchbar is expanded and the text beside the logo is hidden and remains hidden while the search bar is expanded.
  • Add date frontMatter support for blog plugin
  • Add truncateMarker option to blog plugin, support string or regex.
  • Webpack optimization.removeAvailableModules is now disabled for performance gain. See https://github.com/webpack/webpack/releases/tag/v4.38.0 for more context.

2.0.0-alpha.24

  • Remove unused metadata for pages. This minimize number of http request & smaller bundle size.
  • Upgrade dependencies of css-loader from 2.x to 3.x. Css modules localIdentName hash now only use the last 4 characters instead of 8.
  • Fix broken markdown linking replacement for mdx files
  • Fix potential security vulnerability because we're exposing the directory structure of the host machine. Instead of absolute path, we use relative path from site directory. Resulting in shorter webpack chunk naming and smaller bundle size.
  • Use contenthash instead of chunkhash for better long term caching
  • Allow user to customize generated heading from MDX. Swizzle @theme/Heading

2.0.0-alpha.23

  • Fix docusaurus route config generation for certain edge case

2.0.0-alpha.22

  • Add missing dependencies on @docusaurus/preset-classic
  • New plugin @docusaurus/plugin-ideal-image to generate an almost ideal image (responsive, lazy-loading, and low quality placeholder)
  • Better Twitter/discord image preview. Previously the size is too zoomed
  • Allow prism syntax highlighting theme customization. Refer to https://docusaurus.io/docs/markdown-features#syntax-highlighting
  • CSS is now autoprefixed using postcss
  • Faster, lighter webpack bundle size
  • @docusaurus/theme-live-codeblock is now much smaller in size and no longer only load on viewport
  • Blog markdown files now support using the id field to specify the path

2.0.0-alpha.21

  • Fix babel-loader not transpiling docusaurus package

2.0.0-alpha.20

  • Add copy codeblock button
  • Add Google analytics and Google gtag plugins.
  • Move source components to /src. Please create a website/src directory and move your /pages and /theme code into it. This is to make it easier to integrate your website with external build/static analysis tooling (you can now just pass in src/**/*.js as the path to process).
  • Adde more documentation thanks to @wgao19.
  • Deprecate the current docs plugin. The docs plugin as of 2.0.0-alpha.19 is heavily based on V1 specifications and we intend to create a better one that fixes some of the inconsistencies in V1. If you have swizzled any doc components, you will have to update their names. You are highly encourages to not swizzle the legacy doc components until we have completed the new docs plugin.
  • Separate v2 init command to new package @docusaurus/init
  • Render 404.html page
  • Improve SEO
  • Clicking on the logo in the mobile sliding navigation will now bring you to the homepage.
  • Performance
    • Disable webpack output pathinfo. Webpack has the ability to generate path info in the output bundle. However, this puts garbage collection pressure on projects that bundle thousands of modules. Not very useful for our case
    • Drop cache-loader in CI and test environment because it has an initial overhead. We always start from scratch in vm instance like CI so cache-loader is useless
    • Better splitchunks and babel default webpack config

2.0.0-alpha.19

  • Add a sensible default for browserslist config.
  • UI
    • Add sun and moon emoji to the dark mode toggle.
    • Mobile responsive menu.
    • Right table of contents for docs is now sticky.
  • Plugins
    • Change plugin definitions from classes to functions. Refer to the new plugin docs.
    • Implement Clients module API.
    • Change format within docusaurus.config.js to be like presets.
  • Deps
    • Infima CSS is now locked down to specific versions and not relying upon the CDN which reads from trunk.
    • Update dependencies to latest
  • Customize/ Override infima CSS variables by passing options into the classic preset.
presets: [
  [
    '@docusaurus/preset-classic',
    {
      theme: {
        customCss: require.resolve('./css/custom.css'),
      },
      ...
    },
  ],
],
  • Allow passing remark and rehype plugins to mdx-loader for docs and blog plugin
  • Move themes component of docs and blog to be part of theme-classic
  • Use composition style for prism syntax highlighting instead of doing it via rehype plugin
  • Pass MDXProvider to docs and blog. To change the provided MDX components, run docusaurus swizzle @docusaurus/theme-classic MDXComponents
  • Add @docusaurus/theme-livecodeblock plugin
  • Better run-time code generation & webpack splitchunks optimization
  • Minify css for production build
  • Fix weird scrolling problem when navigating to a route with a hash location

V2 Changelog

siteConfig.js changes

  • siteConfig.js renamed to docusaurus.config.js.
  • Remove the following config options:
    • docsUrl. Use the plugin option on docusaurus-plugin-content-docs instead.
    • customDocsPath. Use the plugin option on docusaurus-plugin-content-docs instead.
    • sidebars.json now has to be explicitly loaded by users and passed into the the plugin option on docusaurus-plugin-content-docs.
    • headerLinks doc, page, blog is deprecated and has been to moved into themeConfig under the name navbar. The syntax is now:
themeConfig: {
  navbar: {
    title: 'Docusaurus',
    logo: {
      alt: 'Docusaurus Logo',
      src: 'img/docusaurus.svg',
    },
    links: [
      {to: 'docs/introduction', label: 'Docs', position: 'left'},
      {to: 'blog', label: 'Blog', position: 'left'},
      {to: 'feedback', label: 'Feedback', position: 'left'},
      {
        href: 'https://github.com/facebook/docusaurus',
        label: 'GitHub',
        position: 'right',
      },
    ],
  },
}

Migration Guide

Work in Progress

Presets