Updating your Angular projects
Just like Web and the entire web ecosystem, Angular is continuously improving. Angular balances continuous improvement with a strong focus on stability and making updates easy. Keeping your Angular app up-to-date enables you to take advantage of leading-edge new features, as well as optimizations and bug fixes.
This document contains information and resources to help you keep your Angular apps and libraries up-to-date.
For information about our versioning policy and practices—including support and deprecation practices, as well as the release schedule—see Angular versioning and releases.
If you are currently using AngularJS, see Upgrading from AngularJS. AngularJS is the name for all v1.x versions of Angular.
Getting notified of new releases
To be notified when new releases are available, follow @angular on Twitter or subscribe to the Angular blog.
Learning about new features
What's new? What's changed? We share the most important things you need to know on the Angular blog in release announcements.
To review a complete list of changes, organized by version, see the Angular change log.
Checking your version of Angular
To check your app's version of Angular: From within your project directory, use the ng version
command.
Finding the current version of Angular
The most recent stable released version of Angular appears in the Angular documentation at the bottom of the left side navigation. For example, stable (v5.2.9)
.
You can also find the most current version of Angular by using the CLI command ng update
. By default, ng update
(without additional arguments) lists the updates that are available to you.
Updating your environment and apps
To make updating easy, we provide complete instructions in the interactive Angular Update Guide.
The Angular Update Guide provides customized update instructions, based on the current and target versions that you specify. It includes basic and advanced update paths, to match the complexity of your applications. It also includes troubleshooting information and any recommended manual changes to help you get the most out of the new release.
For simple updates, the CLI command ng update
is all you need. Without additional arguments, ng update
lists the updates that are available to you and provides recommended steps to update your application to the most current version.
Resource summary
-
Release announcements: Angular blog - release announcements
-
Release announcements (older): Angular blog - announcements about releases prior to August 2017
-
Release details: Angular change log
-
Update instructions: Angular Update Guide
-
Update command reference: Angular CLI
ng update
command reference -
Versioning, release, support, and deprecation practices: Angular versioning and releases
-
Release schedule: Angular versioning and releases
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/guide/updating