Skip to content

Commit

Permalink
chore(changelog): update changelog for v19.0.0-beta.1 (#8942)
Browse files Browse the repository at this point in the history
  • Loading branch information
Laffery authored Dec 17, 2024
1 parent 2c7f49a commit 5ffa099
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,22 @@
* **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))
* **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))
* **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))
* **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))


### Code Refactoring

* 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))
* 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))
* **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))
* **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))


### Features

* **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))
* **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))
* **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))
* **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))
* **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))
* **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))
Expand All @@ -45,6 +49,7 @@
- Keys which multiple styles/classes separated with keys: split a key with spaces into multiple keys
* Cancel support for HTML string rendering
* Migrate `@WithConfig` to standard decorator. If you're using `@WithConfig` in your library, please turn `experimentalDecorators` off in `tsconfig.json`
* 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

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

Expand Down Expand Up @@ -92,6 +97,10 @@

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.

* **checkbox** Redesign the checkbox group component.
- Remove `NzCheckBoxOptionInterface['checked]` field. By the way, `NzCheckBoxOptionInterface` is marked as deprecated, use `NzCheckboxOption` instead
- `nz-checkbox-group`: Type of `ngModel` is changed from `NzCheckBoxOptionInterface[]` to `NzCheckboxOption['value'][]`

* **card:** Remove redundant `nzBorderless` input property. Use `nzBordered` instead.
* **image:** Remove deprecated `FADE_CLASS_NAME_MAP` and `IMAGE_PREVIEW_MASK_CLASS_NAME`
* **pipes:** Remove deprecated `NzSafeNullPipe`
Expand All @@ -100,6 +109,8 @@
- Change emission type of `nzValueChange` from `number` to option's value type (`string | number`)
- Remove `nzLabelTemplate`, use `nz-segmented-item` directive instead
* **space:** Rename `exportAs` of `NzSpaceComponent` from `NzSpace` to standard `nzSpace`
* **transfer:** Rename `nzTreeCheckBoxChange` to `nzTreeCheckboxChange`
* **tree,tree-select:** Rename `nzCheckBoxChange` to `nzCheckboxChange`


### Deprecations
Expand All @@ -111,6 +122,7 @@ Please refer to related documentation for better alternatives.
|-------------------------------------|----------------------------------------------------------|
| `ng-zorro-antd/button` | `NzButtonGroupComponent` |
| `ng-zorro-antd/core/form` | `NzFormPatchModule` |
| `ng-zorro-antd/checkbox` | `NzCheckboxWrapperComponent` |
| `ng-zorro-antd/input` | `NzInputGroupComponent#nzCompact` |
| `ng-zorro-antd/input-number-legacy` | `*` |
| `ng-zorro-antd/message` | `NzMessageModule` |
Expand Down
12 changes: 12 additions & 0 deletions docs/changelog.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,22 @@ timeline: true
* **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))
* **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))
* **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))
* **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))


### Code Refactoring

* 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))
* 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))
* **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))
* **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))


### Features

* **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))
* **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))
* **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))
* **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))
* **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))
* **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))
Expand All @@ -61,6 +65,7 @@ timeline: true
- Keys which multiple styles/classes separated with keys: split a key with spaces into multiple keys
* Cancel support for HTML string rendering
* Migrate `@WithConfig` to standard decorator. If you're using `@WithConfig` in your library, please turn `experimentalDecorators` off in `tsconfig.json`
* 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

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

Expand Down Expand Up @@ -108,6 +113,10 @@ timeline: true

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.

* **checkbox** Redesign the checkbox group component.
- Remove `NzCheckBoxOptionInterface['checked]` field. By the way, `NzCheckBoxOptionInterface` is marked as deprecated, use `NzCheckboxOption` instead
- `nz-checkbox-group`: Type of `ngModel` is changed from `NzCheckBoxOptionInterface[]` to `NzCheckboxOption['value'][]`

* **card:** Remove redundant `nzBorderless` input property. Use `nzBordered` instead.
* **image:** Remove deprecated `FADE_CLASS_NAME_MAP` and `IMAGE_PREVIEW_MASK_CLASS_NAME`
* **pipes:** Remove deprecated `NzSafeNullPipe`
Expand All @@ -116,6 +125,8 @@ timeline: true
- Change emission type of `nzValueChange` from `number` to option's value type (`string | number`)
- Remove `nzLabelTemplate`, use `nz-segmented-item` directive instead
* **space:** Rename `exportAs` of `NzSpaceComponent` from `NzSpace` to standard `nzSpace`
* **transfer:** Rename `nzTreeCheckBoxChange` to `nzTreeCheckboxChange`
* **tree,tree-select:** Rename `nzCheckBoxChange` to `nzCheckboxChange`


### Deprecations
Expand All @@ -127,6 +138,7 @@ Please refer to related documentation for better alternatives.
|-------------------------------------|----------------------------------------------------------|
| `ng-zorro-antd/button` | `NzButtonGroupComponent` |
| `ng-zorro-antd/core/form` | `NzFormPatchModule` |
| `ng-zorro-antd/checkbox` | `NzCheckboxWrapperComponent` |
| `ng-zorro-antd/input` | `NzInputGroupComponent#nzCompact` |
| `ng-zorro-antd/input-number-legacy` | `*` |
| `ng-zorro-antd/message` | `NzMessageModule` |
Expand Down
12 changes: 12 additions & 0 deletions docs/changelog.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,22 @@ timeline: true
* **cascader:** 取消选择时收起子选项列 ([#8866](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8866)) ([5fec53e](https://github.com/NG-ZORRO/ng-zorro-antd/commit/5fec53e597d50a26a1083bb1e726af885ba807ae))
* **drawer:** 打开时清除之前 focus 的元素 ([#8893](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8893)) ([4498af0](https://github.com/NG-ZORRO/ng-zorro-antd/commit/4498af0f1a8c700099e82f4027bec30086f6d29a))
* **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))
* **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))


### Code Refactoring

* 取消支持渲染 HTML 字符串 ([#8831](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8831)) ([5fae01a](https://github.com/NG-ZORRO/ng-zorro-antd/commit/5fae01ad4120841390f7ebb6267a043774ea2266))
* 移除 `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))
* **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))
* **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))


### Features

* **cascader:** 支持多选 ([#8903](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8903)) ([e5dfb49](https://github.com/NG-ZORRO/ng-zorro-antd/commit/e5dfb495dc4f9e5493e425aeab3802a13a0f5e28))
* **cascader:** 支持 `nzPlacement` 自定义浮层弹出位置 ([#8935](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8935)) ([6fbd22c](https://github.com/NG-ZORRO/ng-zorro-antd/commit/6fbd22c5b38b78cc991bb61446acbea635f30797))
* **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))
* **divider:** 新增 `nzVariant` 选项 ([#8827](https://github.com/NG-ZORRO/ng-zorro-antd/issues/8827)) ([2c63c87](https://github.com/NG-ZORRO/ng-zorro-antd/commit/2c63c87f557e2400224566342a0185d212055004))
* **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))
* **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))
Expand All @@ -61,6 +65,7 @@ timeline: true
- 键分隔的多个类名或样式:使用空格分隔的多个键代替
* 移除一些组件内部支持渲染 HTML 字符串的功能,因为这是非良好的模式。message,notification,modal 组件除外,因为这些组件可以通过 service 方式创建,渲染 html 字符串的用例会比较多。
* 使用标准装饰器重写 `@WithConfig`。如果在库中使用了 `@WithConfig`,请在 `tsconfig.json` 中关闭 `experimentalDecorators` 选项
* 组件内部写法从 `[nz-icon]` 迁移到新的 `nz-icon` 标签。如果在 CSS 中使用了 `[nz-icon]` 选择器来选择**组件内部**的图标,请使用为 `nz-icon` 替代

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

Expand Down Expand Up @@ -108,6 +113,10 @@ timeline: true

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

* **checkbox** Redesign the checkbox group component.
- 移除 `NzCheckBoxOptionInterface['checked]` 字段,另外 `NzCheckBoxOptionInterface` 被标记为弃用,请使用 `NzCheckboxOption` 替代
- `nz-checkbox-group`: `ngModel` 类型从 `NzCheckBoxOptionInterface[]` 改为选项值的类型 `NzCheckboxOption['value'][]`

* **card:** 移除冗余的 `nzBorderless` 属性,使用 `nzBordered` 替代
* **image:** 移除废弃的 `FADE_CLASS_NAME_MAP``IMAGE_PREVIEW_MASK_CLASS_NAME`
* **pipes:** 移除废弃的 `NzSafeNullPipe`
Expand All @@ -116,6 +125,8 @@ timeline: true
- `nzValueChange` 发出值的类型从 `number` 改为选项值的类型 (`string | number`
- 移除 `nzLabelTemplate`, 使用 `nz-segmented-item` 指令替代
* **space:** `NzSpaceComponent`` exportAs` 属性重命名为标准 `nzSpace`
* **transfer:** 属性 `nzTreeCheckBoxChange` 重命名为 `nzTreeCheckboxChange`
* **tree,tree-select:** 属性 `nzCheckBoxChange` 重命名为 `nzCheckboxChange`


### Deprecations
Expand All @@ -126,6 +137,7 @@ timeline: true
|-------------------------------------|----------------------------------------------------------|
| `ng-zorro-antd/button` | `NzButtonGroupComponent` |
| `ng-zorro-antd/core/form` | `NzFormPatchModule` |
| `ng-zorro-antd/checkbox` | `NzCheckboxWrapperComponent` |
| `ng-zorro-antd/input` | `NzInputGroupComponent#nzCompact` |
| `ng-zorro-antd/input-number-legacy` | `*` |
| `ng-zorro-antd/message` | `NzMessageModule` |
Expand Down

0 comments on commit 5ffa099

Please sign in to comment.