Skip to content

Commit 5ffa099

Browse files
authored
chore(changelog): update changelog for v19.0.0-beta.1 (#8942)
1 parent 2c7f49a commit 5ffa099

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,22 @@
1010
* **cascader:** correct menu display level ([#8866](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8866)) ([5fec53e](https://github.com/NG-ZORRO/ng-zorro-antd/commit/5fec53e597d50a26a1083bb1e726af885ba807ae))
1111
* **drawer:** should clear previously focused element ([#8893](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8893)) ([4498af0](https://github.com/NG-ZORRO/ng-zorro-antd/commit/4498af0f1a8c700099e82f4027bec30086f6d29a))
1212
* **i18n:** add missing translations to `vi_VN` ([#8894](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8894)) ([f08ad1c](https://github.com/NG-ZORRO/ng-zorro-antd/commit/f08ad1cb0728d19655c8143658e6a44f8843cb4a))
13+
* **tree-view:** `nzTreeNodePadding` not works in virtual scroll ([#8920](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8920)) ([82b660a](https://github.com/NG-ZORRO/ng-zorro-antd/commit/82b660ac55539e9cb2c39b399884f8bec4d028d4))
1314

1415

1516
### Code Refactoring
1617

1718
* cancel support for HTML string rendering ([#8831](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8831)) ([5fae01a](https://github.com/NG-ZORRO/ng-zorro-antd/commit/5fae01ad4120841390f7ebb6267a043774ea2266))
1819
* remove `ngClass` and `ngStyle` ([#8895](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8895)) ([c3ab3ba](https://github.com/NG-ZORRO/ng-zorro-antd/commit/c3ab3ba6ad50dc4a8f23b43872b3f235ee316f4c))
1920
* **image:** remove deprecated `FADE_CLASS_NAME_MAP` and `IMAGE_PREVIEW_MASK_CLASS_NAME` ([#8912](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8912)) ([65223d9](https://github.com/NG-ZORRO/ng-zorro-antd/commit/65223d9a595e78f8c73347c5d1b12a807389c434))
21+
* **transfer,tree,tree-select** rename `CheckBox` to `Checkbox` ([#8934](https://github.com/NG-ZORRO/ng-zorro-antd/pull/8934)) ([c76433d5](https://github.com/NG-ZORRO/ng-zorro-antd/commit/c76433d5533f6d5c0467ee99c61877a0ec4d35ac))
2022

2123

2224
### Features
2325

2426
* **cascader:** support multiple selection ([#8903](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8903)) ([e5dfb49](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e5dfb495dc4f9e5493e425aeab3802a13a0f5e28))
27+
* **cascader:** support `nzPlacement` ([#8935](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8935)) ([6fbd22c](https://github.com/NG-ZORRO/ng-zorro-antd/commit/6fbd22c5b38b78cc991bb61446acbea635f30797))
28+
* **checkbox:** redesign the `nz-checkbox-group` component ([#8932](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8932)) ([489e0de](https://github.com/NG-ZORRO/ng-zorro-antd/commit/489e0defbfeeb03c29562d139614451575f8ed8d))
2529
* **divider:** add `nzVariant` option ([#8827](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8827)) ([2c63c87](https://github.com/NG-ZORRO/ng-zorro-antd/commit/2c63c87f557e2400224566342a0185d212055004))
2630
* **float-button:** add float-button component ([#7884](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7884)) ([dab4d66](https://github.com/NG-ZORRO/ng-zorro-antd/commit/dab4d669b3ef746d1761fbb2199c1b0ae704cda5))
2731
* **icon:** support `nz-icon` tag selector ([#8778](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8778)) ([1406241](https://github.com/NG-ZORRO/ng-zorro-antd/commit/1406241f2e636bb3bf11515b0ad68cbe0535d5e1))
@@ -45,6 +49,7 @@
4549
- Keys which multiple styles/classes separated with keys: split a key with spaces into multiple keys
4650
* Cancel support for HTML string rendering
4751
* Migrate `@WithConfig` to standard decorator. If you're using `@WithConfig` in your library, please turn `experimentalDecorators` off in `tsconfig.json`
52+
* Migrate `[nz-icon]` to `nz-icon` tag. If you're using `[nz-icon]` selector in stylesheet to select icon **inside** zorro component, please use `nz-icon` instead
4853

4954
* **input-number:** Redesign the input-number so that it will be much simpler and more flexible.
5055

@@ -92,6 +97,10 @@
9297

9398
In v19, this trick is removed and if you're already using this trick in your code, please consider the add a `map` function to pass the actual value.
9499

100+
* **checkbox** Redesign the checkbox group component.
101+
- Remove `NzCheckBoxOptionInterface['checked]` field. By the way, `NzCheckBoxOptionInterface` is marked as deprecated, use `NzCheckboxOption` instead
102+
- `nz-checkbox-group`: Type of `ngModel` is changed from `NzCheckBoxOptionInterface[]` to `NzCheckboxOption['value'][]`
103+
95104
* **card:** Remove redundant `nzBorderless` input property. Use `nzBordered` instead.
96105
* **image:** Remove deprecated `FADE_CLASS_NAME_MAP` and `IMAGE_PREVIEW_MASK_CLASS_NAME`
97106
* **pipes:** Remove deprecated `NzSafeNullPipe`
@@ -100,6 +109,8 @@
100109
- Change emission type of `nzValueChange` from `number` to option's value type (`string | number`)
101110
- Remove `nzLabelTemplate`, use `nz-segmented-item` directive instead
102111
* **space:** Rename `exportAs` of `NzSpaceComponent` from `NzSpace` to standard `nzSpace`
112+
* **transfer:** Rename `nzTreeCheckBoxChange` to `nzTreeCheckboxChange`
113+
* **tree,tree-select:** Rename `nzCheckBoxChange` to `nzCheckboxChange`
103114

104115

105116
### Deprecations
@@ -111,6 +122,7 @@ Please refer to related documentation for better alternatives.
111122
|-------------------------------------|----------------------------------------------------------|
112123
| `ng-zorro-antd/button` | `NzButtonGroupComponent` |
113124
| `ng-zorro-antd/core/form` | `NzFormPatchModule` |
125+
| `ng-zorro-antd/checkbox` | `NzCheckboxWrapperComponent` |
114126
| `ng-zorro-antd/input` | `NzInputGroupComponent#nzCompact` |
115127
| `ng-zorro-antd/input-number-legacy` | `*` |
116128
| `ng-zorro-antd/message` | `NzMessageModule` |

docs/changelog.en-US.md

+12
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,22 @@ timeline: true
2626
* **cascader:** correct menu display level ([#8866](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8866)) ([5fec53e](https://github.com/NG-ZORRO/ng-zorro-antd/commit/5fec53e597d50a26a1083bb1e726af885ba807ae))
2727
* **drawer:** should clear previously focused element ([#8893](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8893)) ([4498af0](https://github.com/NG-ZORRO/ng-zorro-antd/commit/4498af0f1a8c700099e82f4027bec30086f6d29a))
2828
* **i18n:** add missing translations to `vi_VN` ([#8894](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8894)) ([f08ad1c](https://github.com/NG-ZORRO/ng-zorro-antd/commit/f08ad1cb0728d19655c8143658e6a44f8843cb4a))
29+
* **tree-view:** `nzTreeNodePadding` not works in virtual scroll ([#8920](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8920)) ([82b660a](https://github.com/NG-ZORRO/ng-zorro-antd/commit/82b660ac55539e9cb2c39b399884f8bec4d028d4))
2930

3031

3132
### Code Refactoring
3233

3334
* cancel support for HTML string rendering ([#8831](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8831)) ([5fae01a](https://github.com/NG-ZORRO/ng-zorro-antd/commit/5fae01ad4120841390f7ebb6267a043774ea2266))
3435
* remove `ngClass` and `ngStyle` ([#8895](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8895)) ([c3ab3ba](https://github.com/NG-ZORRO/ng-zorro-antd/commit/c3ab3ba6ad50dc4a8f23b43872b3f235ee316f4c))
3536
* **image:** remove deprecated `FADE_CLASS_NAME_MAP` and `IMAGE_PREVIEW_MASK_CLASS_NAME` ([#8912](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8912)) ([65223d9](https://github.com/NG-ZORRO/ng-zorro-antd/commit/65223d9a595e78f8c73347c5d1b12a807389c434))
37+
* **transfer,tree,tree-select** rename `CheckBox` to `Checkbox` ([#8934](https://github.com/NG-ZORRO/ng-zorro-antd/pull/8934)) ([c76433d5](https://github.com/NG-ZORRO/ng-zorro-antd/commit/c76433d5533f6d5c0467ee99c61877a0ec4d35ac))
3638

3739

3840
### Features
3941

4042
* **cascader:** support multiple selection ([#8903](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8903)) ([e5dfb49](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e5dfb495dc4f9e5493e425aeab3802a13a0f5e28))
43+
* **cascader:** support `nzPlacement` ([#8935](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8935)) ([6fbd22c](https://github.com/NG-ZORRO/ng-zorro-antd/commit/6fbd22c5b38b78cc991bb61446acbea635f30797))
44+
* **checkbox:** redesign the checkbox group component ([#8932](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8932)) ([489e0de](https://github.com/NG-ZORRO/ng-zorro-antd/commit/489e0defbfeeb03c29562d139614451575f8ed8d))
4145
* **divider:** add `nzVariant` option ([#8827](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8827)) ([2c63c87](https://github.com/NG-ZORRO/ng-zorro-antd/commit/2c63c87f557e2400224566342a0185d212055004))
4246
* **float-button:** add float-button component ([#7884](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7884)) ([dab4d66](https://github.com/NG-ZORRO/ng-zorro-antd/commit/dab4d669b3ef746d1761fbb2199c1b0ae704cda5))
4347
* **icon:** support `nz-icon` tag selector ([#8778](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8778)) ([1406241](https://github.com/NG-ZORRO/ng-zorro-antd/commit/1406241f2e636bb3bf11515b0ad68cbe0535d5e1))
@@ -61,6 +65,7 @@ timeline: true
6165
- Keys which multiple styles/classes separated with keys: split a key with spaces into multiple keys
6266
* Cancel support for HTML string rendering
6367
* Migrate `@WithConfig` to standard decorator. If you're using `@WithConfig` in your library, please turn `experimentalDecorators` off in `tsconfig.json`
68+
* Migrate `[nz-icon]` to `nz-icon` tag. If you're using `[nz-icon]` selector in stylesheet to select icon **inside** zorro component, please use `nz-icon` instead
6469

6570
* **input-number:** Redesign the input-number so that it will be much simpler and more flexible.
6671

@@ -108,6 +113,10 @@ timeline: true
108113

109114
In v19, this trick is removed and if you're already using this trick in your code, please consider the add a `map` function to pass the actual value.
110115

116+
* **checkbox** Redesign the checkbox group component.
117+
- Remove `NzCheckBoxOptionInterface['checked]` field. By the way, `NzCheckBoxOptionInterface` is marked as deprecated, use `NzCheckboxOption` instead
118+
- `nz-checkbox-group`: Type of `ngModel` is changed from `NzCheckBoxOptionInterface[]` to `NzCheckboxOption['value'][]`
119+
111120
* **card:** Remove redundant `nzBorderless` input property. Use `nzBordered` instead.
112121
* **image:** Remove deprecated `FADE_CLASS_NAME_MAP` and `IMAGE_PREVIEW_MASK_CLASS_NAME`
113122
* **pipes:** Remove deprecated `NzSafeNullPipe`
@@ -116,6 +125,8 @@ timeline: true
116125
- Change emission type of `nzValueChange` from `number` to option's value type (`string | number`)
117126
- Remove `nzLabelTemplate`, use `nz-segmented-item` directive instead
118127
* **space:** Rename `exportAs` of `NzSpaceComponent` from `NzSpace` to standard `nzSpace`
128+
* **transfer:** Rename `nzTreeCheckBoxChange` to `nzTreeCheckboxChange`
129+
* **tree,tree-select:** Rename `nzCheckBoxChange` to `nzCheckboxChange`
119130

120131

121132
### Deprecations
@@ -127,6 +138,7 @@ Please refer to related documentation for better alternatives.
127138
|-------------------------------------|----------------------------------------------------------|
128139
| `ng-zorro-antd/button` | `NzButtonGroupComponent` |
129140
| `ng-zorro-antd/core/form` | `NzFormPatchModule` |
141+
| `ng-zorro-antd/checkbox` | `NzCheckboxWrapperComponent` |
130142
| `ng-zorro-antd/input` | `NzInputGroupComponent#nzCompact` |
131143
| `ng-zorro-antd/input-number-legacy` | `*` |
132144
| `ng-zorro-antd/message` | `NzMessageModule` |

docs/changelog.zh-CN.md

+12
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,22 @@ timeline: true
2626
* **cascader:** 取消选择时收起子选项列 ([#8866](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8866)) ([5fec53e](https://github.com/NG-ZORRO/ng-zorro-antd/commit/5fec53e597d50a26a1083bb1e726af885ba807ae))
2727
* **drawer:** 打开时清除之前 focus 的元素 ([#8893](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8893)) ([4498af0](https://github.com/NG-ZORRO/ng-zorro-antd/commit/4498af0f1a8c700099e82f4027bec30086f6d29a))
2828
* **i18n:** 更新 `vi_VN` 国际化文案 ([#8894](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8894)) ([f08ad1c](https://github.com/NG-ZORRO/ng-zorro-antd/commit/f08ad1cb0728d19655c8143658e6a44f8843cb4a))
29+
* **tree-view:** 修复 `nzTreeNodePadding` 在虚拟滚动中不生效问题 ([#8920](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8920)) ([82b660a](https://github.com/NG-ZORRO/ng-zorro-antd/commit/82b660ac55539e9cb2c39b399884f8bec4d028d4))
2930

3031

3132
### Code Refactoring
3233

3334
* 取消支持渲染 HTML 字符串 ([#8831](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8831)) ([5fae01a](https://github.com/NG-ZORRO/ng-zorro-antd/commit/5fae01ad4120841390f7ebb6267a043774ea2266))
3435
* 移除 `ngClass` and `ngStyle` ([#8895](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8895)) ([c3ab3ba](https://github.com/NG-ZORRO/ng-zorro-antd/commit/c3ab3ba6ad50dc4a8f23b43872b3f235ee316f4c))
3536
* **image:** 移除废弃的 `FADE_CLASS_NAME_MAP``IMAGE_PREVIEW_MASK_CLASS_NAME` ([#8912](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8912)) ([65223d9](https://github.com/NG-ZORRO/ng-zorro-antd/commit/65223d9a595e78f8c73347c5d1b12a807389c434))
37+
* **transfer,tree,tree-select** 相关 Output 属性中的 `CheckBox` 重命名为 `Checkbox` ([#8934](https://github.com/NG-ZORRO/ng-zorro-antd/pull/8934)) ([c76433d5](https://github.com/NG-ZORRO/ng-zorro-antd/commit/c76433d5533f6d5c0467ee99c61877a0ec4d35ac))
3638

3739

3840
### Features
3941

4042
* **cascader:** 支持多选 ([#8903](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8903)) ([e5dfb49](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e5dfb495dc4f9e5493e425aeab3802a13a0f5e28))
43+
* **cascader:** 支持 `nzPlacement` 自定义浮层弹出位置 ([#8935](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8935)) ([6fbd22c](https://github.com/NG-ZORRO/ng-zorro-antd/commit/6fbd22c5b38b78cc991bb61446acbea635f30797))
44+
* **checkbox:** 重新设计 `nz-checkbox-group` 组件,支持自定义布局 ([#8932](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8932)) ([489e0de](https://github.com/NG-ZORRO/ng-zorro-antd/commit/489e0defbfeeb03c29562d139614451575f8ed8d))
4145
* **divider:** 新增 `nzVariant` 选项 ([#8827](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8827)) ([2c63c87](https://github.com/NG-ZORRO/ng-zorro-antd/commit/2c63c87f557e2400224566342a0185d212055004))
4246
* **float-button:** 新增 float-button 组件 ([#7884](https://github.com/NG-ZORRO/ng-zorro-antd/issues/7884)) ([dab4d66](https://github.com/NG-ZORRO/ng-zorro-antd/commit/dab4d669b3ef746d1761fbb2199c1b0ae704cda5))
4347
* **icon:** 新增 `nz-icon` selector ([#8778](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8778)) ([1406241](https://github.com/NG-ZORRO/ng-zorro-antd/commit/1406241f2e636bb3bf11515b0ad68cbe0535d5e1))
@@ -61,6 +65,7 @@ timeline: true
6165
- 键分隔的多个类名或样式:使用空格分隔的多个键代替
6266
* 移除一些组件内部支持渲染 HTML 字符串的功能,因为这是非良好的模式。message,notification,modal 组件除外,因为这些组件可以通过 service 方式创建,渲染 html 字符串的用例会比较多。
6367
* 使用标准装饰器重写 `@WithConfig`。如果在库中使用了 `@WithConfig`,请在 `tsconfig.json` 中关闭 `experimentalDecorators` 选项
68+
* 组件内部写法从 `[nz-icon]` 迁移到新的 `nz-icon` 标签。如果在 CSS 中使用了 `[nz-icon]` 选择器来选择**组件内部**的图标,请使用为 `nz-icon` 替代
6469

6570
* **input-number:** 重新设计 input-number 组件,使其更加简单灵活
6671

@@ -108,6 +113,10 @@ timeline: true
108113

109114
在 v19 中,我们将移除该特性,如果您已经在代码中运用了该特性,请考虑增加一个 `map` 方法将其映射到实际的值。
110115

116+
* **checkbox** Redesign the checkbox group component.
117+
- 移除 `NzCheckBoxOptionInterface['checked]` 字段,另外 `NzCheckBoxOptionInterface` 被标记为弃用,请使用 `NzCheckboxOption` 替代
118+
- `nz-checkbox-group`: `ngModel` 类型从 `NzCheckBoxOptionInterface[]` 改为选项值的类型 `NzCheckboxOption['value'][]`
119+
111120
* **card:** 移除冗余的 `nzBorderless` 属性,使用 `nzBordered` 替代
112121
* **image:** 移除废弃的 `FADE_CLASS_NAME_MAP``IMAGE_PREVIEW_MASK_CLASS_NAME`
113122
* **pipes:** 移除废弃的 `NzSafeNullPipe`
@@ -116,6 +125,8 @@ timeline: true
116125
- `nzValueChange` 发出值的类型从 `number` 改为选项值的类型 (`string | number`
117126
- 移除 `nzLabelTemplate`, 使用 `nz-segmented-item` 指令替代
118127
* **space:** `NzSpaceComponent`` exportAs` 属性重命名为标准 `nzSpace`
128+
* **transfer:** 属性 `nzTreeCheckBoxChange` 重命名为 `nzTreeCheckboxChange`
129+
* **tree,tree-select:** 属性 `nzCheckBoxChange` 重命名为 `nzCheckboxChange`
119130

120131

121132
### Deprecations
@@ -126,6 +137,7 @@ timeline: true
126137
|-------------------------------------|----------------------------------------------------------|
127138
| `ng-zorro-antd/button` | `NzButtonGroupComponent` |
128139
| `ng-zorro-antd/core/form` | `NzFormPatchModule` |
140+
| `ng-zorro-antd/checkbox` | `NzCheckboxWrapperComponent` |
129141
| `ng-zorro-antd/input` | `NzInputGroupComponent#nzCompact` |
130142
| `ng-zorro-antd/input-number-legacy` | `*` |
131143
| `ng-zorro-antd/message` | `NzMessageModule` |

0 commit comments

Comments
 (0)