Navigation Menu

Skip to content

Releases: NG-ZORRO/ng-zorro-antd

11.4.0

08 Apr 11:08
d10fcc7
Compare
Choose a tag to compare

11.4.0

2021-04-08

Bug Fixes

Features


Bug Fixes

  • table: 修复 nzFrontPaginationfalse 时排序和筛选的问题 (#6547) (097cb6c), closes #5457
  • date-picker: 修复 Tab 失去焦点没有关闭的问题 (#6571) (21ded3f), closes #5844
  • drawer: 修复内容在打开之前被挂载的问题 (#6581) (ac50a7b), closes #6381 #6534
  • space: 修复 nz-space-item 的弃用警告 (#6549) (#6561) (f80a5bb)
  • tabs: 使 nz-tab-link 移除图标可点击 (#6563) (3a68c10)
  • tabs: 修复初始化后没有滚动到选中的标签的问题 (#6580) (4ddd8fb), closes #6579

Features

11.3.0

23 Mar 05:25
bc0e468
Compare
Choose a tag to compare

2021-03-23

Bug Fixes

Features

Deprecated

  • space: nz-space-item in nz-space will be removed in 12.0.0, please use *nzSpaceItem instead.

Bug Fixes

  • mention: 插入建议时保留空白 (#6505) (d5ed97e), closes #6175
  • tooltip: 修复 nzTooltipTrigger 改变时没有侦测变化的问题 (#6470) (e8e7dc3), closes #6469
  • dropdown: 修复动画失效的问题 (#6143) (70da5a2), closes #6018
  • pagination: 修复 NzPaginationItemComponent 中的类名问题 (#6485) (0e326e7)
  • date-picker,core,i18n: 使用 es module 来引入 date-fns (#6524) (fb4eeae)
  • descriptions: 修复在 vertical 布局下的 DOM 结构问题 (#6513) (ef0f3a5)
  • modal: 修复 nzFooter 错误赋值的问题(#6468) (85ea273), closes #6467
  • rate: 修复 nzCount 的无效类型 (#6457) (4d28a60)
  • space: 补全需要导出的类 (#6521) (e0073e4)
  • table: 修复虚拟滚动下的边框样式问题 (#6493) (c2f44be)
  • tooltip:nzTooltipTrigger 为空时保持显示 (#6489) (0de0e6f)

Features

Deprecated

  • space: 在 nz-space 中的 nz-space-item 将会在 12.0.0 移除, 请使用 *nzSpaceItem 代替。

11.2.0

26 Feb 13:17
3c6b688
Compare
Choose a tag to compare

2021-02-26

Bug Fixes

Features

  • date-picker: add nzInline property (#6436) (4d80873)
  • grid: nzGutter support string type (#6450) (ec03c7f)
  • time-picker: support updating OK and Now button text (#6410) (ef3af58)
  • time-picker,select,tree-select: support nzId (#6379) (85d423d)

Performance Improvements


Bug Fixes

Features

Performance Improvements

11.1.0

25 Jan 06:09
2200adc
Compare
Choose a tag to compare

2021-01-22

Bug Fixes

Features


Bug Fixes

Features

11.0.2

18 Jan 06:36
8233dc4
Compare
Choose a tag to compare

Bug Fixes


Bug Fixes

11.0.1

31 Dec 12:20
a2cc9a7
Compare
Choose a tag to compare

Bug Fixes


Bug Fixes

  • carousel: 修复样式问题 (#6269) (3a70a2d)
  • collapse: 修复动画不能关闭的问题 (#6280) (16fa890)
  • image: 添加未引用的模块 (#6273) (20db5d4), closes #6271
  • image: 修复拖拽释放后图片尺寸适应的问题 (#6262) (07ae66a)
  • modal: 修复遮罩层 nzZindex 与弹窗不一致的问题 (#6294) (54d294a), closes #6288
  • select: 调整清除图标和箭头图标的 DOM 顺序 (#6245) (c822073), closes #5989
  • slider: 修复 nzReverse 的样式问题 (#6006) (fa06415)
  • table: 修复 pagination 存在时数据没有更新的问题 (#6298) (1f2ab41), closes #6272
  • tabs: 修复 a 标签可点击范围的问题 (#6278) (0694079)
  • tabs: 启用 nzLinkRouter 时 index 只应由路由事件改变 (#6293) (ca1b861)

11.0.0

21 Dec 13:09
bce334d
Compare
Choose a tag to compare

NG-ZORRO 11.0.0

Let us welcome NG-ZORRO V11. It has been around two months when we published our last major version (V10). During this period, we have been actively categorizing and handling our community's issues including merging 140+ PR, closing 200+ issues and support Angular 11. In our NG-ZORRO V11, we introduce new components called Graph, Image and TreeView, and support new Angular Locale internationalization integration strategy, RTL displaying direction and new Aliyun theme.

All you need to do is to run the following command in order to experience all new features mentioned above.

ng update @angular/core @angular/cli ng-zorro-antd

Deprecated APIs have gave users warnings in 10.X dev mode. If you have already followed the warnings to modify your codes, there are no extra actions for you to take for this upgrade.

Highlights

RTL Support

Thanks to community contributors like @saeedrahimi @hdm91 @HDaghash @hmdnikoo, we now support RTL.
image

New Graph experimental component

Support customized multi-level graph rendering.
image

New Image component

Used to handle progressive loading of images; failure fallback, and preview of image(s). Thanks to @stygian-desolator 's contribution.
image

New Tree View component

The previous Tree already contains many common features, and to handle more customizable scenarios we developed a more basic Tree View component with higher ability of customization and better control over performance.
lALPD3IrtMlMqvbNAjDNBQY_1286_560 png_720x720g

New built-in Aliyun theme

image

If you encounter problems please go to NG-ZORRO V11 Upgrade Guide for feedback.

CHANGE LOG

Bug Fixes

Features

BREAKING CHANGES

date-picker

  • [nzMode] does not support NzDateMode[] type any more, please adjust it manually.

modal

  • [nzGetContainer] has been removed, please remove it manually.
  • open method in NzModalRef has been removed, please remove it manually.

tabs

  • [nzShowPagination] input has been removed, please remove it manually.
  • (nzOnPrevClick) output has been removed, please remove it manually.
  • (nzOnNextClick) output has been removed, please remove it manually.
  • a[nz-tab-link] selector has been removed, please use ng-template[nzTabLink] > a[nz-tab-link] instead.

NG-ZORRO 11.0.0

欢迎来到 NG-ZORRO V11 版本,距离上一次主版本(V10)发布已经过去了 2 个多月,在此期间我们对社区关心的问题进行了分类和集中处理,一共完成了 140+ PR 的合并,关闭了 200+ issues,并且支持了 Angular 11。在 NG-ZORRO 11 中
新增加了 Graph、Image、TreeView 组件,支持了与新的 Angular Locale 国际化集成方案、 RTL 展示方式与内置阿里云主题。

只需运行以下命令就可以完成全部升级工作,获得以上介绍的所有新特性与改进。

ng update @angular/core @angular/cli ng-zorro-antd

弃用的 API 已经在 10.x 开发环境中给出了警告提醒,如果你之前已经根据告警信息修改了代码,那么升级到 11.0.0 版本不需要有任何额外操作。

发布摘要

支持 RTL

感谢 @saeedrahimi @hdm91 @HDaghash @hmdnikoo 等社区贡献者的贡献,我们现在支持了 RTL。
image

新增 Graph 实验性组件

支持自定义的多层级的图(Graph)渲染。
image

新增 Image 组件

可用于处理图片的渐进加载,加载失败占位符,以及图文内容中的图片(多张)预览。感谢 @stygian-desolator 同学的贡献。
image

新增 Tree View 组件

原有的 Tree 已经包含了许多常用的功能,为了处理更多定制性更高的场景我们开发了更基础的 Tree View 组件,具有更高的定制度并且能够更好的控制性能。
lALPD3IrtMlMqvbNAjDNBQY_1286_560 png_720x720g

新增内置 Aliyun 主题

image

如果升级中遇到问题请前往 NG-ZORRO V11 Upgrade Guide 反馈。

CHANGE LOG

Bug Fixes

Read more

10.2.2

16 Dec 05:09
89df259
Compare
Choose a tag to compare

2020-12-16

Bug Fixes

  • button: only warn about deprecated value when used (#6205) closes #6191, #6187

10.2.1

21 Dec 12:25
662dc49
Compare
Choose a tag to compare

2020-12-11

Bug Fixes


Bug Fixes

  • date-picker,time-picker: 阻止输入框失焦 (#6171) (a055905), closes #6170
  • description: 修复 label 冒号的问题 (#6155) (47065f6), closes #6151
  • mention: 修复键盘导航时没有滚动跟随的问题 (#6137) (13f2281), closes #5995
  • modal: 添加 nzOkDanger 以修复危险按钮样式 (#6157) (f22024e), closes #6111
  • select: 修复没有默认激活第一个选项的问题 (#6148) (a456c93), closes #6041
  • table: 修复配置 nzHideOnSinglePage 时的样式问题 (#6133) (fbe13c2), closes #6080
  • tabs: 修复在额外区域里触发键盘导航的问题 (#6173) (375366f), closes #6139
  • transfer: 修复 nzRenderList 过滤数据的问题 (#6169) (17d43fb), closes #5641

10.2.0

01 Dec 07:45
6f262e4
Compare
Choose a tag to compare

2020-12-01

Bug Fixes

Features

Deprecated

  • modal
    • Usage <ng-content></ng-content> is deprecated, which will be removed in 12.0.0. Please instead use <ng-template nzModalContent></ng-template> to declare the content of the modal.
  • drawer
    • Usage <ng-content></ng-content> is deprecated, which will be removed in 12.0.0. Please instead use <ng-template nzDrawerContent></ng-template> to declare the content of the drawer.

Bug Fixes

  • cascader: 修复取消搜索时没有恢复值的问题 (#6088) (22ddc60)
  • cascader: 修复没有滚动到选中选项的问题 (#6082) (b42b51f), closes #6037
  • date-picker: 修复错误输入在关闭时没有清除的问题 (#6079) (edffdee), closes #6070
  • date-picker: 修复切换 nzMode 的问题 (#6125) (220a590), closes #6052
  • descriptions: 修复 DOM 结构 (#6112) (5e42d71)
  • tree: 修复缩进连接线的样式问题 (#6123) (2f8edbc)
  • tree-select: 修复选择器不能被聚焦的问题(#6073) (032bd01), closes #6063
  • upload: 修复 button 触发 submit 的问题 (#6096) (123982f), closes #6095

Features

Deprecated

  • modal
    • <ng-content></ng-content> 用法已经被弃用, 将会在 12.0.0 版本中移除。 请使用 <ng-template nzModalContent></ng-template> 代替声明 modal 的内容。
  • drawer
    • <ng-content></ng-content> 用法已经被弃用, 将会在 12.0.0 版本中移除。 请使用 <ng-template nzDrawerContent></ng-template> 代替声明 drawer 的内容。