github NG-ZORRO/ng-zorro-antd 19.0.0-beta.1

pre-releaseone day ago

Entire changelog of 19.0.0 can be seen here (English|中文)

19.0.0-beta.1

2024-12-17

Bug Fixes

  • cascader: abnormal width of search results (#8937) (c6aa501)
  • cascader: should change check state trigger ngModelChange (#8941) (2c7f49a)
  • input-number: skip first setDisabledState when use with ngModel (#8933) (8b24746)
  • input-number: value out of range when hold shift key (#8936) (a8efd2b)
  • select: multiple selection don't show search input (#8929) (ef4bbb1)
  • tree-view: nzTreeNodePadding not works in virtual scroll (#8920) (82b660a)

Features

BREAKING CHANGES

  • All 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

  • 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'][]
  • transfer: Rename nzTreeCheckBoxChange to nzTreeCheckboxChange

  • tree,tree-select: Rename nzCheckBoxChange to nzCheckboxChange

Deprecations

The following APIs are marked as deprecated in v19 and will be removed in the next major version.
Please refer to related documentation for better alternatives.

Module API
ng-zorro-antd/checkbox NzCheckboxWrapperComponent

19.0.0-beta.1

2024-12-17

Bug Fixes

  • cascader: 修复搜索下拉框宽度异常的问题 (#8937) (c6aa501)
  • cascader: 修复多选模式下 checkbox 状态改变时未触法 ngModelChange 的问题 (#8941) (2c7f49a)
  • input-number: 使用 ngModel 时跳过第一次 setDisabledState 调用 (#8933) (8b24746)
  • input-number: 修复按键改变值时值超出上下限的问题 (#8936) (a8efd2b)
  • select: 多选模式下输入框不展示的问题 (#8929) (ef4bbb1)
  • tree-view: 修复 nzTreeNodePadding 在虚拟滚动中不生效问题 (#8920) (82b660a)

Features

  • cascader: 支持 nzPlacement 自定义浮层弹出位置 (#8935) (6fbd22c)
  • checkbox: 重新设计 nz-checkbox-group 组件,支持自定义布局 (#8932) (489e0de)

BREAKING CHANGES

  • All 组件内部写法从 [nz-icon] 迁移到新的 nz-icon 标签。如果在 CSS 中使用了 [nz-icon] 选择器来选择组件内部的图标,请使用为 nz-icon 替代

  • checkbox Redesign the checkbox group component.

    • 移除 NzCheckBoxOptionInterface['checked] 字段,另外 NzCheckBoxOptionInterface 被标记为弃用,请使用 NzCheckboxOption 替代
    • nz-checkbox-group: ngModel 类型从 NzCheckBoxOptionInterface[] 改为选项值的类型 NzCheckboxOption['value'][]
  • transfer: 属性 nzTreeCheckBoxChange 重命名为 nzTreeCheckboxChange

  • tree,tree-select: 属性 nzCheckBoxChange 重命名为 nzCheckboxChange

Deprecations

在 v19 中,以下 API 被标记为 deprecated,并将在下一个主要版本中移除。 请参考相关文档以获取更好的替代方案。

Module API
ng-zorro-antd/checkbox NzCheckboxWrapperComponent

Don't miss a new ng-zorro-antd release

NewReleases is sending notifications on new releases.