Skip to content

chore: update Angular to 22.0.0-rc.0#17276

Draft
Copilot wants to merge 3 commits into
masterfrom
copilot/update-angular-22-0-0-rc-0
Draft

chore: update Angular to 22.0.0-rc.0#17276
Copilot wants to merge 3 commits into
masterfrom
copilot/update-angular-22-0-0-rc-0

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 15, 2026

Upgrades the project from Angular 21.x to Angular 22.0.0-rc.0 using ng update, including all automated migration schematics.

Changes

  • Angular packages — all @angular/* and @angular-devkit/* packages bumped to 22.0.0-rc.0
  • Build toolingng-packagr22.0.0-next.4, TypeScript → 6.0.3
  • Node.js requirement — Angular 22 CLI requires Node.js ≥ v22.22.0 (up from v18/v20)
  • Auto-migrations applied by ng update:
    • provideHttpClient() calls updated with withXhr() where HttpXhrBackend is used
    • provideClientHydration() updated with withNoIncrementalHydration() opt-out to retain pre-v22 behavior
    • Optional chaining expressions in templates wrapped with $safeNavigationMigration()
    • Extended diagnostics nullishCoalescingNotNullable & optionalChainNotNullable disabled in all tsconfig files
    • Test spec files updated (~370 files touched by migration schematics)

Copilot AI and others added 2 commits May 15, 2026 11:36
@damyanpetev
Copy link
Copy Markdown
Member

@copilot the install seems to be failing for peer deps of angular-eslint to angular packages
https://github.com/IgniteUI/igniteui-angular/actions/runs/25916675579/job/76184965619?pr=17276
Add an dependency override for those package deps with the 22 versions

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 15, 2026

@copilot the install seems to be failing for peer deps of angular-eslint to angular packages
https://github.com/IgniteUI/igniteui-angular/actions/runs/25916675579/job/76184965619?pr=17276
Add an dep...

Fixed in c0f0c6d. Added npm overrides entries for @angular-eslint/builder and @angular-eslint/schematics (the two packages with @angular/cli >= 21.0.0 < 22.0.0 peer deps) using "$@angular/cli" to reference the root-level Angular CLI version. Also updated the existing igniteui-angular-charts and igniteui-angular-core overrides from ^21.0.0 to ^22.0.0-rc.0. Verified npm ci completes cleanly with no ERESOLVE errors.

Copilot AI requested a review from damyanpetev May 15, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants