Skip to content

Releases: NG-ZORRO/ng-zorro-antd

13.3.2

25 Jun 13:40
64b7389
Compare
Choose a tag to compare

13.3.2

2022-06-26

Bug Fixes

  • input-number: fix errors before initialization (#7531) (800e6f4)

13.3.2

2022-06-26

Bug Fixes

  • input-number: 修复引入 input number 模块报错问题 (#7531) (800e6f4)

13.3.1

20 Jun 04:13
44d9770
Compare
Choose a tag to compare

13.3.1

2022-06-20

Bug Fixes

  • input, input-number, steps: fix styles in components (#7522) (222b225)

13.3.1

2022-06-20

Bug Fixes

  • input, input-number, steps: 修复组件部分场景下的样式问题 (#7522) (222b225)

13.3.0

15 Jun 12:11
59d6ef4
Compare
Choose a tag to compare

13.3.0

2022-06-15

Bug Fixes

Features


13.3.0

2022-06-15

Bug Fixes

  • icon: 修复 deleteOutline 图标缺失问题 (#7499) (ba6bade)
  • tooltip: 修复首次显示时位置不正确问题 (#7457) (23a2fd5), closes #7453
  • transfer: 修复在表单内部使用时错误触发 submit 问题 (#7413) (0cfebca), closes #7410

Features

13.2.2

12 May 10:17
ed8188a
Compare
Choose a tag to compare

13.2.2

2022-05-12

Bug Fixes

  • tree-view: trigger markforcheck after nodes changed (#7426) (a702674)

13.2.2

2022-05-12

Bug Fixes

  • tree-view: 修复虚拟滚动模式下动态添加数据未正确更新问题 (#7426) (a702674)

13.2.1

27 Apr 08:47
f09ba57
Compare
Choose a tag to compare

13.2.1

2022-04-27

Bug Fixes

  • code-editor: remove monaco-editor dependency in config.ts (#7392) (929084d)

13.2.1

2022-04-27

Bug Fixes

  • code-editor: 移除 NZ_CONFIG monaco-editor 强依赖 (#7392) (929084d)

13.2.0

26 Apr 09:41
6e5376e
Compare
Choose a tag to compare

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 or right 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 and mouseleave events are dispatched on handlers (#7313) (54386ef)
  • modal: call focus() on the next rendering frame to prevent frame drop (#7293) (106d346)
  • resizable: mark mousedown and touchstart 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

03 Mar 07:52
d8ec154
Compare
Choose a tag to compare

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

  • collapse: 修复点击无法正常展开收起问题 (#7284) (b7433a9)
  • icon: 修复 SSR 构建加载 svg icon 抛错问题 (#7290) (fe0484f), closes #7240
  • select: 修复搜索未正确匹配下拉选择项问题 (#6816) (48d2a25), closes #6812
  • upload: 修复 nzTransformFile 转换上传的文件功能未正确转换文件问题 (#7206) (b82d2f3)

13.1.0

25 Feb 08:58
071e084
Compare
Choose a tag to compare

13.1.0

2022-02-25

Bug Fixes

  • button: prevent default event fire (#7267) (2306e0d)
  • date-picker: fix z-index to auto 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 the ngModel 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

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 and touchstart 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 no nzClick listeners (#7178) (0054f59)
  • typography: do not run change detection on input and keydown events (#7185) (ad547fb)

13.1.0

2022-02-25

Bug Fixes

  • button: 修复 nzLoading 为 true 情况下仍可点击问题 (#7267) (2306e0d)
  • date-picker: 内联模式下修改 z-indexauto (#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) (...
Read more

13.0.1

19 Jan 08:05
662648c
Compare
Choose a tag to compare

13.0.1

2022-01-18

Bug Fixes

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 and blur 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: focusblur 事件在无监听情况下无需触发脏值检测 (#7182) (3e9e035)
  • steps: 未监听 nzIndexChange 事件时无需触发脏值检测 (#7183) (cbfc558)
  • transfer: checkbox 被点击无需重复触发脏值检测 (#7124) (b12f43a)

13.0.0

29 Dec 13:45
77db914
Compare
Choose a tag to compare

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] 代替。