Skip to content

Releases: ng-alain/delon

7.0.0-rc.0

14 Dec 13:06
f214304
Compare
Choose a tag to compare
7.0.0-rc.0 Pre-release
Pre-release

ng-alain will track the major version of @angular/core from 7.0.0-rc.0 like other angular libraries.

  • Support Angular 7.0
  • Refactor @delon/* libraries, pls refer to the two changes:
    • Remove .forRoot(), commit
    • notify-icon component need to be added btnClassbtnIconClass property, commit
  • Refactor default theme and sample pages using OnPush mode, pls refer to #764

ng-alain 将和其他 Angular 第三方库一样,保持与 Angular 的主版本号一致,本次版本存在一点点破坏性变更,细节如下:

  • 支持 Angular 7.0
  • 重构整个 @delon/* 系列库,重点两项变更请参考:
    • 移除部分类库 .forRoot()commit
    • notify-icon 组件需要额外增加 btnClassbtnIconClass 类名,commit
  • 重构默认主题及所有示例页使用 OnPush 模式,参考 #764

细节变更日志参考 https://ng-alain.com/docs/changelog

2.0.1

25 Nov 09:56
09d1046
Compare
Choose a tag to compare

Bug Fixes

  • module:page-header: should be clean old breadcrumb data when changes (#296) (862aa9d), closes #293
  • module:sf:autocomplete: fix missing value (#291) (ac17fb3), closes #290
  • module:sf:button: fix invalid button size (#294) (96f8adc)
  • module:theme:style: fix dropdown + button spacing when closed preserve (#292) (d330e5e)
  • module:theme:title: fix default property should be not read-only (#295) (a882507)

Features


Bug Fixes

  • module:page-header: 修复 autoBreadcrumb: false 时切换路依然会渲染导航 (#296) (862aa9d), closes #293
  • module:sf:autocomplete: 修复无效值 (#291) (ac17fb3), closes #290
  • module:sf:button: 修复无效按钮大小 (#294) (96f8adc)
  • module:theme:style: 修复 dropdown 与 button 的标准间距 (#292) (d330e5e)
  • module:theme:title: 修复 default 不允许设置 (#295) (a882507)

Features

2.0.0

20 Nov 08:39
Compare
Choose a tag to compare

Support for upgrading 1.x to 2.x using tools, please refer to Upgrade Guide

Scaffold

  • all: OnPush mode priority (#772)
  • router: add SimpleGuard of root router (#774)
  • i18n: add passport pages (#777)

Bug Fixes

  • module:mock: fix loading status of _HttClient (#270)
  • module:sf:upload: fix missing size property of upload widget (#274)
  • module:sf:checkbox: fix delayed rendering when onpush strategy (#278)
  • module:st: fix render null when is value is null in edge or ie (#275)
  • module:page-header: should be refresh breadcrumb when router changed (#276)

Features

  • schematics: Support for dynamic build ng-alain of specified language versions (#286) (f0bff6d)
  • module:st: add clear & clearStatus methods (#282)
  • module:st: add single sort config #775 (#283)
  • module:http: support decorator @GET, @POST etc, Document (#284)
  • schematics: Support for dynamic build ng-alain of specified language versions (#286)

BREAKING CHANGES

  • module:st: remove deprecated events: checkboxChange, radioChange, sortChange etc (#281)

支持使用工具将 1.x 升级至 2.x,请参考升级指南

Scaffold

  • all: 重构部分页面优先使用 OnPush 模式,提供更好的性能体验 (#772)
  • router: 根路由添加 SimpleGuard (#774)
  • i18n: 重构系列授权页,增加多语言版本 (#777)

Bug Fixes

  • module:mock: 修复 _HttClientloading 状态值 (#270)
  • module:sf:upload: 修复 size 属性被占用 (#274)
  • module:sf:checkbox: 修复延迟状态问题 (#278)
  • module:st: 修复在ie、edge下会渲染null字符 (#275)
  • module:page-header: 修复路由切换无法刷新导航数据 (#276)

Features

  • schematics: Support for dynamic build ng-alain of specified language versions (#286) (f0bff6d)
  • module:st: 新增 clear & clearStatus 清除数据方法 (#282)
  • module:st: 新增单排序配置项 #775 (#283)
  • module:http: 新增系列 @GET, @POST 等修饰器,文档 (#284)
  • schematics: 新增 ng add 额外按 defaultLanguage 指定语言的示例代码 (#286)

BREAKING CHANGES

  • module:st: 移除所有 checkboxChangeradioChangesortChange 等过期事件,使用 change 替代 (#281)

1.5.2

19 Nov 03:28
1ab44ca
Compare
Choose a tag to compare
  • module:sf:checkbox: 修复丢失 title 问题 #259
  • module:sf:checkbox: 修复延迟状态问题
  • module:sf:upload: 修复 size 属性被占用
  • module:st: 修复在ie、edge下会渲染null字符
  • module:page-header: 修复路由变更时应刷新导航栏

2.0.0-rc.3

09 Nov 06:51
296aff6
Compare
Choose a tag to compare
2.0.0-rc.3 Pre-release
Pre-release

Scaffold

  • fix misspelled word, GLOBAL_THIRD_MDOULES changed to GLOBAL_THIRD_MODULES (#762)

Bug Fixes

  • module:sf:checkbox: fix missing title (#259) (b78f38a), closes #258
  • module:sf:tree-select: fix children repeat data when expand changes (#260) (2bfd75f)
  • module:st: fix invalid trigger when used icon & pop (#256) (598f9ab)
  • module:theme:menu: fix shortcut children polluted (#265) (a255fe0)

Features

  • module:sidebar-nav: add icon more properties (#263) (5b696f5)
  • module:st: add no of type (#261) (8fc29ce)
  • module:st: add removeRow method (#255) (13a3a21)
  • module:st: add rowClassName property (#268) (0af1484)
  • module:st: add icon & text coexist (#256) (598f9ab)
  • module:theme: add .scrollbar style service of div (#267) (161d328)
  • module:theme: add safe url pipe (#254) (62724a0)
  • schematics: add color less when running ng commend (#253) (145e4a9)

Scaffold

  • 修复命名错误 GLOBAL_THIRD_MDOULES 变更为 GLOBAL_THIRD_MODULES (#762)

Bug Fixes

  • module:sf:checkbox: 修复丢失 title 问题 (#259) (b78f38a), closes #258
  • module:sf:tree-select: 修复异步展示会重复渲染子项 (#260) (2bfd75f)
  • module:st: 修复 icon 无法触发 pop 问题 (#256) (598f9ab)
  • module:theme:menu: 修复快捷菜单项污染原始菜单数据,导致重复高亮 (#265) (a255fe0)

Features

  • module:sidebar-nav: 新增所有 icon 组件的属性 (#263) (5b696f5)
  • module:st: 新增行号 no 类型 (#261) (8fc29ce)
  • module:st: 新增 removeRow 移除行方法 (#255) (13a3a21)
  • module:st: 新增 rowClassName 组件属性 (#268) (0af1484)
  • module:st: 新增按钮允许 icon & text 并存 (#256) (598f9ab)
  • module:theme: 新增 .scrollbar 美化 div 滚动条样式 (#267) (161d328)
  • module:theme: 新增安全 URL | url 管道 (#254) (62724a0)
  • schematics: 新增运行 ng 命令时优先执行 color less 生成 (#253) (145e4a9)

2.0.0-rc.2

01 Nov 07:43
Compare
Choose a tag to compare
2.0.0-rc.2 Pre-release
Pre-release

Bug Fixes

  • module:sf: fix attempt to use a destroyed error (#248) (3e470e7)
  • module:sf: fix button spanLabelFixed is zero value (#242) (1f601e2)
  • module:theme: fix grey color values (#249) (6234538)
  • module:theme: fix ng-invalid style (#243) (fe6d104)
  • schematics: fix repeat alias name (#247) (4f744fa)

Features

  • module:mock: support array params of queryString (#246) (f0135ce)
  • module:st: add icon of button (#240) (1145d47)
  • module:theme:MenuService: add recursive upward find in menu service (#244) (c391d3a)
  • module:theme:html: safe html, add | html pipe (#239) (0298665)
  • module:theme:i18n: add i18n pipe (#238) (423c9c3)

Bug Fixes

  • module:sf: 修复 attempt to use a destroyed 异常 (#248) (3e470e7)
  • module:sf: 修复按钮 spanLabelFixed0 时无效问题 (#242) (1f601e2)
  • module:theme: 修复错误的灰色系代码 (#249) (6234538)
  • module:theme: 修复 ng-invalid 样式风格 (#243) (fe6d104)
  • schematics: 修复 -t 重复别名导致无效问题 (#247) (4f744fa)

Features

  • module:mock: QueryString 支持数组类型 (#246) (f0135ce)
  • module:st: 增加按钮 Icon (#240) (1145d47)
  • module:theme:MenuService 增加向上查找能力 (#244) (c391d3a)
  • module:theme:html: 安全HTML,增加 | html 管道 (#239) (0298665)
  • module:theme:i18n: 增加 | i18n 管道 (#238) (423c9c3)

1.5.1

01 Nov 07:41
Compare
Choose a tag to compare
  • module:sf: fix attempt to use a destroyed error (#248) (3e470e7)
  • module:theme: fix grey color values (#249) (6234538)

2.0.0-rc.1

25 Oct 18:58
9f3399b
Compare
Choose a tag to compare
2.0.0-rc.1 Pre-release
Pre-release

Bug Fixes

  • form: fix repeated trigger change detection (#224) (a9f2db6)
  • form:checkbox: fix misplaced layout of checkbox widget (#226) (d75600e)
  • form:date: fix missing nzShowTime in date widgets (#223) (a40bc13)
  • st: fix filter table header in ant design 3.10 (#229) (0d70d26)
  • schematics: fix duplcated alias t in tpl command (#231) (829f11e)
  • schematics: fix invalid msgSrv property in edit page (#225) (e3270e4)
  • schematics: fix used translate when not i18n (#230) (93163a9)

Features

  • schematics: optimization -t, could be set like bus/list (#231) (829f11e)
  • schematics: support 1.x to 2.0 via ng update Document
  • schematics:plugin: add icon plugin Document
  • sync ng-zorro-antd 1.7.1 (#228) (9a62ea3)

BREAKING CHANGES

  • module:theme: used NzDropdownService instead of ContextMenuService (#234)

Bug Fixes

  • form: 修复重复调用变更检测 (#224) (a9f2db6)
  • form:checkbox: 修复 Checkbox 小部件错位 (#226) (d75600e)
  • form:date: 修复范围日期小部件 nzShowTime 丢失 (#223) (a40bc13)
  • st: 修复标题错位 (#229) (0d70d26)
  • schematics: 修复 tpl 自定义模板无法使用 -t 参数 (#231) (829f11e)
  • schematics: 修复 edit 模板包含无效 msgSrv 属性 (#225) (e3270e4)
  • schematics: 修复 ng add 非I18N包含相关代码 (#230) (93163a9)

Features

  • schematics: 新增 -t 参数支持子目录 (#231) (829f11e)
  • schematics: 新增 ng udpate 将 1.x 升级至 2.0 文档
  • schematics:plugin: 新增 icon 图标插件,自动分析并生成图标引导文件 文档
  • 同步 ng-zorro-antd 1.7.1 (#228) (9a62ea3)

BREAKING CHANGES

  • module:theme: 使用 NzDropdownService 替代 ContextMenuService (#234)

1.5.0

25 Oct 17:11
98b66cf
Compare
Choose a tag to compare
  • 脚手架
    • 同步 ng-zorro-antd 1.7.1,受限于图标变更,部分顶部小图标需要额外增加 item-icon 样式,参考 e76e631
  • @delon/form
    • 新增 icon 图标插件,自动分析并生成图标引导文件 文档
    • 修复 readOnly 部分小部件无法禁用 #211
    • 修复范围日期小部件 nzShowTime 丢失 #219
    • 修复重复调用变更检测 #220
    • 修复 Checkbox 小部件错位 #725

2.0.0-beta.5

15 Oct 06:49
cd61592
Compare
Choose a tag to compare
2.0.0-beta.5 Pre-release
Pre-release

Bug Fixes

  • form: fix invalid disabled status when is readOnly (#212) (6a68def)
  • scaffold: use zh instead of zh-Hans (6972e58)

Features

BREAKING CHANGES

  • theme: (6b8168f)
    • layout-fixed was changed to alain-default__fixed
    • layout-boxed was changed to alain-default__boxed
    • aside-collapsed was changed to alain-default__collapsed