mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-04 12:47:14 +02:00
1 line
No EOL
16 KiB
JavaScript
1 line
No EOL
16 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[22259],{35019:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>h,contentTitle:()=>a,default:()=>u,frontMatter:()=>r,metadata:()=>c,toc:()=>o});var l=s(24246),i=s(71670);const r={mdx:{format:"md"},date:"2020-05-19T20:00",authors:["artemkovalyov","fanny","iamrajiv","jcomack","jdeniau","jonnynabors","lex111","marcosvega91","nebrelbug","slorber","taylorreece","yangshun","ykzts"]},a="2.0.0-alpha.55",c={permalink:"/changelog/2.0.0-alpha.55",source:"@site/changelog/source/2.0.0-alpha.55.md",title:"2.0.0-alpha.55",description:"Breaking Change",date:"2020-05-19T20:00:00.000Z",tags:[],hasTruncateMarker:!0,authors:[{name:"Artem Kovalov",alias:"artemkovalyov",url:"https://github.com/artemkovalyov",imageURL:"https://github.com/artemkovalyov.png",key:"artemkovalyov",page:null},{name:"Fanny",alias:"fanny",url:"https://github.com/fanny",imageURL:"https://github.com/fanny.png",key:"fanny",page:null},{name:"Rajiv Singh",alias:"iamrajiv",url:"https://github.com/iamrajiv",imageURL:"https://github.com/iamrajiv.png",key:"iamrajiv",page:null},{name:"Jimmy",alias:"jcomack",url:"https://github.com/jcomack",imageURL:"https://github.com/jcomack.png",key:"jcomack",page:null},{name:"Julien Deniau",alias:"jdeniau",url:"https://github.com/jdeniau",imageURL:"https://github.com/jdeniau.png",key:"jdeniau",page:null},{name:"Jonny Nabors",alias:"jonnynabors",url:"https://github.com/jonnynabors",imageURL:"https://github.com/jonnynabors.png",key:"jonnynabors",page:null},{name:"Alexey Pyltsyn",alias:"lex111",url:"https://github.com/lex111",imageURL:"https://github.com/lex111.png",key:"lex111",page:null},{name:"Marco Moretti",alias:"marcosvega91",url:"https://github.com/marcosvega91",imageURL:"https://github.com/marcosvega91.png",key:"marcosvega91",page:null},{name:"Ben Gubler",alias:"nebrelbug",url:"https://github.com/nebrelbug",imageURL:"https://github.com/nebrelbug.png",key:"nebrelbug",page:null},{name:"S\xe9bastien Lorber",alias:"slorber",url:"https://github.com/slorber",imageURL:"https://github.com/slorber.png",key:"slorber",page:null},{name:"Taylor Reece",alias:"taylorreece",url:"https://github.com/taylorreece",imageURL:"https://github.com/taylorreece.png",key:"taylorreece",page:null},{name:"Yangshun Tay",alias:"yangshun",url:"https://github.com/yangshun",imageURL:"https://github.com/yangshun.png",key:"yangshun",page:null},{name:"Yamagishi Kazutoshi",alias:"ykzts",url:"https://github.com/ykzts",imageURL:"https://github.com/ykzts.png",key:"ykzts",page:null}],frontMatter:{mdx:{format:"md"},date:"2020-05-19T20:00",authors:["artemkovalyov","fanny","iamrajiv","jcomack","jdeniau","jonnynabors","lex111","marcosvega91","nebrelbug","slorber","taylorreece","yangshun","ykzts"]},unlisted:!1,prevItem:{title:"2.0.0-alpha.56",permalink:"/changelog/2.0.0-alpha.56"},nextItem:{title:"2.0.0-alpha.54",permalink:"/changelog/2.0.0-alpha.54"},listPageLink:"/changelog/page/4"},h={authorsImageUrls:[void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0]},o=[{value:"\ud83d\udca5 Breaking Change",id:"boom-breaking-change",level:2},{value:"\ud83d\ude80 New Feature",id:"rocket-new-feature",level:2},{value:"\ud83d\udc1b Bug Fix",id:"bug-bug-fix",level:2},{value:"\ud83d\udc85 Polish",id:"nail_care-polish",level:2},{value:"\ud83d\udcdd Documentation",id:"memo-documentation",level:2},{value:"\ud83c\udfe0 Internal",id:"house-internal",level:2},{value:":running: Performance",id:"running-performance",level:2},{value:"Committers: 13",id:"committers-13",level:2}];function t(e){const n={a:"a",code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,i.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.h2,{id:"boom-breaking-change",children:"\ud83d\udca5 Breaking Change"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:["\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.code,{children:"infima"})}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:["\n",(0,l.jsx)(n.p,{children:"The following Infima classes have been renamed for consistency:"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"page-item"})," \u2192 ",(0,l.jsx)(n.code,{children:"pagination__item"})]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"pagination-nav__link--label"})," \u2192 ",(0,l.jsx)(n.code,{children:"pagination-nav__label"})]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"pagination-nav__link--sublabel"})," \u2192 ",(0,l.jsx)(n.code,{children:"pagination-nav__sublabel"})]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"tab-item"})," \u2192 ",(0,l.jsx)(n.code,{children:"tabs__item"})]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"tab-item--active"})," \u2192 ",(0,l.jsx)(n.code,{children:"tabs__item--active"})]}),"\n"]}),"\n",(0,l.jsx)(n.p,{children:"If you have swizzled components, you need to replace these class names."}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(n.li,{children:["\n",(0,l.jsx)(n.p,{children:(0,l.jsx)(n.code,{children:"docusaurus"})}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2764",children:"#2764"})," feat(v2): allow import SVG images (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"rocket-new-feature",children:"\ud83d\ude80 New Feature"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2764",children:"#2764"})," feat(v2): allow import SVG images (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus-theme-classic"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2690",children:"#2690"})," feat(v2): allow activeBaseTest in NavLink (",(0,l.jsx)(n.a,{href:"https://github.com/nebrelbug",children:"@nebrelbug"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2694",children:"#2694"})," feat(v2): add canonical URL to ",(0,l.jsx)(n.code,{children:"<head>"})," (",(0,l.jsx)(n.a,{href:"https://github.com/jcomack",children:"@jcomack"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus-plugin-content-docs"}),", ",(0,l.jsx)(n.code,{children:"docusaurus-theme-classic"}),", ",(0,l.jsx)(n.code,{children:"docusaurus-types"}),", ",(0,l.jsx)(n.code,{children:"docusaurus"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2652",children:"#2652"})," feat(v2): allow home page for docs (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus-plugin-content-docs"}),", ",(0,l.jsx)(n.code,{children:"docusaurus-theme-search-algolia"}),", ",(0,l.jsx)(n.code,{children:"docusaurus"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2756",children:"#2756"})," feat(v2): add search page \ud83d\udd0e (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"bug-bug-fix",children:"\ud83d\udc1b Bug Fix"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus-plugin-content-docs"}),", ",(0,l.jsx)(n.code,{children:"docusaurus-utils"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2701",children:"#2701"})," fix(v2): remove Markdown syntax from excerpt (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus-theme-classic"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2765",children:"#2765"})," fix(v2): remove invalid attr from mobile nav links (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2760",children:"#2760"})," fix(v2): move anchor link to right of heading (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2758",children:"#2758"})," fix(v2): remove extra top margin of tab item (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2759",children:"#2759"})," fix(v2): restore hiding of docs toc (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus-theme-search-algolia"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2762",children:"#2762"})," fix(v2): avoid duplication search input in navbar (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"lqip-loader"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2693",children:"#2693"})," fix(v2): add support ES Module to lqip-loader (",(0,l.jsx)(n.a,{href:"https://github.com/ykzts",children:"@ykzts"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus-init"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2751",children:"#2751"})," fix(v2): fix index page features.length when 0 (",(0,l.jsx)(n.a,{href:"https://github.com/jdeniau",children:"@jdeniau"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"nail_care-polish",children:"\ud83d\udc85 Polish"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus-theme-classic"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2773",children:"#2773"})," chore(v2): upgrade Infima to 0.2.0-alpha.11 (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2766",children:"#2766"})," refactor(v2): remove extra active CSS class for menu item links (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus-theme-live-codeblock"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2767",children:"#2767"})," refactor(v2): add support for dark mode to live code blocks (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus-theme-search-algolia"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2761",children:"#2761"})," refactor(v2): improve UX of search page (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus-theme-bootstrap"}),", ",(0,l.jsx)(n.code,{children:"docusaurus-theme-classic"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2729",children:"#2729"})," chore(v2): upgrade Infima to 0.2.0-alpha.10 (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus-utils"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2696",children:"#2696"})," refactor(v2): make semicolon optional in imports for excerpt (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"memo-documentation",children:"\ud83d\udcdd Documentation"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2768",children:"#2768"})," docs(v2): various improvements (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2670",children:"#2670"})," docs(v2): add deployment workflow manual for GitHub Actions (",(0,l.jsx)(n.a,{href:"https://github.com/artemkovalyov",children:"@artemkovalyov"}),")"]}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"house-internal",children:"\ud83c\udfe0 Internal"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus-theme-classic"}),", ",(0,l.jsx)(n.code,{children:"docusaurus-theme-live-codeblock"}),", ",(0,l.jsx)(n.code,{children:"docusaurus"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2464",children:"#2464"})," refactor(v2): add @theme-init alias to give access to initial components (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"running-performance",children:":running: Performance"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.code,{children:"docusaurus"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:[(0,l.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/2684",children:"#2684"})," refactor(v2): replace EJS with Eta for SSR generation (",(0,l.jsx)(n.a,{href:"https://github.com/nebrelbug",children:"@nebrelbug"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(n.h2,{id:"committers-13",children:"Committers: 13"}),"\n",(0,l.jsxs)(n.ul,{children:["\n",(0,l.jsxs)(n.li,{children:["Alexey Pyltsyn (",(0,l.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:["Artem Kovalov (",(0,l.jsx)(n.a,{href:"https://github.com/artemkovalyov",children:"@artemkovalyov"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:["Ben Gubler (",(0,l.jsx)(n.a,{href:"https://github.com/nebrelbug",children:"@nebrelbug"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:["Fanny (",(0,l.jsx)(n.a,{href:"https://github.com/fanny",children:"@fanny"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:["Jimmy (",(0,l.jsx)(n.a,{href:"https://github.com/jcomack",children:"@jcomack"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:["Jonny Nabors (",(0,l.jsx)(n.a,{href:"https://github.com/jonnynabors",children:"@jonnynabors"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:["Julien Deniau (",(0,l.jsx)(n.a,{href:"https://github.com/jdeniau",children:"@jdeniau"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:["Marco Moretti (",(0,l.jsx)(n.a,{href:"https://github.com/marcosvega91",children:"@marcosvega91"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:["Rajiv Singh (",(0,l.jsx)(n.a,{href:"https://github.com/iamrajiv",children:"@iamrajiv"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:["S\xe9bastien Lorber (",(0,l.jsx)(n.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:["Taylor Reece (",(0,l.jsx)(n.a,{href:"https://github.com/taylorreece",children:"@taylorreece"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:["Yamagishi Kazutoshi (",(0,l.jsx)(n.a,{href:"https://github.com/ykzts",children:"@ykzts"}),")"]}),"\n",(0,l.jsxs)(n.li,{children:["Yangshun Tay (",(0,l.jsx)(n.a,{href:"https://github.com/yangshun",children:"@yangshun"}),")"]}),"\n"]})]})}function u(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,l.jsx)(n,{...e,children:(0,l.jsx)(t,{...e})}):t(e)}},71670:(e,n,s)=>{s.d(n,{Z:()=>c,a:()=>a});var l=s(27378);const i={},r=l.createContext(i);function a(e){const n=l.useContext(r);return l.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),l.createElement(r.Provider,{value:n},e.children)}}}]); |