Release insightsAngular 22
What Angular 22 brought, release by release: features that changed stage, the migrations ng update runs, every commit, and the tooling around it.
NG Update 14
Migrations the ng update command runs for you when moving to Angular 22.
- 22.0.0add-istanbul-instrumenter
Add 'istanbul-lib-instrument' to 'devDependencies' if Karma unit testing is used.
angular-cli - 22.0.0can-match-snapshot-required
Adds the required third argument to canMatch callsites.
angular - 22.0.0change-detection-eager
Adds `ChangeDetectionStrategy.Eager` to all components.
angular - 22.0.0http-xhr-backend
Adds 'withXhr' to 'provideHttpClient' function calls when the 'HttpXhrBackend' is used. For more information see: https://angular.dev/api/common/http/withXhr
angular - 22.0.0incremental-hydration
Adds withNoIncrementalHydration() opt out to provideClientHydration() when incremental hydration is not enabled to retain pre-v22 behavior-.
angular - 22.0.0migrate-karma-to-vitest
Migrate projects using legacy Karma unit-test builder to the new unit-test builder with Vitest.
angular-cli - 22.0.0model-output
Migrate broken duplicate outputs
angular - 22.0.0safe-optional-chaining
Wraps optional chaining expressions in $safeNavigationMigration().
angular - 22.0.0strict-safe-navigation-narrow
Disables the 'nullishCoalescingNotNullable & optionalChainNotNullable extended diagnostics.
angular - 22.0.0strict-templates-default
Adds 'strictTemplates: false' in tsconfig.json when not set.
angular - 22.0.0trust-proxy-headers
Add 'trustProxyHeaders' configuration to 'AngularNodeAppEngine' or 'AngularAppEngine'. For more information see: https://angular.dev/best-practices/security#configuring-trusted-proxy-headers
angular-cli - 22.0.0update-workspace-config
Update the angular workspace configuration.
angular-cli - 22.0.0use-application-builder
Migrate application projects to the new build system. Application projects that are using the '@angular-devkit/build-angular' package's 'browser' and/or 'browser-esbuild' builders will be migrated to use the new 'application' builder. You can read more about this, including known issues and limitations, here: https://angular.dev/tools/cli/build-system-migration
angular-cli - 22.3.0use-library-builder
Migrate library projects from 'ng-packagr' to the new '@angular/build:library' builder.
angular-cli