diff --git a/docs/zh-cn/changelog.md b/docs/zh-cn/changelog.md index cb7fbcee..b8d7dd6a 100644 --- a/docs/zh-cn/changelog.md +++ b/docs/zh-cn/changelog.md @@ -10,20 +10,29 @@ ### 1.0.0-rc.3 -`2023-11-12` +`2023-12-18` - **New** + - 🆕 新增`componentMode`组件模式,micro-app支持单独运行js文件[944](https://github.com/micro-zoe/micro-app/pull/944)。 - 🆕 新增方法`getAppState`,用于在基座中获取子应用的状态。 - 🆕 新增虚拟路由系统`push`, `replace`方法对Promise的支持。 + - 🆕 新增对于CSS循环嵌套的支持[956](https://github.com/micro-zoe/micro-app/pull/956)。 - **Bug Fix** - 🐞 修复了在非`custom`路由模式下设置baseroute导致子应用渲染失败的问题。 + - 🐞 修复了`isObject`方法中参数为null导致错误的问题[998](https://github.com/micro-zoe/micro-app/pull/998)。 + - 🐞 修复了子应用`onerror`事件无法触发的问题[992](https://github.com/micro-zoe/micro-app/pull/992)。 + - 🐞 修复了iframe沙箱下子应用`Node.ownerDocument`指向错误的问题[988](https://github.com/micro-zoe/micro-app/pull/988)。 + - 🐞 修复了with沙箱下判断MicroDocument实例时目标为null导致报错的问题[986](https://github.com/micro-zoe/micro-app/pull/986)。 + - 🐞 修复了iframe沙箱下通过`document.head.querySelector(...)`查询元素异常的问题[984](https://github.com/micro-zoe/micro-app/pull/984)。 + - 🐞 修复了子应用html自带元素`parentNode`指向异常的问题。 - **Update** - 🆕 更新with沙箱运行逻辑,异步执行初始化操作,确保不同沙箱之间逻辑一致。 - - 🚀 更新了官网文档。 + - 🆕 优化了utils方法中元素判断的方式[998](https://github.com/micro-zoe/micro-app/pull/998)。 + - 🚀 更新了案例。 ### 1.0.0-rc.2 diff --git a/package.json b/package.json index 2257b2a7..5099fd8b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@micro-zoe/micro-app", - "version": "1.0.0-rc.2", + "version": "1.0.0-rc.3", "description": "A lightweight, efficient and powerful micro front-end framework", "private": false, "main": "lib/index.min.js", diff --git a/src/source/loader/html.ts b/src/source/loader/html.ts index 2fd40264..0a0e886c 100644 --- a/src/source/loader/html.ts +++ b/src/source/loader/html.ts @@ -26,7 +26,7 @@ export class HTMLLoader implements IHTMLLoader { const htmlUrl = app.ssrUrl || app.url const htmlPromise = htmlUrl.includes('.js') ? Promise.resolve(``) - : fetchSource(htmlUrl, appName, { cache: 'no-store' }) + : fetchSource(htmlUrl, appName, { cache: 'no-cache' }) htmlPromise.then((htmlStr: string) => { if (!htmlStr) { const msg = 'html is empty, please check in detail'