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