Releases: NG-ZORRO/ng-zorro-antd
Releases · NG-ZORRO/ng-zorro-antd
Release list
7.3.3
2019-04-25
Bug Fixes
- auto-complete: enter-keydown event should not be prevent when the panel is closed (#3342) (414b428), closes #3340
- radio, tab: Fixed memory leak problem. (#3354) (7d18fef)
- table: fix table custom filter icon position & virtual scroll style (#3365) (6435ee5), closes #3357 #3348 #3359
- tree-select: add the public methods (#3335) (ee6d18b)
Bug Fixes
7.3.2
7.3.1
7.3.0
Features
- support server-side rendering (#3295) (2088459), closes #3222 #43 #2025 #2474
- support standalone/secondary entry modules (#3234)
- modal: support
nzMaskandnzMaskClosableglobal config (#3033) (12cac9e) - tree: support nzBlockNode (#3270) (5129f73)
- date-picker:
nzRangessupport callback (#3304) (a231cb5), closes #1629 - date-picker: support
nzOnCalendarChange(#3169) (4446005) - form: support hide the label colon (#3136) (663169f)
- table: expose CdkVirtualScrollViewport (#3297) (a942312), closes #3144 #3073 #2886
- table: support nzLoadingIndicator (#3299) (1f339b3), closes #3008
- time-picker: support 12-hour with
nzUse12Hours(#3127) (7c52774) - tree, tree-select: support customize icons (#2933) (a77f6c9)
- schematics: enhance component generator (#3265) (c22eae5)
Bug Fixes
- anchor: fix scroll bar misplacement in target container (#3242) (37ac541)
- drawer: create focus trap error when
nzVisibledefault value is true (#3203) (327ceca), closes #3200 - dropdown: fix dropdown expands outside the bounds of the page (#3289) (47f0aef), closes #3288
- dropdown: fix dropdown style conflict with material style (#3290) (e30a9be), closes #3241
- dropdown: fix dropdown ul list-style (#3284) (2845b57), closes #3268
- form: fix form control template driven (#3305) (032d193), closes #3211
- i18n: fix catalan translations (#3080) (81f917a), closes #2569
- input-number: blur event can't get correct current value from validation info (#3315) (ee3d94c), closes #3134
- modal: integration problem with select component (#3245) (3da4b68), closes #3213
- select: fix select disable cursor (#3287) (f5528d9), closes #3246
- select: fix select not change after option input changes (#3313) (74d996b), closes #3029
- select: fix select scroll top trigger (#3285) (1478e59), closes #3258
- steps: updateChildrenSteps bug (#3194) (8198b23), closes #3193
- table: fix table border in firefox (#3294) (82407e7), closes #3164
- tree: duplicated module import (#3286) (5c8b923)
- tree, tree-select: fix the key validity check (#3247) (87f2386), closes #3163
- upload: fix deprecated icon class property (#3230) (bc4e7da), closes #3228
- rate click event is stopped (#3262) (2b4bde4), closes #3252
- style fix patch not included (#3317) (5b02e48)
Features
- 支持服务端渲染 (#3295) (2088459), closes #3222 #43 #2025 #2474
- 支持子模块单独使用 (#3234)
- modal: 支持
nzMask与nzMaskClosable全局配置 (#3033) (12cac9e) - tree: 支持 nzBlockNode 选项 (#3270) (5129f73)
- date-picker:
nzRanges支持回调函数 (#3304) (a231cb5), closes #1629 - date-picker: 支持
nzOnCalendarChange功能 (#3169) (4446005) - form: 支持隐藏 label 的冒号 (#3136) (663169f)
- table: 导出 CdkVirtualScrollViewport (#3297) (a942312), closes #3144 #3073 #2886
- table: 支持
nzLoadingIndicator配置 (#3299) (1f339b3), closes #3008 - time-picker: 支持 12-hour 制
nzUse12Hours(#3127) (7c52774) - tree, tree-select: 支持定制 icons (#2933) (a77f6c9)
- schematics: 增强 component 生成器 (#3265) ([c22eae5](https://github.com...
7.2.0
Bug Fixes
- affix: set correct style of Affix after trigger resize (#3089) (ff482e0), closes #3040
- fix type of some API (#3166) (c685836)
- breadcrumb: fix auto generate not working in lazy modules (#3174) (4260a40), closes #2538
- dropdown: fix the style of CDK conflicts (#3133) (a9cd84d), closes #3075
- progress: should not set success when success percent is … (#3135) (f85c766)
- transfer: fix invalid trigger checked event in blank area (#3161) (92097b2), closes #3160 #3159
- upload: fix missing remove event when type is drag (#3114) (2b1fdd9), closes #3034 #3139 #3171
Features
- collapse: support
nzExtra(#3177) (fbfb4da) - menu: support
nzMenuClassNamefor the submenu (#3176) (15b6724) - page-header: add page-header component (#2732) (cf51c1f), closes #2710
- schematics: do not set boot page when the target file is modified (#3178) (0a3f62c)
Bug Fixes
- affix: 触发元素大小调整后重新设置
Affix大小 (#3089) (ff482e0), closes #3040 - 修复一些 TS 类型定义 (#3166) (c685836)
- breadcrumb: 修复模块懒加载情况下根据路由自动生成的问题 (#3174) (4260a40), closes #2538
- dropdown: 修复 CDK 样式冲突 (#3133) (a9cd84d), closes #3075
- progress: 修复 success 状态异常问题 (#3135) (f85c766)
- transfer: 修复空白区域无法触发选择框的问题 (#3161) (92097b2), closes #3160 #3159
- upload: 修复移除拖拽事件的问题 (#3114) (2b1fdd9), closes #3034 #3139 #3171
Features
7.1.0
2019-03-21
Bug Fixes
- tree: fix nzMultiple and rollback code (#3060) (c917938), closes #3076
- cascader: fix columns not dropped (#3037) (72a9e67), closes #3034
- date-picker: export
year-pickercomponent (#3125) (c5b0af9) - modal: integrate with tabs and autosize (#3065) (4cab26f), closes #2286 #2713
- modal: simple confirm should not have cancel button (#3115) (f0a2b51), closes #3107
- tooltip: fix tooltip not render after set (#3091) (2841a2f)
Features
- message: support
nzTop(#3047) (351135b), closes #3041 - message: support template (#3102) (d3f6655), closes #3081
2019-03-21
Bug Fixes
- tree: 修复
nzMultiple及 其他兼容性问题 (#3060) (c917938), closes #3076 - cascader: 修复 column 未收起问题 (#3037) (72a9e67), closes #3034
- date-picker: 导出
year-picker组件 (#3125) (c5b0af9) - modal: 修复
tabs与autosize的集成问题 (#3065) (4cab26f), closes #2286 #2713 - modal:
confirm类型不应该有取消按钮 (#3115) (f0a2b51), closes #3107 - tooltip: 修复
tooltip动态更新未渲染问题 (#3091) (2841a2f)
Features
7.0.3
Bug Fixes
Build
Bug Fixes
Build
7.0.2
Bug Fixes
- pagination: fix pagination bug (#3067) (f4948d7), closes #3049
- steps: fix steps state change error under onpush strategy (#3061) (97adb2c)
- table: fix table small size virtual scroll style (#3063) (4fa16de), closes #3050
- table: fix th check not trigger bug (#3064) (dbc33ae), closes #3028 #3056 #3058
- transfer: fix click checkbox can't trigger selection (#3030) (f077294), closes #3026
Bug Fixes
- pagination: 修复 Pagination 不随 pageIndex 变化的问题 (#3067) (f4948d7), closes #3049
- steps: 修复 Steps 在外层组件 OnPush 下的问题 (#3061) (97adb2c)
- table: 修复 Virtual Scroll 模式下 nzSize 不生效的问题 (#3063) (4fa16de), closes #3050
- table: 修复 Table 下拉筛选特殊情况下不生效的问题 (#3064) (dbc33ae), closes #3028 #3056 #3058
- transfer: 修复 Transfer 特殊情况下点击不生效的问题 (#3030) (f077294), closes #3026
7.0.1
Bug Fixes
- tree: fix default keys bug with setTimeOut (#3003) (050faa0), closes #3001
- tree: fix expand state bug for tree-select (#2997) (623a9ff)
- checkbox: fix checkbox a11y error (#3009) (42ed317), closes #3000
- fesm2015: fix fesm2015 build error (#3015) (e5b388a)
- icon: remove icon test module export (#3002) (28edb53)
- schematics: fix
add-icon-assetsschema path (#3005) (5101928) - select: fix select reset in form (#3017) (30b3d86), closes #3014
- table: fix table crash with double binding (#3007) (a2202b4), closes #3004
Bug Fixes
- tree: 修复
setTimeOut默认值的问题 (#3003) (050faa0), closes #3001 - tree: 修复
tree-select收起动画的问题 (#2997) (623a9ff) - checkbox: 修复 checkbox 无障碍的问题 (#3009) (42ed317), closes #3000
- fesm2015: 修复 fesm2015 打包的问题 (#3015) (e5b388a)
- icon: 移除 icon 的测试模块导出 (#3002) (28edb53)
- schematics: 修复
add-icon-assetsschema 路径 (#3005) (5101928) - select: 修复 select 在 form 中的重置问题 (#3017) (30b3d86), closes #3014
- table: 修复 table 双向绑定的问题 (#3007) (a2202b4), closes #3004
7.0.0
It has been three months since we released the last stable version 1.8.1, and now here comes ng-zorro-antd 7.0.0! (From 7.0.0, the package’s major version number would be aligned to Angular’s)
According to the road map we published last year, we add 105 commits on the top of the last three release candidate versions. Now we have reached Milestone I.
- All components now work with OnPush change detection strategy. You can anticipate a tremendous improvement of performance.
- Animations are updated to meet Ant Design’s specifications. And you can configure animation globally or specifically to each component.
- New components: Empty, Statistic, Countdown and Comment.
- New features of Angular CDK is introduced to some components. For example, Table component now supports virtual scrolling.
- Lots of new features. Lots of bug fixes.
- You can use ISO date format in components like Calendar & Date Picker.
- Global scrolling strategy is changed. Modal and Drawer components will no longer shake under some circumstances.
- More strict TypeScript compiler options.
- Brand new logo and documentation site.
We will move on to Milestone II right after this release. Server side rendering (SSR), secondary entries, global configurations and dynamic validation would be supported in future versions to come.
Update Guidance
-
Update Angular and other packages to newest versions.
-
Update ng-zorro-antd to 7.0.
Notice
Pay attention to these changes to ensure that your code works as expected:
- All components now work with OnPush strategy. Components with this strategy would not respond to mutations on object properties or array child items, even decorated with @input(). So you should make all your @input properties immutable objects. Not only this would ensure your code works correctly but also improve performance if you use immutable objects right. Please checkout our example below.
- We correct the meaning of nzDropdownMatchSelectWidth of Select component. Now it means exactly opposite of the old one.
- If you want to add a button to an input-group in search mode, you should use nzAddOnAfter instead of nzSuffix.
Changelog
Bug Fixes
- affix: fix should reset placeholder size when trigger resize event (#2835) (7068a5e), closes #2818
- anchor: fix called detectChanges when component destroy (#2864) (0e5c937), closes #2860
- animation: move hostbinding to constructor to fix angular transition bug (#2895) (e39f6bf)
- build: fix ES6 build target error (#2921) (ab62b40), closes #2893
- carousel: fix carousel does not display in modal or card (#2699) (e092bf0), closes #2387 ,#2226
- carousel: fix carousel does not render when window resizes (#2699) (e092bf0), closes #2158
- carousel: fix carousel item cannot be clicked (#2699) (e092bf0), closes #2631
- cascader: fix searching error when nzOptions is empty (#2846) (e33cc50), closes #2784
- cascader: fix children state not changed (#2986) (b87e8bb)
- core: fix the style of CDK conflicts (#2917) (37cf6f3), closes #2874
- date-picker, calendar, time-picker: provide a option to resolve the week number that is not according to ISO standard algorithm (#2819) (e1bce41), closes #2819 ,#2406
- drawer: fix body overflow problem (#2867) (1e081f0), closes #2227 #2615
- grid: fix grid responsive (#2915) (ab05619), closes #2908
- i18n: Danish locale is exported and mentioned in i18n docs (#2599) (6554cf5)
- i18n: update missing fields in fr_FR (#2586) (#2737) (c821d56)
- icon: fix falsy render (#2912) (6dd3cbf), closes #2911
- input: fix *fix icon new API capability (#2841) (3c954cb)
- menu, dropdown: fix dropdown in firefox (#2816) (09f21d0), closes #2834
- modal, drawer: IE/Edge SVG doesn't support
blur/focusmethod (#2869) (7487a7e), closes #2388 - modal: fix body overflow problem (#2869) (7487a7e), closes #2612
- modal: unable to close the mask if the container is OnPush (#2869) (7487a7e), closes #2643
- radio: children unable to focus in radio label (#2850) (58743b8), closes #2774
- select: can not location to the selected value (#2741)
- select: fix multiple value not grow error (#2741)
- select: fix nzScrollToBottom bug when browser zoom (#2741)
- switch: fix switch error when loading or disabled (#2896) (a67984c), closes #2787
- table: fix border style error in Firefox (#2862) (074083e)
- table: fix th sort in ngIf (#2862) (074083e)
- table: multiple columns style nzRight (#2862) (074083e)
- time-picker: place the clear button adjustment to the outer input box (#2948) (ffb6665)
- tooltip: fix setTitle proxy to nzTitle (#2698) (f6dfbd9), closes #2695
- tree-select: fix tree-select overlay's index problem (#2764) ([599ae1a](https://github.com/NG-ZORRO/ng-zorro-antd/commi...