docusaurus/assets/js/2e30738d.247fdb02.js
2024-08-29 14:32:18 +00:00

1 line
No EOL
3.2 KiB
JavaScript

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