Releases: NG-ZORRO/ng-zorro-antd
Releases · NG-ZORRO/ng-zorro-antd
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
Bug Fixes
13.1.0
13.1.0
2022-02-25
Bug Fixes
- button: prevent default event fire (#7267) (2306e0d)
- date-picker: fix
z-index
toauto
in inline mode (#7172) (26006f6) - date-picker: fix disable time when date changes (#7236) (ae67952)
- i18n: update fa-IR.ts translations (#7249) (a7a0b41)
- i18n: update pt_BR.ts translations (#7218) (95c7816)
- input: do not set box-sizing when measuring (#7214) (035dc94), closes #7203
- input: incorrect background color in disabled state (#7250) (7acb8db)
- radio: emit
false
to thengModel
whenever the radio button is deselected (#7270) (2704237) - select: fix keyboard event error when option data is empty (#7222) (4bd86ca), closes #7242
- slider: fix keydown not trigger nzOnAfterChange (#7252) (f419c07), closes #7251
Features
- alert: support nzAction for customizing actions (#7246) (eb3b1ba)
- drawer: support new apis nzSize and nzExtra (#7227) (d2e5b76)
- i18n: add
kk_KZ
to i18n (#7261) (3580fb0) - i18n: add
km_KH
(#7220) (f972391)
Performance Improvements
- auto-complete: do not run change detection when the promise resolves (#7138) (e95d941)
- back-top: do not run change detection if there are no
nzClick
listeners (#7179) (7d091bb) - carousel: do not run change detection when the timer fires (#7136) (fc991d1)
- collapse: do not run change detection if the panel is disabled (#7181) (3c3eac9)
- dropdown: do not run change detection if the dropdown has been clicked inside (#7135) (4679592)
- image: do not run change detection if there are no
containerClick
listeners (#7147) (f0f52a4) - mention: do not run change detection when the dropdown cannot be closed (#7146) (b72bd27)
- mention: do not trigger change detections if there are no event listeners (#7130) (73af728)
- resizable: do not run change detection on
mousedown
andtouchstart
events (#7170) (9a8d794) - select: do not run change detection on events if the
nz-option-item
is disabled (#7133) (a1bbdab) - select: do not run change detection unnecessarily on click events (#7175) (fd63d22)
- table: do not run change detection if the sorting is not shown (#7174) (e541761)
- table: do not unnecessarily re-enter the Angular zone (#7142) (5a5df13)
- table: spawn timers and add listener outside of the zone (#7140) (ec248c9)
- tabs: do not run change detection when the promise resolves (#7144) (148f84d)
- time-picker: do not run change detection when the timer fires (#7143) (72da774)
- tree-view: do not run change detection on click events if the
nz-tree-node-option
is disabled or there are nonzClick
listeners (#7178) (0054f59) - typography: do not run change detection on
input
andkeydown
events (#7185) (ad547fb)
13.1.0
2022-02-25
Bug Fixes
- button: 修复 nzLoading 为 true 情况下仍可点击问题 (#7267) (2306e0d)
- date-picker: 内联模式下修改
z-index
为auto
(#7172) (26006f6) - date-picker: 修复日期变化时禁用时间段未同步问题 (#7236) (ae67952)
- i18n: 修复 fa-IR.ts 翻译缺失内容 (#7249) (a7a0b41)
- i18n: 修复 pt_BR.ts 翻译缺失内容 (#7218) (95c7816)
- input: 删除 box-sizing 设置 (#7214) (035dc94), closes #7203
- input: 修复 disabled 状态下样式不正确问题 (#7250) (7acb8db)
- radio: 修复 radio 确保取消选中状态返回
false
(#7270) (2704237) - select: 修复下拉选项值为空时键盘事件报错问题 (#7222) (4bd86ca), closes #7242
- slider: 修复
keydown
事件未触发 nzOnAfterChange 问题 (#7252) (...
13.0.1
13.0.1
2022-01-18
Bug Fixes
- back-top: fix more reliable scrolling listener (#7208) (3bcd343), closes #7199
- drawer: fix close icon position without
nzTitle
property (#7176) (a6195b9), closes #7164 - icon: fix old icon element not removed (#7188) (67ac573), closes #7186
- statistic: re-enter the Angular zone when the
nzCountdownFinish
emits (#7137) (6835544) - tree-view: fix innerTrackBy function (#7150) (4484674), closes #7118
Performance Improvements
- auto-complete: memory leak (#7112) (3806250)
- cdk: resolve leak (#7139) (2a93d05)
- checkbox: reduce change detection cycles (#7127) (15abe33)
- code-editor: always initialize outside of the Angular zone (#7151) (f73be80)
- core: remove
resize
listener when the app is destroyed (#7125) (8437111) - image: unsubscribe old src (#7102) (87a3e27)
- input-number: reduce change detection cycles (#7129) (9971faa)
- modal: do not run change detection on mouse events (#7169) (c20bb80)
- modal: resolve memory leaks (#7123) (3664efe)
- graph: do not run change detection on animation frame (#7132) (1ceaf70)
- rate: do not run change detection on
focus
andblur
events if there are no output listeners (#7182) (3e9e035) - steps: do not run change detection if there are no
nzIndexChange
listeners (#7183) (cbfc558) - transfer: do not trigger change detection when the checkbox is clicked (#7124) (b12f43a)
13.0.1
2022-01-18
Bug Fixes
- back-top: 修复 scrolling listener 问题 (#7208) (3bcd343), closes #7199
- drawer: 修复
nzTitle
为空时关闭图标的位置错误问题 (#7176) (a6195b9), closes #7164 - icon: 修复切换图标未正确替换问题 (#7188) (67ac573), closes #7186
- statistic:
nzCountdownFinish
事件触发后应重新进入 ngZone (#7137) (6835544) - tree-view: 修复 trackBy 方法在虚拟滚动场景下节点异常问题 (#7150) (4484674), closes #7118
Performance Improvements
- auto-complete: 修复内存泄漏问题 (#7112) (3806250)
- cdk: 修复内存泄漏问题 (#7139) (2a93d05)
- checkbox: 减少触发脏值检测 (#7127) (15abe33)
- code-editor: 在 ngZone 外初始化提升性能 (#7151) (f73be80)
- core: 应用销毁时停止
resize
事件监听 (#7125) (8437111) - image: unsubscribe 过期的 src 源 (#7102) (87a3e27)
- input-number: 减少触发脏值检测 (#7129) (9971faa)
- modal: 鼠标事件无需触发脏值检测 (#7169) (c20bb80)
- modal: 修复内存泄漏问题 (#7123) (3664efe)
- graph: 动画执行无需触发脏值检测 (#7132) (1ceaf70)
- rate:
focus
与blur
事件在无监听情况下无需触发脏值检测 (#7182) (3e9e035) - steps: 未监听
nzIndexChange
事件时无需触发脏值检测 (#7183) (cbfc558) - transfer: checkbox 被点击无需重复触发脏值检测 (#7124) (b12f43a)
13.0.0
13.0.0
2021-12-29
Removal of View Engine Support
ng-zorro-antd@13
remove support for View Engine and use Ivy library for distribution, you will get faster building and smaller bundle size.
See Angular Ivy.
Removal of IE11 Support
- Removing IE11 support allows Angular to leverage modern browser features such as CSS variables and web animations via native web APIs
- What’s more is that apps will be smaller and load faster because we can remove IE specific polyfills and code paths
See Issue #41840.
Enhanced Performance
Fix the problems that may cause memory leak.
BREAKING CHANGES
dropdown
[nzHasBackdrop]
input value are no longer supported, please use[nzBackdrop]
instead.
13.0.0
2021-12-29
停止对 View Engine 的支持
ng-zorro-antd@13
不再支持 View Engine 并使用 Ivy 包进行分发,你将获得更快的打包速度和更小的包体积。
获取更多帮助请前往 Angular Ivy 查看。
停止对 IE11 的支持
- Angular 可以通过原生的 Web API 使用现代浏览器功能,如 CSS 变量 和 Web 动画等特性
- 移除 IE 相关的 polyfills 和代码使得应用程序更小、加载速度更快
获取更多帮助请前往 Issue #41840 查看。
性能增强
修复了多处可能造成内存泄漏的问题。
BREAKING CHANGES
dropdown
[nzHasBackdrop]
已被移除,请使用[nzBackdrop]
代替。