Releases: ng-alain/delon
Releases · ng-alain/delon
7.0.0-rc.2 [deprecated]
Scaffold
- Route wildcards point to
/exception/404
(db3055b) - Use
scrollPositionRestoration
instead ofScrollService
(135327b) - Optimization
default.interceptor.ts
Bug Fixes
- module:cache: fix specified storage type parameters in
get
(#343) (fd005e5) - module:reuse-tab: fix skip not closable in store (#344) (fa08c07)
- module:se: fix ingore error visual when is disabled (#339) (7223e85)
- module:sf: fix invalid trigger submit via add button (#349) (8e11729), closes #348
- module:sf: should based on item unsubscription (#345) (2520f11)
Features
Scaffold
- 路由通配符指向
/exception/404
(db3055b) - 使用
scrollPositionRestoration
替代ScrollService
来管理切换路由时滚动条位置 (135327b) - 优化
default.interceptor.ts
Bug Fixes
- module:cache: 修复
get
无效指定存储参数 (#343) (fd005e5) - module:reuse-tab: 修复存储时应忽略不可关闭缓存 (#344) (fa08c07)
- module:se: 修复重置值时应触发一次变更检测 (#339) (7223e85)
- module:sf: 修复数组添加按钮会触发提交事件 (#349) (8e11729), closes #348
- module:sf: 修复异步可能会引起丢失数据问题 (#345) (2520f11)
Features
7.0.0-rc.1
Scaffold
- add exception trigger
- adding Polish locale
- optimized path configuration (#825)
Bug Fixes
- module:auth: fix unrecognized full URL anonymous key (#328) (e223ccb)
- module:sf: shoule trigger detect change when reset value (#332) (ffd365b)
- module:sf:cascader: fix invalid search when labelProperty or valueProperty is empty (#325) (4d4e53f)
- module:st: should recalculate no value when call removeRow method (#331) (6c8c2d1), closes #330
- module:theme: fix keeping show scroll bar in firefox (#336) (727d0d7)
- module:theme:menu: tag deprecated
linkExact
(#337) (ebbeed3)
Features
- module:testing: add @delon/testing lib (#329) (9d533cf)
- module:auth: add
referrer
property (#334) (0510864) - module:mock: add
executeOtherInterceptors
config (#321) (d77e8e9) - module:sidebar-nav: add
disabledAcl
property (#337) (ebbeed3) - module:st: add
expandRowByClick
property (#326) (a8a6695) - module:st: support response body is an array type (#327) (4e681dc)
- module:util: export
stringTemplateOutlet
(#324) (e8d9ed1) - module:theme: adding Polish locale (#308) (025282c)
BREAKING CHANGES
Scaffold
- 新增异常触发示例页
- 新增波兰语
- 优化路径配置 (#825)
Bug Fixes
- module:auth: 修复无法识别完整URL匿名键名 (#328) (e223ccb)
- module:sf: 修复重置值时应触发一次变更检测 (#332) (ffd365b)
- module:sf:cascader: 修复未指定
labelProperty
、valueProperty
问题 (#325) (4d4e53f) - module:st: 修复调用
removeRow
方法应重新计算序号 (#331) (6c8c2d1), closes #330 - module:theme: 修复主菜单在Firefox下总是显示滚动条 (#336) (727d0d7)
- module:theme:menu: 标记过期属性
linkExact
(#337) (ebbeed3)
Features
- module:testing: 增加
@delon/testing
测试套件库 (#329) (9d533cf) - module:auth: 增加
referrer
属性,用于获取跳转前URL (#334) (0510864) - module:mock: 增加
executeOtherInterceptors
命中后继续执行后续拦截器 (#321) (d77e8e9) - module:sidebar-nav: 增加
disabledAcl
属性,当 ACL 未授权时以禁用状态显示 (#337) (ebbeed3) - module:st: 增加
expandRowByClick
属性,点击行展开与收缩 (#326) (a8a6695) - module:st: 增加
url
模式下支持数组响应体 (#327) (4e681dc) - module:util: 增加
stringTemplateOutlet
指令 (#324) (e8d9ed1) - module:theme: 新增波兰语 (#308) (025282c)
BREAKING CHANGES
7.0.0-rc.0
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: - Refactor default theme and sample pages using OnPush mode, pls refer to #764
ng-alain
将和其他 Angular 第三方库一样,保持与 Angular 的主版本号一致,本次版本存在一点点破坏性变更,细节如下:
- 支持 Angular 7.0
- 重构整个
@delon/*
系列库,重点两项变更请参考: - 重构默认主题及所有示例页使用 OnPush 模式,参考 #764
细节变更日志参考 https://ng-alain.com/docs/changelog
2.0.1
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
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: 修复
_HttClient
的loading
状态值 (#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: 移除所有
checkboxChange
、radioChange
、sortChange
等过期事件,使用change
替代 (#281)
1.5.2
2.0.0-rc.3
Scaffold
- fix misspelled word,
GLOBAL_THIRD_MDOULES
changed toGLOBAL_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
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: 修复按钮
spanLabelFixed
为0
时无效问题 (#242) (1f601e2) - module:theme: 修复错误的灰色系代码 (#249) (6234538)
- module:theme: 修复
ng-invalid
样式风格 (#243) (fe6d104) - schematics: 修复
-t
重复别名导致无效问题 (#247) (4f744fa)
Features
1.5.1
2.0.0-rc.1
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 likebus/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 ofContextMenuService
(#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)