Update dependency ng-zorro-antd to v19 #2771
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
13.4.0->19.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
NG-ZORRO/ng-zorro-antd (ng-zorro-antd)
v19.0.0Compare Source
Bug Fixes
nzBorderlessinput (#8741) (22ce17c)vi_VN(#8894) (f08ad1c)nzTreeNodePaddingnot works in virtual scroll (#8920) (82b660a)Code Refactoring
ngClassandngStyle(#8895) (c3ab3ba)FADE_CLASS_NAME_MAPandIMAGE_PREVIEW_MASK_CLASS_NAME(#8912) (65223d9)CheckBoxtoCheckbox(#8934) (c76433d5)Features
nzPlacement(#8935) (6fbd22c)nz-checkbox-groupcomponent (#8932) (489e0de)nzVariantoption (#8827) (2c63c87)nz-icontag selector (#8778) (1406241)nzTriggerSubMenuActionto support click trigger for submenu (#8461) (860df87)nzStatusRenderto support customize state rendering (#8714) (6f36d75)nzSortDirectionsto global config (#6613) (#8721) (eb1fdc5)nzOneWayto support one way style (#8717) (99fd4de)BREAKING CHANGES
All
nzClass/nzStyleinput properties no longer support the following features:Set(): use arrays instead@WithConfigto standard decorator. If you're using@WithConfigin your library, please turnexperimentalDecoratorsoff intsconfig.json[nz-icon]tonz-icontag. If you're using[nz-icon]selector in stylesheet to select icon inside zorro component, please usenz-iconinsteadinput-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-templateandnz-input-number-group:The old input-number component is marked as deprecated, and its entrypoint had changed to
ng-zorro-antd/input-number-legacy.NzInputNumberComponentis nowNzInputNumberLegacyComponent, andNzInputNumberModuleis nowNzInputNumberLegacyModule.Don't worry,
ng update ng-zorro-antdwill 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: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
mapfunction to pass the actual value.checkbox Redesign the checkbox group component.
NzCheckBoxOptionInterface['checked]field. By the way,NzCheckBoxOptionInterfaceis marked as deprecated, useNzCheckboxOptioninsteadnz-checkbox-group: Type ofngModelis changed fromNzCheckBoxOptionInterface[]toNzCheckboxOption['value'][]card: Remove redundant
nzBorderlessinput property. UsenzBorderedinstead.image: Remove deprecated
FADE_CLASS_NAME_MAPandIMAGE_PREVIEW_MASK_CLASS_NAMEpipes: Remove deprecated
NzSafeNullPipesegmented: Redesign the segmented component.
ngModelis changed fromindexto option's valuenzValueChangefromnumberto option's value type (string | number)nzLabelTemplate, usenz-segmented-itemdirective insteadspace: Rename
exportAsofNzSpaceComponentfromNzSpaceto standardnzSpacetransfer: Rename
nzTreeCheckBoxChangetonzTreeCheckboxChangetree,tree-select: Rename
nzCheckBoxChangetonzCheckboxChangeDeprecations
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.
ng-zorro-antd/buttonNzButtonGroupComponentng-zorro-antd/core/formNzFormPatchModuleng-zorro-antd/checkboxNzCheckboxWrapperComponentng-zorro-antd/inputNzInputGroupComponent#nzCompactng-zorro-antd/input-number-legacy*ng-zorro-antd/messageNzMessageModuleng-zorro-antd/notificationNzNotificationModuleNzNotificationServiceModule18.2.1 (2024-11-15)
Bug Fixes
atag problem withnullorundefinedvalue if TemplateRef provided (#8864) (41f6609)nzSelectChangeevent (#8872) (5ff9821)v18.2.1Compare Source
Bug Fixes
atag problem withnullorundefinedvalue if TemplateRef provided (#8864) (41f6609)nzSelectChangeevent (#8872) (5ff9821)v18.2.0Compare Source
Bug Fixes
nb_NO(#8712) (8c9bcd1)hu_HU(#8769) (9e21ae8)nzVisibleChangewhen close on navigation (#8850) (29827df)nzMaskis false (#8798) (f2f04fe)Features
destroyInactiveTabPane(#8845) (0de6d62)18.1.1 (2024-08-20)
Bug Fixes
v18.1.1Compare Source
Bug Fixes
v18.1.0Compare Source
Bug Fixes
compositionstartevent (#8641) (17b0ea3)pt_BR(#7790) (6fc1c78)fr_BE,fr_CA,fr_FRandlv_LV(#8614) (9b69410)RouterLinkin template (#8621) (032a0c2)Features
nzRouteFn(#6313) (6d805c4)en_AU(#7919) (c4e6c8d)provideNzIconsandprovideNzIconsPatchAPI (#8650) (b22672d)nzSummary(#8639) (20bb5b2)nzFixedfornzSummary(#8642) (bef12e6)nzNotFoundContent(#8638) (13e8a45), closes #863118.0.1 (2024-06-27)
Bug Fixes
de_DE(#8605) (8d75378)fa_IR(#8597) (9c6e4bf)v18.0.1Compare Source
Bug Fixes
de_DE(#8605) (8d75378)fa_IR(#8597) (9c6e4bf)v18.0.0Compare Source
⚠ BREAKING CHANGES
left|righttostart|end(#8561) (3ad5674)No need to wrap Less functions provided by antd (including
colorEasing,colorPalette,tinycolor) with ~`` anymore.Bug Fixes
Features
17.4.1 (2024-05-24)
Bug Fixes
Features
Performance Improvements
v17.4.1Compare Source
Bug Fixes
Features
Performance Improvements
v17.4.0Compare Source
Bug Fixes
Features
v17.3.0Compare Source
Bug Fixes
Features
v17.2.0Compare Source
Bug Fixes
Features
v17.1.0Compare Source
Bug Fixes
Features
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.