Upgrading
How to upgrade Angular?
Consider keeping up to date with the latest Angular release.
Staying up to date with Angular versions enhances maintainability and security while providing access to the latest features and performance improvements. Regular upgrades are easier to manage than to upgrade several versions at once.
Angular limits breaking changes, new features are always opt-in and obsolete features are deprecated for several major versions before being removed. Angular releases a major version every six months, you can anticipate and plan for upcoming version upgrades. Third party libraries are often the most painful to upgrade, not Angular itself.
Consider using Long-Term Support (LTS) versions.
Angular provides Long-Term Support (LTS) for each major release for 18 months.
Do upgrade one major version at a time.
- ❌ From v18 to v20
- ✅ From v18 to v19, then from v19 to v20
Do verify your dependencies compatibility with the target Angular version.
Do use migrations schematics to automate the upgrade process.
Do use the Angular Update Guide.
Consider reading the changelogs.
What's coming in Angular?
This section provides an overview of upcoming features, improvements, and deprecations that developers can expect in future versions of Angular.
Features coming soon
The most impactful experimental and developer preview features that will soon be stable:
- Resources signals: a new way to manage asynchronous data in Angular applications using signals.
- Signal forms: a new approach to building forms in Angular using signals.
- Angular Aria: a headless library for building accessible components in Angular.
For more details, refer to the complete list of unstable APIs.
Features coming later
The most impactful features planned for future versions of Angular:
- Signal integration: deeper integration of signals into Angular's core features (e.g. Router or HTTP).
- Selectorless: using components and directives with their names instead of selectors.
For more details, refer to the Angular roadmap.
Deprecated features
The most impactful features currently deprecated that will be removed in future versions of Angular:
- Vitest and Web Test Runner support: set to be removed in v22.
ngIf,ngForandngSwitchdirectives: set to be removed in v22.@angular/animationspackage: set to be removed in v23.- Karma and Jasmine support: unknown removal date.
For more details, refer to the complete list of deprecated APIs.