Skip to content

11.0.0

Compare
Choose a tag to compare
@cipchk cipchk released this 22 Dec 08:01
· 705 commits to master since this release
9a17984

NG-ALAIN 11.0.0

If you are above version 10, 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 ng-alain

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.

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

Bug Fixes

  • sf: fix invalid empty value of pathValue property (#1099) (dad5ed0)
  • util:time: fix invalid format toDate (#1093) (3b97fc3)
  • util:array: fix non-empty root parent id value should be return empty array (#1084) (95c0946)

Features

  • cli: Use source-map-explorer instead of webpack-bundle-analyzer (#1091) (30a3dc9)
  • cli:module: feat auto import routing module to top routing module (#1100) (da46d3c)
  • form:textarea: add change, focus, blur events (#1096) (8ae609c)
  • module:theme: adding French locale (#1094) (b20259a)
  • sf: Allow use of setVisible method (#1098) (fb46405)
  • sf:select: add searchDebounceTime property (#1097) (0fa1e70)
  • theme: add layout-default, layout-blank, setting-drawer, theme-btn theme components (#1101) (9703641)
  • abc:pdf: add pdf components (#1086) (2882a52)
  • abc:xlsx: support utf8 file format (#1088) (59ff03b)

NG-ALAIN 11.0.0

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

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

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

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

Bug Fixes

  • sf: 修复空值时 pathValue 属性返回整个表单数据 (#1099) (dad5ed0)
  • util:time: 修复 toDate 时间戳与格式字符串冲突 (#1093) (3b97fc3)
  • util:array: 修复非空根编号时总是返回空数组 (#1084) (95c0946)

Features

  • cli: 使用 source-map-explorer 替代 webpack-bundle-analyzer (#1091) (30a3dc9)
  • cli:module: 新增 ng g ng-alain:module 时自动导入路由模块 (#1100) (da46d3c)
  • form:textarea: 新增 change, focus, blur 事件 (#1096) (8ae609c)
  • module:theme: 新增法语 (#1094) (b20259a)
  • sf: 新增小部件属性的 setVisible 方法,用于控制显示与隐藏 (#1098) (fb46405)
  • sf:select: 新增 searchDebounceTime 属性 (#1097) (0fa1e70)
  • theme 新增 layout-defaultlayout-blanksetting-drawertheme-btn 主题组件 (#1101) (9703641)
  • abc:pdf: 新增 pdf 组件 (#1086) (2882a52)
  • abc:xlsx: 新增支持 utf8 文件格式 (#1088) (59ff03b)