Change Log
ng-zorro-antd
strictly follows Semantic Versioning 2.0.0.
Release Schedule#
- Weekly release: patch version at the end of every week for routine bugfix (anytime for urgent bugfix).
- Monthly release: minor version at the end of every month for new features.
- Major version release is not included in this schedule for breaking change and new features.
18.2.1#
2024-11-15
Bug Fixes#
- anchor: fix
a
tag problem withnull
orundefined
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#
- fix ngtypecheck reference issue caused by @angular/compiler-cli#56945 (#8699) (8e459c1)
- date-picker: fix the NG0956 warning when recreating entire collection (#8658) (70a0817)
- grid: fix the NG0955 warning in showcase (#8679) (6414c92)
- tree-select: clear selected nodes when user set value (#8693) (91927bc)
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
andlv_LV
(#8614) (9b69410) - schematics: import missing
RouterLink
in template (#8621) (032a0c2) - transfer: disabling selection does not affect selecting all (#8633) (75d8c7b)
Features#
- breadcrumb: add
nzRouteFn
(#6313) (6d805c4) - i18n: add
en_AU
(#7919) (c4e6c8d) - icon: add
provideNzIcons
andprovideNzIconPatchs
API (#8650) (b22672d) - popconfirm: support popconfirm template context (#7989) (6d27073)
- table: support
nzSummary
(#8639) (20bb5b2) - table: support
nzFixed
fornzSummary
(#8642) (bef12e6) - tree-select: support TemplateRef type for
nzNotFoundContent
(#8638) (13e8a45)
18.0.1#
2024-06-27
Bug Fixes#
- graph: fix @for track function (#8587) (7687ff2)
- icon: fix @for track function (#8588) (8a27bab)
- table: fix @for track function (#8593) (b275063)
- pagination: fix @for track function (#8586) (6bb95c0)
- i18n: add missing german translations
de_DE
(#8605) (8d75378) - i18n: add scanned field to QRCode
fa_IR
(#8597) (9c6e4bf) - table: missing no-result in fixed header table (#8574) (6cff80e)
18.0.0#
2024-06-06
⚠ BREAKING CHANGES#
- collapse: change nzExpandIconPosition type from
left
|right
tostart
|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#
- date-picker: support quarter selection of date picker (#8478) (3513889), closes #7818#7380
- qrcode: qrcode supports scanned state (#8447) (0be6178)
- rate: emit hover change when leave (#8448) (38dcc31)
- statistic: support for loading state (#8537) (21c8b62)
- table: support setting virtual height when having no data (#8457) (724d841)
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#
Performance Improvements#
- 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 disappeared arrows of edge (#8493) (342841c)
- graph: remove
NgZone
dependency (#8460) (a4ec21a) - icon: missing swap 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#
- improve schematics (#8411) (921f1c1)
- anchor: horizontal anchors (#8342) (9cc44f8)
- calendar: custom header (#8418) (ec7ec35)
- color-picker: built-in color-picker package (#8428) (534fe62)
- drawer: return componentRef when nzContent is a component (#8339) (f71162b)
- image: now supports horizontal and vertical flip (#8168) (e856515)
- image: zoom using mouse wheel (#8180) (4235c29)
- modal: draggable (#8419) (ce33294)
- modal: expose componentRef nzContent (#8389) (e53000e)
- segmented: now supports segmented with icon only (#8368) (e8dea7a)
- select: select max tag count (#8371) (18b898e)
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#
- color-picker: make color picker standalone (#8316) (b050474)
- tag: borderless mode (#8320) (e428083)
- timeline: allow custom color (#8335) (66a88db)
17.1.0#
2023-12-17
Bug Fixes#
- fix logic for generating directive tags (#8171) (e37eab2)
- calendar: style radio button not apply (#8298) (996e141)
- core: warning cron parser common js dependencies (#8277) (138d666)
- cron-expression: output type error (#8189) (ad02381), closes #8188
- select: input clear when nzAutoClear (#8167) (fefcb68)
- tabs: aria controls have wrong value (#8237) (d9a2d27)
- tooltip: color of the tooltip arrow does not change (#8192) (bc344ed)
Features#
- alert: support standalone component (#8182) (167bed0)
- anchor: support standalone component (#8185) (03cda21)
- autocomplete: support standalone component (#8193) (548e842)
- avatar: support standalone component (#8194) (4e2cb74)
- back-top: support standalone component (#8195) (db5d5f4)
- badge: support standalone component (#8201) (3d1427f)
- breadcrumb: support standalone component (#8202) (165f171)
- button: support standalone component (#8275) (3c09507)
- calendar: support standalone component (#8274) (80d68a3)
- card: component support standalone (#8273) (0902a4b)
- carousel: support standalone component (#8272) (e4244fb)
- cascader: support standalone component (#8271) (3ab6e5b)
- cdk: support standalone component (#8270) (d66bcba)
- checkbox: support standalone component (#8269) (1491fb3)
- code-editor: support standalone component (#8268) (24547c6)
- collapse: support standalone component (#8267) (dc43fa5)
- color-picker: disable alpha (#8178) (0bebd6a)
- comment: support standalone component (#8266) (5af11ea)
- core: make no-animation standalone (#8257) (de579bc)
- core: support standalone component (#8265) (c51e8da)
- cron-expression: support standalone component (#8264) (ae6ceeb)
- date-picker: support standalone component (#8263) (ac48fba)
- description: support standalone component (#8262) (128f4c0)
- divider: support standalone component (#8258) (3a7cd50)
- drawer: support standalone component (#8256) (2fbe4c0)
- dropdown: support standalone component #8254 (#8255) (c5df26f)
- empty: support standalone component (#8254) (15636d2)
- experimental-image: support standalone component (#8253) (7325781)
- flex: add flex component (#8145) (f8fedfc)
- form: support standalone component (#8252) (e742e39)
- graph: support standalone component (#8251) (d2f1d30)
- grid: support standalone component (#8250) (208652c)
- i18n: support standalone component (#8249) (a91cac7)
- icon: support standalone component (#8248) (b0dbfbc)
- image: support standalone component (#8200) (63b8777)
- input-number: support standalone component (#8246) (6210fa0)
- input: support standalone component (#8247) (0a7028c)
- layout: support standalone component (#8245) (d21f8a1)
- list: support standalone component (#8244) (1f3010f)
- mention: support standalone component (#8243) (adc5e94)
- menu: support standalone component (#8242) (4673926)
- message: support standalone component (#8241) (c2120b2)
- modal: support standalone component (#8240) (387d664)
- notification: support standalone component (#8236) (686b6b0)
- page-header: support standalone component (#8235) (aa91486)
- pagination: support standalone component (#8234) (0f1690c)
- pipes: make the css-unit pipe support more units (#8260) (5e611e7)
- pipes: support standalone component (#8233) (319381a)
- pop-confirm: support standalone component (#8232) (9d656b2)
- popover: support standalone component (#8231) (f7468e2)
- progress: support standalone component (#8230) (7022471)
- qr-code: support standalone component (#8228) (769f74c)
- radio: support standalone component (#8227) (b62ac64)
- rate: support standalone component (#8226) (90edba6)
- resizable: support standalone component (#8225) (ff14ed0)
- result: support standalone component (#8224) (572965d)
- segmented: support standalone component (#8223) (86a49d2)
- select: support standalone component (#8222) (ed0de77)
- skeleton: support standalone component (#8220) (a2858d3)
- slider: support standalone component (#8219) (428c53c)
- space: support standalone component (#8218) (a84ddef)
- spin: support standalone component (#8217) (cd23e33)
- statistics: support standalone component (#8216) (186ef60)
- steps: support standalone component (#8215) (dbb6fcb)
- switch: support standalone component (#8214) (3f6a9ed)
- table: support standalone component (#8276) (5765ae9)
- tab: support standalone component (#8213) (69dd31a)
- tag: support standalone component (#8212) (15af7c8)
- time-picker: support standalone component (#8211) (641ebb2)
- timeline: support standalone component (#8210) (b7c6859)
- tooltip: support standalone component (#8209) (125768c)
- transfer: support standalone component (#8208) (960144e)
- tree-select: support standalone component (#8206) (64ec76a)
- tree-view: support standalone component (#8205) (d4426fc)
- tree: support standalone component (#8207) (b9cf3b0)
- typography: support standalone component (#8204) (d7e387f)
- upload: support standalone component (#8203) (7cd08ae)
- water-mark: nzWaterMark is a block element && standalone (#8197) (e4d6082), closes #8187
17.0.1#
2023-11-20
Bug Fixes#
17.0.0#
2023-11-19
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#
- inline cdk-overlay style (#8132) (3209d74)
- cascader: compatible with rxjs v6 (#8133) (54a5c76)
- drawer: drawer not open (#8120) (24d0664)
16.2.1#
2023-10-19
Bug Fixes#
- inline external css (#8122) (42da190)
- color-picker: optimize demo copywriting and style (#8088) (6d03099)
- menu: ellipsis menu title content if overflow (#8055) (0674f78)
- tree-select: fixed the bug that the back shortcut key can delete the bug when the node is disabled (#8105) (07a1f5e)
Features#
16.2.0#
2023-09-18
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)
- button: fix add class ant-btn-icon-only(#7631) (#7678) (7470ed6)
- cascader: customize the option title to undefined (#8011) (10003db), closes #8006
- core: resolve CSP errors (#8059) (295b333)
- cron-expression: clear console warnings (#7926) (b358345)
- date-picker: fix code comment (#7991) (8b6b653)
- i18n: update zh_TW.ts (#7901) (9bfce45)
- message: clean up DOM after usage (#7965) (71ead99), closes #7772
- message: fix the z-index of overlay (#8081) (b1d2095)
- notification: don't create new messageId for update (#8000) (e240264)
- qrcode: optimize demo display and nzPadding value (#8020) (078aaf9)
- table: remove empty space in custom columns (#8022) (15e244c)
- time-picker: modelChange trigger twice (#7902) (74c13a4)
- tree-view: re-rendering fix (#8035) (68cb4b2)
- tree: remove console.log (#8019) (fa0312a)
- watermark: removing the watermark fails to redraw (#8012) (030318e)
- showcase: ui bug in rtl mode inside the doc site (#8063) (d57b7da)
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)
Performance Improvements#
- select: ability to pass nzKey to nz-option (#8033) (e94da4e)
- select: remove unused types (#7850) (71c2138)
- tabs: need add .ant-tabs-tab class reduce css computing time consuming(#7935) (#7936) (198644a)
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)
Performance Improvements#
- select: remove unused types (#7850) (71c2138)
- tabs: need add .ant-tabs-tab class reduce css computing time consuming(#7935) (#7936) (198644a)
16.0.0#
2023-05-31
Install ng-zorro-antd#
$ cd PROJECT-NAME
$ ng add ng-zorro-antd@16.0.0
Bug Fixes#
- date-picker: ng-untouched when loose focus (#7922) (9ebcf72)
- date-picker: week number error when cross years (#7923) (e7f9538)
- datepicker: ngModel not update (#7948) (100796c)
- slider: the first disable is invalid (#7947) (ad2faf4), closes #7943
15.1.0#
2023-04-02
Bug Fixes#
- docs: migration description (#7890) (78541e1)
- datepicker: send OnChange event for same value (#7815) (3602abc)
- radio: update
touch
status whenfocus
andblur
events (#7885) (39f0cea), closes #7877 - time-picker: fix AM/PM selector hide (#7701) (129e944)
- tooltip: fix tooltip.spec.ts (#7893) (3dfa655)
Features#
- form: support form label align (#7870) (d54b3b4)
- modal: pass data to modal component through injection token (#7849) (ea9969d)
- qrcode: add QRCode component (#7803) (ff36981)
- watermark: add watermark component (#7857) (11b85a4)
Performance Improvements#
- 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#
15.0.1#
2023-01-09
Bug Fixes#
15.0.0#
2022-12-21
Install ng-zorro-antd#
$ cd PROJECT-NAME
$ ng add ng-zorro-antd@15.0.0
Bug Fixes#
Performance Improvements#
- date-picker: remove unused variable (#7767) (1572da5)
- form: remove a unused variable (#7766) (162d290)
14.3.0#
2022-12-11
Install ng-zorro-antd#
$ cd PROJECT-NAME
$ ng add ng-zorro-antd@15.0.0
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-21
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#
- popconfirm: support async close (#7533) (797b261)
- select: support placement (#7537) (dda0e6d)
- date-picker: add nzShowWeekNumber property (#7621) (2cb80fc)
- menu: add support nzPlacement for nz-submenu (#7420) (b1223bd), closes #4743
- select: add string array support for nzDropdownClassName (#7643) (966dc8f)
- time-picker: support input readonly (#7660) (2dcefe2)
14.0.0#
2022-08-25
Install ng-zorro-antd#
$ cd PROJECT-NAME
$ ng add ng-zorro-antd@14.0.0
Bug Fixes#
Features#
- icon: change tag of nz-icon from
<i>
to<span>
(#7586) (7242111) - popconfirm: support async close (#7533) (797b261)
- <i nz-icon nzType="search" nzTheme="outline"></i>
+ <span nz-icon nzType="search" nzTheme="outline"></span>
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#
- notification: support top and bottom placement (#7540) (d8b26dd)
- anchor: sync new properties (#7494) (254b429)
- badge: support size (#7405) (f40dd38)
- date-picker: support date-picker placement (#7527) (a652470)
- input-number: add borderless support (#7539) (ea1138b)
- switch: add nzId input (#6815) (4c71bdb)
- time-picker: support borderless (#7547) (a8c3f95)
Performance Improvements#
13.3.2#
2022-06-26
Bug Fixes#
13.3.1#
2022-06-20
Bug Fixes#
13.3.0#
2022-06-15
Bug Fixes#
- icon: add missing zorro used icon: deleteOutline (#7499) (ba6bade)
- tooltip: is not aligned on first display (#7457) (23a2fd5), closes #7453
- transfer:
submit
behavior for button inside form (#7413) (0cfebca), closes #7410
Features#
- cascader: support setting status (#7452) (e10908e)
- date-picker: support setting status (#7479) (c3d0874)
- form: make form work with status (#7489) (98ac620)
- input-number: support input number group (#7488) (b038fa2)
- input-number: support setting status (#7462) (0c9287a)
- input: support setting status (#7472) (999215e)
- mentions: support setting status (#7467) (ac38b2d)
- segmented: implement new component (#7404) (95a31da)
- select: support setting status (#7478) (44b7fe0)
- time-picker: support setting status (#7473) (0d8249b)
- transfer: support setting status (#7475) (9b98fe1)
- tree-select: add status (#7477) (40815ad)
13.2.2#
2022-05-12
Bug Fixes#
13.2.1#
2022-04-27
Bug Fixes#
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
orright
to switch image (#7321) (b5f82b5) - input-number: add
nzReadOnly
property (#7372) (0da7496), closes #7369
Performance Improvements#
- 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
andmouseleave
events are dispatched on handlers (#7313) (54386ef) - modal: call
focus()
on the next rendering frame to prevent frame drop (#7293) (106d346) - resizable: mark
mousedown
andtouchstart
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
toauto
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 thengModel
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#
- alert: support nzAction for customizing actions (#7246) (eb3b1ba)
- drawer: support new apis nzSize and nzExtra (#7227) (d2e5b76)
- i18n: add
kk_KZ
to i18n (#7261) (3580fb0) - i18n: add
km_KH
(#7220) (f972391)
Performance Improvements#
- 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
andtouchstart
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 nonzClick
listeners (#7178) (0054f59) - typography: do not run change detection on
input
andkeydown
events (#7185) (ad547fb)
13.0.1#
2022-01-18
Bug Fixes#
- back-top: fix more reliable scrolling listener (#7208) (3bcd343), closes #7199
- drawer: fix close icon position without
nzTitle
property (#7176) (a6195b9), closes #7164 - icon: fix old icon element not removed (#7188) (67ac573), closes #7186
- statistic: re-enter the Angular zone when the
nzCountdownFinish
emits (#7137) (6835544) - tree-view: fix innerTrackBy function (#7150) (4484674), closes #7118
Performance Improvements#
- 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
andblur
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
Removal of View Engine Support#
ng-zorro-antd@13
remove support for View Engine and use Ivy library for distribution, you will get faster building and smaller bundle size.
See Angular Ivy.
Removal of IE11 Support#
- Removing IE11 support allows Angular to leverage modern browser features such as CSS variables and web animations via native web APIs
- What’s more is that apps will be smaller and load faster because we can remove IE specific polyfills and code paths
See Issue #41840.
Enhanced Performance#
Fix the problems that may cause memory leak.
BREAKING CHANGES#
dropdown
[nzHasBackdrop]
input value are no longer supported, please use[nzBackdrop]
instead.
Old Versions#
All releases notes can be found here