{ "id": "guide/updating-to-version-11", "title": "Updating Angular", "contents": "\n\n\n
\n mode_edit\n
\n\n\n
\n

Updating Angularlink

\n

This guide contains information related to updating to the latest version of Angular.

\n

Updating CLI Appslink

\n

For step-by-step instructions on how to update to the latest Angular release (and leverage our automated migration tools to do so), use the interactive update guide at update.angular.io.

\n

Changes and Deprecations in Version 11link

\n
\n

For information about Angular's deprecation and removal practices, see Angular Release Practices.

\n
\n\n

New Breaking Changeslink

\n\n\n

New Deprecationslink

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
AreaAPI or FeatureMay be removed in
@angular/core/testingRename async to waitForAsync v13
\n\n

New Removals of Deprecated APIslink

\n

The following APIs have been removed starting with version 11.0.0*:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
PackageAPIReplacementNotes
@angular/routerNavigationExtras#preserveQueryParamsno action neededNavigationExtras#preserveQueryParams has been removed from @angular/router.
@angular/coreCollectionChangeRecordno action neededCollectionChangeRecord has been removed from @angular/core.
@angular/coreViewEncapsulation.Nativeno action neededAngular previously supported a view encapsulation mode ViewEncapsulaion.Native that was based on the v0 Shadow DOM Draft APIs. These APIs have been superceeded by the final Shadow DOM APIs, which are enabled via ViewEncapsulation.ShadowDom. For background information about this change, see Web Components update: more time to upgrade to v1 APIs.
\n\n

Ivy features and compatibilitylink

\n

Since version 9, Angular Ivy is the default rendering engine. If you haven't heard of Ivy, you can read more about it in the Angular Ivy guide.

\n\n\n \n
\n\n\n" }