Documentation generator Docusaurus releases v3 with new features and updated dependencies
Meta's website and documentation generator, Docusaurus, has launched its version 3.0. Developed with React, the latest version comes with new features and updated dependencies.
Docusaurus v3 has upgraded several dependencies to their new major versions, each with its own set of breaking changes. This includes Node.js, which has been upgraded from version 16 to 18, React from version 17 to 18, MDX from version 1 to 3, TypeScript from version 4 to 5, Mermaid from version 9 to 10, and more.
However, most of the breaking changes from these upgrades, excluding MDX v3, have been internally managed. Therefore, users typically won't need to make any adjustments.
Docusaurus 3.0 introduces support for ES Modules and TypeScript config files. It also includes a new 'unlisted: true' front matter option, which maintains the availability of your pages in production builds, but makes them undiscoverable without the URL.
Other new features include automatic JSX runtime, debug builds, and improved syntax highlighting in code blocks. The release also brings various other enhancements and bug fixes.