Angular 19 to 22: What Changed in Each Version and What to Do About It
Version-by-version highlights from Angular 19 to 22: Node and TypeScript ranges, zoneless, Signal Forms, Vitest, OnPush by default, removed APIs and the ng update path. Angular 20 LTS ends on 28 November 2026.

Angular 19 is out of support, so the way to Angular 22 is three updates: 19 to 20, 20 to 21, then 21 to 22. The official releases page says "Angular versions v2 to v19 are no longer supported". Angular 22 was released on 3 June 2026, and Angular 20 gets long-term support (LTS) only until 28 November 2026. The three majors changed different things. Angular 20 dropped Node 18, deprecated *ngIf, *ngFor and *ngSwitch, and stopped writing ng-reflect attributes. Angular 21 made zoneless change detection the default for new apps, added experimental Signal Forms and made Vitest the default test runner for new projects. Angular 22 makes OnPush the default, uses the Fetch API in HttpClient and needs TypeScript 6. Below, each version has the changes that can break an existing app and what to do about each one.
Support status and requirements on 5 November 2026
| Angular | Released | LTS ends | Node.js | TypeScript |
|---|---|---|---|---|
| 22.x | 2026-06-03 | 2028-06 | ^22.22.3 || ^24.15.0 || ^26.0.0 | >=6.0.0 <6.1.0 |
| 21.x | 2025-11-19 | 2027-06 | ^20.19.0 || ^22.12.0 || ^24.0.0 | >=5.9.0 <6.0.0 |
| 20.2.x, 20.3.x | 2025-05-28 (20.0) | 2026-11-28 | ^20.19.0 || ^22.12.0 || ^24.0.0 | >=5.8.0 <6.0.0 |
| 19.2.x | unsupported | ended | ^18.19.1 || ^20.11.1 || ^22.0.0 | >=5.5.0 <5.9.0 |
The ranges come from the Angular version compatibility page. Two things follow from them. First, Node.js ^22.22.3 satisfies every row above, including 19.2.x, so you can move Node once at the start and keep it fixed while Angular changes. Which Node line to pick in the long run is covered in which Node.js version to run in production. Second, the TypeScript ranges of 21 and 22 do not overlap, so TypeScript moves in the same step as the framework.
Angular now plans one major a year with four to six minors, and the schedule lists v22.3 for about November 2026 and v23.0 for about June 2027. The releases page marks those dates as approximate.
Angular 20 (28 May 2025): clean-up and deprecations
- Node 18 and old TypeScript are gone. The release notes say Angular no longer supports Node 18 and Node 22.0 to 22.10, and TypeScript below 5.8 is no longer supported. Update Node in CI, Docker and your host before you run
ng update. ngIf,ngForandngSwitchare deprecated in favour of@if,@forand@switch. They still work. The migration isng generate @angular/core:control-flow, and it takes--pathto limit it to one folder.ng-reflect-*attributes are no longer produced by default. Tests that query them break. Fix the tests, or addprovideNgReflectAttributes()to the bootstrap providers as a stopgap.- Zoneless moved to developer preview.
provideExperimentalZonelessChangeDetectionwas renamedprovideZonelessChangeDetection. - Stable APIs.
toSignal,toObservableandlinkedSignalwere stabilised, and so was incremental hydration. - Renames and removals in core.
afterRenderbecameafterEveryRender.TestBed.getwas removed (useTestBed.inject),TestBed.flushEffectswas removed (useTestBed.tick) andInjectFlagswas removed.provideExperimentalCheckNoChangesForDebugbecameprovideCheckNoChangesConfig. - Error handling changed.
AsyncPipenow reports errors toErrorHandler, and uncaught errors in listeners are rethrown in tests. The notes namerethrowApplicationErrors: falseas a last resort for tests. - Template operators.
inandvoidare now operators in expressions. If a component has a property calledvoid, write{{this.void}}. - New deprecations: the HammerJS integration, the
@angular/platform-browser-dynamicpackage and@angular/platform-server/testing.
Angular 21 (19 November 2025): zoneless by default, Vitest and Signal Forms
- Zoneless is the default. The zoneless guide says it is the default in v21 and later. Existing apps that rely on Zone.js are covered by a migration: the release notes say Angular no longer provides a scheduler for Zone.js-based change detection by default, and that you add
provideZoneChangeDetectionto the bootstrap providers, which an automated migration does for you. That keeps your app working. Removing it is a separate project, covered in the zoneless migration guide. - TypeScript 5.9 is the minimum, and TypeScript 5.8 support was dropped.
- Vitest is the default for new projects. The testing guide says new projects include
vitestandjsdom, and that Karma remains supported. An existing Karma suite does not need to change because of the upgrade. - Signal Forms are experimental. They arrived in 21 (the 21.0.0 notes say "experimental signal-based forms"). Do not rewrite production forms on them yet; read the 22 section below.
- Host bindings are type-checked by default. Type issues that were hidden before can show up as build errors. Fix them, or set
"typeCheckHostBindings": falseunderangularCompilerOptionsintsconfig.jsonwhile you work through them. Turn the check back on as soon as the errors are fixed, because it catches real mistakes inhostmetadata. - Removed:
NgModuleFactory,moduleIdonComponent, the componentinterpolationoption,UpgradeAdapterand theApplicationConfigexport from@angular/platform-browser(import it from@angular/core). - Server bootstrap changed.
main.server.tsnow passes aBootstrapContexttobootstrapApplication, and a schematic updates the file for you. Check the file after the update if you customised it. - Tests:
TestBedprovides a fakePlatformLocationthat supports the Navigation API, and router navigations take more microtasks, so tests that assert straight after a navigation can fail. The notes' fix is to wait until navigations are complete before asserting.
Angular 22 (3 June 2026): new defaults
This version changes defaults more than it removes APIs. The full SSR view is in Upgrading to Angular 22; the short list:
- OnPush is the default. A component with no
changeDetectionsetting is OnPush.ng updateaddsChangeDetectionStrategy.Eagerwhere needed so behaviour stays the same. HttpClientuses Fetch.FetchBackendis the default andwithFetch()is deprecated. If you need upload progress events, useprovideHttpClient(withXhr()).- Incremental hydration is the default with
provideClientHydration(). - The router inherits more.
paramsInheritanceStrategydefaults to'always'instead of'emptyOnly'. ThecurrentSnapshotparameter ofCanMatchFnis required. - TypeScript 6.0 is required, and the Node range above no longer includes Node 20.
- Removed:
ComponentFactoryResolver,ComponentFactory,createNgModuleRef,ChangeDetectorRef.checkNoChanges,provideRoutes()and the Hammer.js integration. - Forms:
minandmaxrules no longer accept strings, and the notes list Signal Forms APIs as graduated to the public API. - Additions: an
@Servicedecorator, aninjectAsynchelper and debounced signals. They are optional, so nothing in an upgrade depends on them.
The update path, step by step
The ng update documentation shows the command format for moving between majors and recommends the latest patch of the target version. It does not say you must go one major at a time, but the interactive Angular Update Guide works per version pair, and one major per branch makes every failure attributable to one release. That is a recommendation, not a rule.
# Start from a clean git tree. --create-commits puts each update and migration in its own commit.
ng update @angular/cli@^20 @angular/core@^20 --create-commits
npm run build && npm test # fix, commit, deploy to staging
ng update @angular/cli@^21 @angular/core@^21 --create-commits
npm run build && npm test
ng update @angular/cli@^22 @angular/core@^22 --create-commits
ng update @angular/material@^22 # only if you use Angular Material or the CDK
- Upgrade Node first. Node 22.22.3 or later is inside the supported range of 19.2, 20, 21 and 22, so one Node change covers the whole path. Update it locally, in CI, in the Docker image and on the host.
- Update to 20, run the control-flow migration if you want to leave the deprecated directives, and fix tests that read
ng-reflectattributes. - Update to 21, check
main.server.tsif you use SSR, and let the zoneless migration addprovideZoneChangeDetection. Build the production bundle and run the server the way production does. - Update to 22 with TypeScript 6, review the
Eagermigration diff, and check the router and HTTP defaults described above. - Re-run the whole test suite and the SSR smoke tests (a 200 page, a real 404, one redirect) after every step, not only at the end.
Frequently asked questions
Can I stay on Angular 20 for now?
Only briefly. Its LTS ends on 28 November 2026, and after that date it gets no fixes. Most 2026 Angular advisories hit the server-side packages (see Patching a MEAN Stack), so an SSR app should not sit on an unsupported line.
How long should each step take?
There is no official estimate, and it depends on the size of your test suite and how many third-party packages you use. Plan each major as its own branch with its own staging deploy, and count extra time for Angular Material, NgRx and any other library that must publish a compatible version before you can update.
Do I have to adopt signals, zoneless and Vitest to upgrade?
No. Each upgrade keeps old behaviour through migrations (provideZoneChangeDetection in 21, Eager in 22), and Karma remains supported. Those migrations are bridges. Plan to remove them, because every new default points the same way: signals, OnPush and no Zone.js.
What breaks most often?
From the release notes, the usual suspects are tests (rethrown errors, ng-reflect, navigation timing), the TypeScript and Node bumps, and child routes that now inherit parent params in 22. Plan time for tests, not for application code.
If you want help planning a staged upgrade of a production app, see my Angular SSR development service.
Sources
- Angular: Versioning and releases (support table, schedule, "v2 to v19 are no longer supported")
- Angular: Version compatibility (Node.js and TypeScript ranges)
- Angular 20.0.0 release notes, 21.0.0 and 22.0.0 (breaking changes, deprecations and migrations)
- Angular: Zoneless (default since v21)
- Angular: Testing (Vitest in new projects, Karma still supported)
- Angular CLI: ng update and the Angular Update Guide
- Angular: control flow migration




