5 lines
13 KiB
JSON
5 lines
13 KiB
JSON
|
{
|
||
|
"id": "guide/updating-to-version-11",
|
||
|
"title": "Updating Angular",
|
||
|
"contents": "\n\n\n<div class=\"github-links\">\n <a href=\"https://github.com/angular/angular/edit/master/aio/content/guide/updating-to-version-11.md?message=docs%3A%20describe%20your%20change...\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n</div>\n\n\n<div class=\"content\">\n <h1 id=\"updating-angular\">Updating Angular<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"guide/updating-to-version-11#updating-angular\"><i class=\"material-icons\">link</i></a></h1>\n<p>This guide contains information related to updating to the latest version of Angular.</p>\n<h2 id=\"updating-cli-apps\">Updating CLI Apps<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"guide/updating-to-version-11#updating-cli-apps\"><i class=\"material-icons\">link</i></a></h2>\n<p>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 <a href=\"https://update.angular.io\">update.angular.io</a>.</p>\n<h2 id=\"changes-and-deprecations-in-version-11\">Changes and Deprecations in Version 11<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"guide/updating-to-version-11#changes-and-deprecations-in-version-11\"><i class=\"material-icons\">link</i></a></h2>\n<div class=\"alert is-helpful\">\n<p> For information about Angular's deprecation and removal practices, see <a href=\"guide/releases#deprecation-practices\" title=\"Angular Release Practices: Deprecation practices\">Angular Release Practices</a>.</p>\n</div>\n<a id=\"breaking-changes\"></a>\n<h3 id=\"new-breaking-changes\">New Breaking Changes<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"guide/updating-to-version-11#new-breaking-changes\"><i class=\"material-icons\">link</i></a></h3>\n<ul>\n<li>Remove deprecated support for IE 9, 10, and IE mobile. See <a href=\"https://github.com/angular/angular/pull/38931\">PR 38931</a>.</li>\n<li>TypeScript 3.9 is no longer supported. Please update to TypeScript 4.0. See <a href=\"https://github.com/angular/angular/pull/39313\">PR 39313</a>.</li>\n<li><code><a href=\"api/router/NavigationExtras\" class=\"code-anchor\">NavigationExtras</a>#preserveQueryParams</code> has been removed from <code>@angular/router</code>. See <a href=\"https://github.com/angular/angular/pull/38762\">PR 38762</a></li>\n<li><code>CollectionChangeRecord</code> has been removed from <code>@angular/core</code>. See <a href=\"https://github.com/angular/angular/pull/38668\">PR 38668</a>.</li>\n<li>We changed the default value for <code>relativeLinkResolution</code> from <code>'legacy'</code> to <code>'corrected'</code> so that new applications are automatically opted-in to the corrected behavior from <a href=\"https://github.com/angular/angular/pull/22394\">PR 22394</a>. Applications which use the current default are updated by a migration to specify <code>'legacy'</code> to ensure the current behavior is maintained when the default is updated. See <a href=\"https://github.com/angular/angular/pull/25609\">PR 25609</a>.</li>\n<li>Fixed a bug in the router where the arguments for <code>future</code> and <code>curr</code> snapshots were reversed in the call to <code>shouldReuseRoute</code> when processing child routes. Usually this ordering mistake doesn't matter because most implementations of <a href=\"api/router/RouteReuseStrategy#shouldReuseRoute\"><code>shouldReuseRoute</code></a> just do\nan equality comparison between <code>future</code> and <code>curr</code>. However, some implementations actually do rely on values specifically on\none of the two and will need to be updated. See <a href=\"https://github.com/angular/angular/pull/26949\">PR 26949</a>.</li>\n<li><code>ViewEncapsulation.Native</code> has been removed. Angular previously supported a view encapsulation mode <code>ViewEncapsulaion.Native</code> that was based on the v0 Shadow DOM Draft APIs.
|
||
|
}
|