Angular 20 Hit End of Life on 28 November 2026: 3 Upgrade Paths to Angular 22 Compared
Angular 20 went out of support yesterday. Not “deprecated”, not “maintenance mode” — end of life, with a published date of 28 November 2026. The last patch it will ever receive is 20.3.35, shipped on 2 November.
If that sentence produced a small jolt of recognition, you are in the same position as a large share of teams running Angular in production: the framework’s six-month release cadence quietly turned an “we’ll get to it next quarter” task into an unsupported runtime dependency.
This guide does three things. It lays out the real support windows for Angular 20, 21 and 22 side by side. It compares the three upgrade paths teams actually take — the sequential double-hop, the rebuild-on-22 approach, and the freeze. And it gives you the commands, checks and failure modes for each, so the upgrade is a scheduled afternoon rather than an incident.
TL;DR — Quick Verdict
Take the sequential path: 20 → 21 → 22. Angular’s own guidance is one major at a time, ng update runs the codemods that make each hop mechanical, and the total work for a typical application is two half-days rather than one week.
Do not jump 20 → 22 in one command. The migrations compose poorly, and when something breaks you will not know which major introduced it.
Rebuild only if you are already carrying abandoned patterns — if the app has not built cleanly in a year, a fresh Angular 22 skeleton with ported features is often cheaper than three rounds of migration archaeology.
Freezing on 20 is the most expensive option, because Angular’s support window is 18 months from release. You are not “stable”, you are 0 days into an unpatched window, and Angular 21 loses active support in June 2027 anyway.
Support Windows, Verified 29 November 2026
Angular ships a major release every six months, with roughly six months of active support followed by twelve months of long-term support. That is an 18-month total horizon — shorter than most people assume, and the reason the deadline creeps up on teams.
| Version | Released | Active support ended | End of life | Latest patch | Status today | Verdict |
|---|---|---|---|---|---|---|
| 22 | 3 Jun 2026 | 30 Jun 2027 (scheduled) | 30 Jun 2028 | 22.3.1 (25 Nov 2026) | Current | Target |
| 21 | 19 Nov 2025 | 3 Jun 2026 | 30 Jun 2027 | 21.2.26 (2 Nov 2026) | Long-term support | Stepping stone |
| 20 | 28 May 2025 | 19 Nov 2025 | 28 Nov 2026 | 20.3.35 (2 Nov 2026) | Unsupported | Exit now |
| 19 | 19 Nov 2024 | 28 May 2025 | 19 May 2026 | 19.2.25 | Unsupported | Already late |
| 18 | 22 May 2024 | 21 Nov 2025 | 21 Nov 2025 | 18.2.14 | Unsupported | Already late |
The Angular repository is not slowing down either: 101,505 stars, last push 25 November 2026, and the main branch is already carrying 22.4.0-next.0 — the next minor is in active development. 22.3.0 landed on 18 November 2026 with compiler work such as reporting unknown property bindings on explicit ng-template elements and adding a check for numeric CSS properties that require units. In other words, the release train has not stopped; it has just left without the apps still sitting on 20.
Decision Matrix: Which Path Fits Your App?
| Your situation | Path | Why |
|---|---|---|
| App builds clean on 20, tests pass | Sequential 20 → 21 → 22 | Lowest total risk; codemods do most of the work |
| App has not built cleanly in 6+ months | Rebuild on 22 | Migration archaeology costs more than a controlled port |
| Large monorepo, many shared libs | Sequential, library-first | Libraries must publish versions compatible with both majors |
| Frozen by an internal fork of the CLI or build tooling | Rebuild the build, keep the app | The blocker is tooling, not framework code |
| Small internal dashboard, few dependencies | Sequential, one sitting | Two ng update runs and a build is genuinely enough |
| Cannot allocate engineering time this quarter | Freeze with an explicit audit | Accept the risk, but inventory it and set a hard date |
| Already on 21 | Single hop to 22 | You are one command away; do it before June 2027 |
Path 1 — Sequential Upgrade (20 → 21 → 22)
This is the path Angular’s tooling is built around: one major at a time, with the CLI running automated migrations at each step.
Step 1: Establish a reproducible baseline
Before touching versions, make sure the current state is coherent:
| |
You want exactly one @angular/core version in the tree. Duplicate copies of @angular/core — usually pulled in by an old component library — are the single most common reason ng update fails with peer-dependency conflicts that look unrelated to the upgrade.
Then verify the app builds and tests pass before you change anything:
| |
If this step is red, stop and fix it. Upgrading on top of a broken build turns a 40-minute job into an unbounded one.
Step 2: Create the upgrade branch and snapshot the lockfile
| |
The lockfile copy matters because dependency resolution during an Angular major upgrade can pull surprising transitive versions. Being able to diff and revert the lockfile independently of the source changes is worth the ten seconds.
Step 3: Hop to 21 first
| |
Always update @angular/cli in the same command as @angular/core. Updating the framework while leaving an older CLI in place produces schema errors in angular.json that the CLI itself cannot migrate, because the migration logic lives in the new CLI version.
Expect the command to modify package.json, rewrite angular.json where needed, and apply source migrations. Review the diff — do not blind-commit it:
| |
Then verify:
| |
Do not proceed to 22 while 21 is red. Each hop should land green, on its own commit.
Step 4: Hop to 22
| |
Step 5: Handle the third-party packages separately
ng update only manages what it knows about. Component libraries, state managers and UI kits frequently ship their own major on their own schedule. Use the CLI’s dependency analysis rather than guessing:
| |
--dry-run prints what would change without writing anything. It is the fastest way to discover that your table library requires a peer range you do not satisfy.
When a package is genuinely blocking, the practical move is to isolate it to a single commit after the framework lands, so the framework upgrade stays reviewable:
| |
Step 6: Set the next deadline in the repo
The upgrade that hurts is the one nobody scheduled. Put the support horizon into CI so it fails loudly before the next deadline:
| |
A monthly job that fails when you fall a major behind is worth more than any amount of upgrade documentation.
Path 2 — Rebuild on Angular 22
There is a category of application where sequential upgrading is the wrong tool: the ones that have accumulated custom builders, patched node_modules, ejected configuration, or test suites nobody has run since 2024. For those, the migration effort is dominated by archaeology, not by the framework.
The rebuild path looks like this:
| |
Then port feature by feature, keeping the old app deployed throughout. Two things make this cheaper than it sounds:
- The templates transfer almost verbatim. Component templates, styles and routing structure move with minimal edits, because the differences between 20 and 22 are mostly in configuration, build tooling and deprecated patterns rather than template syntax.
- The old app keeps running. You are not doing a big-bang cutover; you are building a parallel implementation and moving traffic when a feature is ready.
Budget the rebuild by feature count, not by line count. In practice the shell, auth and layout take a day; each complex feature takes a day or two.
Path 3 — Freezing on 20 (and What It Actually Costs)
Freezing is a legitimate short-term business decision and a poor long-term engineering one. Be precise about what you are buying:
- No more patches. 20.3.35 is the final release. Any future defect, including a security issue in a dependency chain Angular controls, stays unfixed.
- The horizon is shorter than it looks. Angular 21 loses active support on 3 June 2026 and reaches end of life on 30 June 2027. Freezing on 20 does not buy you years; it buys you months, and it puts you two majors behind by mid-2027.
- Every dependency moves on. Component libraries will drop Angular 20 peer ranges as they adopt 22. You will not get a clean install on a fresh machine for long.
If you must freeze, make it auditable:
| |
Then write the exit date into the repository — a SUPPORT.md line and a calendar reminder for the person who owns the app. A freeze without a date is just an unowned risk.
Failure Modes and How to Get Past Them
Peer dependency deadlock. ng update refuses to proceed because a package pins @angular/core to ^19. Do not reach for --force first: it disables the resolution checks that would have told you the package is incompatible. Try the package’s latest major, or remove it temporarily, land the framework upgrade, then reintroduce it.
angular.json schema errors after the hop. Almost always a stale CLI. Confirm @angular/cli and @angular/core are on the same major:
| |
Builds pass locally, CI fails. Node version drift. Pin the runtime in CI and in package.json rather than relying on whatever the runner defaults to, and keep the runtime policy aligned with your framework major — see our Node.js 26 LTS vs 24 vs 22 runtime upgrade guide for how the Node support calendar interacts with framework upgrades.
Styles look subtly wrong after upgrading. Build-tool changes affect CSS processing order and optimization. If you use a utility framework, confirm its integration still matches the current build pipeline — our Tailwind vs UnoCSS vs Open Props comparison covers which integrations are maintained against current Angular builds.
Tests time out rather than fail. Default test runner settings changed across majors. Run the suite with an explicit configuration and a raised timeout once, then adjust expectations — a timeout is not a signal that the app is broken, but it hides the tests that are.
You cannot tell what actually broke. Bisect by major, not by commit. Each hop on its own branch and commit is the cheapest debugging tool you have; a single combined 20→22 commit destroys it.
Should You Stay on Angular at All?
At an end-of-life moment it is fair to ask. Angular’s proposition in 2026 is a batteries-included framework with a strong CLI, opinionated structure and long-term corporate backing; the trade-off is a rigid release cadence and migrations you must actually perform.
If you are evaluating alternatives rather than upgrading, our Dioxus vs Yew vs Leptos comparison covers the Rust-compiled frontend options, which trade ecosystem size for smaller bundles and no garbage collector. For most teams already shipping Angular, the upgrade remains far cheaper than a framework migration — the 18-month support window is the real constraint, not the framework’s design.
FAQ
Is Angular 20 really end of life?
Yes. Angular 20 was released on 28 May 2025, left active support on 19 November 2025, and reached end of life on 28 November 2026. The final patch is 20.3.35, released 2 November 2026. No further fixes, including security fixes, are expected for that major.
Can I upgrade directly from Angular 20 to Angular 22?
It is technically possible to run ng update @angular/cli@22 @angular/core@22, but it is not the recommended path. Angular’s guidance is one major version at a time, because the automated migrations and the removal of deprecated APIs are designed to compose sequentially. Jumping two majors makes failures ambiguous and rollback harder.
How long is each Angular version supported?
Roughly 18 months: about six months of active support, followed by twelve months of long-term support. Angular 22, released 3 June 2026, has scheduled active support until 30 June 2027 and end of life on 30 June 2028. Angular 21 reaches end of life on 30 June 2027.
What does ng update actually change in my code?
It updates dependency versions, rewrites configuration where the schema changed, and runs migration scripts that rewrite source files for renamed or removed APIs. It does not touch third-party packages it does not manage, which is why ng update --all --dry-run is worth running before you commit to a plan.
How long should the upgrade take?
For an application that builds cleanly and has a modest dependency tree, expect two half-days — one per major — plus a day for third-party packages and regression testing. Applications with custom builders or unmaintained component libraries take longer, and the rebuild path is often faster than repairing migrations.
Will my component library work on Angular 22?
Check its published peer dependency range before you start rather than after. Libraries that still pin @angular/core to 19 or 20 will block ng update with a peer dependency conflict. Resolve the library first, or land the framework hop and isolate the library bump in a follow-up commit so the change stays reviewable.
💰 想测试你的市场判断力?我用 Polymarket 做预测市场交易——这是全球最大的预测市场平台,从大选结果到技术监管时间线,什么都可以押注。和赌博不同,这是真正的信息市场:你懂的信息越多,胜率越高。我靠预测技术相关事件的走向已经赚了不少。用我的邀请链接注册:Polymarket.com