Angular Upgrade v21.x#8052
Conversation
- Updated Angular packages to version 21.x in package.json. - Replaced ngx-clipboard with Angular CDK's clipboard functionality in multiple components.
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test all |
|
/test pre-dashboard-web-integration-tests-ce |
|
/test all |
1 similar comment
|
/test all |
|
/test pre-dashboard-web-integration-tests-ce |
|
/test pre-dashboard-web-integration-tests-ce |
fe5794c to
fb14287
Compare
80979f8 to
36a3575
Compare
|
/test pre-dashboard-web-integration-tests-ce |
What this PR does / why we need it:
This PR upgrades the KKP Dashboard Angular frontend from v20.3.x to v21.2.x version.
Which issue(s) this PR fixes:
Fixes #7951
/kind chore
What type of PR is this?
Special notes for your reviewer:
Removed Package
There are few packages that are no longer maintainer and therefore "PEER" depedency issue as supported version are not available however older verison of packages still works but adding overrides for few reasons:
Two packages in the project are overridden to force Angular 21 peer dependencies:
@angular/flex-layout15.0.0-beta.42@swimlane/ngx-charts23.1.0What the override does:
FYI: Even without
overrridesof these packages these can work and bcz of this line otherwise you can probably see following error and currently those are SILENCEDUseful to Add Overrides property with $
Why overrides are safe — The $@angular/core syntax silences npm's peer-dependency mismatch
errors. It does NOT change compiled code. If these libraries break at runtime, it surfaces as a
runtime error, not a hidden compatibility issue. Both are tracked for replacement in follow-up
tickets.
Does this PR introduce a user-facing change? Then add your Release Note here:
Documentation:
Test issue: