Skip to content

Commit

Permalink
v1.0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
yiludege committed Nov 24, 2024
1 parent c03a956 commit be705d6
Show file tree
Hide file tree
Showing 29 changed files with 130 additions and 25 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,28 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

### Bug Fixes

* appWindowOnEvent 增加 onerror and onunhandledrejection 事件 ([#865](https://github.com/Tencent/wujie/issues/865)) ([76ee1b2](https://github.com/Tencent/wujie/commit/76ee1b2fdd95c1f80b67cdc8468a677d1726c766))
* 修复 子应用 html 上的属性会被丢失的问题([#908](https://github.com/Tencent/wujie/issues/908)) ([#909](https://github.com/Tencent/wujie/issues/909)) ([e2cf327](https://github.com/Tencent/wujie/commit/e2cf327709cfe991b47245572abc80681d864e17))
* 修复css中图片url解析错误 ([#681](https://github.com/Tencent/wujie/issues/681)) ([94c3b6e](https://github.com/Tencent/wujie/commit/94c3b6eaf5ed3c3fd28762240d724f4b83a3025e))
* 修复wujie-react重复渲染时保活模式输出undefined ([#840](https://github.com/Tencent/wujie/issues/840)) ([6c4659d](https://github.com/Tencent/wujie/commit/6c4659df08ddd901a89b5f8bfbf29b9b8f5eabee))
* 修复在降级情况下无法加载vite使用vite-legacy-plugin打包出的js文件 ([#861](https://github.com/Tencent/wujie/issues/861)) ([a22b545](https://github.com/Tencent/wujie/commit/a22b545588fe74e2981a39a5b9bdc1a8083ad53c))
* 修复多个子应用启动,拿到的全局对象缓存都是第一个子应用全局对象的bug ([#792](https://github.com/Tencent/wujie/issues/792)) ([41a5309](https://github.com/Tencent/wujie/commit/41a5309de9e39539d6684a424302bff2b7965db2))
* 修复子应用无法使用 WebComponent 组件库,提示 adoptedstylesheets 问题 ([#771](https://github.com/Tencent/wujie/issues/771)) ([fa5fb03](https://github.com/Tencent/wujie/commit/fa5fb030f88acfe0d6d59692d66bbb0763997379))
* 修复子应用无法使用 WebComponent 组件库,提示 adoptedstylesheets 问题 ([#771](https://github.com/Tencent/wujie/issues/771)) ([#853](https://github.com/Tencent/wujie/issues/853)) ([f0c12e7](https://github.com/Tencent/wujie/commit/f0c12e703e2f6bec17a08527b018b77bd5706dc0))
* 修复通过appendChild添加的外部脚本中使用document.body.removeChild移除脚本报错阻塞代码执行的问题 ([#839](https://github.com/Tencent/wujie/issues/839)) ([2e2a23c](https://github.com/Tencent/wujie/commit/2e2a23c939781d7ed8fab1d06b3208b7d082c0d4))
* 在afterUnmount的回调函数中,使用 destroyApp 方法时,bus 属性为null ,调用$clear()会报错 ([#742](https://github.com/Tencent/wujie/issues/742)) ([d6ea8d6](https://github.com/Tencent/wujie/commit/d6ea8d69d611df07fef9af1d88242786257813c3))

### Features

* add AI search ([#760](https://github.com/Tencent/wujie/issues/760)) ([4296ed2](https://github.com/Tencent/wujie/commit/4296ed2ee23e1092df5ba8691e1fd296a1587cf1))
* unmount hook support promise ([#645](https://github.com/Tencent/wujie/issues/645)) ([18be78b](https://github.com/Tencent/wujie/commit/18be78b336c2ab90fb0e85096c4281be3a1d49cb))
* 优化处理document专属事件中可能造成内存泄露部分 ([#644](https://github.com/Tencent/wujie/issues/644)) ([78e6983](https://github.com/Tencent/wujie/commit/78e698398e5b70b3c2727dd80b60a7d9ae826d4c))
* 添加postmessage通信示例 ([da2c99f](https://github.com/Tencent/wujie/commit/da2c99f38afae8fbe0c1ab8e2eb3ff7cb2eaece2))

## [1.0.22](https://github.com/Tencent/wujie/compare/v1.0.20...v1.0.22) (2023-12-18)

### Bug Fixes
Expand Down
7 changes: 7 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

### Features

* add AI search ([#760](https://github.com/Tencent/wujie/issues/760)) ([4296ed2](https://github.com/Tencent/wujie/commit/4296ed2ee23e1092df5ba8691e1fd296a1587cf1))
* unmount hook support promise ([#645](https://github.com/Tencent/wujie/issues/645)) ([18be78b](https://github.com/Tencent/wujie/commit/18be78b336c2ab90fb0e85096c4281be3a1d49cb))

## [1.0.22](https://github.com/Tencent/wujie/compare/v1.0.20...v1.0.22) (2023-12-18)

**Note:** Version bump only for package wujie-docs
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wujie-docs",
"version": "1.0.22",
"version": "1.0.23",
"description": "",
"main": "index.js",
"private": true,
Expand All @@ -13,8 +13,8 @@
"author": "yiludege,erkelost",
"license": "ISC",
"devDependencies": {
"vite": "3.0.9",
"@documate/vue": "^0.2.3",
"vite": "3.0.9",
"vitepress": "1.0.0-alpha.60"
},
"dependencies": {
Expand Down
6 changes: 6 additions & 0 deletions examples/angular12/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

### Features

* unmount hook support promise ([#645](https://github.com/Tencent/wujie/issues/645)) ([18be78b](https://github.com/Tencent/wujie/commit/18be78b336c2ab90fb0e85096c4281be3a1d49cb))

# [1.0.0](https://github.com/Tencent/wujie/compare/v1.0.0-rc.25...v1.0.0) (2022-11-10)

### Features
Expand Down
2 changes: 1 addition & 1 deletion examples/angular12/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular12",
"version": "1.0.0",
"version": "1.0.23",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down
4 changes: 4 additions & 0 deletions examples/main-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

**Note:** Version bump only for package main-react

## [1.0.22](https://github.com/Tencent/wujie/compare/v1.0.20...v1.0.22) (2023-12-18)

**Note:** Version bump only for package main-react
Expand Down
4 changes: 2 additions & 2 deletions examples/main-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "main-react",
"version": "1.0.22",
"version": "1.0.23",
"private": true,
"dependencies": {
"@ant-design/icons": "^4.7.0",
Expand Down Expand Up @@ -59,7 +59,7 @@
"webpack-dev-server": "^4.6.0",
"webpack-manifest-plugin": "^4.0.2",
"workbox-webpack-plugin": "^6.4.1",
"wujie-react": "workspace:^1.0.22"
"wujie-react": "workspace:^1.0.23"
},
"scripts": {
"start": "node scripts/start.js",
Expand Down
6 changes: 6 additions & 0 deletions examples/main-vue/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

### Features

* 添加postmessage通信示例 ([da2c99f](https://github.com/Tencent/wujie/commit/da2c99f38afae8fbe0c1ab8e2eb3ff7cb2eaece2))

## [1.0.22](https://github.com/Tencent/wujie/compare/v1.0.20...v1.0.22) (2023-12-18)

**Note:** Version bump only for package main-vue
Expand Down
6 changes: 3 additions & 3 deletions examples/main-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "main-vue",
"version": "1.0.22",
"version": "1.0.23",
"private": true,
"scripts": {
"start": "vue-cli-service serve",
Expand All @@ -14,8 +14,8 @@
"vue": "^2.6.11",
"vue-router": "^3.2.0",
"whatwg-fetch": "^3.6.2",
"wujie": "workspace:^1.0.22",
"wujie-vue2": "workspace:^1.0.22"
"wujie": "workspace:^1.0.23",
"wujie-vue2": "workspace:^1.0.23"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
Expand Down
4 changes: 4 additions & 0 deletions examples/react16/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

**Note:** Version bump only for package react16

## [1.0.22](https://github.com/Tencent/wujie/compare/v1.0.20...v1.0.22) (2023-12-18)

**Note:** Version bump only for package react16
Expand Down
4 changes: 2 additions & 2 deletions examples/react16/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react16",
"version": "1.0.22",
"version": "1.0.23",
"private": true,
"dependencies": {
"@babel/core": "^7.16.0",
Expand Down Expand Up @@ -59,7 +59,7 @@
"webpack-dev-server": "^4.6.0",
"webpack-manifest-plugin": "^4.0.2",
"workbox-webpack-plugin": "^6.4.1",
"wujie-react": "workspace:^1.0.22"
"wujie-react": "workspace:^1.0.23"
},
"scripts": {
"start": "node scripts/start.js",
Expand Down
6 changes: 6 additions & 0 deletions examples/react17/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

### Features

* 添加postmessage通信示例 ([da2c99f](https://github.com/Tencent/wujie/commit/da2c99f38afae8fbe0c1ab8e2eb3ff7cb2eaece2))

## [1.0.17](https://github.com/Tencent/wujie/compare/v1.0.16...v1.0.17) (2023-05-30)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion examples/react17/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react17",
"version": "1.0.17",
"version": "1.0.23",
"private": true,
"dependencies": {
"@babel/core": "7.12.3",
Expand Down
6 changes: 6 additions & 0 deletions examples/vite/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

### Features

* unmount hook support promise ([#645](https://github.com/Tencent/wujie/issues/645)) ([18be78b](https://github.com/Tencent/wujie/commit/18be78b336c2ab90fb0e85096c4281be3a1d49cb))

# [1.0.0](https://github.com/Tencent/wujie/compare/v1.0.0-rc.25...v1.0.0) (2022-11-10)

**Note:** Version bump only for package vite
Expand Down
2 changes: 1 addition & 1 deletion examples/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite",
"version": "1.0.0",
"version": "1.0.23",
"private": true,
"scripts": {
"start": "vite",
Expand Down
6 changes: 6 additions & 0 deletions examples/vue2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

### Features

* 添加postmessage通信示例 ([da2c99f](https://github.com/Tencent/wujie/commit/da2c99f38afae8fbe0c1ab8e2eb3ff7cb2eaece2))

# [1.0.0](https://github.com/Tencent/wujie/compare/v1.0.0-rc.25...v1.0.0) (2022-11-10)

### Features
Expand Down
2 changes: 1 addition & 1 deletion examples/vue2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue2",
"version": "1.0.0",
"version": "1.0.23",
"private": true,
"scripts": {
"start": "vue-cli-service serve --mode:development",
Expand Down
6 changes: 6 additions & 0 deletions examples/vue3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

### Features

* 添加postmessage通信示例 ([da2c99f](https://github.com/Tencent/wujie/commit/da2c99f38afae8fbe0c1ab8e2eb3ff7cb2eaece2))

# [1.0.0](https://github.com/Tencent/wujie/compare/v1.0.0-rc.25...v1.0.0) (2022-11-10)

**Note:** Version bump only for package vue3
Expand Down
2 changes: 1 addition & 1 deletion examples/vue3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue3",
"version": "1.0.0",
"version": "1.0.23",
"private": true,
"scripts": {
"start": "vue-cli-service serve",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
]
}
},
"version": "1.0.22"
"version": "1.0.23"
}
18 changes: 18 additions & 0 deletions packages/wujie-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

### Bug Fixes

* appWindowOnEvent 增加 onerror and onunhandledrejection 事件 ([#865](https://github.com/Tencent/wujie/issues/865)) ([76ee1b2](https://github.com/Tencent/wujie/commit/76ee1b2fdd95c1f80b67cdc8468a677d1726c766))
* 修复 子应用 html 上的属性会被丢失的问题([#908](https://github.com/Tencent/wujie/issues/908)) ([#909](https://github.com/Tencent/wujie/issues/909)) ([e2cf327](https://github.com/Tencent/wujie/commit/e2cf327709cfe991b47245572abc80681d864e17))
* 修复css中图片url解析错误 ([#681](https://github.com/Tencent/wujie/issues/681)) ([94c3b6e](https://github.com/Tencent/wujie/commit/94c3b6eaf5ed3c3fd28762240d724f4b83a3025e))
* 修复在降级情况下无法加载vite使用vite-legacy-plugin打包出的js文件 ([#861](https://github.com/Tencent/wujie/issues/861)) ([a22b545](https://github.com/Tencent/wujie/commit/a22b545588fe74e2981a39a5b9bdc1a8083ad53c))
* 修复多个子应用启动,拿到的全局对象缓存都是第一个子应用全局对象的bug ([#792](https://github.com/Tencent/wujie/issues/792)) ([41a5309](https://github.com/Tencent/wujie/commit/41a5309de9e39539d6684a424302bff2b7965db2))
* 修复子应用无法使用 WebComponent 组件库,提示 adoptedstylesheets 问题 ([#771](https://github.com/Tencent/wujie/issues/771)) ([fa5fb03](https://github.com/Tencent/wujie/commit/fa5fb030f88acfe0d6d59692d66bbb0763997379))
* 修复通过appendChild添加的外部脚本中使用document.body.removeChild移除脚本报错阻塞代码执行的问题 ([#839](https://github.com/Tencent/wujie/issues/839)) ([2e2a23c](https://github.com/Tencent/wujie/commit/2e2a23c939781d7ed8fab1d06b3208b7d082c0d4))
* 在afterUnmount的回调函数中,使用 destroyApp 方法时,bus 属性为null ,调用$clear()会报错 ([#742](https://github.com/Tencent/wujie/issues/742)) ([d6ea8d6](https://github.com/Tencent/wujie/commit/d6ea8d69d611df07fef9af1d88242786257813c3))

### Features

* unmount hook support promise ([#645](https://github.com/Tencent/wujie/issues/645)) ([18be78b](https://github.com/Tencent/wujie/commit/18be78b336c2ab90fb0e85096c4281be3a1d49cb))
* 优化处理document专属事件中可能造成内存泄露部分 ([#644](https://github.com/Tencent/wujie/issues/644)) ([78e6983](https://github.com/Tencent/wujie/commit/78e698398e5b70b3c2727dd80b60a7d9ae826d4c))

## [1.0.22](https://github.com/Tencent/wujie/compare/v1.0.20...v1.0.22) (2023-12-18)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion packages/wujie-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wujie",
"version": "1.0.22",
"version": "1.0.23",
"description": "极致的微前端框架",
"main": "./lib/index.js",
"module": "./esm/index.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/wujie-core/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function cssRelativePathResolve(code: string, src: string, base: string) {
*
* 这里修改一下正则匹配,先匹配url(xxx)内的xxx,需要兼容一下嵌套括号,
* 再判断是否为base64,不再预先忽略data:前缀,防止base64的svg内仍有url被匹配
*
*
* eg:
* background: url(data:image/svg+xml;charset=utf-8,<svg><path fill=url(#a)></path></svg>)
* 以上样式会匹配出#a并进行修改,svg填充的路径就出问题了。
Expand All @@ -80,8 +80,8 @@ function cssRelativePathResolve(code: string, src: string, base: string) {
return _m;
}

return `url(${pre}${getAbsolutePath(url, baseUrl)}${post})`
})
return `url(${pre}${getAbsolutePath(url, baseUrl)}${post})`;
});
}

const defaultPlugin = {
Expand Down
6 changes: 6 additions & 0 deletions packages/wujie-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

### Bug Fixes

* 修复wujie-react重复渲染时保活模式输出undefined ([#840](https://github.com/Tencent/wujie/issues/840)) ([6c4659d](https://github.com/Tencent/wujie/commit/6c4659df08ddd901a89b5f8bfbf29b9b8f5eabee))

## [1.0.22](https://github.com/Tencent/wujie/compare/v1.0.20...v1.0.22) (2023-12-18)

**Note:** Version bump only for package wujie-react
Expand Down
4 changes: 2 additions & 2 deletions packages/wujie-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wujie-react",
"version": "1.0.22",
"version": "1.0.23",
"description": "无界微前端React组件封装",
"main": "./lib/index.js",
"module": "./esm/index.js",
Expand Down Expand Up @@ -30,7 +30,7 @@
"license": "MIT",
"dependencies": {
"prop-types": "^15.8.1",
"wujie": "workspace:1.0.22"
"wujie": "workspace:1.0.23"
},
"devDependencies": {
"@babel/cli": "^7.18.6",
Expand Down
4 changes: 4 additions & 0 deletions packages/wujie-vue2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

**Note:** Version bump only for package wujie-vue2

## [1.0.22](https://github.com/Tencent/wujie/compare/v1.0.20...v1.0.22) (2023-12-18)

**Note:** Version bump only for package wujie-vue2
Expand Down
4 changes: 2 additions & 2 deletions packages/wujie-vue2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wujie-vue2",
"version": "1.0.22",
"version": "1.0.23",
"description": "无界微前端Vue2组件封装",
"main": "./lib/index.js",
"module": "./esm/index.js",
Expand Down Expand Up @@ -29,7 +29,7 @@
},
"license": "MIT",
"dependencies": {
"wujie": "workspace:1.0.22"
"wujie": "workspace:1.0.23"
},
"devDependencies": {
"@babel/cli": "^7.18.6",
Expand Down
4 changes: 4 additions & 0 deletions packages/wujie-vue3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.23](https://github.com/Tencent/wujie/compare/v1.0.22...v1.0.23) (2024-11-24)

**Note:** Version bump only for package wujie-vue3

## [1.0.22](https://github.com/Tencent/wujie/compare/v1.0.20...v1.0.22) (2023-12-18)

**Note:** Version bump only for package wujie-vue3
Expand Down
4 changes: 2 additions & 2 deletions packages/wujie-vue3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wujie-vue3",
"version": "1.0.22",
"version": "1.0.23",
"description": "无界微前端Vue3组件封装",
"main": "./lib/index.js",
"module": "./esm/index.js",
Expand Down Expand Up @@ -29,7 +29,7 @@
},
"license": "MIT",
"dependencies": {
"wujie": "workspace:1.0.22"
"wujie": "workspace:1.0.23"
},
"devDependencies": {
"@babel/cli": "^7.18.6",
Expand Down

0 comments on commit be705d6

Please sign in to comment.