Skip to content

10.0.0

Compare
Choose a tag to compare
@cipchk cipchk released this 29 Sep 08:00
· 754 commits to master since this release
889c1f0

Please refer to NG-ALAIN v10 upgrade guide

Scaffold

  • package.json use ng-alain-plugin-theme instand of scripts/themes.js (#1815) (4b7b7e8)
  • default.interceptor.ts add refresh token by TokenService.refresh interface TokenService.refresh (#1788) (dcc6149)

Bug Fixes

  • abc:reuse-tab: fix remove tab when reuse is false (#1021) (e9f8ead)
  • abc:sidebar-nav: fix space to avoid scroll (#1046) (7efa241)
  • abc:st: fix width can't be reset when refresh group columns (#1027) (6f86d8d)
  • abc:st: fix reset pi is 1 when confirm filter (#1020) (9fa5de3)
  • cli: fix lose </div> in index.html (#1030) (a64f9ef)
  • form:object: fix misalignment (#1037) (ed24223)
  • form:radio: fix can't disabled item (#1033) (94998e1)
  • form:widget:string: fix autofocus compatibility (#1028) (3f033c5)
  • mock: show params in log (#1017) (3d01921)
  • theme:http: fix ingored value handling when params is HttpParams type (#1016) (47ff3c3)
  • theme:menu: fix processed logically of setItem method (#1044) (120f425)

Features

Remove all deprecation items declared in 9.x, including the following:

Package Component Deprecation
@delon/chart tag-cloud Date item x, category
@delon/chart timeline Date item x
@delon/util lazy LazyResult.loaded

升级请参考 NG-ALAIN v10 升级指南

脚手架

  • package.json 使用 ng-alain-plugin-theme 替代 scripts/themes.js (#1815) (4b7b7e8)
  • default.interceptor.ts 新增利用 TokenService.refresh 事件来刷新 Token (#1788) (dcc6149)

Bug Fixes

  • abc:reuse-tab: 修复路由参数设置 reuse: false 时无法移除标签 (#1021) (e9f8ead)
  • abc:sidebar-nav: 修复收缩下可能会引起子菜单遮蔽 (#1046) (7efa241)
  • abc:st: 修复无法刷新 width (#1027) (6f86d8d)
  • abc:st: 修复筛选时应重置 pi 值 (#1020) (9fa5de3)
  • cli: 修复 index.html 丢失 </div> (#1030) (a64f9ef)
  • form:object: 修复错位 (#1037) (ed24223)
  • form:radio: 修复无法禁用单项 (#1033) (94998e1)
  • form:widget:string: 修复 autofocus 失效 (#1028) (3f033c5)
  • mock: 优化显示日志 (#1017) (3d01921)
  • theme:http: 修复当 HttpParams 类型时应忽略优化空值 (#1016) (47ff3c3)
  • theme:menu: 修复调用 setItem 方法时应保持处理逻辑 (#1044) (120f425)

Features

  • abc:onboarding: 新增用户引导流程组件 (#986) (fbe46d5)
  • abc:down-file: 新增 pre 属性 (#1032) (5538ef8)
  • abc:reuse-tab: 新增 routeParamMatchMode 属性 (#1018) (05876ca)
  • abc:reuse-tab: 新增生命周期接口 (#1047) (cba82ea)
  • abc:reuse-tab: 新增 _onReuseInit 类型参数,用于判断是首次还是刷新 (#1026) (69a04ee)
  • abc:st: 新增按钮参数 className (#1034) (26f60ce)
  • abc:st: 新增 type: 'link' 时显示链接标题 (#1031) (09dcc8d)
  • abc:st: 新增列拖动(不支持表头分组) (#1049) (08de51c)
  • abc:st: 新增 renderrenderTitle 参数支持 TemplateRef 类型 (#1050) (be4f6da)
  • abc:st: 新增多排序支持数组 (#1015) (e1119f5)
  • auth: 新增 refresh 事件 (#1011) (3388e1f)
  • chart:water-wave: 新增 render() 方法 (#1014) (c3d31c4)
  • cli: 新增无法使用 cnpm 来安装 NG-ALAIN (#1036) (b2ff9e1)
  • cli: 使用 ng-alain-plugin-theme 替代 scripts/themes.js (#1039) (6c8e571)

移除所有已经在 9.x 声明的过期项,包含以下:

组件 过期
@delon/chart tag-cloud 数据项 xcategory
@delon/chart timeline 数据项 x
@delon/util lazy LazyResult.loaded