From 23eab984ce098ee995818fe9d78a58a3d4a7a5d1 Mon Sep 17 00:00:00 2001 From: Laffery <49607541+Laffery@users.noreply.github.com> Date: Fri, 15 Nov 2024 14:26:02 +0800 Subject: [PATCH] chore(release): release 18.2.1 (#8881) --- CHANGELOG.md | 15 ++++++++++++++ components/package.json | 2 +- components/tooltip/doc/index.zh-CN.md | 30 +++++++++++++-------------- components/version/version.ts | 2 +- docs/changelog.en-US.md | 15 ++++++++++++++ docs/changelog.zh-CN.md | 15 ++++++++++++++ 6 files changed, 62 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb1f23aa57e..80e47b804ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## [18.2.1](https://github.com/NG-ZORRO/ng-zorro-antd/compare/18.2.0...18.2.1) (2024-11-15) + + +### Bug Fixes + +* **anchor:** fix `a` tag problem with `null` or `undefined` value if TemplateRef provided ([#8864](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8864)) ([41f6609](https://github.com/NG-ZORRO/ng-zorro-antd/commit/41f66095fdaee05d8bfdae13e8ec18a63cee1f2c)) +* **color-picker:** remove inline style (CSP compliant) ([#8874](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8874)) ([0264da9](https://github.com/NG-ZORRO/ng-zorro-antd/commit/0264da98babca9f14a2c69ccb019944aa4e9f88f)) +* **image:** remove inline style (CSP compliant) ([#8876](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8876)) ([63c8953](https://github.com/NG-ZORRO/ng-zorro-antd/commit/63c895329a78575654994b607fa822f5735166f4)) +* **qrcode:** remove event listeners once settled ([#8861](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8861)) ([40d466d](https://github.com/NG-ZORRO/ng-zorro-antd/commit/40d466dab751c51b8cecb97dc974a1d17a7692e6)) +* **select:** remove inline style (CSP compliant) ([#8873](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8873)) ([9431d0d](https://github.com/NG-ZORRO/ng-zorro-antd/commit/9431d0d9e54c76271f7dc13c9833c29bf4e7dc13)) +* **transfer:** cancel selecting all should emit `nzSelectChange` event ([#8872](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8872)) ([5ff9821](https://github.com/NG-ZORRO/ng-zorro-antd/commit/5ff98216002da5c9fc23a9d9c8bd4d3b68495d51)) +* **watermark:** cleanup event listeners once settled ([#8862](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8862)) ([decd477](https://github.com/NG-ZORRO/ng-zorro-antd/commit/decd4772bdbfeb1a1397c2b597882503ca5685ad)) + + + # [18.2.0](https://github.com/NG-ZORRO/ng-zorro-antd/compare/18.1.1...18.2.0) (2024-11-07) diff --git a/components/package.json b/components/package.json index 7b8d5b961a9..9a7b373e447 100644 --- a/components/package.json +++ b/components/package.json @@ -1,6 +1,6 @@ { "name": "ng-zorro-antd", - "version": "18.2.0", + "version": "18.2.1", "license": "MIT", "description": "An enterprise-class UI components based on Ant Design and Angular", "schematics": "./schematics/collection.json", diff --git a/components/tooltip/doc/index.zh-CN.md b/components/tooltip/doc/index.zh-CN.md index 93ac56d37c9..96801e0f6e5 100644 --- a/components/tooltip/doc/index.zh-CN.md +++ b/components/tooltip/doc/index.zh-CN.md @@ -22,21 +22,21 @@ import { NzToolTipModule } from 'ng-zorro-antd/tooltip'; ### [nz-tooltip]:standalone -| 参数 | 说明 | 类型 | 默认值 | -| ------------------------------- | ------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -| `[nzTooltipArrowPointAtCenter]` | 箭头指向锚点的中心 | `boolean` | `false` | -| `[nzTooltipTitle]` | 提示文字 | `string \| TemplateRef` | - | -| `[nzTooltipTitleContext]` | 提示文字模板上下文 | `object` | - | -| `[nzTooltipTrigger]` | 触发行为,可选 `hover` \| `focus` \| `click`,为 `null` 时不响应光标事件 | `'click' \| 'focus' \| 'hover' \| null` | `'hover'` | -| `[nzTooltipPlacement]` | 气泡框位置 | `'top' \| 'left' \| 'right' \| 'bottom' \| 'topLeft' \| 'topRight' \| 'bottomLeft' \| 'bottomRight' \| 'leftTop' \| 'leftBottom' \| 'rightTop' \| 'rightBottom' \| Array` | `'top'` | -| `[nzTooltipColor]` | 背景颜色 | `string` | - | -| `[nzTooltipOrigin]` | 气泡框定位元素 | `ElementRef` | - | -| `[nzTooltipVisible]` | 显示隐藏气泡框 | `boolean` | `false` | -| `(nzTooltipVisibleChange)` | 显示隐藏的事件 | `EventEmitter` | - | -| `[nzTooltipMouseEnterDelay]` | 鼠标移入后延时多少才显示 Tooltip,单位:秒 | `number` | `0.15` | -| `[nzTooltipMouseLeaveDelay]` | 鼠标移出后延时多少才隐藏 Tooltip,单位:秒 | `number` | `0.1` | -| `[nzTooltipOverlayClassName]` | 卡片类名 | `string` | - | -| `[nzTooltipOverlayStyle]` | 卡片样式 | `object` | - | +| 参数 | 说明 | 类型 | 默认值 | +| ------------------------------- |-----------------------------------------------------------------------| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | +| `[nzTooltipArrowPointAtCenter]` | 箭头指向锚点的中心 | `boolean` | `false` | +| `[nzTooltipTitle]` | 提示文字 | `string \| TemplateRef` | - | +| `[nzTooltipTitleContext]` | 提示文字模板上下文 | `object` | - | +| `[nzTooltipTrigger]` | 触发行为,可选 `'click' \| 'focus' \| 'hover'`,为 `null` 时不响应光标事件 | `'click' \| 'focus' \| 'hover' \| null` | `'hover'` | +| `[nzTooltipPlacement]` | 气泡框位置 | `'top' \| 'left' \| 'right' \| 'bottom' \| 'topLeft' \| 'topRight' \| 'bottomLeft' \| 'bottomRight' \| 'leftTop' \| 'leftBottom' \| 'rightTop' \| 'rightBottom' \| Array` | `'top'` | +| `[nzTooltipColor]` | 背景颜色 | `string` | - | +| `[nzTooltipOrigin]` | 气泡框定位元素 | `ElementRef` | - | +| `[nzTooltipVisible]` | 显示隐藏气泡框 | `boolean` | `false` | +| `(nzTooltipVisibleChange)` | 显示隐藏的事件 | `EventEmitter` | - | +| `[nzTooltipMouseEnterDelay]` | 鼠标移入后延时多少才显示 Tooltip,单位:秒 | `number` | `0.15` | +| `[nzTooltipMouseLeaveDelay]` | 鼠标移出后延时多少才隐藏 Tooltip,单位:秒 | `number` | `0.1` | +| `[nzTooltipOverlayClassName]` | 卡片类名 | `string` | - | +| `[nzTooltipOverlayStyle]` | 卡片样式 | `object` | - | ### 共同的 API diff --git a/components/version/version.ts b/components/version/version.ts index 34c07accae6..5f7c332f9c4 100644 --- a/components/version/version.ts +++ b/components/version/version.ts @@ -5,4 +5,4 @@ import { Version } from '@angular/core'; -export const VERSION = new Version('18.2.0'); +export const VERSION = new Version('18.2.1'); diff --git a/docs/changelog.en-US.md b/docs/changelog.en-US.md index 3e58eae702d..18f31041015 100755 --- a/docs/changelog.en-US.md +++ b/docs/changelog.en-US.md @@ -13,6 +13,21 @@ timeline: true * Major version release is not included in this schedule for breaking change and new features. --- +## 18.2.1 + +`2024-11-15` + +### Bug Fixes + +* **anchor:** fix `a` tag problem with `null` or `undefined` value if TemplateRef provided ([#8864](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8864)) ([41f6609](https://github.com/NG-ZORRO/ng-zorro-antd/commit/41f66095fdaee05d8bfdae13e8ec18a63cee1f2c)) +* **color-picker:** remove inline style (CSP compliant) ([#8874](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8874)) ([0264da9](https://github.com/NG-ZORRO/ng-zorro-antd/commit/0264da98babca9f14a2c69ccb019944aa4e9f88f)) +* **image:** remove inline style (CSP compliant) ([#8876](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8876)) ([63c8953](https://github.com/NG-ZORRO/ng-zorro-antd/commit/63c895329a78575654994b607fa822f5735166f4)) +* **qrcode:** remove event listeners once settled ([#8861](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8861)) ([40d466d](https://github.com/NG-ZORRO/ng-zorro-antd/commit/40d466dab751c51b8cecb97dc974a1d17a7692e6)) +* **select:** remove inline style (CSP compliant) ([#8873](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8873)) ([9431d0d](https://github.com/NG-ZORRO/ng-zorro-antd/commit/9431d0d9e54c76271f7dc13c9833c29bf4e7dc13)) +* **transfer:** cancel selecting all should emit `nzSelectChange` event ([#8872](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8872)) ([5ff9821](https://github.com/NG-ZORRO/ng-zorro-antd/commit/5ff98216002da5c9fc23a9d9c8bd4d3b68495d51)) +* **watermark:** cleanup event listeners once settled ([#8862](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8862)) ([decd477](https://github.com/NG-ZORRO/ng-zorro-antd/commit/decd4772bdbfeb1a1397c2b597882503ca5685ad)) + + ## 18.2.0 `2024-11-07` diff --git a/docs/changelog.zh-CN.md b/docs/changelog.zh-CN.md index a5160e3e6ef..990d83aa1f8 100755 --- a/docs/changelog.zh-CN.md +++ b/docs/changelog.zh-CN.md @@ -13,6 +13,21 @@ timeline: true * 主版本号:含有破坏性更新和新特性,不在发布周期内。 --- +## 18.2.1 + +`2024-11-15` + +### Bug Fixes + +* **anchor:** 修复 `nzTitle` 使用 TemplateRef 时 `a` 标签 title 内容异常 ([#8864](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8864)) ([41f6609](https://github.com/NG-ZORRO/ng-zorro-antd/commit/41f66095fdaee05d8bfdae13e8ec18a63cee1f2c)) +* **color-picker:** 修复 CSP 问题 ([#8874](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8874)) ([0264da9](https://github.com/NG-ZORRO/ng-zorro-antd/commit/0264da98babca9f14a2c69ccb019944aa4e9f88f)) +* **image:** 修复 CSP 问题 ([#8876](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8876)) ([63c8953](https://github.com/NG-ZORRO/ng-zorro-antd/commit/63c895329a78575654994b607fa822f5735166f4)) +* **select:** 修复 CSP 问题 ([#8873](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8873)) ([9431d0d](https://github.com/NG-ZORRO/ng-zorro-antd/commit/9431d0d9e54c76271f7dc13c9833c29bf4e7dc13)) +* **transfer:** 修复取消全选未触发 `nzSelectChange` 事件 ([#8872](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8872)) ([5ff9821](https://github.com/NG-ZORRO/ng-zorro-antd/commit/5ff98216002da5c9fc23a9d9c8bd4d3b68495d51)) +* **qrcode:** 加载稳定后移除事件监听器 ([#8861](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8861)) ([40d466d](https://github.com/NG-ZORRO/ng-zorro-antd/commit/40d466dab751c51b8cecb97dc974a1d17a7692e6)) +* **watermark:** 加载稳定后移除事件监听器 ([#8862](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8862)) ([decd477](https://github.com/NG-ZORRO/ng-zorro-antd/commit/decd4772bdbfeb1a1397c2b597882503ca5685ad)) + + ## 18.2.0 `2024-11-07`