- 新增对 SSR 环境的适配
- 修复导出类型未被 babel 编译掉的问题
针对宿主提供了 React 针对默认路由处理的同步逻辑
import Application, { withDefaultRouterHandler } from '@alicloud/console-os-react-app';
const App = withDefaultRouterHandler(Application);
<App history={history} // react router 的 history /> 并且在子应用中提供了 data-alfa-external-router 的属性来作为不属于子应用中链接,通知宿主做跳转
- feat: resolve aliyun dynamic config for cdn
- fix #63: postcss-prefix-wrapper isolation incorrectly for normal font-family
- feat: icon font isolation
- feat: Write the webpack externals to manifest.json
- Feat: solve the problem of sandbox dynamic script escape
- Add the Vue Application for Vue Application as Host App;
- change Application props
id
toname
- change Application props
sandBox
tosandbox
- remove Application props
externalsVars
, usingsandbox.externalsVars
instead - remove Application props
initialPath
, usingsandbox.initialPath
instead
- change createMicroApp first option
id
toname
- change createMicroApp first option
sandBox
tosandbox
- change api
distroy
todestroy
,
- Feat: sync initial path for sandbox every app mount
- Feat: custorm loading for react app
- Fix: sandbox box not working for prefetch
- Feat: build multi sub app according to webpack multi entry config
- Fix: css wrap not working for multiple dir
- Fix: sandbox context initialize fails sometimes, because the iframe url was assigned after the iframe append to body;
- Feat: now props.appDidCatch can trigger when sub app has error in react application;
- Fix: Context update body error when sandbox is disable
- Fix: Type error for first args of mount function in react portal
- Fix: Add the Type Define for React Portal
- Optimization: now using react.fragment in for react16 and div in react15 for react-application.
- Feature: make css wrap as a independent package
- Feature: add the new prefetch api for preload sub app
- Feature: add the new kernal api
import { createMicroApp, load, mount, unmount } from '@alicloud/console-os-kernal';
const microApp = await createMicroApp({
id: 'micro-app-id-1',
manifest: 'https://xxx.micro-app-id-1.manifest.json';
});
await load(microApp);
await mount(microApp, {
dom: document.querySelector('#app'),
props
});
await update(microApp, {/* you props */});
await unmount(microApp);
- Fix: withSyncRouter not working in react15
- Fix: Remove es6 syntax in umd release for console-os-kernal
- Feat:remove router change event for syncHistory hoc in react portal
- Fix: UMD Build For ConsoleOS Kernal
- Fix: get history incorrectly in ConsoleOS browser vm
- Fix: ng build --extract-css no working for extract standalone css
- Feature: Now ConsoleOS can load pre scripts before real entry load.
- Fix: window.addEventListener("resize|scroll|focus|blur") no working
- Feature: Add the NG support: ng-build, ng-portal, ng-application
- Fix: Vue Portal get undefined eventEmitter.
- Example: Add NG example see, exmaple/SubApp/Anuglar
Types: add the types for react-portal, react-application, loader, events.
Types: add the types for react-portal, react-application, loader, events.
Feature: Add the ng module, no <console-os manifest="xxx"></console-os>
loading consoleos app.
Feature: Angular now can load consoleos app by @alicloud/console-os-ng-app.
Fix: fix typo error in react-application: unmout -> unmount.
First Release. Introduction see AlibabaCloud Console OS.