Skip to content

Releases: ice-lab/icestark

v2.7.3

07 Apr 08:22
88b39bc
Compare
Choose a tag to compare

EN

  • fix: Axios, Moment, and other callable functions can work well in the sandbox, # #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 可以执行正常了。 # #557
  • fix: 修复 Vue3.0 + Vite 的模板在 development 开发环境样式异常丢失。 closes #555
  • fix: 如果 activePath 传入 undefined、null 等非法值,会有 warn 提示。 closes #558

v2.7.2...v2.7.3

v2.7.2

24 Mar 08:58
2289f25
Compare
Choose a tag to compare

EN

  • fix: set actual basename when activePath is an array #526
  • typo: typo error #525

中文

  • fix: 当 activePath 配置为数组时,设置正确的 basename 值 #526
  • typo: typo error #525

v2.7.1...v2.7.2

v2.7.1

23 Dec 08:49
4138f92
Compare
Choose a tag to compare

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

v2.7.0...v2.7.1

v2.7.0

10 Dec 03:27
62b83a4
Compare
Choose a tag to compare

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

v2.6.2...v2.7.0

v2.6.2

27 Oct 07:38
2ad2ff3
Compare
Choose a tag to compare

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 提供第二个参数可选

v2.6.1...v2.6.2

v2.6.1

27 Sep 04:05
800c5da
Compare
Choose a tag to compare

EN

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

中文

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

v2.6.0...v2.6.1

v2.6.0

27 Sep 04:02
800c5da
Compare
Choose a tag to compare

🚀 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 导出。

v2.5.0...v2.6.0

v2.5.0

13 Aug 03:45
ba08918
Compare
Choose a tag to compare

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: 重构路由匹配算法

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

v2.4.0...v2.5.0

v2.4.0

16 Jun 07:37
718199b
Compare
Choose a tag to compare

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)

v2.3.1...v2.4.0

v2.3.1

14 Apr 08:42
cdb9d6c
Compare
Choose a tag to compare

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[] 配置。