Docusaurus v2.0.0-alpha.56 Release Notes

Release Date: 2020-05-27 // almost 4 years ago
  • 🍱 πŸ’₯ Breaking Change

    πŸ”Œ 1. If you refers 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')]
    
    1. If you use a non-root base url (not /), then you had to specify it in logo link manually, but now you do not need to do this -- the base url will automatically be added to the logo url.

    • 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