11.4.0 (2021-04-08)
- table: fix sort and filter when nzFrontPagination is false (#6547) (097cb6c), closes #5457
- date-picker: close date-picker after tabbing out (#6571) (21ded3f), closes #5844
- drawer: content is attached before the drawer is opened (#6581) (ac50a7b), closes #6381 #6534
- space: fix deprecated warning for nz-space-item (#6549) (#6561) (f80a5bb)
- tabs: make remove icon of nz-tab-link clickable (#6563) (3a68c10)
- tabs: not scrolling to the selected tab after init (#6580) (4ddd8fb), closes #6579
11.3.0 (2021-03-23)
- mention: preserve white spaces when insert suggestions (#6505) (d5ed97e), closes #6175
- tooltip: detect trigger change (#6470) (e8e7dc3), closes #6469
- dropdown and autocomplete animations (#6143) (70da5a2), closes #6018
- pagination: fix class name in NzPaginationItemComponent (#6485) (0e326e7)
- date-picker,core,i18n: import date-fns by esm (#6524) (fb4eeae)
- descriptions: fix dom structure under vertical layout (#6513) (ef0f3a5)
- modal: fix incorrect assignment of 'nzFooter' (#6468) (85ea273), closes #6467
- rate: fix invalid type of
nzCount
instrictTemplates
(#6457) (4d28a60) - space: add missing exports (#6521) (e0073e4)
- table: virtual scroll bordered style (#6493) (c2f44be)
- tooltip: keep tooltip visibility when trigger is null (#6489) (0de0e6f)
- all: global config for backdrop (#6380) (ba80ec3), closes #6029 #6177
- modal: add nzModalTitle directive (#6396) (25f6c27), closes #4343 #6337
- space: add
nzSplit
support (#6487) (c535f06)
Deprecated
- space:
nz-space-item
innz-space
will be removed in 12.0.0, please use*nzSpaceItem
instead.
11.2.0 (2021-02-26)
- 18n: adding new translations de_DE (#6434) (1c09fe1)
- 18n: adding new translations es_ES (#6421) (6b878b9)
- docs: fix dependabot alert (#6428) (2fbbe94)
- dropdown: close menu when click again (#6353) (#6354) (cd90349)
- grid:
nzGutter
support string type (#6450) (ec03c7f) - grid,menu,radio,table: fix memory leak problem (#6408) (94607a0)
- input: fix [nzAutosize]="true" (#6409) (8ca1e5a)
- message: avoid flicker when window close (#6296) (#6370) (772e76c)
- table: fix table filter (#6384) (#6385) (ad01c8f)
- tree-view: correct API typo (#6386) (27a1c4e)
- schematics: fix
add-icon-assets
schema path (#6404) (340670d)
- date-picker: add
nzInline
property (#6436) (4d80873) - time-picker: support updating OK and Now button text (#6410) (ef3af58)
- time-picker,select,tree-select: support
nzId
(#6379) (85d423d)
11.1.0 (2021-01-22)
- table: fix table
nzBordered
(#6367) (d6ca800), closes #6135 #6254 - typography: edit area cannot get the content (#6369) (814ef92)
- date-picker: support nzId (#6242) (#6246) (1e9f8bd)
- modal: add nzCentered for modal (#6333) (8fd4df6), closes #6327
- table: add support for ReadonlyArray (#6156) (9d67d0b)
- table: support nzPaginationType property (#5986) (61ca6e2)
- upload: support
NzUploadFile
parameter ofnzIconRender
(#6283) (a949470), closes #6279
11.0.2 (2021-01-18)
- carousel: fix carousel under rtl (#6336) (f6a844b); (#6318) (bef7e29), closes #6301
- date-picker: remove wrong warning message (#6335) (cf10a03), closes #6310
- date-picker: start and end month displays unreasonable (#6339) (7f47698), closes #6308 #6142 #5992
- descriptions: fix
nzBordered
in the global config (#6348) (eb20970), closes #6331 - image: add missing entry components (#6300) (caad718), closes #6299
- table: memory leak (#6325) (7f267b6)
11.0.1 (2020-12-31)
- carousel: remove unused patch style (#6269) (3a70a2d)
- collapse: animation cannot be disabled (#6280) (16fa890)
- image: add missing imported modules (#6273) (20db5d4), closes #6271
- image: image fit content when drag released (#6262) (07ae66a)
- modal: mask is not set with the
nzZindex
property (#6294) (54d294a), closes #6288 - select: change order for clear and arrow (#6245) (c822073), closes #5989
- slider: fix slider style + reverse marks if reversed slider (#6006) (fa06415)
- table: data is not updated when pagination exists (#6298) (1f2ab41), closes #6272
- tabs: fix clickable area of the anchor element (#6278) (0694079)
- tabs: index only changed by router event when nzLinkRouter (#6293) (ca1b861)
11.0.0 (2020-12-21)
Set the dir attribute on the document body or html tag.
<html dir="rtl"></html>
Or use Angular CDK bidi module for bi-directional.
import {BidiModule} from '@angular/cdk/bidi';
Super thanks to @saeedrahimi @hdm91 @HDaghash @hmdnikoo for contributing this!
Used to handle progressive loading of images; failure fallback, and preview of image(s).
Super thanks to @stygian-desolator for contributing this!
Support customized multi-level graph rendering.
The previous Tree already contains many common features, and to handle more customizable scenarios we developed a more basic Tree View component with higher ability of customization and better control over performance.
@import "~ng-zorro-antd/ng-zorro-antd.aliyun.less";
- tree: fix tree styles (#6198) (a481a15)
- button: only warn about deprecated value when used (#6193) (40c644a), closes #6191 #6187
- i18n: fix Ukrainian i18n file (#6236) (551c7a2)
- image: fix RTL direction and props (#6227) (3978e0f)
- list: fix template rendering order (#6232) (4324011), closes #6229
- modal: fix
nzOkDanger
in confirm mode (#6214) (ebe2869) - select: fix XSS vulnerabilities (#6222) (a393b89), closes #6209
- table: false nzFrontPagination hides pagination (#6201) (8029ef4), closes #6196
- time-picker: placeholder not update with i18n changes (#6069) (f34840b)
- all: add RTL support to all ng-zorro-antd (#4703) (860dfed), closes #4704 #1762 #5261
- date-picker: add
nzShowNow
(#6160) (99e3117), closes #6146 - graph: add graph component (#6053) (e69303f)
- image: add image component (#6154) (83dfdf9)
- tree-view: add tree-view component (#6161) (05d58de), closes #5976 #5809 #5739 #5736 #5519 #5446 #5152 #4694 #4472 #3832 #2785 #2744 #6199
- schematics: make ng-add schematics chainable (#6203) (d1e76f3)
date-picker
[nzMode]
does not supportNzDateMode[]
type any more, please adjust it manually.
modal
[nzGetContainer]
has been removed, please remove it manually.open
method inNzModalRef
has been removed, please remove it manually.
tabs
[nzShowPagination]
input has been removed, please remove it manually.(nzOnPrevClick)
output has been removed, please remove it manually.(nzOnNextClick)
output has been removed, please remove it manually.a[nz-tab-link]
selector has been removed, please useng-template[nzTabLink] > a[nz-tab-link]
instead.
10.2.1 (2020-12-11)
- date-picker,time-picker: prevent losing input focus (#6171) (a055905), closes #6170
- description: fix label colon not working (#6155) (47065f6), closes #6151
- mention: scroll to focus when arrow up or down (#6137) (13f2281), closes #5995
- modal: add nzOkDanger to avoid old button style (#6157) (f22024e), closes #6111
- select: activate first item or first selected item (#6148) (a456c93), closes #6041
- table: showPagination in ngIf when nzHideOnSinglePage (#6133) (fbe13c2), closes #6080
- tabs: keyboard events in extra areas trigger navigation (#6173) (375366f), closes #6139
- transfer: fix only filtered data in
nzRenderList
(#6169) (17d43fb), closes #5641
10.2.0 (2020-12-01)
- cascader: restore its value after cancel search (#6088) (22ddc60)
- cascader: scroll active options into view (#6082) (b42b51f), closes #6037
- date-picker: clear wrong date input after closing panel (#6079) (edffdee), closes #6070
- date-picker: display error in dynamic switching
nzMode
(#6125) (220a590), closes #6052 - descriptions: fix DOM structure (#6112) (5e42d71)
- tree: fix indent line styles (#6123) (2f8edbc)
- tree-select: selector cannot focus (#6073) (032bd01), closes #6063
- upload: fix prevent trigger submit when click list button (#6096) (123982f), closes #6095
- drawer: add
nzDrawerContent
directive (#6085) (6fc0683) - drawer: support nzVisible two-way binding (#6013) (caab8be), closes #5999
- input: textarea supports character count (#6104) (601ab50), closes #5907
- modal: add
nzModalContent
directive (#6081) (6594414) - pagination: support global config (#6043) (3c55b7c), closes #6042
- steps: supports enable and disable (#6101) (b87e72d), closes #5579
Deprecated
- modal
- Usage
<ng-content></ng-content>
is deprecated, which will be removed in 12.0.0. Please instead use<ng-template nzModalContent></ng-template>
to declare the content of the modal.
- Usage
- drawer
- Usage
<ng-content></ng-content>
is deprecated, which will be removed in 12.0.0. Please instead use<ng-template nzDrawerContent></ng-template>
to declare the content of the drawer.
- Usage
10.1.2 (2020-11-16)
- i18n: include missing language exports (#6061) (6543a80)
- cascader: fix broken nzChangeOnSelect (#6049) (1575bae), closes #6048
- code-editor: memorize cursor position and selections (#6044) (84f520d), closes #6038
- typography: ellipsis does not work with copy action (#6058) (858fff9), closes #6057
10.1.1 (2020-11-09)
- breadcrumb: patch last-child's style indule a is included (#5994) (50f0744), closes #5942
- cascader: menu closing behavoir (#6023) (22aea7e), closes #6022
- cascader: search bar styles error (#6030) (9c4424f), closes #6020
- select: dropdown can be opened when disabled (#6008) (79c52ea), closes #6005 #6007
- tabs:
nzTabBarGutter
is not work in vertical position (#5998) (516bf97), closes #5396 - tabs: ink-bar does not render correctly in some cases (#6016) (8af418b), closes #6009 #4802 #3999
10.1.0 (2020-10-30)
- form: remove @Host so child components recieve autotips (#5962) (705d6d8)
- select: input search not work in IE11 (#5953) (5dc1ff3), closes #5645 #4296
- select: the ESC keydown event not handled correctly (#5973) (d898cce), closes #5965
- select: title not display (#5978) (fd77cd4), closes #5281
- tabs: link is not active on the whole tab (#5954) (5c661c5), closes #5857
- time-picker: hidden clear icon when disabled (#5990) (761cf40)
- upload: ensure i18n$ is defined on unsubscribe (#5971) (b067e7e)
- avatar: add avatar group component (#5916) (2dc8d98), closes #5882
- avatar: support for set gap (#5920) (f3f1aa9), closes #5883
- back-top: add
nzDuration
property (#5892) (b256461), closes #5887 - cascader: support suffix icon & expand icon (#5899) (d235589), closes #5885
- date-picker: add
nzBorderless
(#5975) (25e41fa), closes #5680 #4967 - descriptions: add extra property (#5859) (846331e), closes #5855
- form:
nz-form-label
supportnzFormTooltip
(#5957) (4a00b69), closes #5905 - form: support a fallback locale for validation tips (#5967) (c01e20b), closes #5917
- menu: add danger style (#5932) (5c19bbd), closes #5881
- tooltip: add nzTooltipColor (#5896) (643bd03), closes #5884
- tooltip: enable custom placements (#5861) (0fce47e), closes #5733
- typography: support custom icons and tooltips (#5911) (2d4cbb0), closes #5888
- typography: support success type (#5915) (93c0d46), closes #5906
10.0.2 (2020-10-16)
- code-editor: only emit update if value changed (#5933) (d8c9b4d), closes #5869
- pagination: fix shoule be only allowed number (#5895) (69a1205), closes #5668
- select: accept 0 value on enter (#5904) (574fdf0)
- slider: fix slider precision when step is decimal (#5862) (dcc743a), closes #5699
- spin: make delay behave more accurately (#5930) (5c901a0), closes #5926 #5928
- tooltip: fix mouse leave overlay not obey delaying (#5868) (6b5fdee), closes #5713
10.0.1 (2020-10-09)
- breadcrumb: fix breadcrumbs not returned (#5863) (1e3fea2), closes #4751
- code-editor: run value changes in Angular zone (#5872) (3bbed21)
- date-picker: years which contain disabled date can be selected now (#5804) (3ba0366), closes #5633 #3425 #5655
- date-picker,time-picker: open the panel wrongly in IE11 (#5841) (89aaa79), closes #5562
- modal: no error stacks when
nzOnOk/nzOnCancel
is rejected (#5561) (6a4bddd), closes #5321 - upload: fix upload list style of picture card type (#5851) (9fda318), closes #5850
10.0.0 (2020-09-28)
- tree: fix nzBlockNode not work (#5507) (5337652)
- breadcrumb: fix auto-generated with lazy modules (#5670) (932d92f), closes #5613 #5615
- carousel: support SSR (#5671) (65b44aa), closes #4292
- code-editor: init event never emit when using static loading (#5677) (b946742)
- date-picker: modify date-fns week-year format (#5753) (4911e36), closes #5327
- date-picker: nzCalendarChange not work when clicking ok (#5790) (c9426f0), closes #5782
- date-picker: open the panel wrongly in IE11 (#5643) (0649ceb), closes #5562
- date-picker: window is not defined (#5640) (f5899ad), closes #5630
- form: optimize code to increase robustness (#5550) (fdf085b)
- mention: not emit nzOnSearchChange when value is empty (#5729) (4cc14ba), closes #5722
- modal: change back to FocusTrapFactory (#5596) (9805620), closes #5591
- progress: fix value not updated when is steps (#5676) (3eecc44), closes #5585
- select: arrow icon can be used when not using single-select (#5785) (bb8677c), closes #5575
- select: cursor abnormal in nz-select with nzDisabled (#5716) (0d1f027), closes #5709
- select: display IME input completely (#5657) (111721a)
- select: fix click arrow open (#5784) (2d3a49c)
- slider: fix reverse slider value with min and max (#5814) (fa46a79)
- style: fix 4.6.1 sync style (#5727) (b5f96ca)
- tabs: fix clickable area of tab-link (#5708) (57962e1), closes #5696
- tabs: fix dropdown style (#5659) (8415a70)
- tabs: not emit click event from dropdown menu (#5639) (201ef52)
- tabs: router link content projection error (#5663) (47050b0)
- tabs: tab-link cannot be disabled (#5759) (1afabd4), closes #5549 #5543
- time-picker: input value change not work (#5770) (31ca2da), closes #5678 #5741 #4934
- tooltip: enable cdk push (#5542) (55ec1cd), closes #1825
- tree-select: not clear search value when dropdown close (#5761) (602ea93), closes #5664
- tree-select: should be not clearable when disabled or unselected (#5769) (baede4a), closes #5603
- anchor: remove deprecated APIs for v10 (#5776) (e50d530)
- cascader: remove deprecated APIs for v10 (#5778) (7e64e4c)
- code-editor: remove deprecated APIs for v10 (#5798) (353e657)
- date-picker: remove deprecated APIs for v10 (#5793) (5159900)
- form,grid: remove deprecated APIs for v10 (#5788) (b215efa)
- notification: remove deprecated APIs for v10 (#5779) (e5ed4d2)
- table: remove deprecated APIs for v10 (#5792) (132e425)
- tooltip, popover, popconfirm: change deprecated APIs for v10 (#5817) (dc3088c)
- tree: remove deprecated APIs for v10 (#5789) (b378cb7)
- upload: remove deprecated APIs for v10 (#5774) (9f5baae)
- modal: support params and modelRef when footer is template (#5551) (07d91a1), closes #5506
- breadcrumb: add
nzRouteLabelFn
property (#5523) (#5545) (81ef791) - button: support text type (3f5d10b)
- card: support nzBorderless (#5796) (6e4419c)
- collapse: support nzGhost property (1a408ee)
- date-picker: add
open
andclose
methods (#5777) (be6eda4), closes #3352 #5771 - date-picker: add week month year range (#5832) (0725d88), closes #5742
- divider: support nzPlain property (d5232ac)
- drawer: add
nzFooter
property (#4618) (#5553) (2cd9e12) - drawer: support
[nzCloseIcon]
(#5546) (aa984f7) - input: support borderless (#5781) (6e7877b)
- pipes: add pipes (#4812) (e03e65b)
- skeleton: add nzRound prop and skeleton-element image (#5710) (aa2ea54)
- space: support
nzAlign
(#5299) (2febb92) - table: fix scroll bar displays always even unnecessary (#5794) (71be33a), closes #5405
- table: support nzOuterBordered (#5795) (471b0bf)
- tabs: support (nzContextmenu) event (#5749) (76931ac), closes #5712
- tag: support icon in tag (#5801) (b909354), closes #5628 #4581
- tree-select: support virtual scroll (#5760) (1f2d816), closes #5589
- typography: support keyboard and link types (#5355) (2d6fa62)
tooltip, popover, popconfirm:
- nz-tooltip
[nzOverlayStyle]
has been removed, use[nzTooltipOverlayStyle]
instead.[nzOverlayClassName]
has been removed, use[nzTooltipOverlayClassName]
instead.[nzMouseLeaveDelay]
has been removed, use[nzTooltipMouseLeaveDelay]
instead.[nzMouseEnterDelay]
has been removed, use[nzTooltipMouseEnterDelay]
instead.(nzVisibleChange)
has been removed, use(nzTooltipVisibleChange)
instead.
- nz-popover
[nzOverlayStyle]
has been removed, use[nzPopoverOverlayStyle]
instead.[nzOverlayClassName]
has been removed, use[nzPopoverOverlayClassName]
instead.[nzMouseLeaveDelay]
has been removed, use[nzPopoverMouseLeaveDelay]
instead.[nzMouseEnterDelay]
has been removed, use[nzPopoverMouseEnterDelay]
instead.(nzVisibleChange)
has been removed, use(nzPopoverVisibleChange)
instead.
- nz-popconfirm
[nzOverlayStyle]
has been removed, use[nzPopconfirmOverlayStyle]
instead.[nzOverlayClassName]
has been removed, use[nzPopconfirmOverlayClassName]
instead.[nzMouseLeaveDelay]
has been removed, use[nzPopconfirmMouseLeaveDelay]
instead.[nzMouseEnterDelay]
has been removed, use[nzPopconfirmMouseEnterDelay]
instead.(nzVisibleChange)
has been removed, use(nzPopconfirmVisibleChange)
instead.
code-editor:
NzCodeEditorService.updateDefaultOption
has been removed, useNzConfigService.set
instead.- Inject token
NZ_CODE_EDITOR_CONFIG
has been removed, useNZ_CONFIG
instead.
date-picker:
NZ_DATE_FNS_COMPATIBLE
has been removed. Please migrate to date-fns v2 manually.- nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker
[nzClassName]
has been removed, usengClass
instead.[nzStyle]
has been removed, usengStyle
instead.
table:
th[nzSort]
has been removed, useth[nzSortOrder]
instead.th(nzSortChange)
has been removed, useth(nzSortOrderChange)
instead.th(nzSortChangeWithKey)
has been removed. Please manually remove it.thead(nzSortChange)
has been removed, usethead(nzSortOrderChange)
instead.thead[nzSingleSort]
andth[nzSortKey]
has been removed. Please manually change toth[nzSortFn]
.
form,grid:
nz-form-item[nzFlex]
has been removed. Please manually remove this input.nz-form-item[nzType]
has been removed. Please manually remove this input.nz-row[nzType]
has been removed. Please manually remove this input.
tree:
NzTreeNode.isAllChecked
has been removed, useNzTreeNode.isChecked
instead.NzTreeNode.setSelected(boolean)
has been removed, useNzTreeNode.isSelected = boolean
instead.
notification:
NzNotificationDataFilled
has been removed, useNzNotificationRef
instead.NzNotificationDataOptions.nzPosition
has been removed, useNzNotificationDataOptions.nzPlacement
instead.
anchor:
nzTarget
has been removed, usenzContainer
instead.
cascader:
CascaderOption
has been removed, useNzCascaderOption
instead.CascaderSearchOption
has been removed, useNzCascaderSearchOption
instead.
upload:
UploadType
has been removed, useNzUploadType
instead.UploadListType
has been removed, useNzUploadListType
instead.UploadFile
has been removed, useNzUploadFile
instead.UploadChangeParam
has been removed, useNzUploadChangeParam
instead.ShowUploadListInterface
has been removed, useNzShowUploadList
instead.UploadTransformFileType
has been removed, useNzUploadTransformFileType
instead.UploadXHRArgs
has been removed, useNzUploadXHRArgs
instead.
9.3.0 (2020-07-09)
- config: fix empty check (#5537) (fd979f7)
- date-picker: nzDateRender render incorrectly (#5529) (fa7c7b4)
- i18n: export missing languages from public-api (#5515) (57b1180), closes #5510
- list: nz-list-item-actions rendered nothing (#5465) (c126035), closes #5393
- select: fix select scroll render buffer (#5536) (089421c), closes #5456
- table: fix table filter false or 0 error (#5535) (56f052c), closes #5505
- table: fix table no data colSpan (#5533) (7f133af), closes #5509 #5481
- tooltip: replace public api with more specific ones (#5449) (a165eda), closes #5365
- upload: fix
uploadError
of undefined (#5476) (71218d1), closes #5472
- datapicker: add [nzInputReadOnly] (#4534) (#5488) (13875cb)
- drawer: support get component instance for content (#5498) (bf160b6), closes #5489 #3283
- popconfirm: add
nzPopconfirmShowArrow
property (#5361) (#5483) (516e02d) - resizable: add
nzDisabled
property (#5475) (4d44d2e) - timeline: support custom position (#5478) (12e6b6f), closes #5470
- tooltip: add more specific api (#5449) (#5512) (352e5e7)
- upload: add
nzPreviewIsImage
property (#5525) (e55a586), closes #5520 #4990
9.2.2 (2020-06-23)
- datepicker: not open panel when input change(#5466) (aca104c), closes #5284 #5411
- modal: throw an error when autofocus on the confirm-mode (#5462) (6a26143), closes #5454
9.2.1 (2020-06-17)
9.2.0 (2020-06-16)
- affix,anchor: wrong value is set when the initial value is non-number (#5277) (1c72939)
- tree: fix nzCheckStrictly and selected keys bug (#5431) (67d9dd0), closes #5385 #5195 #5068
- badge: fix parent component use onpush nzCount not show (#5275) (d1f0321)
- button: fix button init loading status (#5404) (c764c67), closes #5392
- date-picker: get input width before panel open (#5357) (39a6c28)
- drawer: don't prevent events when nzMask is false (#5438) (abe9e53), closes #5350
- dropdown: fix dropdown disabled button (#5429) (797c65d), closes #5258
- grid: fix gutter zero (#5436) (80a4709), closes #5435
- input: fix input missing attr disabled (#5315) (2b17df2)
- input: fix reactive form disabled input-group style (#5428) (6d403e3), closes #5137
- input: support reactive form disabled (#5316) (8270009)
- menu: fix menu group ng-template error (#5409) (d0c36d6), closes #5363
- message: fix style not changed when property changes (#5323) (896f283), closes #5301
- modal: modal will close when clicking the scrollbar (#5377) (e95d404), closes #5376
- modal: nzAutofocus doesn't work correctly (#5313) (7ad64b8)
- modal: some cases there is no changes detected (#5332) (ade6198), closes #5328 #5287 #5259 #3743
- notification: fix notification template not updated (#5382) (7217097), closes #4787
- page-header: add compact style (#5241) (74fa3d6)
- radio: fix radio focus (#5424) (6e0f47b), closes #5285
- select: fix group label search (#5407) (7e1b5a7), closes #5276
- select: fix select autofocus behavior (#5420) (8617e58), closes #5381
- select: fix select nzCustomContent render (#5425) (f99d7ff), closes #5178
- select: fix tag mode wrong value with keydown (#5432) (fe5419b), closes #5220
- table: fix ExpressionChangedAfterError of nzRight and nzLeft (#5240) (dc8c7e7), closes #5238
- table: fix table colspan & empty data style (#5417) (2eda6d3), closes #5410
- table: fix table nzWidth not work with scroll (#5437) (c1e7e9f), closes #5370 #5324 #5318 #5309 #5167 #5160
- table: fix table sort default value change (#5433) (26469c8), closes #5262
- table: fix th nzChecked supersedes nzShowCheckbox (#5419) (6f5b935), closes #5388
- calendar: support nzDisabledDate of calendar (#5295) (aabd17e)
- code-editor: update the instance types (#5422) (eac9b08)
- input-number: support inputmode (#5423) (cdca7bc), closes #5341
- select: support nzBorderless in global config (#5434) (459bdb0), closes #5224
- slider: add nzReverse property (#5268) (67275d2), closes #4937
- table: support the generic type of data (#5369) (182e790)
- typography: support
nzOnEllipsis
output (#5297) (2200063) - upload: add
nzFileListRender
property (#5204) (ce5574a), closes #4875
9.1.2 (2020-05-13)
- all type errors with strictTemplates (#5265) (2982766), closes #5171
- list: empty content is always rendered (#5266) (ca7314c), closes #5260
- select: option item not selected with falsy value (#5264) (1c4d7d8)
9.1.1 (2020-05-11)
- auto-complete, drawer: cannot reopen when reuse route snapshots(#5165) (7101782), closes #5142
- alert:
nzNoAnimation
not work with the alert component (#5211) (de9ef6b) - breadcrumb: fix breadcrumb when Routes path='' (#4966) (5ffa45c)
- button: disabled not work with anchor (#5233) (36ab993), closes #5226
- dropdown: fix dropdown break SSR (#5244) (016cca1), closes #5186
- modal: global config cannot work with service mode (#5228) (95aab9a), closes #5223
- modal: modal cannot close after the host view destroyed (#5161) (5cb618e), closes #5128
- modal: rollback to component types can be the content of confirm-mode (#5177) (5fa4c1e), closes #5172
- schematics: invalid version will be added when the package already exists (#5210) (f406803), closes #5209
- table: fix table expand in multiple thead tr (#5246) (cbaeb38), closes #5207
- timeline: fix timeline check error (#5245) (ee2859f), closes #5230
- typography: ellipsis line measurement error (#5175) (93676c9)
- upload: fix invalid preview image in picture card (#5205) (cbe8225), closes #5201
9.1.0 (2020-04-26)
- auto-complete: dropdown position error with group-input (#5157) (5b26479)
- cascader: fix cascader position (#5148) (7870e67), closes #5102
- date-picker: set formControl disabled not work (#5126) (b83e7b5), closes #5118
- date-picker,time-picker: clicking host to open panel (#5105) (7c938b4), closes #5073
- description: fix description not accept TemplateRef (#5139) (90d2ec5), closes #5127
- form: the setStatus needs to call again on tips changes (#5144) (a08d4da), closes #5129
- menu: fix menu matchRouter not work (#5095) (2724b9b)
- menu: fix submenu scrollable (#5155) (fb52f21), closes #4837
- message: fix message remove error when no container (#5123) (1eca795), closes #5121
- modal:
NoopAnimations
do not work with modal mask (#5103) (d7625db), closes #5093 - notification: fix global config nzPlacement not working (#5140) (1ce1634), closes #5135
- progress: fix nzFormat not shown status is exception (#5136) (654411e), closes #5130
- select: fix ie11 select search input (#5117) (83cdc84), closes #5110
- select: fix virtual scroll hover bug (#5131) (d69415a), closes #5120 #5116
- space: fix config name (#5147) (64f772d)
- table: remove table nzQueryParams debounceTime (#5132) (07a9d34), closes #5113
- time-picker: allow undefined or null input (#5104) (d0b40ce), closes #5100
- tooltip: fix title not updated to component (#5097) (1123281), closes #5087
- backward-compatible with the previous rendering engine (#5090) (b61a914), closes #5088
- date-picker, time-picker: support custom suffix icon (#5072) (8b660bd)
- autocomplete: support values whit object type (#4996) (4bfbbf7), closes #4981
- select: support global config nzSuffixIcon (#5092) (ad847e7)
- select: support input nzOptions in select (#5109) (251a064), closes #5106
- select: support option height and opiton overflow size (#5133) (7b3937e), closes #5112
9.0.2 (2020-04-20)
- all: fix enableIvy:false with ng-zorro-antd (#5081) (83b554e), closes #5070
- button: fix button type definition (#5085) (62584de), closes #5026
- form: modify to subscribe to the parent component input (#4524) (565b530), closes #4554
- input: fix input group missing focus and disabled (#5082) (5ff38be), closes #5064
- popover: fix programmatically changing not trigger ngModelChange (#5053) (dbc2cd3)
- select: fix nzDropdownMatchSelectWidth not work (#5066) (d210f4d), closes #5058
- select: options overflow content cannot be hidden (#5057) (867dc87), closes #5047
- select: wrong sort in group option (#5063) (af39d5f)
- ngcc errors caused by overlapping entry-points (#5055) (7bc8279), closes #5045
9.0.0 (2020-04-15)
Welcome to the 9.0.0
version of ng-zorro-antd
,some APIs were deprecated in version 8.x, and warning message was given under dev mode. All deprecated APIs is removed in 9.0.0, if you have fixed all warnings in the 8.x version, you can follow these steps to upgrade your version.
- Make sure
Node.js
>=10.13
- Create a new branch, or use other methods to back up the current project
- delete the package-lock.json file
- Upgrade Angular to 9.x version, ref https://update.angular.io/
- Run
ng update @angular/cdk
, if you have used@angular/cdk
. - if you have used
date-fns
in your project, upgrade it to2.x
version, ref https://github.com/date-fns/date-fns-upgrade. - if you have used
monaco-editor
please upgrade it to0.2.x
, don't forget to upgrademonaco-editor-webpack-plugin
to1.9.x
if you have used it.
- Run
ng update ng-zorro-antd
- If a warning message appears in the console, follow the prompts to modify the corresponding code
We have upgraded date-fns
to v2. When you switch to date-fns
, some date formats will have a breaking change. Such as:
<!-- datefns v1 -->
<nz-date-picker nzFormat="YYYY-MM-DD"></nz-date-picker>
<!-- datefns v2 -->
<nz-date-picker nzFormat="yyyy-MM-dd"></nz-date-picker>
We recommend using date-fns
v2 date format. If you don't want to use the new date format, you can use NZ_DATE_FNS_COMPATIBLE
. When set to true
, ng-zorro-antd
will convert the format of v1 to v2. See the comparison of the old and new formats here.
providers: [
{ provide: NZ_DATE_FNS_COMPATIBLE, useValue: true }
]
** NZ_DATE_FNS_COMPATIBLE
won't be kept for too long, we will remove the support for date-fns
v1 format until ng-zorro-antd
v10**, we hope you can update the date-fns
date format in time. For date-fns
upgrade guide, see here.
We have upgraded the @angular/*
and @angular/cdk
versions to v9, and now you can use the Ivy rendering engine to run your project, and enable the strictTemplates
option to use more strict template type checking.
More help go to Angular Ivy and Template type checking.
We have synced the Ant Design 4 design specification and support the Dark and Compact themes.
- In previous versions, the Table component has integrated virtual scrolling, also now supported for Select and Tree components.
- Form and Table simplify usage and now allow for writing fewer templates and configurations.
- Allow adding icons in sub-modules to reduce the first screen load time.
- Now, the pop-up menu is automatically closed when the route is changed, and corresponding options have been added for components such as Modal.
9.0.0-beta.4 (2020-04-14)
- slider: fix handle transform in vertical mode (#4939) (6fba78d)
- add theme bundle files (#5012) (dc8fe9d), closes #5007
- badge: allow
nzTitle
set to null (#4965) (a35fb5e), closes #4776 - date-picker: click date cell not work when changing month or year (#4876) (3aebe7c), closes #3499
- list: fix the avatar part old API (#4952) (d8a2594), closes #4912
- modal:
nzModalFooter
not work when the modal open on init (#4954) (2f400e8), closes #4948 - modal: fix close button style (#5014) (174099e)
- page-header: location inject error (#5013) (9073fa5), closes #4945
- table: fix 4.1.0 style error (#4953) (44f606c)
- table: fix table no data (#4947) (7f7989e)
- time-picker: allow inputting string type (#4949) (3b45a22), closes #4775 #4777 #4871 #1679
- time-picker: ngModelChange not work (#4944) (a6ecdb9)
- time-picker: scroll to wrong position in datepicker (#4961) (cdf387f)
- tree: fix search case sensitivity (#4766) (828b13e), closes #1996 #4765
- tree: fix tree animation (#4973) (70b2fc3)
- code-editor: upgrade monaco to 0.20.0 and update interfaces (#4984) (3963ad1)
- notification: add onClick observable (#4989) (9224240), closes #4986
- space: add new component (#4928) (df01bd1), closes #4913
- table: support new nzQueryParams (#4970) (79ea999)
- tooltip,etc: support custom origin (#4849) (863fd4b)
- tree: support virtual scroll (#4979) (6803a92), closes #4426 #3808 #3436 #2680 #1771
- schematics: add v9 migration rules for carousel and inject tokens (#4469) (704cb9b)
- schematics: add v9 migration rules for tree (#4602) (87b8e55)
- support compact theme (#4972) (2cf34d0)
- notification:
- NzMessageDataFilled is replaced by NzMessageRef
- NzNotificationDataFilled is replaced by NzNotificationRef
9.0.0-beta.3 (2020-03-24)
- empty: fix empty image style in dark mode (#4924) (bae59d7), closes #4921
- table: fix nzTotal in frontend pagination false (#4922) (9ddc060), closes #4919
9.0.0-beta.2 (2020-03-19)
9.0.0-beta.1 (2020-03-15)
- code-editor: fix wrong initialization with diff mode (#4485) (#4532) (021cf22)
- auto-complete: close the panel when tapping scrollb… (#4551) (387ebc1), closes #4333
- breadcrumb: fix breadcrumb link style (#4880) (2553328)
- button: fix button animation bug caused by angular (9e0df2a), closes #2697
- cascader: fix not showing empty when there's no options (#4565) (9d8d7e6), closes #4562
- date-picker: select date but nzDefaultOpenValue not work (#4490) (2397819)
- drawer: disable transition animation when placement change (#4609) (e539096), closes #4224
- dropdown: fix ghost menu with contextmenu (39487f1), closes #3971 #4684
- dropdown: fix menu group style in dropdown (d928a8c), closes #4505
- layout: fix layout demo height style (bed60ff), closes #4676
- layout: fix responsive sider not work (9f951f8)
- menu: fix menu overflow detection & replace ul with div (4c8032b), closes #3412 #4227 #3687
- message: fix message and notification error in prod (#4884) (3e2f85d)
- table:
nzFilters
can is not null (#4595) (2c26e9f) - table: fix table data type (#4608) (70b1440), closes #4593
- timeline: fix reverse bug (#4690) (09bf8f4), closes #4509
- transfer: fix transfer nzTargetKeys property (#4670) (31089a1), closes #4641 #4360 #4210
- fix github workflow action (10a772f)
- calendar: delete deprecated input nzCard (#4464) (aed2e7d)
- carousel: remove vertical api (#4376) (37aa921)
- empty: remove injection token (#4465) (cc8018a)
- icon: remove old api (#4375) (91e52ab)
- message,notification: remove old injection tokens (#4404) (f9b0e75)
- tooltip,popover,popconfirm: remove component API (#4390) (f82e8a6)
- tree, tree-select: remove deprecated API (#4601) (1ec18e4)
- deprecate
NgZorroAntdModule
(#4519) (1a60f27)
- breadcrumb: support indenpendent separator (#4713) (1f490e9)
- collapse: support nzExpandIconPosition (#4781) (760512a)
- date-picker: add some inputs (#4843) (af4051e)
- date-picker: support parse input value (#4833) (6a523ba), closes #4028 #3976 #2492 #4101
- grid: support nzFlex and nzGutter array, deprecated nzType (c4d2694)
- i18n: support for Armenian (#4611) (038691f)
- i18n: support for Georgian locale (#4491) (d96ebe0)
- icon: support add icon in feat modules (#4711) (0bcd2a9)
- input: support textarea with clear icon (0af9242), closes #4623
- input-number: support nzPrecisionMode mode (#4185) (bfe089f), closes #4173
- input-number: trigger ngModelChange at once (#4769) (299ba6d), closes #3039 #3773
- menu: auto nzInlineCollapsed when sider collapsed (51fbf5e), closes #4680
- menu: menu with nzMatchRouter work with CanDeactivate (7560563), closes #4407
- notification: add close icon prop (#4495) (80a0b26), closes #4494
- pagination: nzItemRender support prev_5 and next_5 (#4754) (41c4860)
- progress: support steps (#4637) (fe8b469), closes #4635
- progress: support TemplateRef for nzFormat (#4598) (edf0e9c), closes #4596
- select: refactor the select to support virutal scroll (40daee9), closes #4585 #3497
- skeleton: add nz-skeleton-element (#4859) (8dc2ff3)
- tabs: add nzCanDeactivate hook (#4476) (a533980), closes #4432
- tag: support status colors (#4628) (aa22c0f), closes #4622 #4413
- tree-select: support
nzDropdownClassName
property (#4552) (df8c125), closes #4508 - typography: support
nzSuffix
property (#4629) (ca02a07), closes #4620 - schematics: add locale option in 'ng-add' (#4786) (dcd01cb)
- schematics: add v9 migration rules for dropdown (#4466) (aebad87)
- schematics: add v9 migration rules for icon and calendar (#4467) (3c5d24e)
- schematics: add v9 migration rules for tooltip-like (#4402) (313f7b8)
- checkbox: use css empty selector instead of observeContent (#4761) (da8821a)
- input: improve input-group perf (7af643b), closes #3950
- radio: refactor radio group data flow (#4770) (423a382)
- icon: -
NZ_ICON_DEFAULT_TWOTONE_COLOR
is removed. UseNzGlobalConfigService
instead.
chore: remove strange file
test: fix test
feat: add forRoot
docs: change doc
docs: fix icon English doc
- form: -
nz-form-extra
is removed. Please usenzExtra
isnz-form-control
instead.
nz-form-explain
is removed. Please usenzSuccessTip | nzWarningTip | nzErrorTip | nzValidatingTip
isnz-form-control
instead.
-
refactor(module:form): refactor and sync antd v4.0
-
refactor(module:form): refactor test
-
refactor(module:form): fix test
-
refactor(module:form): refactor form control and remove useless styles
-
form: -
nz-form-extra
is removed. Please usenzExtra
isnz-form-control
instead.
nz-form-explain
is removed. Please usenzSuccessTip | nzWarningTip | nzErrorTip | nzValidatingTip
isnz-form-control
instead.
-
chore: merge code
-
refactor(module:form): sync antd and fix test
-
input-number: ngModelChange trigger at once when user typing
-
pagination: prev_5 and next_5 is needed when use nzItemRender 'pre' typo was corrected to 'prev'
-
tree, tree-select: * tree
- Removed
[nzDefaultExpandAll]
use[nzExpandAll]
instead. - Removed
[nzDefaultExpandedKeys]
use[nzExpandedKeys]
instead. - Removed
[nzDefaultSelectedKeys]
use[nzSelectedKeys]
instead. - Removed
[nzDefaultCheckedKeys]
use[nzCheckedKeys]
instead. - Removed
(nzOnSearchNode)
use(nzSearchValueChange)
instead.
- tree-select
- Removed
[nzDefaultExpandedKeys]
use[nzExpandedKeys]
instead.
- message,notification: -
NZ_MESSAGE_CONFIG
is removed. Please useNzGlobalConfigService
instead.
NZ_NOTIFICATION_CONFIG
is removed. Please useNzGlobalConfigService
instead.config
method ofNzMessageService
andNzNotificationService
is removed. Please useset
method ofNzGlobalConfigService
instead.
- empty: -
NZ_DEFAULT_EMPTY_CONTENT
is removed. Please useNzConfigService
instead. - carousel: Carousel
nzVertical
is removed. Please use 'nzDotPosition' instead.
-
Removed deprecated API
NgZorroAntdModule.forRoot()
-
docs: update README.md and getting-started.md
-
chore: fix tslint hook
-
style: fix lint
-
build: fix generate-iframe script
-
style: fix lint
-
icon: -
i[nz-icon]
:twoToneColor
theme
spin
iconfont
type
inputs has been removed, usenzTwoToneColor
nzTheme
nzSpin
nzIconfont
nzType
instead.
i.anticon
selector has been removed, usei[nz-icon]
instead.
- calendar:
<nz-calendar>
nzCard
input has been removed, usenzFullscreen
instead. - tooltip,popover,popconfirm:
<nz-tooltip>
<nz-popover>
<nz-popconfirm>
components has been removed, use its directives instead.
8.5.1 (2019-11-18)
- code-editor: fix config (#4436) (5283a32)
- core: add type guard for isNotNil (#4431) (b3c686c)
- drawer: content overflow when placement is top or bottom (#4423) (9451de5), closes #4354
- tooltip: fix hiding when hover popover (#4418) (a6b5901), closes #4417
- tree-select: click label behavior is incorrect in strict mode (#4424) (7a11124), closes #4422
8.5.0 (2019-11-08)
- auto-complete: default value not selected (#4366) (09f1ec6), closes #4362
- date-picker:
nzDefaultOpenValue
not work in time panel (#4357) (dfa3d39), closes #4331 - date-picker: animation start after overlay open (#4315) (931fd48)
- mention: unable to select on mobile device (#4309) (1be6d51), closes #4281
- modal:
nzMaskClosable
not working in the confirm mode (#4347) (475bbc4), closes #4344 - page-header: has footer or breadcrumb style bug (#4363) (dcc7deb)
- pagination: replace full-width character with half-width (#4371) (cc3868e)
- select: prevent hidden options from being selected (#4382) (cf22133), closes #4377 #4377
- table: support nzWidthConfig null undefined value (#4342) (761e8e0)
- tooltip: fix not undefined value not updated (#4392) (2a71c43)
- tooltip: fix tooltip accessing destroyed view (#4387) (8e9e6a9), closes #3875 #4317 #4386
- tree-select: default tags incorrect in strictly mode (#4368) (a6547a0), closes #4364
- monaco-editor: support static loading (#4341) (29f732b)
- page-header: add
nzGhost
property (#4306) (4c78cca), closes #4303 - tooltip: support changing trigger (#4397) (48d7122), closes #4365
8.4.1 (2019-10-23)
- core: fix global config not working in prod mode (#4325) (cc9308d), closes #4319
- drawer: fix the HTML structure of the drawer header (#4311) (5cdd5db), closes #4304
- page-header: fix break change on the style (#4303) (4c10e5b)
- table: fix table nzWidth bug without the first column (#4329) (c6bdf15), closes #4312
8.4.0 (2019-10-15)
- tree: fix nzHideUnMatched bug (#4286) (87dd59e), closes #3970
- tree: update when property isLeaf is changed (#4289) (4b90577), closes #4037
- *: fix style error with 3.23.6 (#4258) (120c5be)
- auto-complete: not emit changes when retype same value while open (#4215) (21e91e3)
- i18n: update and add translations for de_DE (#4239) (f819fad)
- pagination: add space between page size and slash (#4038) (#4039) (b1bba9e)
- select: fix select dropdown position error (#4267) (0ccc62a), closes #3855
- select: fix select focus & blur & autoFocus event (#4270) (c7d90b7), closes #3991 #3757 #3708
- select: fix select input not grow correctly in IE (#4262) (9be58d9), closes #2427 #3907
- select: fix select scroll bottom not emit with search (#4272) (e9c5541), closes #3777
- table: fix table fixed style when nzData change (#4274) (b33533c), closes #4253
- tag: nzNoAnimation not working (#4257) (63f947e), closes #4244
- time-picker: add null input judgement when using datefns (#4283) (a05bc02), closes #3854
- tooltip: fix properties updated before origin is set (#4229) (b2b9c13), closes #4250
- tooltip: fix tooltip component not destory (#4291) (05cbd9f), closes #4103
- breadcrumb: add
nzRouteLabel
property (#4167) (34a8b0a) - cascader: support option render template (#4127) (8345c54), closes #3699
- mention: support for adaptive boundary (#4263) (812e1c5), closes #4260
- page-header: new pageheader style and support avatar (#4208) (c2fc616)
- select: support default value not in the option list (#4261) (51b26b4), closes #3672 #4000
- spin: support global indicator (#4221) (a7ecb8b), closes #2792
- table: support extra panel with nz-th-extra selector (#4278) (4701ee6)
- table: support td break-word display (#4273) (93ab305)
- tree-select: support
nzCheckStrictly
property (#4149) (1f8cf1d), closes #4120
- tree: change the collapsed of the treeNode to ngIf (#3947) (cbfc5ed)
- typography, tabs: make the
destroy$
complete when destroy (#4271) (51f4713)
8.3.1 (2019-09-24)
- affix: fix affix not working in some browsers (#4161) (d9bf4af), closes #4070
- core: fix HTML entities highlight error (#4162) (2665762), closes #4152
- date-picker: optimized interaction by using input box (#4146) (f0ddb79)
- i18n: add fallback mechanism (#4163) (9f87b77)
- i18n: added property missing in Arabic (#4165) (36a5ebb)
- progress: fix circle gradient not sorted (#4178) (7d37b1c)
- select: fix select compareWith array not work (#4140) (2b4776d), closes #4139
- steps: fix progress dot in vertical mode (#4193) (50b86be), closes #4184
- table: fix nzWidthConfig conflict with nzWidth (#4141) (a9900ed), closes #4083 #4142
- time-picker: place ViewChild decorator on correct f… (#4156) (b0ed836)
8.3.0 (2019-09-09)
- cascader: support falsy value expect for undefined and null (#4119) (0cb44ac), closes #4110
- editor: fix type any (#4105) (bd720fb), closes #4099
- i18n: fix i18n interface and Traditional Chinese (#4102) (bb9e89f), closes #4080
- i18n: fix Russian i18n file (f267bdd)
- i18n: missing catalan translations added (#4116) (c530c74)
- tabs: fix selected index not updated (#4094) (1e76e37), closes #3873
- *: support global config (#3613) (6eb041a)
- i18n: support for Romanian locale (#4068) (207e178)
- modal: support for custom close icons (#4072) (06b895e)
- progress: support nzTooltipPlacement (#4007) (d6a2968)
- steps: support navigation type and nzDisable nzSubtitle (#4064) (272dc98), closes #3931
8.2.1 (2019-08-26)
- cascader: fix column is not dropped in hover mode (#3916) (906849b)
- code-editor: fix destroying error when editor is not initialized (#4002) (a35fb09)
- code-editor: remove overflow styles (#4016) (ab832d9)
- descriptions: fix colspan calcuation in horizontal bordered (#4014) (345712f)
- table: fix border-right of small size and bordered table (#4027) (a3bd531)
- tabs: fix tabs still shows when no route is matched (#4034) (7ca0a52)
8.2.0 (2019-08-13)
- badge: fix init animations (#3925) (353c95b), closes #3686
- date-picker: keep the time value while clicking date (#3911) (9499aec)
- date-picker: open on enter and focus on inner input (#3804) (3f03ee1), closes #3146
- date-picker: sort range picker value when start is after end (#3956) (117b453), closes #3940 #1642
- message: fix container instance not destroyed in HMR (#3859) (07e86a5)
- table: fix nzWidthConfig in nzTemplateMode (#3958) (baab74b), closes #3957
- tooltip: empty judgement (#3993) (a853e96), closes #3909
- avatar: support image load error event (#3893) (ab4bcbe), closes #3223
- badge: support nzTitle and nzOffset property (#3977) (ffb7219)
- code-editor: add code editor component (#3706) (df78b2e)
- descriptions: add nzColon to toggle colon (#3923) (8e95cb1)
- drawer: support
nzKeyboard
property (#3896) (38062fb) - i18n: support Malay and Tamil language (#3924) (b87f1fe)
- page-header: add default behavior for the back button (#3891) (41bc285), closes #3421
- resizable: add resizable component (#3771) (5e71739), closes #3701
- statistics: countdown support finish event (#3902) (9ea40da)
- steps: support for clickable steps (#3934) (ac866ce)
- tabs: add router exact active parameter (#3862) (6b13faf), closes #3858
- timeline: add gray as a default color (#3922) (f889f34)
- schematics: use the project's style extension (#3930) (84b0355)
8.1.2 (2019-07-29)
- slider: change mark style in horizontal mode (#3879) (e6a6221), closes #3876
- tree-select: should not close when the selectable is false (#3843) (329ec22), closes #3833
- schematics: fix template files suffix (#3884) (5b4714f)
8.1.1 (2019-07-29)
- *: import PlatformModule when use platform in component (#3823) (6ec85a4)
- dropdown: hide backdrop when disabled and restore escape (#3831) (b758572), closes #3835
- form: fix form feedback error when init with tips (#3868) (7c0aa51), closes #3865
- select: fix select with tokenization bug (#3869) (fa462c7), closes #3825
- table: fix table small sticky style (#3849) (c4de8ff)
- tabs: fix the pagnation padding-right when scrolling (#3539) (#3709) (9a4df38)
- tooltip: fix position change not set back (#3857) (3dbb6dc)
- schematics: fix parse module name error (#3848) (d4e7210), closes #3844
- schematics: update copy-resources script to support Windows path (#3856) (915b67d)
8.1.0 (2019-07-19)
- date-picker: missing nzUse12Hours binding (#3781) (feae069)
- descriptions: fix changes to inputs of children not working (#3798) (3c65697), closes #3795
- descriptions: fix span calculation (#3799) (aaa5852)
- message: fix lazy load problem (#3797) (679fdea), closes #3794
- modal: buttons cannot disable when confirm mode (#3707) (3847250), closes #3679
- page-header: fix page-header style break change (#3803) (39d1f45)
- select: fix single selection choice content display issues (#3802) (4dd93e6), closes #3710
- table: fix table header scroll when fixed change (#3806) (0677540)
- table: fix table scrollbar bug (#3801) (7e00e52), closes #3796
- tree: unexpected disappear of tree-node (#3748) (1ff176e), closes #3739
- dropdown: allow backdrop to be disabled (#3769) (cb51069)
- i18n: add locale files (#3818) (7eac09e)
- modal: support use directive to define the footer (#3036) (f022a0f), closes #3035
- result: add component (#3731) (eb6377e), closes #2759
- tabs: support link router (#3718) (ab8a58c)
- tree-select: add
[nzHideUnMatched]
property (#3729) (3a3b33a), closes #3527
8.0.3 (2019-07-14)
- dropdown: fix dropdown contextmenu (#3782) (cce920d), closes #3768
- input: fix input disabled OnPush (#3786) (dd81155), closes #3732
- menu: fix menu nzMatchRouter in nested menu (#3785) (eb5d544), closes #3736
- switch: fix switch ViewChild static (#3784) (f59d79f), closes #3760
- table: fix table custom filter panel (#3787) (b9a7267), closes #3721
8.0.2 (2019-07-03)
Fix the dependencies version ranges.
8.0.1 (2019-07-01)
- tree: fix warning bug (#3692) (637c334)
- breadcrumb: fix warning startWith operators (fe28a0d)
- schematics: missing routing module in sidemenu template (#3695) (fdcef82)
8.0.0 (2019-06-29)
- button: fix order of DOM nodes in button (#3578) (c3df8b5), closes #3079
- card: fix card tab ng-template (#3654) (7585ba4)
- descriptions: fix warning without logger (#3663) (5826fc1)
- dropdown: dropdown should close when set disabled (0bd1ae3), closes #3420
- dropdown: fix dropdown change after checked bug (16d5c2d)
- dropdown: fix dropdown SSR bug (#3628) (ade1abd)
- form: fix form control validate with formControl (bc54e90), closes #3551
- form: fix form overlap (#3633) (0fc7d05), closes #3607
- form: fix nzValidateStatus & nzHasFeedback overlap (fb4965b), closes #3607
- grid: Make all properties in EmbeddedProperty optional (#3473) (107e731)
- input: fix ng-content nzAddOnBeforeIcon transclusion (#3597) (a37ec0a), closes #3596
- mention: fix cannot to switch trigger (#3632) (c8b5b09), closes #3629
- menu: fix menu title ExpressionChangedAfterItHasBeenCheckedError (52975ff), closes #3023
- menu: fix submenu not active when collapsed (67f6fa2), closes #3345
- pagination: fix pagination nzTotal 0 bug (#3651) (d28fc49), closes #3648
- select: fix nzOpen state when nzOnSearch trigger (3ca816d), closes #3626
- select: fix select enter open when disabled (36db36c), closes #3408
- select: fix the bug of duplication when keyboard input chinese char (#3440) (3c82f26), closes #3439
- table: compatible with @angular/material/table (79b02ca)
- table: fix sortChange with dynamic columns (#3603) (#3605) (c85743d)
- typography: fix the actions button order (#3677) (c2c28a4)
- typography: not render when the edit text has no changes (51b9ce0)
- avatar: add nzSrcSet & nzAlt properites (#3583) (d0ad5e8), closes #3543
- breadcrumb: support dropdown (#3636) (9dfab45)
- carousel: support dot position (#3575) (0566331)
- core: add universal logger funcs and deprecation warnings (#3538) (b893520)
- form: refactor form to support better template driven (10d0e28)
- input-number: support nzId (a6500c8)
- menu: support auto active menu-item via routerLink (c9e84c7)
- menu: support nzTitle & nzIcon in nz-submenu (0cde4d7)
- pagination: support pagination nzDisabled (141bef8)
- select: support custom template in select component (#3071) (aad02a5), closes #2946
- table: support nzVirtualForTrackBy (cb14096)
- transfer: add nzShowSelectAll & nzRenderList properties (#3588) (1619f30), closes #3567 #2870
- typography: add typography component (#3119) (4d739ef)
- schematics: add template option in
ng-add
(#3674) (69072de)
7.5.0 (2019-06-05)
- cascader: fix reset trigger redraw (#3481) (7c0e30c), closes #3480
- date-picker: replace DatePipe with formatDate function (#3500) (19ad7fd), closes #3487
- layout: fix width type (#3525) (fd803bd)
- select: display error when in tag and search mode (#3442) (a05f5a5), closes #3424
- button: support link type (#3503) (050f141), closes #3479
- carousel: support custom strategies (#3501) (a53a43a)
- descriptions: add component (#3327) (11bf89e), closes #2847
- drawer: support pressing ESC to close drawer (#3488) (2928f84)
- dropdown: support customize icons (#3517) (4329b51)
7.4.1 (2019-05-21)
- build: unable to build in production when importing secondary module (#3266)
7.4.0 (2019-05-19)
- breadcrumb: fix input boolean and router event not caught error (#3185) (fd43ec5), closes #3186
- carousel: fix carousel in entry components (#3367) (9d495fc)
- cascader,checkbox,switch,tooltip: fix memory leak problem (#3416) (c63849f)
- drawer: fix z-index level (#3405) (663f6c1), closes #3402
- menu: submenu should not remain highlighted (#3455) (fd47605)
- modal: cannot to close in order of overlay opens when using esc (#3339) (0533c32), closes #3338
- modal: content not work in confirm mode when the type is component (#3415) (6458c57), closes #3407
- modal: should not close when mousedown in the body (#3400) (82e488a), closes #3394
- progress: fix stroke color is not updated (#3445) (80c6ed4), closes #3441
- tree,tree-select: fix the styles of connecting line (#3385) (f7e9a7c), closes #3382
- card: support setting size (#3429) (2015021)
- drawer: support
nzOnCancel
for service mode (#3376) (3742eda), closes #3372 - tree-select: support customized icon (#3395) (0deda73)
7.3.3 (2019-04-25)
- 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)
7.3.2 (2019-04-22)
7.3.1 (2019-04-22)
- tree: fix nodes list to render correctly (#3326) (6d759a8), closes #3320
- select: fix select search display (#3324) (d91af03), closes #3322
7.3.0 (2019-04-21)
- support server-side rendering (#3295) (2088459), closes #3222 #43 #2025 #2474
- support standalone/secondary entry modules (#3234)
- modal: support
nzMask
andnzMaskClosable
global config (#3033) (12cac9e) - tree: support nzBlockNode (#3270) (5129f73)
- date-picker:
nzRanges
support 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)
- anchor: fix scroll bar misplacement in target container (#3242) (37ac541)
- drawer: create focus trap error when
nzVisible
default 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)
7.2.0 (2019-03-27)
- 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
- collapse: support
nzExtra
(#3177) (fbfb4da) - menu: support
nzMenuClassName
for 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)
7.1.0 (2019-03-21)
- tree: fix nzMultiple and rollback code (#3060) (c917938), closes #3076
- cascader: fix columns not dropped (#3037) (72a9e67), closes #3034
- date-picker: export
year-picker
component (#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)
- message: support
nzTop
(#3047) (351135b), closes #3041 - message: support template (#3102) (d3f6655), closes #3081
7.0.3 (2019-03-14)
7.0.2 (2019-03-11)
- pagination: fix pagination bug (#3067) (f4948d7), closes #3049
- steps: fix steps state change error under onpus 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
7.0.1 (2019-03-04)
- 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-assets
schema path (#3005) (5101928) - select: fix select reset in form (#3017) (30b3d86), closes #3014
- table: fix table crash with double binding (#3007) (a2202b4), closes #3004
7.0.0 (2019-02-28)
-
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.
- tree: fix animation of expand method (#2989) (5142d18)
- tree: fix remove and clearChildren missing origin (#2995) (41b0e67)
- tree-select: fix nzNodes type (#2992) (c435853)
- affix: fix should reset placeholder size when trigger resize event (#2835) (7068a5e), closes #2818
- all: move hostbinding to constructor to fix angular transition bug (#2895) (e39f6bf)
- anchor: fix called detectChanges when component destroy (#2864) (0e5c937), closes #2860
- cascader: fix children state not changed in async demo (#2985) (b87e8bb), closes #2984
- cascader: fix empty shown when searching value (#2906) (89c94ee), closes #2903
- cascader: fix searching error when nzOptions is an empty … (#2846) (e33cc50), closes #2784
- core: fix the style of CDK conflicts (#2917) (37cf6f3), closes #2874
- drawer: ngOnDestory may called before onInit (#2037) (9bf9299)
- empty: fix locale cannot change dynamically (#2866) (2a2fbca)
- empty: show no empty when use pass null (#2768) (48d5333)
- grid: fix grid responsive (#2915) (ab05619), closes #2908
- i18n: Danish locale is exported and mentioned in i18n docs (6554cf5)
- input: fix antd input style change & input password demo (#2969) (bd03a91), closes #2945 #2956
- radio: children unable to focus in radio label (#2850) (58743b8), closes #2774
- select & module:table: fix table style error & select error (#2987) (0d6fc9e), closes #2983
- slider: fix defaultValue check error (#2986) (c3649bc)
- switch: fix switch error when loading or disabled (#2896) (a67984c), closes #2787
- tooltip: fix setTitle proxy to nzTitle (#2698) (f6dfbd9), closes #2695
- tree: word misspelling(destory -> destroy) (#2914) (a7b4e09)
- tree-select: fix tree-select overlay's index problem (#2764) (599ae1a), closes #2730
- all: support disable animations in every components (#2975) (0d7736e), closes #2401 #2922
- auto-complete: close panel when the trigger element blur (#2916) (1e075f9), closes #2885
- auto-complete,mention,select,tree-select: prevent loss of focus when the options click (#2979) (fcaa6d1), closes #2448
- calendar: sync some changes from ant-design (#2769) (#2963) (35a6f0d), closes #2796
- cascader: reposition cascader when column opens (#2836) (289ba54), closes #2181 #2809
- collapse: add extra field (#2923) (dd0cec2), closes #1911
- collapse: support custom icon (#2783) (a530f80)
- comment: add comment component (#2767) (1d68e44), closes #2731
- date-picker: support nzDisabledDate for year-picker (#2949) (71dda9b), closes #2194
- empty: add empty component (#2722) (8906dff), closes #2711
- i18n: update missing fields in fr_FR(NG-ZORRO#2586) (#2737) (c821d56)
- icon: fix falsy render (#2912) (6dd3cbf), closes #2911
- icon: support rotate (#2891) (07f76af), closes #2888
- icon: update dependency to support namespace (#2641) (a2000fa)
- input: fix *fix icon new api capability (#2841) (3c954cb)
- layout: support zeroTrigger (#2938) (4e4231d), closes #1950 #1951
- message,notification: add close event (#2952) (f2e45ea), closes #2458
- modal: support set
nzOkDisabled
andnzCancelDisabled
(#2856) (fa6a8e9), closes #1838 - notification: support nzData as context in template (#2926) (51940f7), closes #2755
- popconfirm: support custom icon (#2964) (ff030ff), closes #2196
- rate: add tooltip support (#2794) (e121bd3)
- slider: support nzTooltipVisible (#2930) (d3e61d4), closes #2373
- statistic: add statistic and countdown component (#2760) (abb9ae4)
- tabs: support lazy load tabs (#2968) (626a0f4), closes #2716
- tree-select: support set
nzNotFoundContent
(#2740) (d9055f5) - tree-select: support set the max count for tags (#2970) (4081abb), closes #2488
- upload: support with non-image format file preview (#2709) (4c41715)
7.0.0-rc.3 (2018-12-26)
- table: fix table sticky style (#2688) (50d4fc4)
- transfer: fix the
Not Found
display condition (#2687) (3df5779), closes #2686
7.0.0-rc.2 (2018-12-24) [deprecated]
- input: fix input autoresize (#2662) (0621ce8), closes #2646
- layout: fix sider nzBreakPoint (#2665) (4fbfccb), closes #2603
- radio: fix radio ContentChildren error (#2660) (36b2099), closes #2206 #2611
- tabs: fix tabs style error (#2673) (458c062)
- autocomplete,dropdown: add class & style properties in overlay panel (#2639) (b7f41f8), closes #2634
- i18n: add Slovenian support, ICU locale sl_SI, #2545 (#2652) (d0b9a2a)
- make the doc website a pwa (#2661) (4f48ecd)
7.0.0-rc.1 (2018-12-12)
- drawer, modal: fix focus bug of IE (#2589) (0458604), closes #2388
- collapse: fix collapse (#2597) (5bb1a99), closes #2567
- icon: add missing icons used by ng-zorro-ant itself (ef10595)
- select: add title property for select component (#2575) (3444634), closes #1974
- table: should prevent tr click trigger when clicking expand (#2618) (88be1c3), closes #2419
- schematics: compatible with old version options (#2622) (bb1489b)
- tabs: support forceRender in tabs (#2619) (fa9160c)
- upload: support Observable in nzFilter (#2590) (c664c6f), closes #2389
7.0.0-rc.0 (2018-11-30)
- menu: fix dropdown menu item selected className (#2434) (acbe5da), closes #2433
- menu: fix fold menu (#2454) (f228013), closes #2449
- timeline: fix loading icon (#2386) (cebfff7), closes #2377
- readme: fix misspelling (#2472) (e5535d2)
- Adds danish locale (#2486) (1c7f983), closes #2485
- avatar: support custom size (#2416) (0bf8a36), closes #2380
- drawer: add input property in NzDrawerRef (#2464) (9565cd5), closes #2403
- modal: support clicking ESC to close modal (#2483) (c72f431), closes #1999
- progress: support custom strokeColor and strokeLinecap (#2404) (167a110), closes #2378
1.8.1 (2018-11-24)
- collapse: can't fold up active panel with accordion (#2440) (a17ea49), closes #2437
- list: fix invalid render empty style when unspecified data source (#2415) (7ae325f), closes #2385
- menu: fix dropdown menu item selected className (#2434) (e6e2369), closes #2433
- menu: fix fold menu (#2454) (e41640a), closes #2449
1.8.0 (2018-10-26)
- calendar: fix calendar year picker (#2355) (a4a948c), closes #2351
- esm5: fix esm5 package (#2357) (e06b9a7), closes #2339
- layout: fix layout init breakpoint nzCollapsed value (#2350) (8f58fae), closes #2343
- menu: fix menu level 4 padding error (#2356) (7906066), closes #2327
- spin: fix spin hang error with submenu (#2352) (65fc10a), closes #2346
- tree: fix icon to svg & draggable event listener (#2338) (8bc488e), closes #2332 #2205 #2336
- tree-select: can't work default values in OnPush mode (#2364) (04cf7aa), closes #2318 #2085
- icon: add injectiontoken config and default twotone color (#2353) (bea1d05)
- list: list empty style (#2365) (e2d09a0), closes #2362
1.7.1 (2018-10-23)
- drawer: style error when the unit is percentage (#2334) (9e07702), closes #2333
- icon: fix icon miss in components (#2321) (af4ddfb), closes #2326
- icon: fix icons problems (#2325) (8a0d412)
- schematics: fix object comparisons method (#2328) (a7beda8)
1.7.0 (2018-10-18)
- tabs: hide next and prev buttons when nzTabPosition is left or right (#2239) (3bb8be5)
- breadcrumb: navigate within angular (#2283) (0c41306), closes #2254
- button: fix button loading bug (#2251) (cb71e9b), closes #2191
- cascader: fix error when nzOptions change and in search mode (#2241) (c3c2d26), closes #2105
- cascader: fix support to nzLabelProperty (#2231) (37523c8), closes #2103
- date-picker: fix the calendar not shown up when click on the icon (#2235) (8ffcfac), closes #2221
- date-picker: use fixed width when "nzShowTime" settled for picker (#2236) (463a14c)
- icon: fix broken icons (#2248) (e0d9987)
- icon: fix icon classname writeback (#2259) (c6337c2)
- list: fix does not trigger change detection correctly when from empty array to data array (#2199) (92c1a85)
- select: fix space closing select panel (#2240) (3d7fe39), closes #2201
- select,tree-select: prevent pop the dropdown when click remove (#2290) (4fa9367), closes #2276
- spin: fix cdk change detection (#2255) (25671b6), closes #1819
- table: fix filter table header in ant design 3.10 (#2260) (ebf151a)
- upload: fix only allow type is picture or picture-card generate thumbnail (#2219) (8306111), closes #2216
- icon: switch to SVG icons (#2171) (7bdb79b)
- modal: auto focus when open and restore focus when close (#2188) (7c0ced4), closes #2124
- schematics: add fix icon schematic (#2238) (8861beb)
1.6.0 (2018-09-22)
- date-picker: fix year-picker and month-picker style error within compacted input group (#2136) (049212f)
- calendar: fix calendar year list (#2140) (e485d02), closes #2091
- cascader: search correctly when a root node is a leaf node (#2108) (28556e4), closes #2104
- drawer: drawer content cannot scroll (#2120) (e8dad8f), closes #2119
- steps: fix dynamic steps error (#2149) (ee3fa7e), closes #2148
- publish: add version number validation and rename script (#2117) (bc1f6fa)
- schematics: compatibility with Angular CLI 6.2.0 (#2131) (ac428db)
- test: fix test coverage dependency (#2146) (310771f)
- upload: fix typo (#2173) (69c5210)
- drawer: support service to create drawer (#1981) (a232d59), closes #1937
- upload: add directory support (#2164) (3ef8bcf), closes #2167 #2154
- tree: support more functions & property (#2121)
- skeleton: add skeleton component (#1829)
- build: use ng-packagr to generate library (#2126)
1.5.0 (2018-09-09)
- drawer: provide custom scroll strategy (#2095) (b993068), closes #2070
- modal: fix generic type of the "nzComponentParams" for user to gain more type intellisense (#1812) (6ef1185)
- breadcrumb: support auto generated breadcrumb (#2050) (64d191c), closes #2001
- button: support block style (#2051) (2858ba1), closes #2047
- drawer: support top and bottom placement (#2039) (693b4eb), closes #2015
- modal: support customized modal config (current "autoBodyPadding") (#2006) (1d5e06c), closes #1720
- select: support open and close panel via keyboard (#2038) (b2ea96a), closes #1909
- steps: support customized starting index (#2021) (bc7bf17), closes #1994
- publish: add publish script (#1979) (98cb651), closes #1925
1.4.1 (2018-09-02)
- auto-complete: can't select option when touch (#2054) (2e8e63d), closes #2053
- modal: close modal itself before destructing by the angular's lifecycle (#1769) (075c7a4), closes #1663
- pagination: take minimum of page range and total (#2046) (30bccd1), closes #2036
- table: fix row spaces (#2061) (cb34983), closes #2059
- tree-select: unable close when used OnPush (#2028) (fb83354), closes #2012
1.4.0 (2018-08-19)
- avatar: tolerate error src (#2008) (d55cdf2)
- carousel: carousel on desktop can't slide images (#1970) (02a84a9)
- cascader: fix dynamic loading error (#1931) (d4d24fb), closes #1927
- cascader: should not change on hover work (#1991) (577ae47), closes #1966
- select: fix input not blur after user hits enter key (#1943) (a64d04c), closes #1940
- tooltip,popconfirm,popover: not create element when use directive (#1968) (fa40145), closes #1967
- tree-select: update selected nodes when after set nodes (#1946) (cd928e1), closes #1934
- tree: fix loading style (#1942) (19fc2ee)
- modal: smart to determine whether to add padding-right (#1877) (a5d631d), closes #1422
- timeline: custom circle color (#1959) (fb3daa1), closes #1956
1.3.0 (2018-08-03)
- auto-complete: reposition when open the first time (#1863) (c80bc8d), closes #1840
- date-picker: restrict the date when it overflows at the month panel (#1903) (3c654a5), closes #1899
- cascader: add cascader search (#1873) (633bc87), closes #1773
- date-picker: refactoring and add new feature of year-picker (#1906) (f1f5625), closes #416
- drawer: add drawer component (#1789) (33aff47), closes #1565
- radio: add solid button style (#1892) (945a924), closes #1891
- table: support default filter (#1893) (cea0e51), closes #1872
1.2.0 (2018-07-22)
- carousel: resize content after window resized (#1815) (1e0a029), closes #1811
- input-number: NzAutoFocus doesn't work or work as expected (#1833) (739b353), closes #1706
- tree: sync checked node status and push to checkedNodeList (#1809) (5305723), closes #1802
- input: mix using addon and affix (#1857) (ca2d7e0), closes #1795
- input-number: fix touched event (#1858) (7c90a72), closes #1785
- tabs: prevent focus cause scroll offset (#1845) (bbcb0de), closes #1821
- upload: fix parameter value muse be a function or boolean in nzRemove (#1851) (3532bbe), closes #1850
- carousel: add swipe gesture support (#1856) (bb5bdd3), closes #1816
- carousel: support dot render template (#1860) (c1f15b6), closes #1743
- form: support touched status update (#1861) (27ca5bc), closes #1665
- tree-select: support custom display in the trigger (#1832) (1cc3646), closes #1823
1.1.1 (2018-07-02)
- tree: fix disabled node status & doc (#1737) (92675e4), closes #1721
- auto-complete, mention, tree-select: update cdk overlay positioning strategy (#1761) (82af2ff), closes #1756
- date-picker: support changing language at runtime (#1768) (9caabb5), closes #1717
- list: fix loading style misplacement of spin (#1767) (336cc08), closes #1739
- radio: fix radio disabled bug in group (#1746) (86fc773), closes #1734
- radio: fix radio in reactive form (#1748) (b7a831d), closes #1735
- select: trigger keyboard on ios (#1653) (#1751) (89d05f9), closes #1752 #1274
- transfer: fix title dislocation when form-item layout (#1745) (4005c7c), closes #1732
- tree-select: fix unable to set null (#1760) (689f8b4), closes #1740
- tree-select: width is 0 when trigger element is invisible (#1775) (4eb039a), closes #1772
- table: fix selector error (#1742) (aeb485f), closes #1736
1.1.0 (2018-06-25)
- cascader: fix custom render with nzClear (#1676) (c683bc3), closes #1646
- autocomplete: AOT compiler requires public properties (#1686) (a1f326d), closes #1683
- card: fix card loading style (#1696) (70cb591), closes #1695
- date-picker: fix date display of the end part is not as expected (#1709) (b1a1235), closes #1693
- nz-alert: emit close after fade animation is done (#1667) (6b31ca3), closes #1666
- select: move select ovarlay to the last of container (#1673) (442e3f3), closes #1672 #1643
- th: fix table th filter & style bug (#1674) (1a4332a), closes #1671 #1660
- tree-select: position error when in the modal-box (#1687) (43910f9), closes #1681
- ng-add: remove compiled css from styles when use custom theme (#1655) (fc67ce5)
- showcase: use differenceInCalendarDays to do judgement with days for date-picker's demo (#1648) (7d593e6)
1.0.0 (2018-06-11)
- tree: fix nzOnSearchChange & folder tree demo (#1602) (b8e4432), closes #1601
- tree: support custom property (#1584) (1ca696a), closes #1580
- checkbox: fix invalid setting width via style (#1577) (ec4be6b), closes #1359
- modal: fix multiple nzOnCancel calls (#1590) (bc07be2), closes #958
- modal: miss returned value from nzOnOk or nzOnCancel (#1456) (9d6e93b)
- pagination: fix still show when total is 0 and nzHideOnSinglePage is true (#1583) (c5c33d0)
- popover: fix popover nzTemplate value (#1608) (7cf6ee1)
- radio: fix nzDisabled in radio-group (#1574) (024c488), closes #1543
- spin: fix spin error in antd 3.6.1 (#1607) (8a1a9ca)
- transfer: fix TransferItem type to work with strictNullChecks (#1589) (7601af1), closes #1588
- ng-add: duplicate add bugs (#1623) (214a00d)
- ng-add: fix import path in theme file (#1611) (aa953dc)
- tree: sync ant style & add dir demo (#1559) (0fbf135)
- table: add nzHideOnSinglePage property (#1585) (3bc2e90)
- schematic: support ng add & ng generate (#1430) (9ed3590), closes #1405
0.7.1 (2018-05-24)
- tab: fix vertical-bar error in docs (#1499) (e5d5860)
- autocomplete: form related bugs (#1451) (c91a0f8), closes #1437
- date-picker: improve the horizontal position adaptability (#1495) (64f5ce5), closes #1450
- input-number: fix focused style could not be removed after blur (#1453) (80a559f), closes #1449
- menu: fix menu ngfor bug (#1519) (4f6c266)
- message: increase the overlay's zindex tobe the same with… (#1461) (5a51344), closes #1457
- popconfirm: add nzOkType support (#1492) (6f394a4), closes #1312
- sider: fix typo - isSiderTrgger to isSiderTrigger (#1434) (f1f26ad)
- input-number: support input-number placeholder (#1512) (7e3d4e4)
- autocomplete: support bind any types to the nzModule of trigger element (#1397) (b44296e), closes #1298
- switch: support fully control by user (#1514) (70ca8bd)
0.7.0 (2018-05-15)
- tree: fix wrong checked nodes (#1425) (5a06694), closes #1423
- autocomplete: fix styles (#1393) (5ad0452), closes #1384
- steps: fix steps ngfor (#1421) (35da659), closes #1418
0.7.0-beta.5 (2018-05-01)
- input-number: fix display value after formatter changed (#1371) (179c1e2)
- upload: fix ngModel was changed to nzPercent in nz-progress (#1320) (9b7336e), closes #1209
0.7.0-beta.4 (2018-04-12)
- tree: add origin param to NzTreeNode (#1221) (c9686ca)
- card: fix avatar and detail alignment (#1255) (6b13ce0)
- carousel: fix carousel autoplay bug (#1309) (dd3265d), closes #1242
- i18n: fix i18n error without locale (#1220) (880f0e8)
- mention: getMention method should kepp the mention prefix (#1287) (7925f48)
- menu: fix menu ExpressionChangedAfterItHasBeenCheckedError (#1306) (e63668d), closes #1216
- docs: change the homepage url of angular.cn (#1289) (471e064)
- message,notification: fix message/notification cause multi-detection error while used in dynamic creating component (#1218) (f2624cb), closes #391
- select: fix select zero value & scroll bug (#1299) (0552141), closes #1229 #1245
- table: fix scrollbar calc (#1315) (0416900), closes #1205
- table: fix table th filter style (#1300) (29c559a), closes #1238
- tag: fix default color when empty color values (#1256) (ba3a323)
- transfer: removed change detection (#1260) (d507848), closes #996
- mention: add mention component (#1182) (e28c1b5)
- mention: add prefix property to nzOnSearchChange payload (#1296) (1af5b42)
0.7.0-beta.3 (2018-03-26)
- i18n: fix doc (#1186) (4ba77c2)
- card: fix card style (#1194) (ad80297), closes #1191
- form: fix form init style miss & fix doc (#1174) (ab37862), closes #1170 #1173
- input: fix input disable style in reactive form (#1167) (5c07161)
- table & i18n: fix table style & export i18n interface (#1163) (fdd03d7)
- modal: add afterOpen/afterClose/afterAllClose/closeAll/openModals, adjust the boolean props and changeBodyOverflow and complete testing. (#1165) (10227b8), closes #1155 #1162
- modal: support triggerOk/triggerCancel to trigger nzOnOk/nzOnCancel manually (#1201) (8cc016e)
0.7.0-beta.1 (2018-03-15)
- back-top: fix style (#1125) (60fe850)
- calendar: use correct classNames (#1118) (5392fde)
- list: change contentchild to input (#1100) (5d9133b)
- progress: fix 100% when specify invalid value (#905) (8afedaa)
- spin: remove spin container if no content (7639eac)
- spin: support dynamic ng-content in spin (#925) (cc7a83b)
- transfer: change contentchild to input (#1099) (abb7de0)
- affix anchor backtop: refactor affix anchor backtop (#1025) (24abd10)
- autocomplete: add autocomplete component (#1093) (1461293)
- avatar: add avatar component (#1028) (65535d5)
- divider: add divider component (#1029) (7895e80)
- divider: add nzOrientation property (#1126) (e100681)
- doc: support sync single demo dir (#936) (73e4a95)
- list: add list component (#1031) (9e71deb)
- list: add nz-list component (6481a88)
- menu dropdown: refactor menu dropdown & add test & add doc (#990) (ca1d4e2)
- tree: add tree component (#1147) (7ca5de3)
- upload: add upload component (#1040) (a9efbaa)
0.6.10 (2018-01-06)
- affix: fix affix nzOffsetTop bug (#868) (f0bad26)
- radio: fix radio button click bug (#867) (2de24ee), closes #854 #857 #855
- datepicker: add range-picker component (#656) (9df3eb9)
- locale: support russian locale (#853) (8d65a83)
0.6.9 (2018-01-02)
- calendar: fix month/year view switched (#768) (383a0f4)
- transfer: 1.fix the "checkAll" status not updated 2.change "ArrayObservable.of" to "of" (#834) (9c023fa)
- radio: use nz-radio components alone (#825) (15c968c)
- transfer: add canMove property & make component using OnPush (#824) (d31c596)
0.6.8 (2017-12-21)
- modal: fix modal type error (#784) (cb0ab64)
- overlay: update overlay width when the host component's width change (#780) (62fc733), closes #779
- popconfirm: fix backdrop of popconfirm (#786) (60cf7a9), closes #785
- table: fix the missing of init table sort class (#781) (b828025), closes #771
0.6.7 (2017-12-15)
- datepicker: disable datepicker when user input (#738) (84c0f23)
- select: reset select component this._value (#754) (4a50d0d)
- slider: fix set value in slider (#743) (d0a6793), closes #739
- calendar: use months short format (#737) (805538c), closes #736
- tooltip,popover,popconfirm: support "nzMouseEnterDelay" and "nzMouseLeaveDelay" (#758) (3a894f0), closes #757
0.6.6 (2017-12-11)
- datepicker: enable simplified boolean usage (#726) (6cf80b0)
- rate: ensure value to be number (#728) (35687c3)
- slider: fix slider min & max (#732) (6eda3a7)
- slider: rectify return value (#729) (6b095a8)
0.6.5 (2017-12-10)
0.6.4 (2017-12-10)
- form: support default nzValidateStatus & support more error status (#696) (3d4213f), closes #693 #692
- grid: support zero input in grid (#704) (e50b72f), closes #702
- select: support placeholder for basic select (#703) (a842cdd), closes #413
- tooltip,popover,popconfirm: do not show tooltip when it's content is empty (54ff189), closes #631
- tooltip,popover,popconfirm: support hover on the content of it's overlay (e712d87), closes #701
0.6.3 (2017-12-06)
- affix: fix position offset when has deferred render componets. (#672) (74b01da), closes #671
- radio: value can not be dynamically update (#677) (bedcf96), closes #668
- select: fix choose disabled item via direction key control (#675) (80d637d), closes #674
- select: usage public property in accessing other components (#679) (8ba3ea8)
- turkish: create tr-TR.ts (#634) (a731817)
- i18n: support zh-TW (#687) (05c1f87)
- carousel: add enhancement API and methods (#688) (c22dad3), closes #652
- select: support custom option template (#689) (d76763c), closes #227
- select: support nzScrollToBottom event (#678) (b7cc148), closes #676
- all: simplify boolean attributes (#459) (08f10e4)
- packaging: generate sourcemaps (#666) (8665639), closes #662
- packaging: umd file name simplified from 'ng-zorro-antd.js' to 'antd.js'
0.6.2 (2017-11-29)
- slider: support dynamic update nzMarks from outside (#636) (aea80c4), closes #624
- table and pagination: support custom the page size changer select values(#608) (#626) (034bd71)
0.6.1 (2017-11-26)
- datepicker: fix disabled today button (#611) (5203614), closes #604
- select: fix duplicated option bug (#609) (9385826), closes #590
- transfer: fix select all items in search (#602) (072c97a), closes #599
0.6.0 (2017-11-18)
- menu: do not remove submenu when click title (#576) (37cef47), closes #454
- popover,steps: fix popover always show title placeholder & steps nzDescription property support TemplateRef (#556) (4a4e393), closes #555 #523
- select: fix multiple select width (#575) (7006766), closes #560
- modal: support disable the esc key to close (#567) (75bc6b6)
- timepicker: support dynamic binding [nzDisabledHours] (#568) (22e2931), closes #286
- tooltip: support usage like: test (#545) (b4824d9), closes #345
- transfer: add transfer component (#578) (84895cb), closes #132
0.6.0-rc.3 (2017-11-04)
- affix: fix FPS drops (#490) (50b2606), closes #477
- pagination: wrong event by changing the page size (#486) (ad5bc29), closes #482
- tabs: repeat rendering the TabBarExtra when used nested tabs (#489) (3289e7f), closes #452
- classMap: improve classMap performance (#528) (e5b5cc9)
- polyfill: polyfill all request animation (#527) (8c5a41a)
0.6.0-rc.2 (2017-10-29)
0.6.0-rc.1 (2017-10-28)
- table: fix the wrong semantics about param "nzShowExpand" of nz-row-expand-icon (e4f8337)
- i18n: support i18n functionality (zh-CN, en-US currently) (552fa50), closes #427
- locale: support change locale at the runtime (globally) (af6c926)
- packaging: 1. usage related to cdk is changed 2. @angular version dependence update to ^4.4.3 (due to @angular/cdk)
- table: the usage of param "nzShowExpand" is changed to the opposite value. The former, "nzShowExpand" represent as "hide the expand icon", now this change correct it to "show the expand icon".
And the default value of "nzShowExpand" has changed to "true".
0.5.5 (2017-10-21)
- dropdown: fix dropdown trigger events (#466) (6034f54), closes #390
- dropdown: fix unsubscribe undefined bug (#464) (a0dcad3), closes #269
- calendar: add year number to month template (#465) (0eba3ae), closes #461
- steps: support [nzProgressDot] property in vertical mode (#446) (98e2579)
0.5.4 (2017-10-14)
- datepicker: data binding not work when mode is month (#421) (dca0895)
- modal: restore body overflow before destroyed the component (#415) (083dd03), closes #412
0.5.3 (2017-09-30)
- demo: fix demo site performance (#403) (2e88b56), closes #187
- table: fix nzIsPageIndexReset for wrong display (#372) (#373) (90f0333)
- all: export all components when build (#404) (802a98c), closes #275
- collapse: support custom header (#383) (ca42f00)
- datepicker: support month picker (#397) (4cb03fa), closes #351
- menu: animate expand/collapse menu (#330) (7edba94), closes #25
0.5.2 (2017-09-23)
- cascader: select and render leaf label & reset in reactive form (#335) (#336) (#356) (c80bb8e)
- menu: fix submenu ExpressionChangedAfterItHasBeenCheckedError (#368) (10989ae), closes #367
- select: fix select style in inline form (#362) (ae06649), closes #306
- table: fix nzWidth with ngIf (#349) (d5d379b), closes #302
- moment: rollup compile with incorrect sourcemap (#331) (aec9f83)
- modal: show confirm loading status of modal opened by nzModalService (#340) (90b7e12), closes #365
- select: support undefined reset select (#363) (1a997c2), closes #284
- table: add nzIsPageIndexReset option (#348) (#359) (60e3da9)
0.5.1 (2017-09-16)
- datepicker: end decade cell text (#301) (d16061f), closes #300
- input: fix type error (#283) (cd84e47), closes #282
- layout: fix slider breakpoint in mobile device (#299) (47c4d86), closes #292
- pagination: prevent repeated emit events (#281) (ec66e13), closes #280
- pagination: prevent selection after double click (#268) (46ae81a), closes #267
0.5.0 (2017-09-09)
- all: patch all components with setDisabledState (#188) (69b8979), closes #134
- carousel: carousel slide height depend on inner content (#242) (94bac1b), closes #162 #170
- cascader: fix nz-cascader don't refresh when nzOptions binding data changed (#219) (#221) (74b2506)
- checkbox: fix trigger twitce in safari (#256) (cd5b511)
- core,root: ensure compatibility to v4 (#233) (2b5c083)
- datepicker: year and month display in opposite way (#243) (4b5ea54), closes #232
- dropdown: should always debouce before subscribe visibleChange$ (#237) (0180e1c), closes #234
- input,datepicker,input-number,select,slider: still dirty when "form.reset()" called (#257) (4233db1), closes #114
- inputnumber: validate inputnumber value & rewrite strategy (#230) (28669ae), closes #42 #203
- select, datepicker, timepicker: close dropdown when change to disable status (#222) (6e1b144), closes #190 #195
- select, datepicker, timepicker, radio, checkbox, input-number: fix touched state (#248) (07f48bc), closes #228
- grid: support embedded col option (#247) (248c7e5), closes #101
- input: support nzAutosize property (#251) (5e950ab), closes #252
- input: support nzReadonly property (#236) (6b69cf9)
- menu: support unfolds/folds & add demo and api docs (#225) (23b73bb), closes #206
- table: support filter & fixed header add more table demo (#210) (5f11664), closes #86 #174 #218
- table: support table expand feature (#259) (578819d), closes #185
0.5.0-rc.4 (2017-08-31)
- modal: provide open & close & setConfirmLoading function (#125) (0f87f6c), closes #118
- tooltip,popconfirm,popover: support OnPush (#143) (2f2c9ac), closes #136
0.5.0-rc.3 (2017-08-26)
- affix,anchor,back-top: fix and improve rxjs usage (#159) (152b654)
- carousel: fix carousel auto play bug (#164) (01012e4), closes #161
- checkbox: fix checkbox host class lost bug (#116) (81cbae9), closes #104
- input: fix input disabled style bug (#108) (5d666fc), closes #103
- input: fix input disabled style bug (#160) (b7a073c)
- input: fix input touched property (#129) (143c080), closes #65 #117
- select: fix option incorrect active status (#141) (49e3741)
- select: fix select reset bug in form (#153) (2bf24e0), closes #128
- affix&anchor&back-top&avatar: add components to library (#88) (468e80b)
- root: make nz-root optional (#36) (9de3de1)
- showcase: auto scroll to top when router change & sync code icon with antd (#124) (9a1de83), closes #26
0.5.0-rc.2 (2017-08-19)
- pagination: Pagination QuickJumper bug #37 (a122238)
- carousel: support dynamic change of nz-carousel-content (#60) (44865c2), closes #56
- menu: fix submenu level bug & fix menu routerLinkActive bug in lazyload module (#77) (b914afd), closes #35 #52 #74
- pagination: remove active class when reach first and last page index (#93) (2bcddc7), closes #17
- steps: fix steps width bug in tab component (#94) (ee4428d), closes #83
- timeline: eliminate ExpressionChangedAfterItHasBeenCheckedError when use ngFor to render (67df061)