Skip to content

Releases: facebook/docusaurus

v2.0.0-alpha.31

26 Oct 07:19
Compare
Choose a tag to compare
v2.0.0-alpha.31 Pre-release
Pre-release

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

v2.0.0-alpha.30

22 Oct 05:31
Compare
Choose a tag to compare
v2.0.0-alpha.30 Pre-release
Pre-release

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>' if your website path contains docusaurus word in it.(#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.

v2.0.0-alpha.29

21 Oct 12:32
Compare
Choose a tag to compare
v2.0.0-alpha.29 Pre-release
Pre-release

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.
  • Improved UI for webpack compilation progress bar.

v2.0.0-alpha.28

21 Oct 05:35
Compare
Choose a tag to compare
v2.0.0-alpha.28 Pre-release
Pre-release

2.0.0-alpha.28

  • BREAKING withBaseUrl is renamed to useBaseUrl because its a React Hooks. Make sure you import/rename it correctly. Eg: import useBaseUrl from '@docusaurus/useBaseUrl;
  • 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.
  • Fix potential security vulnerability because we're exposing the directory structure of the host machine.
  • Upgrade dependencies.

v1.14.0

20 Oct 19:42
f2e800b
Compare
Choose a tag to compare

Added

  • feat: allow specifying meta desc in front matter (#1859)

See CHANGELOG.md for more details.

v2.0.0-alpha.27

14 Oct 11:14
Compare
Choose a tag to compare
v2.0.0-alpha.27 Pre-release
Pre-release
  • 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.

v2.0.0-alpha.26

12 Oct 05:00
Compare
Choose a tag to compare
v2.0.0-alpha.26 Pre-release
Pre-release

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.
  • More documentation on https://v2.docusaurus.io

See CHANGELOG for more info.

v2.0.0-alpha.25

01 Oct 13:31
Compare
Choose a tag to compare
v2.0.0-alpha.25 Pre-release
Pre-release
v2.0.0-alpha.25

v1.13.0

16 Sep 14:49
0584407
Compare
Choose a tag to compare

Fixed

  • fix: content aligning breaks at IE11 (#1684)
  • fix: footer links margin (#1781)
  • feat: strip html from TOC (#1762)

See CHANGELOG.md for more details.

v2.0.0-alpha.24

24 Jul 08:57
Compare
Choose a tag to compare
v2.0.0-alpha.24