Skip to content

Releases: NG-ZORRO/ng-zorro-antd

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 的内容。

10.1.2

16 Nov 12:35
3204927
Compare
Choose a tag to compare

10.1.2

2020-11-16

Bug Fixes


Bug Fixes

10.1.1

09 Nov 15:01
679be27
Compare
Choose a tag to compare

10.1.1 (2020-11-09)

Bug Fixes


Bug Fixes

10.1.0

30 Oct 13:00
b36e22c
Compare
Choose a tag to compare

Bug Fixes

Features


Bug Fixes

Features