docusaurus/assets/js/2e30738d.c52d1cf3.js
2025-01-27 14:35:36 +00:00

1 line
No EOL
3.3 KiB
JavaScript

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