19.3.1 (2025-05-29)
Bug Fixes
- cascader: cannot update value when it is missing in options (#9124) (689fc72)
- date-picker: update input value when nzFormat changed (#9129) (f4c4e05)
- tabs:
nzLinkRouter
not work for the first time load (#9130) (925a6a5)
19.3.0 (2025-05-23)
Features
- avatar: support custom icon by ng-content (#9090) (89d0767)
- input-number: add
nzBlur
and nzFocus
output (#9098) (1b1a013)
- tabs: support for start and end extra content (#9097) (2500821)
- transfer: support multiple row selection with
Shift
key (#9092) (b78b99f)
Bug Fixes
- i18n: add missing translations to
es_ES
(#9127) (0aadfdf)
- segmented: fix emitting unnecessary value changed events (#9125) (fb0635b)
- tabs:
nzLinkRouter
not work for the first time (#9118) (0f7f94d)
- transfer: use item.key as tracking for the list render (#9123) (adb91e4)
19.2.2 (2025-04-25)
Bug Fixes
19.2.1 (2025-03-29)
Bug Fixes
- select: remove internal comment from select-arrow (#9074) (c9b2dd9)
19.2.0 (2025-03-28)
Features
Documentation
- tabs: add draggable tabs showcase via CDK
DragDropModule
Bug Fixes
- input-number: consider input value ends with 0 as incomplete (#9051) (2a0c2e0)
- segmented: fix error with the FormControl first change (#9039) (33fe53d)
- select: disable
nzMaxMultipleCount
in default mode (#9068) (dcf8a5d)
- select: ngModel change should update state of
nzMaxMultipleCount
reached (#9056) (d7031da)
- space: nzSpaceItem margin in rtl (#7801) (2d9ff5f)
- tabs: update active router tab after tabs changed (#7649) (1f07121)
- tree-select: enable overflow-x for virtual scroll (#9045) (e70cae3)
19.1.0 (2025-02-21)
Features
- check-list: add check-list component (#8969) (4cd298b)
- message,notification: display
nzData
when content is a template (#9001) (5157470)
- popover,popconfirm,tooltip:
overlayClassName
supports space delimited classes string (#8972) (3fcec91)
- popover: add
nzPopoverOverlayClickable
to disable click on mask (#8878) (5898da7)
Bug Fixes
- input-number,checkbox: accept the disabled change from ng control (#8979) (2d8968d)
- input-number: use input event instead of change event (#8989) (6d8d915)
- tree-select: fix error when judging multiple instances condition (#9008) (5006ea6)
Code Refactoring
Now feel free to use isolatedModules
compiler option in your project.
19.0.2 (2025-01-10)
Bug Fixes
- auto-complete: should open the popover when the focused input is clicked (#8900) (79cc2f8)
- progress: fix
NG0956
error (#8962) (c4d2f81)
- transfer: correctly set the transfer-list-body class (#8960) (a3546a9)
19.0.1 (2025-01-03)
Bug Fixes
- date-picker: cell title should reflect
nzFormat
(#8744) (1b7ab5a)
- i18n: add missing translations to
zh_TW
(#8950) (9607e11)
- input-number: fix
NG0600
error (#8955) (8d6135e)
- table: should col be wrapped within colgroup in ssr mode (#8948) (0a73deb)
19.0.0 (2024-12-06)
Bug Fixes
- autocomplete: remove inline style (CSP compliant) (#8875) (30c25f0)
- avatar: calculate size at the right time (#8754) (3a5ba37)
- card: remove
nzBorderless
input (#8741) (22ce17c)
- carousel: carousel not working correctly in rtl mode (#8770) (0202a19)
- cascader: correct menu display level (#8866) (5fec53e)
- drawer: should clear previously focused element (#8893) (4498af0)
- i18n: add missing translations to
vi_VN
(#8894) (f08ad1c)
- tree-view:
nzTreeNodePadding
not works in virtual scroll (#8920) (82b660a)
Code Refactoring
- cancel support for HTML string rendering (#8831) (5fae01a)
- remove
ngClass
and ngStyle
(#8895) (c3ab3ba)
- image: remove deprecated
FADE_CLASS_NAME_MAP
and IMAGE_PREVIEW_MASK_CLASS_NAME
(#8912) (65223d9)
- transfer,tree,tree-select rename
CheckBox
to Checkbox
(#8934) (c76433d5)
Features
- cascader: support multiple selection (#8903) (e5dfb49)
- cascader: support
nzPlacement
(#8935) (6fbd22c)
- checkbox: redesign the
nz-checkbox-group
component (#8932) (489e0de)
- divider: add
nzVariant
option (#8827) (2c63c87)
- float-button: add float-button component (#7884) (dab4d66)
- icon: support
nz-icon
tag selector (#8778) (1406241)
- image: close image preview when escape key pressed (#8809) (d587615)
- input: support one time password (OTP) (#8715) (cdbaf4d)
- menu: add
nzTriggerSubMenuAction
to support click trigger for submenu (#8461) (860df87)
- qrcode: add
nzStatusRender
to support customize state rendering (#8714) (6f36d75)
- segmented: redesign the segmented component (#8753) (4dc866c)
- space: add space compact component (#8755) (b9c511d)
- table: add
nzSortDirections
to global config (#6613) (#8721) (eb1fdc5)
- transfer: add
nzOneWay
to support one way style (#8717) (99fd4de)
- input-number: redesign the input-number (#8901) (df55d88)
- schematics: add v19 ng update migration (#8911) (1a20de2)
BREAKING CHANGES
All
nzClass
/ nzStyle
input properties no longer support the following features:
Set()
: use arrays instead
- Keys which multiple styles/classes separated with keys: split a key with spaces into multiple keys
- Cancel support for HTML string rendering
- Migrate
@WithConfig
to standard decorator. If you're using @WithConfig
in your library, please turn experimentalDecorators
off in tsconfig.json
- Migrate
[nz-icon]
to nz-icon
tag. If you're using [nz-icon]
selector in stylesheet to select icon inside zorro component, please use nz-icon
instead
input-number: Redesign the input-number so that it will be much simpler and more flexible.
Now you can use affixes or addons as follows, no need for ng-template
and nz-input-number-group
:
<nz-input-number>
<nz-icon nzInputNumberUpIcon />
<nz-icon nzInputNumberDownIcon />
</nz-input-number>
<nz-input-number>
<span nzInputPrefix>Prefix</span>
<span nzInputSuffix>Suffix</span>
</nz-input-number>
<nz-input-number>
<span nzInputAddonBefore>Before</span>
<span nzInputAddonAfter>After</span>
</nz-input-number>
The old input-number component is marked as deprecated, and its entrypoint had changed to ng-zorro-antd/input-number-legacy
.
NzInputNumberComponent
is now NzInputNumberLegacyComponent
, and NzInputNumberModule
is now NzInputNumberLegacyModule
.
Don't worry, ng update ng-zorro-antd
will automatically do the migration.
cascader: Cancel support for writing value with NzCascaderOption[]
type.
In the past, the cascader component kept a trick that if you wrote value with NzCascaderOption[]
type, it extracted value by mapping each item to its value property, for example:
@Component({
template: `<nz-cascader [nzOptions]="options" [ngModel]="value"></nz-cascader>`
})
export class ExampleComponent {
value = [{ label: 'NG ZORRO', value: 'ng-zorro-antd' }]
}
then the value of cascader would be 'ng-zorro-antd'
.
It's strange that the input and output values don't match when we haven't changed the values, and it's hard to maintain. We expect that the value passed in should be the value in the list of options.
In v19, this trick is removed and if you're already using this trick in your code, please consider the add a map
function to pass the actual value.
checkbox Redesign the checkbox group component.
- Remove
NzCheckBoxOptionInterface['checked]
field. By the way, NzCheckBoxOptionInterface
is marked as deprecated, use NzCheckboxOption
instead
nz-checkbox-group
: Type of ngModel
is changed from NzCheckBoxOptionInterface[]
to NzCheckboxOption['value'][]
card: Remove redundant nzBorderless
input property. Use nzBordered
instead.
- image: Remove deprecated
FADE_CLASS_NAME_MAP
and IMAGE_PREVIEW_MASK_CLASS_NAME
- pipes: Remove deprecated
NzSafeNullPipe
- segmented: Redesign the segmented component.
- Value of
ngModel
is changed from index
to option's value
- Change emission type of
nzValueChange
from number
to option's value type (string | number
)
- Remove
nzLabelTemplate
, use nz-segmented-item
directive instead
- space: Rename
exportAs
of NzSpaceComponent
from NzSpace
to standard nzSpace
- transfer: Rename
nzTreeCheckBoxChange
to nzTreeCheckboxChange
- tree,tree-select: Rename
nzCheckBoxChange
to nzCheckboxChange
Deprecations
The following APIs are marked as deprecated in v19 and will be removed in the next major version.
Please refer to related documentation for better alternatives.
Module |
API |
ng-zorro-antd/button |
NzButtonGroupComponent |
ng-zorro-antd/core/form |
NzFormPatchModule |
ng-zorro-antd/checkbox |
NzCheckboxWrapperComponent |
ng-zorro-antd/input |
NzInputGroupComponent#nzCompact |
ng-zorro-antd/input-number-legacy |
* |
ng-zorro-antd/message |
NzMessageModule |
ng-zorro-antd/notification |
NzNotificationModule
NzNotificationServiceModule |
18.2.1 (2024-11-15)
Bug Fixes
- anchor: fix
a
tag problem with null
or undefined
value if TemplateRef provided (#8864) (41f6609)
- color-picker: remove inline style (CSP compliant) (#8874) (0264da9)
- image: remove inline style (CSP compliant) (#8876) (63c8953)
- qrcode: remove event listeners once settled (#8861) (40d466d)
- select: remove inline style (CSP compliant) (#8873) (9431d0d)
- transfer: cancel selecting all should emit
nzSelectChange
event (#8872) (5ff9821)
- watermark: cleanup event listeners once settled (#8862) (decd477)
18.2.0 (2024-11-07)
Bug Fixes
- i18n: add missing translations to
nb_NO
(#8712) (8c9bcd1)
- i18n: add missing translations to
hu_HU
(#8769) (9e21ae8)
- badge: NG0955 warning in nz-badge-sup component (#8858) (cc52555)
- select: multiple select cause switch size flash when init (#8851) (d28876c)
- carousel: correctly switch slides in rtl mode (#8705) (85f23a1)
- drawer: emit
nzVisibleChange
when close on navigation (#8850) (29827df)
- modal,drawer: secondary overlays not scrolling inside (#8804) (ed7951d)
- modal: remove dark backdrop when
nzMask
is false (#8798) (f2f04fe)
- transfer: correctly set transfer button disable state (#8824) (195ad26)
Features
- datepicker: send event emitter when panel mode change (#8685) (6462a47)
- tabs: support
destroyInactiveTabPane
(#8845) (0de6d62)
18.1.1 (2024-08-20)
Bug Fixes
18.1.0 (2024-07-25)
Bug Fixes
- cascader: hide placeholder when trigger
compositionstart
event (#8641) (17b0ea3)
- i18n: add missing translations to
pt_BR
(#7790) (6fc1c78)
- i18n: add scanned field to QRCode for
fr_BE
, fr_CA
, fr_FR
and lv_LV
(#8614) (9b69410)
- schematics: import missing
RouterLink
in template (#8621) (032a0c2)
- transfer: disabling selection does not affect selecting all (#8633) (75d8c7b)
Features
18.0.1 (2024-06-27)
Bug Fixes
18.0.0 (2024-06-06)
⚠ BREAKING CHANGES
- collapse: change nzExpandIconPosition type from
left
| right
to start
| end
(#8561) (3ad5674)
- no longer use inline JavaScript in Less (#8552) (7e873c8)
No need to wrap Less functions provided by antd (including colorEasing
, colorPalette
, tinycolor
) with ~`` anymore.
- color(~`colorPalette('@{primary-color}', 5)`)
+ color(colorPalette('@{primary-color}', 5))
Bug Fixes
- cascader,select,time-picker,tooltip,tree-select: take in account shadow dom when getting the target of an event (#7853) (843b703)
- tooltip: fix arrow color when custom color (#8555) (92c586b)
- upload: prevent drop event for firefox only (#8551) (c6e7bd7)
- rate: half value when allow half is false (#8536) (7742fe3)
Features
17.4.1 (2024-05-24)
Bug Fixes
- card: use skeleton instead to card-loading-content (#8528) (a36ebd3)
- color-picker: avoid emitted twice nzOnChange event (#8530) (5dea059)
- list: static query list-item-action template (#8527) (85301e0)
- popconfirm: fix message icon style (#8511) (4f1f9bb)
- tooltip,popover,popconfirm: fix hydration error (#8512) (5009ec0)
Features
- popconfirm: popconfirm support for nzOkDisabled (#8542) (8c247db)
- back-top: remove the redundant changeDetectorRef (c1e39e7)
- qr-code: improved background drawing efficiency (#8543) (db09bf7)
17.4.0 (2024-04-19)
Bug Fixes
- autocomplete: remove NgZone dependency (#8462) (24bb1bc)
- button: add ant-btn-default class (#8501) (1588199)
- calendar: year dropdown update issue when date is changed programmatically (#8286) (ee68a2c)
- date-picker: remove unsafe style (#8458) (e6b83eb)
- drawer: remove inline style to resolve CSP issue (#8065) (5e89441)
- graph: bring back the disappered arrows of edge (#8493) (342841c)
- graph: remove NgZone dependency (#8460) (a4ec21a)
- image: missing swip icon (#8433) (f1a4050)
- image: wrong next/prev btn in rtl mode (#8468) (886138d)
- list: remove NgZone dependency (#8439) (1ec0e76)
- notification: nzMaxStack initial value error (#8451) (2c09162)
- pagination: add accessible name for nz-pagination-item (#8476) (47ee143)
- slider: fix the style of markers in vertical mode (#8494) (9bcce6c)
- tag: borderless style is invalid in default state (#8495) (b35e6d6), closes #8492
- typography: remove NgZone dependency (#8440) (af7fb5d)
- upload: remove inline style to resolve CSP issue (#8064) (1ac84a8)
Features
- modal: supports masked layer response for each click (#8429) (31b90fa)
- notification: popup order adjustment (#8450) (742f14a)
- select: support nzOptionHeightPx in global config (#8504) (4efc5ab), closes #8503
- skeleton: support for square shape of skeleton button (#8481) (af1483a)
17.3.0 (2024-03-11)
Bug Fixes
- doc: replaced link for monaco editor options (#8393) (fdfc816)
- docs: fix progress, code-editor docs error (#8383) (407e76a)
- select: issue with nzScrollToBottom while display scaling (#8355) (bb0468e)
- avatar: avatar not re-scaling properly (#8365) (e7b1fa0)
- carousel: not adapting to new size when resizing (#8374) (6e1decb)
- cdk: zIndex is not used properly when creating overlay (#8373) (b932d65)
- i18n: add missing pt texts (#8426) (d575c53)
- i18n: added missing translations to ja_JP (#8290) (662b730)
- i18n: added missing translations to vi_VN (#8295) (987a799)
- tabs: slide indicator missing in small screens (#8372) (a0b08be)
- tabs: wrong cursor (#8386) (3dc1579)
Features
17.2.0 (2024-01-29)
Bug Fixes
- table: add missing import to nz-table-inner-scroll (#8328) (936317e)
- tree-select: fix search box exception when Chinese search (#8324) (aacd62b)
- pipeline job failed (#8367) (6024bcc)
Features
17.1.0 (2023-12-17)
Bug Fixes
Features
17.0.1 (2023-11-20)
Bug Fixes
- schematics: cannot generate files and add default builders (#8176) (de8a6b7)
17.0.0 (2023-11-18)
Bug Fixes
- autocomplete: fix the wrong value of internal nz-auto-option (#7907) (0a312e3)
- cron-expression: exception error & cancel format prompt copy (#8114) (ea69790)
- form: wrong element to focus when clicking label (#8135) (b3d135f)
- i18n: added missing translations to pl_PL (#7950) (7819426)
- i18n: update fa_IR translations (#8143) (4f63198)
- i18n: Update fr/be/ca translations (#8137) (211db31)
- mention: page not loading entirely (#8146) (9505c7c)
- resizable: fix pointer capture bug (#8169) (a0b8a0b)
- select: do not run tick when scrolling to activated value (#8159) (7ce50b3)
- slider: step can not click the problem (#7820) (1e1c753)
- table: custom column styles collapse when using nzScroll (#8044) (fde48f9)
- tree-select: 修复回显顺序问题 (#8108) (eb4077d)
- tree: nzCheckBoxChange never emitting (#8038) (a9dc205)
Features
- affix: support standalone component (#8037) (583883c)
- hash-code: add HashCode component (#8111) (0254ee2)
- image: add scale step (#8163) (5aa4db9)
- notification: support for more custom templates (#8046) (9689c42)
- schematics: support ng-add in standalone app (#8095) (c1b61f7)
- slider: add the ability to use a template (#7505) (7c79ab3)
- table: add
nzLabel
to include aria-label in checkboxes (#7903) (5834e46)
- table: nzExpand supports custom icon (#7886) (1507ed0)
- tooltip,popover,popconfirm: make cdkConnectedOverlayPush open for tooltip (#8166) (a821c62)
16.2.2 (2023-10-23)
Bug Fixes
16.2.1 (2023-10-19)
Bug Fixes
Features
- select: support to customize attr.title of nz-option-item (#8097) (2ee261a)
16.2.0 (2023-09-18)
Bug Fixes
Features
- add provide function (#7952) (150c6ca)
- cascader: support for load options with observable (#8048) (1436f21)
- color-picker: add color-picker component (#8013) (8439704)
- cron-expression: add Unit Testing (#7993) (605e969)
- cron-expression: support nzDisabled && nzBorderless (#7992) (6d31bde)
- dropdown: close context menu on escape (#7915) (6d0032e)
- dropdown: improve
NzContextMenuService#create()
(#7768) (9b3e6cb)
- form: support form label wrap (#7892) (37391de)
- input: hide stepper for type number (#8003) (0f3aed5)
- modal: Remove nzComponentParams in v16 (#7930) (baab16c)
- qrcode: padding & background color for qrcode (#8001) (718ba29)
- resizable: add direction parameter in NzResizeEvent (#7987) (4143473)
- resizable: support for multiple cursor types (#8042) (e564714)
- table: support display and sorting of custom table columns (#7966) (d26870f)
16.1.0 (2023-07-16)
Bug Fixes
- list: fix the bug that synchrone action item are not displayed in the item (#7958) (3b6bdec)
- tree: fix nz-tree-node keep dragging class with nzBeforeDrop (#8015) (2d0b3f7)
- cascader: customize the option title to undefined (#8011) (10003db), closes #8006
- date-picker: fix code comment (#7991) (8b6b653)
- i18n: update zh_TW.ts (#7901) (9bfce45)
- notification: don't create new messageId for update (#8000) (e240264)
- time-picker: modelChange trigger twice (#7902) (74c13a4)
- watermark: removing the watermark fails to redraw (#8012) (030318e)
Features
- cron-expression: add Unit Testing (#7993) (605e969)
- cron-expression: support nzDisabled && nzBorderless (#7992) (6d31bde)
- dropdown: close context menu on escape (#7915) (6d0032e)
- dropdown: improve
NzContextMenuService#create()
(#7768) (9b3e6cb)
- form: support form label wrap (#7892) (37391de)
- modal: Remove nzComponentParams in v16 (#7930) (baab16c)
- qrcode: padding & background color for qrcode (#8001) (718ba29)
- resizable: add direction parameter in NzResizeEvent (#7987) (4143473)
- table: support display and sorting of custom table columns (#7966) (d26870f)
16.0.0 (2023-05-31)
Bug Fixes
15.1.0 (2023-04-02)
Bug Fixes
Features
- avatar: do not run change detection on timer and update styles directly (#7862) (1c48745)
- date-picker: do not trigger change detection on
mousedown
(#7860) (1171460)
15.0.3 (2023-01-17)
Bug Fixes
15.0.2 (2023-01-15)
Bug Fixes
- checkbox: checkbox group can't be disable initially (#7806) (eb2cb04)
15.0.1 (2023-01-09)
Bug Fixes
- components: some forms component can't be disable (#7786) (bc673e7)
15.0.0 (2022-12-21)
Bug Fixes
14.3.0 (2022-12-11)
Bug Fixes
- tree: nz-tree-drop-indicator for custom tree node templates (#7579) (5996019)
- input: textarea-count combined with nzHasFeedback location (#7709) (ddd44d2), closes #7574
- list: specify template ref context to match instantiation (#7756) (4eb32fd)
- select: disabled option can be selected by Enter (#7686) (5bdf244)
- tree: tree select search slow in virtual mode (#7385) (21208f0)
Features
- cron-expression: Optimize cron result display & support custom rendering cron time (#7750) (1820da5)
- date-picker: add ElementRef type to nzSeparator (#7721) (3771512)
- select: select on Tab support (#7728) (d9f9092)
- tree-select: support to set placement (#7551) (325971e)
14.2.1 (2022-11-27)
Bug Fixes
- animation: fix animation.disabled triggering condition (#7739) (2df4860)
- i18n: add missing hu texts (#7733) (de71300)
- select: activated value resetting during load on scroll (#7725) (9e08be9)
14.2.0 (2022-11-20)
Bug Fixes
- cron-expression: clear ul & li default style (#7715) (726ded3)
- date-picker: arrow in wrong position for RTL direction (#7690) (41b56e4)
- date-picker: fix datePicker show multi panel (#7680) (ee4872e), closes #7450
- descriptions: nzStringTemplateOutlet title style error (#7704) (bec3b42), closes #7698
- icon: re-enter Angular zone after icons have been loaded (#7719) (754ded6)
- image: preview the local upload image error (#7615) (616f59f)
Features
- alert: support custom icon (#7691) (cc014a1)
- carousel:
nzLoop
to prevent the carousel to go in a loop (#7693) (e3103f0)
- cron-expression: add cron-expression component (#7677) (3a638af)
- popconfirm: make nzOkDanger coerce to boolean (#7720) (f6a8044)
14.1.1 (2022-10-15)
Bug Fixes
- code-editor: fix declaration of Window as monaco-editor (#7676) (bdf6507)
- date-picker: fix datePicker can't clear (#7671) (ba90876), closes #7534
14.1.0 (2022-10-09)
Bug Fixes
- cascader: fix wrong format of docs (#7604) (8b92c63)
- i18n: update it_IT.ts (#7646) (aecb788)
- pagination: add ul tag (#7500) (becdd68)
- segmented: fix index.less not imported in entry.less (#7624) (1d6a646)
- select: fix broken cdk virtual scroll integration (#7642) (1f10a9c)
- select: input field length restricted to 82px (#7626) (82159e3)
- statistic: remove top-level redundant
div
element (#7659) (07df410)
- steps: remove top-level redundant
div
element (#7582) (60beabc)
- typography: focus the element and set the value even if the zone is already stable (#7320) (2d2fe33)
Features
14.0.0 (2022-08-25)
Bug Fixes
Features
BREAKING CHANGES
13.4.0 (2022-07-25)
Bug Fixes
- datepicker: focus input when opened programmatically (#7512) (b3a27d8)
- transfer: uncheck "Select all" checkbox when filtered items are moved (#7419) (1e9c11e)
Features
- transfer: add
trackBy
to the list and track by the hide
property (#7424) (0587236)
13.3.2 (2022-06-25)
Bug Fixes
- input-number: fix errors before initialization (#7531) (800e6f4)
13.3.1 (2022-06-20)
Bug Fixes
- input, input-number, steps: fix styles in components (#7522) (222b225)
13.3.0 (2022-06-15)
Bug Fixes
Features
13.2.2 (2022-05-12)
Bug Fixes
- tree-view: trigger markforcheck after nodes changed (#7426) (a702674)
13.2.1 (2022-04-27)
Bug Fixes
- code-editor: remove monaco-editor dependency in config.ts (#7392) (929084d)
13.2.0 (2022-04-26)
Bug Fixes
- carousel: fix nzAfterChange callback value not correctly (#7326) (b517bd4), closes #7323
- cascader: fix the problem of disappearing drop-down menu (#7381) (3d41ce0)
- cascader: update position when click menu item (#7306) (4c669a5)
- i18n: update fr translations (#7364) (64e1c7c)
- list: re-enter the Angular zone when the
NgZone.onStable
emits (#7314) (425f8df)
- modal: no longer trigger any action when closing (#7336) (d169452)
- popconfirm: reverting missing nzPopconfirmVisibleChange (#7338) (561041c)
- upload: fix upload drag drop will open new tab in firefox 91 and 92 (#7190) (9b51874)
Features
- code-editor: add global configuration to support monaco require config (#7121) (21ec517)
- code-editor: support MonacoEnvironment config in NZ_CONFIG (#7359) (4dfd9cd), closes #6502
- image: nz-image add press
left
or right
to switch image (#7321) (b5f82b5)
- input-number: add
nzReadOnly
property (#7372) (0da7496), closes #7369
- anchor: mark
scroll
listener as passive (#7330) (aab060f)
- back-top: mark
scroll
listener as passive (#7329) (7f3c4e1)
- cascader: do not run change detection on
change
event (#7312) (cb803f9)
- image: do not run change detection when the image preview is clicked (#7309) (752a5b6)
- input-number: do not run change detection when
mouseup
and mouseleave
events are dispatched on handlers (#7313) (54386ef)
- modal: call
focus()
on the next rendering frame to prevent frame drop (#7293) (106d346)
- resizable: mark
mousedown
and touchstart
listeners as passive (#7331) (518997b)
- tree-view: do not run change detection when the
nz-tree-node-checkbox
is clicked (#7307) (1e0872b)
13.1.1 (2022-03-03)
Bug Fixes
- collapse: markForCheck after collapse title clicked (#7284) (b7433a9)
- icon: do not try to load SVG on the Node.js side since it will throw an error (#7290) (fe0484f), closes #7240
- select: exact match while searching should be active (#6816) (48d2a25), closes #6812
- upload: fix the problem that the transformed file is lost (#7206) (b82d2f3)
13.1.0 (2022-02-25)
Bug Fixes
- button: prevent default event fire (#7267) (2306e0d)
- date-picker: fix
z-index
to auto
in inline mode (#7172) (26006f6)
- date-picker: fix disable time when date changes (#7236) (ae67952)
- i18n: update fa-IR.ts translations (#7249) (a7a0b41)
- i18n: update pt_BR.ts translations (#7218) (95c7816)
- input: do not set box-sizing when measuring (#7214) (035dc94), closes #7203
- input: incorrect background color in disabled state (#7250) (7acb8db)
- radio: emit
false
to the ngModel
whenever the radio button is deselected (#7270) (2704237)
- select: fix keyboard event error when option data is empty (#7222) (4bd86ca), closes #7242
- slider: fix keydown not trigger nzOnAfterChange (#7252) (f419c07), closes #7251
Features
- auto-complete: do not run change detection when the promise resolves (#7138) (e95d941)
- back-top: do not run change detection if there are no
nzClick
listeners (#7179) (7d091bb)
- carousel: do not run change detection when the timer fires (#7136) (fc991d1)
- collapse: do not run change detection if the panel is disabled (#7181) (3c3eac9)
- dropdown: do not run change detection if the dropdown has been clicked inside (#7135) (4679592)
- image: do not run change detection if there are no
containerClick
listeners (#7147) (f0f52a4)
- mention: do not run change detection when the dropdown cannot be closed (#7146) (b72bd27)
- mention: do not trigger change detections if there are no event listeners (#7130) (73af728)
- resizable: do not run change detection on
mousedown
and touchstart
events (#7170) (9a8d794)
- select: do not run change detection on events if the
nz-option-item
is disabled (#7133) (a1bbdab)
- select: do not run change detection unnecessarily on click events (#7175) (fd63d22)
- table: do not run change detection if the sorting is not shown (#7174) (e541761)
- table: do not unnecessarily re-enter the Angular zone (#7142) (5a5df13)
- table: spawn timers and add listener outside of the zone (#7140) (ec248c9)
- tabs: do not run change detection when the promise resolves (#7144) (148f84d)
- time-picker: do not run change detection when the timer fires (#7143) (72da774)
- tree-view: do not run change detection on click events if the
nz-tree-node-option
is disabled or there are no nzClick
listeners (#7178) (0054f59)
- typography: do not run change detection on
input
and keydown
events (#7185) (ad547fb)
13.0.1 (2022-01-18)
Bug Fixes
- auto-complete: memory leak (#7112) (3806250)
- cdk: resolve leak (#7139) (2a93d05)
- checkbox: reduce change detection cycles (#7127) (15abe33)
- code-editor: always initialize outside of the Angular zone (#7151) (f73be80)
- core: remove
resize
listener when the app is destroyed (#7125) (8437111)
- image: unsubscribe old src (#7102) (87a3e27)
- input-number: reduce change detection cycles (#7129) (9971faa)
- modal: do not run change detection on mouse events (#7169) (c20bb80)
- modal: resolve memory leaks (#7123) (3664efe)
- graph: do not run change detection on animation frame (#7132) (1ceaf70)
- rate: do not run change detection on
focus
and blur
events if there are no output listeners (#7182) (3e9e035)
- steps: do not run change detection if there are no
nzIndexChange
listeners (#7183) (cbfc558)
- transfer: do not trigger change detection when the checkbox is clicked (#7124) (b12f43a)
13.0.0 (2021-12-29)
BREAKING CHANGES
dropdown
[nzHasBackdrop]
input value are no longer supported, please use [nzBackdrop]
instead.
12.1.1 (2021-12-18)
Bug Fixes
- carousel: do not run change detection on non-handled
keydown
events (#7097) (ca3299e)
- cascader: do not run change detections on non-handled
keydown
events (#7060) (9a37718)
- date-picker: do not run change detection when the
date-range-popup
is clicked (#7096) (8f8c71b)
- icon: do not run change detection when changing icon (#7071) (e998e4a)
- mention: do not run change detections on
mousedown
events (#7094) (0d4ad23)
- switch: reduce change detection cycles (#7105) (6d9b1ff)
- table: do not run change detections on click events for the
nz-filter-trigger
(#7095) (346c50d)
- time-picker: do not run change detection when scrolling (#7063) (baf7f0a)
- time-picker: do not run change detection when the time picker panel is clicked (#7126) (76da3ff)
- tree: do not run change detection when the tree node is clicked (#7128) (55f1e04)
12.1.0 (2021-11-29)
Bug Fixes
Features
- auto-complete: do not run change detection on
mousedown
and mouseenter
for nz-auto-option
(#7048) (d6ca43e)
- core: do not run change detection when scrolling (#7062) (a972d7b)
- graph: reduce change detections on click events (#7056) (1e2960a)
- graph: resolve minimap memory leaks (#7052) (f93960c)
- modal: do not run change detection when focusing element (#7070) (ffcb709)
- radio: reduce change detection cycles (#7068) (b8cc94f)
- resizable: reduce change detection cycles (#7036) (5cad154)
- select: reduce change detections for
nz-select-top-control
(#7038) (d45f0ab)
- upload: do not trigger change detection for
nz-upload-btn
(#7037) (7e587d1)
- upload: previewing images should be cancellable when the component gets destroyed (#7067) (8f21ef1)
12.0.2 (2021-11-04)
Bug Fixes
- core: correct hidden behavior (#6919) (987b1ca), closes #6918
- pagination: pre-ellipsis show in the wrong position (#6793) (9700e89)
- affix: fix update position when target resize (#6896) (d18a8ae), closes #6764
- date-picker: added missing type attributes for buttons (#7013) (d69d374), closes #7012
- datepicker: fixed opacity 0 on inline datepicker reopen (#6910) (d392b2e)
- i18n: update en_GB.ts translations (#6982) (f89cb38), closes #6979
- modal: footer
onClick
re-throw error in promise catch (#6928) (3277d22)
- popconfirm: add nzOkDanger option for nz-popconfirm (#6866) (d889e98)
- table: show empty state regardless of loading value (#6934) (013beda)
- timepicker: fix ok button + selection of default open value (#6941) (daf9f57)
- timepicker: fixed auto positioning picker (#6939) (65fdbc8)
- tooltip: fix tooltip for deeply wrapped focusable elements (#6965) (78c16a2), closes #6955
- autocomplete: resolve memory leak (#6851) (e61e350)
- breadcrumb: do not re-enter the Angular zone when calling
navigate
(#6850) (830a1f2)
- button: do not trigger change detections on click events (#6849) (85c79f6)
- core: resolve memory leak (#6852) (25eb0fe)
- code-editor: load Monaco only once (#7033) (e1eafec)
- image: resolve memory leak (#6856) (6744eb1)
- select: do not run change detection if the
triggerWidth
has not been changed (#6858) (055f4a1)
- table: resolve leak within the
nz-table-fixed-row
(#7034) (cfa1ecd)
- upload: do not trigger change detection for
nz-upload-btn
(#7032) (47f91c7)
12.0.1 (2021-07-12)
Bug Fixes
- code-editor: dispose the event listener when the component is destroyed (#6847) (503c6f9)
- code-editor: resolve memory leak (#6846) (6d43b6c)
- code-editor: re-enter the Angular zone only if the value has been changed (##6845) (5c09948)
- drawer: trigger change detection only if there are
nzOnViewInit
listeners (#6841) (c5b5741)
- icon: resolve memory leak (#6839) (bdc2a55)
- remove the default resize observer polyfill (#6843) (29d44af), closes #6696
If you want to support older browsers, you can provide polyfill in the following way.
import { NzResizeObserverFactory } from 'ng-zorro-antd/cdk/resize-observer';
import ResizeObserver from 'resize-observer-polyfill';
@NgModule({
providers: [
{ provide: NzResizeObserverFactory, useValue: {
create(callback: ResizeObserverCallback): ResizeObserver | null {
return typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(callback);
}
}
}
]
})
export class AppModule {}
12.0.0 (2021-07-11)
Bug Fixes
- pagination: mark for check when the total number of pages changes (#6780) (2f1f8dc)
- pagination: pagination in form will trigger submit (#6744) (f77ab28)
- cascader: add nzClear functionality to cascader (#6761) (3dd9534), closes #6751
- select: focus input when selector is clicked (#6786) (1c9331a)
- time-picker: close time-picker after tabbing out (#6602) (0e53053)
- tree: stop change url in firefox (#6771) (be20114)
- typography: single line ellipsis style (#6776) (e192a70)
Features
BREAKING CHANGES
button
[nz-button][nzType="danger"]
input value are no longer supported, please use [nz-button][nzDanger]
instead.
modal
- usage of
ng-content
has been removed, please use <ng-template nzModalContent></ng-template>
instead.
drawer
- usage of
ng-content
has been removed, please use <ng-template nzDrawerContent></ng-template>
instead.
tree-view
[nzNodeWidth]
has been removed, please use [nzItemSize]
instead.
nz-space-item
nz-space-item, [nz-space-item]
has been removed, please use <ng-template nzSpaceItem></ng-template>
instead.
11.4.2 (2021-06-08)
Bug Fixes
11.4.1 (2021-04-22)
Bug Fixes
- *: create image using
document
method to avoid ReferenceError in SSR (#6569) (d7b9291)
- date-picker: click outside not change value (#6596) (62e4bb6), closes #6595
- date-picker: not switch month panel when range is same month (#6616) (bf4ae4d)
- date-picker: time picker panel not scroll at first time (#6604) (b97dfbe)
- graph: fix edge default style and wrong toggling group nodes (#6615) (c434ea9)
- i18n: added property missing in ka_GE (#6589) (825925c)
- slider: fix range slider not working for arrow keys (#6612) (51f33e6), closes #6586
- typography: add type="button" attribute to button element in nz-text-copy component (#6606) (48a9714), closes #6605
11.4.0 (2021-04-08)
Bug Fixes
Features
11.3.0 (2021-03-23)
Bug Fixes
Features
Deprecated
- space:
nz-space-item
in nz-space
will be removed in 12.0.0, please use *nzSpaceItem
instead.
11.2.0 (2021-02-26)
Bug Fixes
Features
- 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)
Bug Fixes
Features
11.0.2 (2021-01-18)
Bug Fixes
11.0.1 (2020-12-31)
Bug Fixes
11.0.0 (2020-12-21)
Highlights
RTL Support
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!
New Image component
Used to handle progressive loading of images; failure fallback, and preview of image(s).
Super thanks to @stygian-desolator for contributing this!
New Graph experimental component
Support customized multi-level graph rendering.
New Tree View component
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.
New built-in Aliyun theme
@import "~ng-zorro-antd/ng-zorro-antd.aliyun.less";
Bug Fixes
Features
BREAKING CHANGES
date-picker
[nzMode]
does not support NzDateMode[]
type any more, please adjust it manually.
modal
[nzGetContainer]
has been removed, please remove it manually.
open
method in NzModalRef
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 use ng-template[nzTabLink] > a[nz-tab-link]
instead.
10.2.1 (2020-12-11)
Bug Fixes
10.2.0 (2020-12-01)
Bug Fixes
Features
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.
- 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.
10.1.2 (2020-11-16)
Bug Fixes
10.1.1 (2020-11-09)
Bug Fixes
10.1.0 (2020-10-30)
Bug Fixes
Features
- 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
support nzFormTooltip
(#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)
Bug Fixes
10.0.1 (2020-10-09)
Bug Fixes
10.0.0 (2020-09-28)
Bug Fixes
- 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
Code Refactoring
- 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)
Features
BREAKING CHANGES
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, use NzConfigService.set
instead.
- Inject token
NZ_CODE_EDITOR_CONFIG
has been removed, use NZ_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, use ngClass
instead.
[nzStyle]
has been removed, use ngStyle
instead.
table:
th[nzSort]
has been removed, use th[nzSortOrder]
instead.
th(nzSortChange)
has been removed, use th(nzSortOrderChange)
instead.
th(nzSortChangeWithKey)
has been removed. Please manually remove it.
thead(nzSortChange)
has been removed, use thead(nzSortOrderChange)
instead.
thead[nzSingleSort]
and th[nzSortKey]
has been removed. Please manually change to th[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, use NzTreeNode.isChecked
instead.
NzTreeNode.setSelected(boolean)
has been removed, use NzTreeNode.isSelected = boolean
instead.
notification:
NzNotificationDataFilled
has been removed, use NzNotificationRef
instead.
NzNotificationDataOptions.nzPosition
has been removed, use NzNotificationDataOptions.nzPlacement
instead.
anchor:
nzTarget
has been removed, use nzContainer
instead.
cascader:
CascaderOption
has been removed, use NzCascaderOption
instead.
CascaderSearchOption
has been removed, use NzCascaderSearchOption
instead.
upload:
UploadType
has been removed, use NzUploadType
instead.
UploadListType
has been removed, use NzUploadListType
instead.
UploadFile
has been removed, use NzUploadFile
instead.
UploadChangeParam
has been removed, use NzUploadChangeParam
instead.
ShowUploadListInterface
has been removed, use NzShowUploadList
instead.
UploadTransformFileType
has been removed, use NzUploadTransformFileType
instead.
UploadXHRArgs
has been removed, use NzUploadXHRArgs
instead.
9.3.0 (2020-07-09)
Bug Fixes
Features
9.2.2 (2020-06-23)
Bug Fixes
9.2.1 (2020-06-17)
Bug Fixes
9.2.0 (2020-06-16)
Bug Fixes
- 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
Features
9.1.2 (2020-05-13)
Bug Fixes
9.1.1 (2020-05-11)
Bug Fixes
- 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)
Bug Fixes
- 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
Features
9.0.2 (2020-04-20)
Bug Fixes
9.0.0 (2020-04-15)
Intro
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.
Environmental Requirement
- 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 dependencies
- 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 to 2.x
version, ref https://github.com/date-fns/date-fns-upgrade.
- if you have used
monaco-editor
please upgrade it to 0.2.x
, don't forget to upgrade monaco-editor-webpack-plugin
to 1.9.x
if you have used it.
Upgrade NG-ZORRO
- Run
ng update ng-zorro-antd
- If a warning message appears in the console, follow the prompts to modify the corresponding code
date-fns update
We have upgraded date-fns
to v2. When you switch todate-fns
, some date formats will have a breaking change. Such as:
<nz-date-picker nzFormat="YYYY-MM-DD"></nz-date-picker>
<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 totrue
, 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.
Angular Ivy Supported
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.
Ant Design 4 Spec
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.
Bug Fixes
Features
BREAKING CHANGES
- notification:
- NzMessageDataFilled is replaced by NzMessageRef
- NzNotificationDataFilled is replaced by NzNotificationRef
Bug Fixes
Features
Bug Fixes
Bug Fixes
- 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)
Chores
Code Refactoring
Features
- 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)
BREAKING CHANGES
- icon: -
NZ_ICON_DEFAULT_TWOTONE_COLOR
is removed. Use NzGlobalConfigService
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 use nzExtra
is nz-form-control
instead.
nz-form-explain
is removed. Please use nzSuccessTip | nzWarningTip | nzErrorTip | nzValidatingTip
is nz-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 use nzExtra
is nz-form-control
instead.
nz-form-explain
is removed. Please use nzSuccessTip | nzWarningTip | nzErrorTip | nzValidatingTip
is nz-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 use NzGlobalConfigService
instead.
NZ_NOTIFICATION_CONFIG
is removed. Please use NzGlobalConfigService
instead.
config
method of NzMessageService
and NzNotificationService
is removed. Please use set
method of NzGlobalConfigService
instead.
- empty: -
NZ_DEFAULT_EMPTY_CONTENT
is removed. Please use NzConfigService
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, use nzTwoToneColor
nzTheme
nzSpin
nzIconfont
nzType
instead.
i.anticon
selector has been removed, use i[nz-icon]
instead.
- calendar:
<nz-calendar>
nzCard
input has been removed, use nzFullscreen
instead.
- tooltip,popover,popconfirm:
<nz-tooltip>
<nz-popover>
<nz-popconfirm>
components has been removed, use its directives instead.
8.5.1 (2019-11-18)
Bug Fixes
8.5.0 (2019-11-08)
Bug Fixes
Features
8.4.1 (2019-10-23)
Bug Fixes
8.4.0 (2019-10-15)
Bug Fixes
- 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
Features
- 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)
Bug Fixes
8.3.0 (2019-09-09)
Bug Fixes
Features
- resizable: listen document events when resizing start (#4021) (66afcf0)
8.2.1 (2019-08-26)
Bug Fixes
- 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)
Bug Fixes
Features
8.1.2 (2019-07-29)
Bug Fixes
8.1.1 (2019-07-29)
Bug Fixes
- *: 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)
Bug Fixes
Features
8.0.3 (2019-07-14)
Bug Fixes
8.0.2 (2019-07-03)
Fix the dependencies version ranges.
8.0.1 (2019-07-01)
Bug Fixes
- 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)
Bug Fixes
- 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)
Features
- 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)
Bug Fixes
Features
7.4.1 (2019-05-21)
Bug Fixes
- build: unable to build in production when importing secondary module (#3266)
7.4.0 (2019-05-19)
Bug Fixes
- 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
Features
7.3.3 (2019-04-25)
Bug Fixes
7.3.2 (2019-04-22)
Bug Fixes
- build: fix bundling error of components.less (#3331) (fb19921)
7.3.1 (2019-04-22)
Bug Fixes
7.3.0 (2019-04-21)
Features
Bug Fixes
- 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)
Bug Fixes
Features
7.1.0 (2019-03-21)
Bug Fixes
Features
7.0.3 (2019-03-14)
Bug Fixes
- select: fix select init touched state error when disabled (#3084) (ba9d454), closes #3059
Build
- build: add strictNullCheck config (#2126)
- build: upgrade icon to 2.0.2 (#3085) (fc72d7d)
7.0.2 (2019-03-11)
Bug Fixes
7.0.1 (2019-03-04)
Bug Fixes
7.0.0 (2019-02-28)
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.
Bug Fixes
- 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
Features
- 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
and nzCancelDisabled
(#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)
Bug Fixes
7.0.0-rc.2 (2018-12-24) [deprecated]
Bug Fixes
Features
Bug Fixes
Features
Bug Fixes
Features
1.8.1 (2018-11-24)
Bug Fixes
Features
1.8.0 (2018-10-26)
Bug Fixes
Features
1.7.1 (2018-10-23)
Bug Fixes
1.7.0 (2018-10-18)
Bug Fixes
- 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
Features
1.6.0 (2018-09-22)
Bug Fixes
Features
Build
- build: use ng-packagr to generate library (#2126)
1.5.0 (2018-09-09)
Bug Fixes
- 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)
Features
1.4.1 (2018-09-02)
Bug Fixes
1.4.0 (2018-08-19)
Bug Fixes
Features
1.3.0 (2018-08-03)
Bug Fixes
- 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
Features
1.2.0 (2018-07-22)
Bug Fixes
Features
1.1.1 (2018-07-02)
Bug Fixes
- 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
Features
1.1.0 (2018-06-25)
Bug Fixes
Features
1.0.0 (2018-06-11)
Bug Fixes
Features
0.7.1 (2018-05-24)
Bug Fixes
Features
- 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)
Bug Fixes
Bug Fixes
- input-number: fix display value after formatter changed (#1371) (179c1e2)
- upload: fix ngModel was changed to nzPercent in nz-progress (#1320) (9b7336e), closes #1209
Features
- time-picker: support null value in time-picker-panel (#1388) (1ca1490)
Bug Fixes
Features
- mention: add mention component (#1182) (e28c1b5)
- mention: add prefix property to nzOnSearchChange payload (#1296) (1af5b42)
Bug Fixes
Features
- 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)
Bug Fixes
Features
0.6.10 (2018-01-06)
Bug Fixes
Features
0.6.9 (2018-01-02)
Bug Fixes
- calendar: fix month/year view switched (#768) (383a0f4)
- transfer: 1.fix the "checkAll" status not updated 2.change "ArrayObservable.of" to "of" (#834) (9c023fa)
Features
- radio: use nz-radio components alone (#825) (15c968c)
- transfer: add canMove property & make component using OnPush (#824) (d31c596)
0.6.8 (2017-12-21)
Bug Fixes
- 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)
Bug Fixes
- 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
Features
- 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)
Bug Fixes
Features
- input-number: use boundary value instead of previous value (#731) (48e40f4)
0.6.5 (2017-12-10)
0.6.4 (2017-12-10)
Bug Fixes
Features
- 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)
Bug Fixes
- 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)
Features
BREAKING CHANGES
- packaging: umd file name simplified from 'ng-zorro-antd.js' to 'antd.js'
0.6.2 (2017-11-29)
Features
- 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)
Bug Fixes
Features
- datepicker: support string and number type as value (#593) (aee7abe)
0.6.0 (2017-11-18)
Bug Fixes
- 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
Features
Bug Fixes
Features
- datepicker: support [nzDisabledDate] property in month mode (#451) (cdc0716), closes #442
- classMap: improve classMap performance (#528) (e5b5cc9)
- polyfill: polyfill all request animation (#527) (8c5a41a)
Bug Fixes
- table: fix the wrong semantics about param "nzShowExpand" of nz-row-expand-icon (e4f8337)
build
Features
- i18n: support i18n functionality (zh-CN, en-US currently) (552fa50), closes #427
- locale: support change locale at the runtime (globally) (af6c926)
BREAKING CHANGES
- 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)
Bug Fixes
Features
- 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)
Bug Fixes
- datepicker: data binding not work when mode is month (#421) (dca0895)
- modal: restore body overflow before destroyed the component (#415) (083dd03), closes #412
Features
0.5.3 (2017-09-30)
Bug Fixes
Features
0.5.2 (2017-09-23)
Bug Fixes
- 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)
Features
- 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)
Bug Fixes
Features
- menu: selected child item, its parent highlight (#264) (970e968), closes #262
0.5.0 (2017-09-09)
Bug Fixes
- 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
Features
Bug Fixes
- pagination: fix nzPageIndexChange event does not emit (#189) (371b98a)
Features
- modal: provide open & close & setConfirmLoading function (#125) (0f87f6c), closes #118
- tooltip,popconfirm,popover: support OnPush (#143) (2f2c9ac), closes #136
Bug Fixes
Features
- 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
Bug Fixes
- 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)
Features
0.5.0-rc.0 (2017-08-15)