Releases: NG-ZORRO/ng-zorro-antd
Releases · NG-ZORRO/ng-zorro-antd
14.0.0
14.0.0
2022-08-25
Install ng-zorro-antd
$ cd PROJECT-NAME
$ ng add ng-zorro-antd@14.0.0
Bug Fixes
Features
- icon: change tag of nz-icon from
<i>
to<span>
(#7586) (7242111) - popconfirm: support async close (#7533) (797b261)
- <i nz-icon nzType="search" nzTheme="outline"></i>
+ <span nz-icon nzType="search" nzTheme="outline"></span>
BREAKING CHANGES
14.0.0
2022-08-25
安装 ng-zorro-antd
$ cd PROJECT-NAME
$ ng add ng-zorro-antd@14.0.0
Bug Fixes
Features
- icon:
nz-icon
使用方式从i
元素变更为span
元素 (#7586) (7242111) - popconfirm: 支持基于
Promise
的异步关闭 (#7533) (797b261)
- <i nz-icon nzType="search" nzTheme="outline"></i>
+ <span nz-icon nzType="search" nzTheme="outline"></span>
BREAKING CHANGES
14.0.0-beta.0
14.0.0-beta.0
2022-08-01
Not recommended for production environment
Install ng-zorro-antd
$ cd PROJECT-NAME
$ ng add ng-zorro-antd@14.0.0-beta.0
Features
- <i nz-icon nzType="search" nzTheme="outline"></i>
+ <span nz-icon nzType="search" nzTheme="outline"></span>
2022-08-01
beta
版本不建议在生产环境使用
安装 ng-zorro-antd
$ cd PROJECT-NAME
$ ng add ng-zorro-antd@14.0.0-beta.0
Features
- <i nz-icon nzType="search" nzTheme="outline"></i>
+ <span nz-icon nzType="search" nzTheme="outline"></span>
13.4.0
13.4.0
2022-07-25
Bug Fixes
- datepicker: focus input when opened programmatically (#7512) (b3a27d8)
- transfer: uncheck "Select all" checkbox when filtered items are moved (#7419) (1e9c11e)
Features
- notification: support top and bottom placement (#7540) (d8b26dd)
- anchor: sync new properties (#7494) (254b429)
- badge: support size (#7405) (f40dd38)
- date-picker: support date-picker placement (#7527) (a652470)
- input-number: add borderless support (#7539) (ea1138b)
- switch: add nzId input (#6815) (4c71bdb)
- time-picker: support borderless (#7547) (a8c3f95)
Performance Improvements
13.4.0
2022-07-25
Bug Fixes
Features
- notification: 支持指定位置弹出 (#7540) (d8b26dd)
- anchor: 支持设置滚动偏移量等功能 (#7494) (254b429)
- badge: 支持设置
nzSize
属性 (#7405) (f40dd38) - date-picker: 支持指定弹出位置 (#7527) (a652470)
- input-number: 支持无边框模式 (#7539) (ea1138b)
- switch: 添加
nzId
属性指定内部元素 id (#6815) (4c71bdb) - time-picker: 支持无边框模式 (#7547) (a8c3f95)
Performance Improvements
13.3.2
13.3.1
13.3.0
13.3.0
2022-06-15
Bug Fixes
- icon: add missing zorro used icon: deleteOutline (#7499) (ba6bade)
- tooltip: is not aligned on first display (#7457) (23a2fd5), closes #7453
- transfer:
submit
behavior for button inside form (#7413) (0cfebca), closes #7410
Features
- cascader: support setting status (#7452) (e10908e)
- date-picker: support setting status (#7479) (c3d0874)
- form: make form work with status (#7489) (98ac620)
- input-number: support input number group (#7488) (b038fa2)
- input-number: support setting status (#7462) (0c9287a)
- input: support setting status (#7472) (999215e)
- mentions: support setting status (#7467) (ac38b2d)
- segmented: implement new component (#7404) (95a31da)
- select: support setting status (#7478) (44b7fe0)
- time-picker: support setting status (#7473) (0d8249b)
- transfer: support setting status (#7475) (9b98fe1)
- tree-select: add status (#7477) (40815ad)
13.3.0
2022-06-15
Bug Fixes
- icon: 修复 deleteOutline 图标缺失问题 (#7499) (ba6bade)
- tooltip: 修复首次显示时位置不正确问题 (#7457) (23a2fd5), closes #7453
- transfer: 修复在表单内部使用时错误触发
submit
问题 (#7413) (0cfebca), closes #7410
Features
- cascader: 支持设置校验状态 (#7452) (e10908e)
- date-picker: 支持设置校验状态 (#7479) (c3d0874)
- form: 支持根据表单状态设置子组件校验状态 (#7489) (98ac620)
- input-number: 支持数字输入框前缀后缀组合 (#7488) (b038fa2)
- input-number: 支持设置校验状态 (#7462) (0c9287a)
- input: 支持设置校验状态 (#7472) (999215e)
- mentions: 支持设置校验状态 (#7467) (ac38b2d)
- segmented: 新增分段控制器组件 (#7404) (95a31da)
- select: 支持设置校验状态 (#7478) (44b7fe0)
- time-picker: 支持设置校验状态 (#7473) (0d8249b)
- transfer: 支持设置校验状态 (#7475) (9b98fe1)
- tree-select: 支持设置校验状态 (#7477) (40815ad)
13.2.2
13.2.1
13.2.0
13.2.0
2022-04-26
Bug Fixes
- carousel: fix nzAfterChange callback value not correctly (#7326) (b517bd4), closes #7323
- cascader: fix the problem of disappearing drop-down menu (#7381) (3d41ce0)
- cascader: update position when click menu item (#7306) (4c669a5)
- i18n: update fr translations (#7364) (64e1c7c)
- list: re-enter the Angular zone when the
NgZone.onStable
emits (#7314) (425f8df) - modal: no longer trigger any action when closing (#7336) (d169452)
- popconfirm: reverting missing nzPopconfirmVisibleChange (#7338) (561041c)
- upload: fix upload drag drop will open new tab in firefox 91 and 92 (#7190) (9b51874)
Features
- code-editor: add global configuration to support monaco require config (#7121) (21ec517)
- code-editor: support MonacoEnvironment config in NZ_CONFIG (#7359) (4dfd9cd), closes #6502
- image: nz-image add press
left
orright
to switch image (#7321) (b5f82b5) - input-number: add
nzReadOnly
property (#7372) (0da7496), closes #7369
Performance Improvements
- anchor: mark
scroll
listener as passive (#7330) (aab060f) - back-top: mark
scroll
listener as passive (#7329) (7f3c4e1) - cascader: do not run change detection on
change
event (#7312) (cb803f9) - image: do not run change detection when the image preview is clicked (#7309) (752a5b6)
- input-number: do not run change detection when
mouseup
andmouseleave
events are dispatched on handlers (#7313) (54386ef) - modal: call
focus()
on the next rendering frame to prevent frame drop (#7293) (106d346) - resizable: mark
mousedown
andtouchstart
listeners as passive (#7331) (518997b) - tree-view: do not run change detection when the
nz-tree-node-checkbox
is clicked (#7307) (1e0872b)
13.2.0
2022-04-26
Bug Fixes
- carousel: 修复
nzAfterChange
回调未正确触发问题 (#7326) (b517bd4), closes #7323 - cascader: 修复
hover
模式选项框无法错误隐藏问题 (#7381) (3d41ce0) - cascader: 修复选项框超出区域被遮挡问题 (#7306) (4c669a5)
- i18n: 修复部分翻译缺失问题 (#7364) (64e1c7c)
- list: 修复
NgZone.onStable
事件后未正确触发脏值检测问题 (#7314) (425f8df) - modal: 关闭弹窗过程中忽略点击确认取消按钮行为 (#7336) (d169452)
- popconfirm: 修复
nzPopconfirmVisibleChange
未触发问题 (#7338) (561041c) - upload: 修复在 Firefox 91/92 版本中拖拽文件会打开新页面问题 (#7190) (9b51874)
Features
- code-editor: 支持设置自定义配置以支持 monaco editor 配置 (#7121) (21ec517)
- code-editor: 支持在
NZ_CONFIG
定义window.MonacoEnvironment
(#7359) (4dfd9cd), closes #6502 - image: 支持点击键盘左右方向键切换图片 (#7321) (b5f82b5)
- input-number: 增加
nzReadOnly
属性支持只读方式 (#7372) (0da7496), closes #7369
Performance Improvements
- anchor: 使用
passive
改善的滚屏性能 (#7330) (aab060f) - back-top: 使用
passive
改善的滚屏性能 (#7329) (7f3c4e1) - cascader: 减少触发不必要的脏值检测 (#7312) (cb803f9)
- image: 减少触发不必要的脏值检测 (#7309) (752a5b6)
- input-number: 减少触发不必要的脏值检测 (#7313) (54386ef)
- modal: 优化在不同设备上渲染帧率效果 (#7293) (106d346)
- resizable: 使用
passive
改善性能 (#7331) (518997b) - tree-view: 减少触发不必要的脏值检测 (#7307) (1e0872b)
13.1.1
13.1.1
2022-03-03
Bug Fixes
- collapse: markForCheck after collapse title clicked (#7284) (b7433a9)
- icon: do not try to load SVG on the Node.js side since it will throw an error (#7290) (fe0484f), closes #7240
- select: exact match while searching should be active (#6816) (48d2a25), closes #6812
- upload: fix the problem that the transformed file is lost (#7206) (b82d2f3)
13.1.1
2022-03-03