mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 00:47:03 +02:00
1 line
No EOL
17 KiB
JavaScript
1 line
No EOL
17 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[33173],{84256:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>t,contentTitle:()=>h,default:()=>u,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var i=s(98388),r=s(62540),l=s(43023);let o={mdx:{format:"md"},date:"2021-03-16T20:00",authors:["armano2","Harvtronix","koko8829","leandrooriente","lex111","longlho","lowenhere","Pierre-Gilles","quanengineering","Rhodanthe1116","ShinteiMai","SimenB","slorber","zkochan"]},h="2.0.0-alpha.72",t={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,void 0]},c=[{value:"\u{1F4A5} Breaking Change",id:"boom-breaking-change",level:2},{value:"\u{1F680} New Feature",id:"rocket-new-feature",level:2},{value:"\u{1F41B} Bug Fix",id:"bug-bug-fix",level:2},{value:"\u{1F485} Polish",id:"nail_care-polish",level:2},{value:"\u{1F4DD} Documentation",id:"memo-documentation",level:2},{value:"\u{1F3E0} Internal",id:"house-internal",level:2},{value:"Committers: 14",id:"committers-14",level:2}];function a(e){let n={a:"a",code:"code",h2:"h2",li:"li",p:"p",pre:"pre",ul:"ul",...(0,l.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"boom-breaking-change",children:"\u{1F4A5} Breaking Change"}),"\n",(0,r.jsxs)(n.p,{children:["Starting with this release for a proper work of i18n functionality, you need to either use Node v14+ or in case of using earlier version of Node.js install ",(0,r.jsxs)(n.a,{href:"https://www.npmjs.com/package/full-icu",children:[(0,r.jsx)(n.code,{children:"full-icu"})," package"]})," and set ",(0,r.jsx)(n.code,{children:"NODE_ICU_DATA"})," environment variable in your npm scripts, for example:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-json",children:'"scripts": {\n "start": "cross-env NODE_ICU_DATA=node_modules/full-icu docusaurus start"\n}\n'})}),"\n",(0,r.jsx)(n.h2,{id:"rocket-new-feature",children:"\u{1F680} New Feature"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"docusaurus-init"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4302",children:"#4302"})," feat(v2): Improve the initial templates (",(0,r.jsx)(n.a,{href:"https://github.com/ShinteiMai",children:"@ShinteiMai"}),")"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"docusaurus-theme-classic"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4390",children:"#4390"})," feat(v2): Add korean default translations (",(0,r.jsx)(n.a,{href:"https://github.com/koko8829",children:"@koko8829"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"bug-bug-fix",children:"\u{1F41B} Bug Fix"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"docusaurus-theme-classic"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4429",children:"#4429"})," chore(v2): upgrade Infima to v0.2.0-alpha.21 (",(0,r.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4428",children:"#4428"})," fix(v2): allow using pre tag in Markdown directly (",(0,r.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4381",children:"#4381"})," fix(v2): specify proper TS path in classic theme (",(0,r.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4383",children:"#4383"})," fix(v2): set theme color mode for SSR (",(0,r.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"docusaurus-plugin-pwa"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4424",children:"#4424"})," fix(v2): add missing peer dep on @babel/core (",(0,r.jsx)(n.a,{href:"https://github.com/SimenB",children:"@SimenB"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4377",children:"#4377"})," fix(v2): PWA issues + improve docs (",(0,r.jsx)(n.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"docusaurus"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4407",children:"#4407"})," fix(v2): broken link checker should not report false positives when using encoded chars (",(0,r.jsx)(n.a,{href:"https://github.com/Harvtronix",children:"@Harvtronix"}),")"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["Other\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4410",children:"#4410"})," fix(v1): Fix v1 site deployment with Crowdin again... (",(0,r.jsx)(n.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4396",children:"#4396"})," fix(v1): Temp fix v1 site deployment: fail-safe on Crowdin upload translations error (",(0,r.jsx)(n.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4395",children:"#4395"})," fix(v1): fix v1 site deploy issues (",(0,r.jsx)(n.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"nail_care-polish",children:"\u{1F485} Polish"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"docusaurus-plugin-content-blog"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-plugin-content-docs"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-plugin-content-pages"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-plugin-sitemap"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-theme-classic"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-types"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-utils-validation"}),", ",(0,r.jsx)(n.code,{children:"docusaurus"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4418",children:"#4418"})," refactor(v2): correct plugin types (",(0,r.jsx)(n.a,{href:"https://github.com/armano2",children:"@armano2"}),")"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"docusaurus-plugin-content-blog"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-plugin-content-docs"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-theme-common"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-utils"}),", ",(0,r.jsx)(n.code,{children:"docusaurus"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4405",children:"#4405"})," refactor(v2): i18n cleanups / refactors (",(0,r.jsx)(n.a,{href:"https://github.com/longlho",children:"@longlho"}),")"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"docusaurus-module-type-aliases"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4387",children:"#4387"})," refactor(v2): add ExecutionEnvironment, BrowserOnly, isInternalUrl to type aliases (",(0,r.jsx)(n.a,{href:"https://github.com/armano2",children:"@armano2"}),")"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"docusaurus-plugin-content-blog"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-plugin-content-docs"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-utils"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4402",children:"#4402"})," refactor(v2): merge linkify function used in blog and docs and align properties (",(0,r.jsx)(n.a,{href:"https://github.com/armano2",children:"@armano2"}),")"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"docusaurus-plugin-client-redirects"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-plugin-content-docs"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-theme-common"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-utils-validation"}),", ",(0,r.jsx)(n.code,{children:"docusaurus"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4382",children:"#4382"})," refactor(v2): correct some of type errors reported by eslint (",(0,r.jsx)(n.a,{href:"https://github.com/armano2",children:"@armano2"}),")"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"docusaurus-theme-bootstrap"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-theme-classic"}),", ",(0,r.jsx)(n.code,{children:"docusaurus-theme-common"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4385",children:"#4385"})," refactor(v2): add missing theme-classic types (",(0,r.jsx)(n.a,{href:"https://github.com/armano2",children:"@armano2"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"memo-documentation",children:"\u{1F4DD} Documentation"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4416",children:"#4416"})," docs(v2): add Realtime Web Applications Workshop to showcase (",(0,r.jsx)(n.a,{href:"https://github.com/lowenhere",children:"@lowenhere"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4408",children:"#4408"})," docs(v2): add gladysassistant.com to showcase (",(0,r.jsx)(n.a,{href:"https://github.com/Pierre-Gilles",children:"@Pierre-Gilles"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4386",children:"#4386"})," docs(v2): Showcase the pnpm docs (",(0,r.jsx)(n.a,{href:"https://github.com/zkochan",children:"@zkochan"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4367",children:"#4367"})," docs(v2): releasing i18n blog post (",(0,r.jsx)(n.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"house-internal",children:"\u{1F3E0} Internal"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"docusaurus-1.x"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4401",children:"#4401"})," chore(v1): fix CircleCI v1 site deploy (",(0,r.jsx)(n.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["Other\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4399",children:"#4399"})," chore(v2): upgrade example projects (",(0,r.jsx)(n.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4398",children:"#4398"})," chore(v1): trigger v1 site deploy through CI (",(0,r.jsx)(n.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"docusaurus-utils"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"https://github.com/facebook/docusaurus/pull/4384",children:"#4384"})," chore(v2): avoid bad publish of intl-locales-supported (",(0,r.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"committers-14",children:"Committers: 14"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Alexey Pyltsyn (",(0,r.jsx)(n.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:["Armano (",(0,r.jsx)(n.a,{href:"https://github.com/armano2",children:"@armano2"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:["Harvtronix (",(0,r.jsx)(n.a,{href:"https://github.com/Harvtronix",children:"@Harvtronix"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:["Joon-Ha Lee (",(0,r.jsx)(n.a,{href:"https://github.com/koko8829",children:"@koko8829"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:["Leandro Oriente (",(0,r.jsx)(n.a,{href:"https://github.com/leandrooriente",children:"@leandrooriente"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:["Long Ho (",(0,r.jsx)(n.a,{href:"https://github.com/longlho",children:"@longlho"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:["Lowen (",(0,r.jsx)(n.a,{href:"https://github.com/lowenhere",children:"@lowenhere"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:["Pierre-Gilles Leymarie (",(0,r.jsx)(n.a,{href:"https://github.com/Pierre-Gilles",children:"@Pierre-Gilles"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:["Quan (",(0,r.jsx)(n.a,{href:"https://github.com/quanengineering",children:"@quanengineering"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:["Simen Bekkhus (",(0,r.jsx)(n.a,{href:"https://github.com/SimenB",children:"@SimenB"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:["Steven Hansel (",(0,r.jsx)(n.a,{href:"https://github.com/ShinteiMai",children:"@ShinteiMai"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:["S\xe9bastien Lorber (",(0,r.jsx)(n.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n",(0,r.jsxs)(n.li,{children:["Zoltan Kochan (",(0,r.jsx)(n.a,{href:"https://github.com/zkochan",children:"@zkochan"}),")"]}),"\n",(0,r.jsx)(n.li,{children:(0,r.jsx)(n.a,{href:"https://github.com/Rhodanthe1116",children:"@Rhodanthe1116"})}),"\n"]})]})}function u(e={}){let{wrapper:n}={...(0,l.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},43023:(e,n,s)=>{s.d(n,{R:()=>o,x:()=>h});var i=s(63696);let r={},l=i.createContext(r);function o(e){let n=i.useContext(l);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function h(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),i.createElement(l.Provider,{value:n},e.children)}},98388:e=>{e.exports=JSON.parse('{"permalink":"/changelog/2.0.0-alpha.72","source":"@site/changelog/source/2.0.0-alpha.72.md","title":"2.0.0-alpha.72","description":"Breaking Change","date":"2021-03-16T20:00:00.000Z","tags":[],"hasTruncateMarker":true,"authors":[{"name":"Armano","alias":"armano2","url":"https://github.com/armano2","imageURL":"https://github.com/armano2.png","key":"armano2","page":null},{"name":"Harvtronix","alias":"Harvtronix","url":"https://github.com/Harvtronix","imageURL":"https://github.com/Harvtronix.png","key":"Harvtronix","page":null},{"name":"Joon-Ha Lee","alias":"koko8829","url":"https://github.com/koko8829","imageURL":"https://github.com/koko8829.png","key":"koko8829","page":null},{"name":"Leandro Oriente","alias":"leandrooriente","url":"https://github.com/leandrooriente","imageURL":"https://github.com/leandrooriente.png","key":"leandrooriente","page":null},{"name":"Alexey Pyltsyn","alias":"lex111","url":"https://github.com/lex111","imageURL":"https://github.com/lex111.png","key":"lex111","page":null},{"name":"Long Ho","alias":"longlho","url":"https://github.com/longlho","imageURL":"https://github.com/longlho.png","key":"longlho","page":null},{"name":"Lowen","alias":"lowenhere","url":"https://github.com/lowenhere","imageURL":"https://github.com/lowenhere.png","key":"lowenhere","page":null},{"name":"Pierre-Gilles Leymarie","alias":"Pierre-Gilles","url":"https://github.com/Pierre-Gilles","imageURL":"https://github.com/Pierre-Gilles.png","key":"Pierre-Gilles","page":null},{"name":"Quan","alias":"quanengineering","url":"https://github.com/quanengineering","imageURL":"https://github.com/quanengineering.png","key":"quanengineering","page":null},{"name":"Rhodanthe1116","alias":"Rhodanthe1116","url":"https://github.com/Rhodanthe1116","imageURL":"https://github.com/Rhodanthe1116.png","key":"Rhodanthe1116","page":null},{"name":"Steven Hansel","alias":"ShinteiMai","url":"https://github.com/ShinteiMai","imageURL":"https://github.com/ShinteiMai.png","key":"ShinteiMai","page":null},{"name":"Simen Bekkhus","alias":"SimenB","url":"https://github.com/SimenB","imageURL":"https://github.com/SimenB.png","key":"SimenB","page":null},{"name":"S\xe9bastien Lorber","alias":"slorber","url":"https://github.com/slorber","imageURL":"https://github.com/slorber.png","key":"slorber","page":null},{"name":"Zoltan Kochan","alias":"zkochan","url":"https://github.com/zkochan","imageURL":"https://github.com/zkochan.png","key":"zkochan","page":null}],"frontMatter":{"mdx":{"format":"md"},"date":"2021-03-16T20:00","authors":["armano2","Harvtronix","koko8829","leandrooriente","lex111","longlho","lowenhere","Pierre-Gilles","quanengineering","Rhodanthe1116","ShinteiMai","SimenB","slorber","zkochan"]},"unlisted":false,"prevItem":{"title":"2.0.0-alpha.73","permalink":"/changelog/2.0.0-alpha.73"},"nextItem":{"title":"2.0.0-alpha.71","permalink":"/changelog/2.0.0-alpha.71"},"listPageLink":"/changelog/page/3"}')}}]); |