docusaurus/assets/js/2e30738d.2b131eb9.js

1 line
No EOL
3.3 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[46760],{16824:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>i,default:()=>u,frontMatter:()=>s,metadata:()=>l,toc:()=>c});var r=t(24246),o=t(71670);const s={mdx:{format:"md"},date:"2019-10-21T19:00"},i="2.0.0-alpha.28",l={permalink:"/docusaurus/changelog/2.0.0-alpha.28",source:"@site/changelog/source/2.0.0-alpha.28.md",title:"2.0.0-alpha.28",description:"- Further reduce memory usage to avoid heap memory allocation failure.",date:"2019-10-21T19:00:00.000Z",tags:[],hasTruncateMarker:!0,authors:[],frontMatter:{mdx:{format:"md"},date:"2019-10-21T19:00"},unlisted:!1,prevItem:{title:"2.0.0-alpha.29",permalink:"/docusaurus/changelog/2.0.0-alpha.29"},nextItem:{title:"2.0.0-alpha.27",permalink:"/docusaurus/changelog/2.0.0-alpha.27"},listPageLink:"/docusaurus/changelog/page/5"},a={authorsImageUrls:[]},c=[];function d(e){const n={code:"code",li:"li",strong:"strong",ul:"ul",...(0,o.a)(),...e.components};return(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Further reduce memory usage to avoid heap memory allocation failure."}),"\n",(0,r.jsxs)(n.li,{children:["Fix ",(0,r.jsx)(n.code,{children:"keywords"})," frontmatter for SEO not working properly."]}),"\n",(0,r.jsxs)(n.li,{children:["Fix ",(0,r.jsx)(n.code,{children:"swizzle"})," command not passing context properly to theme packages."]}),"\n",(0,r.jsxs)(n.li,{children:["Add ",(0,r.jsx)(n.code,{children:"extendCli"})," api for plugins. This will allow plugin to further extend Docusaurus CLI."]}),"\n",(0,r.jsxs)(n.li,{children:["Fix ",(0,r.jsx)(n.code,{children:"swizzle"})," command not being able to swizzle single js file."]}),"\n",(0,r.jsx)(n.li,{children:"Fix logo URL in footer to be appended with baseUrl automatically."}),"\n",(0,r.jsxs)(n.li,{children:["Add the option ",(0,r.jsx)(n.code,{children:"--no-open"})," for ",(0,r.jsx)(n.code,{children:"start"})," command."]}),"\n",(0,r.jsxs)(n.li,{children:["Set ",(0,r.jsx)(n.code,{children:"@babel/env"})," useBuiltins to ",(0,r.jsx)(n.code,{children:"usage"}),". This will automatically use browserlist and import polyfills required."]}),"\n",(0,r.jsxs)(n.li,{children:["Modified TerserWebpackPlugin ",(0,r.jsx)(n.code,{children:"terserOptions"})," for better cross-browser compatibility."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"BREAKING"})," ",(0,r.jsx)(n.code,{children:"withBaseUrl"})," is renamed to ",(0,r.jsx)(n.code,{children:"useBaseUrl"})," because its a React Hooks. Make sure you import/rename it correctly. Eg: ",(0,r.jsx)(n.code,{children:"import useBaseUrl from '@docusaurus/useBaseUrl"}),";"]}),"\n",(0,r.jsx)(n.li,{children:"Fix potential security vulnerability because we're exposing the directory structure of the host machine."}),"\n",(0,r.jsx)(n.li,{children:"Upgrade dependencies."}),"\n"]})}function u(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},71670:(e,n,t)=>{t.d(n,{Z:()=>l,a:()=>i});var r=t(27378);const o={},s=r.createContext(o);function i(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]);