Update dependency ng-zorro-antd to v20 #251
Open
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:
19.3.1
->20.0.0
Release Notes
NG-ZORRO/ng-zorro-antd (ng-zorro-antd)
v20.0.0
Compare Source
Features
nzVariant
(#9131) (b342bb4)nzPopoverTitleContext
andnzPopoverContentContext
(#9126) (df3ead9)nzOnClear
callback (#9188) (e047ac2)loading
andfetchpriority
attributes (#7347) (ff8419f)nzOkButtonProps
andnzCancelButtonProps
(#9245) (22e2a9f)Bug Fixes
NzAlign
type (#9151) (b271c19)Code Refactoring
inject
pattern⚠ BREAKING CHANGES
ng-zorro-antd/core/polyfill
:cancelRequestAnimationFrame
tocancelAnimationFrame
reqAnimFrame
torequestAnimationFrame
NzTabsetComponent
toNzTabsComponent
,nz-tabset
selector tonz-tabs
, the original component and selector are marked as deprecatednzOkDisabled
andnzOkDanger
are marked as deprecated, usenzOkButtonProps
andnzCancelButtonProps
insteadRemove the following APIs which were marked as deprecated in the previous version:
ng-zorro-antd/button
NzButtonGroupComponent
ng-zorro-antd/core/form
NzFormPatchModule
ng-zorro-antd/checkbox
NzCheckBoxOptionInterface
ng-zorro-antd/input
NzInputGroupComponent#nzCompact
ng-zorro-antd/message
NzMessageModule
ng-zorro-antd/notification
NzNotificationModule
NzNotificationServiceModule
The
exportAs
of components are updated to followcamelCase
and start withnz
,exportAs
of internal components are removed. Changes can be seen as follow:calendar-footer
calendarFooter
date-helper
dateHelper
date-range-popup
dateRangePopup
date-table
dateTable
decade-helper
decadeHelper
decade-table
decadeTable
month-helper
monthHelper
month-table
monthTable
quarter-helper
quarterHelper
quarter-table
quarterTable
year-helper
yearHelper
year-table
yearTable
inner-popup
innerPopup
nz-color-block
NzColorBlock
nzColorBlock
nz-color-format
NzColorFormat
nzColorFormat
nz-color-picker
NzColorPicker
nzColorPicker
nz-model-close
NzModalCloseBuiltin
nzModalCloseBuiltin
nz-model-footer
NzModalFooterBuiltin
nzModalFooterBuiltin
nz-model-title
NzModalTitleBuiltin
nzModalTitleBuiltin
nz-tree-drop-indicator
NzTreeDropIndicator
nzTreeDropIndicator
nz-water-mark
NzWaterMark
nzWaterMark
nz-tabs
nzTabset
nzTabs
Deprecations
The following APIs are marked as deprecated in v20 and will be removed in the next major version.
Please refer to related documentation for better alternatives.
ng-zorro-antd/autocomplete
NZ_AUTOCOMPLETE_VALUE_ACCESSOR
getNzAutocompleteMissingPanelError
ng-zorro-antd/button
NzButtonGroupComponent
ng-zorro-antd/core/form
NzFormPatchModule
ng-zorro-antd/core/highlight
NzHighlightModule
ng-zorro-antd/checkbox
NzCheckBoxOptionInterface
ng-zorro-antd/input
NzInputGroupComponent#nzCompact
ng-zorro-antd/mention
NZ_MENTION_TRIGGER_ACCESSOR
ng-zorro-antd/message
NzMessageModule
ng-zorro-antd/notification
NzNotificationModule
NzNotificationServiceModule
ng-zorro-antd/tabs
NzTabsetComponent
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.