Skip to content

Releases: facebook/docusaurus

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

v1.12.0

20 Jul 10:36
Compare
Choose a tag to compare

In this release we have a few features that enable more semantic use cases for v1:

  • Enable hiding blog posts in production from the sidebar and the feeds by adding an unlisted: true header option (#1396, thanks @olafurpg)
  • Replace apostrophe with empty string in header slugification (#1618, thanks @parthpp)
  • Use primary color for highlighted items in table of contents (#1628, thanks @parvezakkas)

And we have a number of fixes including bootstrapped footer social links (#1647), PostCSS warning on build command (#1664, thanks @ybiquitous), and properly render meta description (#1672). We've also upgraded a lot of dependencies to fix vulnerability issues (#1668).

We're constantly improving our docs! Check out #1649 (thanks @mesaugat) and #1615 (thanks @anurag).

In case you are not aware, you can check out Docusaurus 2 alpha at https://v2.docusaurus.io. Meanwhile, we're also welcoming PRs for v2 docs in an umbrella issue #1640. Check it out if you're interested in contributing.

Finally, welcoming new users onboard:

And our very first v2 users:

See CHANGELOG.md for more details.