Repository navigation
build(deps)!: upgrade angular to v22 - #2661
Merged
Merged
Conversation
madhavilosetty-intel
force-pushed
the
build/upgrade-angular-22
branch
from
October 12, 2026 20:09
a86bf4e to
ff554b6
Compare
There was a problem hiding this comment.
🟡 Changes recommended
Strict template checking and OnPush configuration remain incomplete, and the IDER deviceState API change may break existing consumers.
3 open findings
What changed in this PR
Upgrades the Angular toolchain to v22 and adapts components for signal-based state and bindings.
Changes:
- Updates Angular, TypeScript, ng-packagr, and dependency declarations.
- Converts component state to signals and fixes KVM canvas bindings.
- Refreshes compiler configuration and related tests.
| File | Summary |
|---|---|
tsconfig.json |
Updates compiler configuration and removes deprecated path settings. |
sol/src/terminal/terminal.component.ts |
Makes the terminal input required. |
sol/src/sol.component.ts |
Adds signal-based device state and lifecycle updates. |
sol/src/sol.component.spec.ts |
Updates and expands SOL tests. |
sol/src/sol.component.html |
Updates signal and terminal rendering bindings. |
package.json |
Upgrades toolchain dependencies and adds RxJS as a peer dependency. |
kvm/src/kvm.component.spec.ts |
Tests canvas sizing behavior. |
kvm/src/kvm.component.html |
Evaluates canvas dimension signals correctly. |
ider/src/ider.component.ts |
Adds signal-based device state. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Upgrade @angular/core, @angular/cli and @angular/build to 22,
ng-packagr to 22 and TypeScript to 6.0 with ng update.
- Adopt TypeScript 6 strict mode: the component fields that are
created lazily on connect are declared nullable, the terminal
input is required, and the deprecated baseUrl with its unused
ider/kvm path aliases is removed. TypeScript is pinned to ~6.0.3,
the range the Angular 22 compiler accepts.
- Adopt the Angular 22 defaults: components use OnPush change
detection and strict templates are on. SOL's and IDER's
deviceState are now read-only signals so templates refresh under
OnPush; IDER's previously never changed from 0.
- Fix the KVM canvas bindings, which bound the width and height
signal functions instead of their values.
- Declare rxjs as a peer dependency. @angular/core is not declared
as a peer: the partially compiled output links in Angular 21 and
22 apps, so the host application's Angular version is not
constrained by this package.
- Drop the esbuild override, which pinned 0.28.1 below the 0.28.2
that @angular/build 22 ships with. Remove the unused @angular/cdk
and ts-node devDependencies.
BREAKING CHANGE: SOLComponent.deviceState and IDERComponent.deviceState
are now read-only signals. Read them as deviceState() instead of
deviceState.
Resolves: #2636
madhavilosetty-intel
force-pushed
the
build/upgrade-angular-22
branch
from
October 12, 2026 20:21
ff554b6 to
9d2ba9b
Compare
rsdmike
approved these changes
Oct 12, 2026
|
🎉 This PR is included in version 12.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.


Upgrade @angular/core, @angular/cli, @angular/build and @angular/cdk to 22, ng-packagr to 22 and TypeScript to 6.0 with ng update.
Resolves: #2636
PR Checklist
What are you changing?
Anything the reviewer should know when reviewing this PR?
If the there are associated PRs in other repositories, please link them here (i.e. device-management-toolkit/repo#365 )