github NG-ZORRO/ng-zorro-antd 11.0.0

latest releases: 18.2.0, 18.1.1, 18.1.0...
3 years ago

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

Features

BREAKING CHANGES

date-picker

  • [nzMode] 不再支持 NzDateMode[] 类型, 请手动删除。

modal

  • [nzGetContainer] 已移除,请手动删除。
  • NzModalRef 里的 open 已移除,请手动删除。

tabs

  • [nzShowPagination] input 已移除,请手动删除。
  • (nzOnPrevClick) output 已移除,请手动删除。
  • (nzOnNextClick) output 已移除,请手动删除。
  • a[nz-tab-link] selector 已移除,请使用 ng-template[nzTabLink] > a[nz-tab-link]

Don't miss a new ng-zorro-antd release

NewReleases is sending notifications on new releases.