Draft
chore: upgrade Angular to v22.1.2 across all Angular projects#1449
Conversation
- Update all Angular packages (@angular/core, cli, material, cdk, etc.) from v20/v21 to v22.1.2 in 5 projects - Update TypeScript to 6.0.3 (required by Angular 22) - Update zone.js to ~0.16.0 - Apply ng update schematics: add ChangeDetectionStrategy.Eager to all @component decorators - Apply ng update schematics: add extendedDiagnostics suppression to tsconfig.app.json and tsconfig.spec.json - Add istanbul-lib-instrument ^6.0.3 to devDependencies (ng update CLI migration) Co-authored-by: bingenito <28159742+bingenito@users.noreply.github.com>
…nk line in market-watch Co-authored-by: bingenito <28159742+bingenito@users.noreply.github.com>
Copilot stopped work on behalf of
bingenito due to an error
August 14, 2026 18:45
Copilot created this pull request from a session on behalf of
bingenito
August 14, 2026 18:45
View session
Co-authored-by: bingenito <28159742+bingenito@users.noreply.github.com>
Copilot stopped work on behalf of
bingenito due to an error
August 14, 2026 18:54
Co-authored-by: bingenito <28159742+bingenito@users.noreply.github.com>
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.
Summary
Upgrades the full Angular stack to the latest stable version (v22.1.2) in all 5 Angular projects in the repository. Uses
ng updateschematics (run in an isolated environment) to apply the correct migrations for breaking changes, then applies those same migrations consistently across all projects.Projects Updated
examples/fdc3-chart-and-grid/js-datagridexamples/js-chart-and-grid-messagerouter/js-datagridexamples/fdc3-trade-simulator/js-trader-appexamples/fdc3-trade-simulator/js-order-bookprototypes/process-explorer/oss-frontendChanges Per Project
package.json@angular/*packages → 22.1.2@angular/cli+@angular/build→ 22.1.4typescript→ 6.0.3 (required by Angular 22:>=6.0 <6.1)zone.js→ ~0.16.0 (Angular 22 supports~0.15.0 || ~0.16.0)istanbul-lib-instrument ^6.0.3(added byng update @angular/climigration for Karma coverage)Source files (
ng update @angular/coreschematic)changeDetection: ChangeDetectionStrategy.Eagerto all 16@Componentdecorators across all projects.ChangeDetectionStrategy.Eageris the new Angular 22 name for the default change detection strategy (value1, aliased toDefaultfor backwards compatibility).tsconfig.app.json+tsconfig.spec.json(ng update @angular/coreschematic)angularCompilerOptions.extendedDiagnostics.checksto suppressnullishCoalescingNotNullableandoptionalChainNotNullablediagnostics, which became errors in Angular 22's stricter template checking defaults.How schematics were applied
Because this repository uses npm workspaces,
ng updatecannot be run directly from sub-project directories (it reads the workspace root'spackage.json). Instead:/tmp, reset to v21, andng updatewas run there to discover all migration changesOptional migrations available (not applied)
The
ng update @angular/clischematics also offer two optional migrations that were intentionally skipped:ng update @angular/cli --name migrate-karma-to-vitestng update @angular/cli --name use-application-builder