Releases: facebook/docusaurus
Releases · facebook/docusaurus
v2.0.0-alpha.31
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 tofalse
, 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
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 containsdocusaurus
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
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
2.0.0-alpha.28
- BREAKING
withBaseUrl
is renamed touseBaseUrl
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
forstart
command. - Set
@babel/env
useBuiltins tousage
. 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
v2.0.0-alpha.27
- Add
@theme/Tabs
which can be used to implement multi-language code tabs. - Implement
custom_edit_url
andhide_title
markdown header for docusaurus v1 feature parity. - Reduce memory usage and slightly faster production build.
- Misc dependency upgrades.
v2.0.0-alpha.26
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
andshowLastUpdateAuthor
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
andstylesheets
field to docusaurus.config. - More documentation on https://v2.docusaurus.io
See CHANGELOG for more info.
v2.0.0-alpha.25
v2.0.0-alpha.25
v1.13.0
v2.0.0-alpha.24
v2.0.0-alpha.24