icestark

Micro Frontends solution for large application(面向大型应用的微前端解决方案),站点国内镜像:https://icestark.gitee.io

MIT License

Downloads
2.7K
Stars
2K
Committers
13

Bot releases are visible (Hide)

icestark - v2.7.3 Latest Release

Published by maoxiaoke over 2 years ago

EN

  • fix: Axios, Moment, and other callable functions can work well in the sandbox, # https://github.com/ice-lab/icestark/pull/557
  • fix: tackle with the problem that styles suddenly missed after transistion, which only happens in development mode of vite, closes #555
  • fix: If activePath got falsy values, a warning will be thrown, closes #558

中文

  • fix: Axios,Moment 这些库存在可调用的 api,比如 Axios.create,现在在沙箱中调用这些 api 可以执行正常了。 # https://github.com/ice-lab/icestark/pull/557
  • fix: 修复 Vue3.0 + Vite 的模板在 development 开发环境样式异常丢失。 closes #555
  • fix: 如果 activePath 传入 undefined、null 等非法值,会有 warn 提示。 closes #558

https://github.com/ice-lab/icestark/compare/v2.7.2...v2.7.3

icestark - v2.7.2

Published by maoxiaoke over 2 years ago

EN

中文

https://github.com/ice-lab/icestark/compare/v2.7.1...v2.7.2

icestark - v2.7.1

Published by maoxiaoke almost 3 years ago

EN

  • chore: we tried to improve the developer experience by linking error messages to docs.
  • feat: exposes all library exports when loading MicroModule. #469

中文

🔥 联动官网,提供更详细的错误指引
🚀 微模块支持获取全部导出内容,不仅仅是生命周期函数 #469

dx

https://github.com/ice-lab/icestark/compare/v2.7.0...v2.7.1

icestark - v2.7.0

Published by maoxiaoke almost 3 years ago

EN

  • feat: cache css by default if loadScriptMode equals to fetch and import , Closes #373
  • feat: appHistory and can both take state, #477
  • fix: narrow scope of import's error, Closes #466
  • chore: add missing props for lifecycles, Closes #440

中文

🔥 持续优化微前端应用的加载体验,当微应用 loadScriptMode 配置为 fetch 或 import、开启脚本沙箱、umd 配置为 true 时,会默认缓存资源。您的应用可能会受此影响,请密切关注,Closes #373
🚀 appHistory 支持传递 state,#477

https://github.com/ice-lab/icestark/compare/v2.6.2...v2.7.0

icestark - v2.6.2

Published by maoxiaoke almost 3 years ago

EN

  • fix: avoid to append duplicate assets. (#331)
  • fix: bind pushState to global. (#426)
  • fix: prefetch apps using window.fetch by default.

中文

  • fix: 若挂载相同资源,不再做重复加载操作 (#331)
  • fix: 修复 AppLink 丢失 global 绑定可能导致的 Illegal invocation 问题 (#426)
  • fix: prefetchApps 提供第二个参数可选

https://github.com/ice-lab/icestark/compare/v2.6.1...v2.6.2

icestark - v2.6.1

Published by maoxiaoke about 3 years ago

EN

hotfix: wrap import using new Function to avoid compiler error under chrome61 & ie. (#404)

中文

hotfix: 修复低版本浏览器下 import 编译错误的问题. (#404)

https://github.com/ice-lab/icestark/compare/v2.6.0...v2.6.1

icestark - v2.6.0

Published by maoxiaoke about 3 years ago

🚀 icestark 2.6.0 is out!

EN

🔥 ES modules can be loaded by icestark. You can use Vite application in icestark.
feat:handle element and re-execute DOM Parser to enable of Angular.(#368)
fix: assign to location.hash never trigger onRouteChange twice. (#353)
refact: change module: commonjs to module: esnext.

中文

🔥 支持 ES modules 类型微应用,用 icestark 来加载您的 Vite 应用
feat:完善 Angualr6 版本以上的应用接入 (#368)
fix: Hash Router 不会二次触发 onRouteChange (#353)
refact: 将 icestark 打包成 ESM 导出。

https://github.com/ice-lab/icestark/compare/v2.5.0...v2.6.0

icestark - v2.5.0

Published by maoxiaoke about 3 years ago

EN

feat: path is deprecated and using the more powerful activePath instead. (#299, #297, #209)
feat: debug mirco-frontends are accessiable by using source maps, even in sandbox. (#259)
fix: call callCapturedEventListeners later to prevent double Prompt. (#325)
refact: refactor url-matching algorithm.

中文

feat: 对齐 API 和 React Component 的使用字段 (#299, #297, #209)
feat: 优化 icestark 本地开发以及沙箱的调试体验 (#259)
fix: 修复使用 Prompt 组件二次弹框的问题 (#325)
refact: 重构路由匹配算法

更多内容变更以及详细解读,查阅 博客

https://github.com/ice-lab/icestark/compare/v2.4.0...v2.5.0

icestark - v2.4.0

Published by maoxiaoke over 3 years ago

EN

feat: use scriptAttributes=[crossorigin="anonymous"] to solve Script Error. (#276)
feat: @ice/stark-data now support symbol key.
fix: unexpectable sandbox's cleaning up when load modules. (#293)
fix: missing ErrorComponent cause React rendering's error. (#312)

中文

feat: 使用 scriptAttributes=[crossorigin="anonymous"] 来解决 Script Error https://help.aliyun.com/document_detail/88579.html 的问题 (#276)
feat: @ice/stark-data 支持使用 symbol 作为 key
fix: 修复微应用 Dynamic Import 导致的加载问题 (#293)
fix: 修复 React 渲染 Error 实例的问题 (#312)

https://github.com/ice-lab/icestark/compare/v2.3.1...v2.4.0

icestark - v2.3.1

Published by maoxiaoke over 3 years ago

EN

fix: falsy values except undefined would be trapped by proxy window. (#156)
fix: parse library the right way if library is an array. (#287)

中文

fix: 非 undefined 的假值可以被 proxy 沙箱捕获。
fix: 支持 library 配置方式与 webpack output.library 设置保持一致,支持类型 string[] 配置。

icestark - v2.3.0

Published by maoxiaoke over 3 years ago

EN

feat: support prefetch sub-application, which let your micro application fly. (#188)

中文

feat: 支持 prefetch 能力,让微前端应用加载速度飞起来

icestark - v2.2.2

Published by maoxiaoke over 3 years ago

EN

  • [fix] basename of AppRouter makes effect. (#241)
  • [fix] alter baseURI when using DOMParser. (#233, #4040)

中文

  • [fix] 修复 basename 不生效 (#241)
  • [fix] 修复 entry 模式下,相对地址被 DOMParser 解析成错误的地址 (#233, #4040)
icestark - v2.2.1

Published by maoxiaoke over 3 years ago

EN
fix: css assets are unable to reload when remove umd from sub-application.

中文
feat: 修复 start 启动时,子应用 reload 时 css 资源没有加载。

icestark - v2.2.0

Published by maoxiaoke over 3 years ago

EN

feat: no need to use umd anymore. Migrate to loadScriptMode or use setLibraryName in sub-application. (#240 )

中文

feat: 新的使用 umd 子应用的方式 - 无需在主应用配置 umd: true

icestark - V2.1.0

Published by maoxiaoke almost 4 years ago

中文

feat: 为 entry 接入方式提供新的 Html resolver
feat: 支持自定义 fetch #211
feat: AppLink 从 @ice/stark-app 导出 #215
fix: 优化 Hash 路由的一些 api 使用问题 #214

EN

feat: new html resolver
feat: support custom fetch #211
feat: export AppLink from @ice/stark-app #215
fix: optimize hash route mode #214

icestark - v2.0.2

Published by maoxiaoke almost 4 years ago

中文

fix: 优化 css 加载策略,避免重复加载
fix: 修复默认 Loading 组件渲染失效问题
fix: 修复在使用 AppRouter 时,生命周期失效

EN

fix: optimize loading strategy of css resource
fix: add default LoadingComponent for AppRouter
fix: make the lifecycle works for AppRouter

icestark - v2.0.0

Published by ClarkXia almost 4 years ago

中文

refactor: 重构 api 调用方式去加载微应用
feat: 支持以 api 方式初始化 icestark

EN

refactor: brand new apis for load micro apps
feat: support setup icestark with APIs

icestark - v1.6.0

Published by ClarkXia almost 4 years ago

中文

feat: 支持加载 UMD 标准微应用

EN

feat: support load UMD module of micro app

icestark - v1.5.6(2020-09-17)

Published by ClarkXia about 4 years ago

中文

  • fix: 优化错误日志
  • fix: 模块加载兼容 UC 等浏览起无法获取模块名问题 #149
  • fix: 修复 location.href 无法返回 event state 导致路由监听失效问题 #162

EN

  • fix: optimize development message
  • fix: compatible with UC browser when load micro module #149
  • fix: pop state event return null when use location.href #162
icestark - v1.5.5 (2020-08-04)

Published by ClarkXia about 4 years ago

中文

  • fix: 修复实例化 popStateEvent 传入的错误 state 问题 #143

EN

  • fix: error state of popStateEvent #143