You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -194,8 +191,6 @@ In the [API reference section](api) of this site, deprecated APIs are indicated
194
191
195
192
| API | Replacement | Deprecation announced | Details |
196
193
|:--- |:--- |:--- |:--- |
197
-
|[`resolver` argument in `RouterOutletContract.activateWith`](api/router/RouterOutletContract#activatewith)| No replacement needed | v14 | Component factories are not required to create an instance of a component dynamically. Passing a factory resolver via `resolver` argument is no longer needed. |
198
-
|[`resolver` field of the `OutletContext` class](api/router/OutletContext#resolver)| No replacement needed | v14 | Component factories are not required to create an instance of a component dynamically. Passing a factory resolver via `resolver` class field is no longer needed. |
199
194
|[`RouterLinkWithHref` directive](api/router/RouterLinkWithHref)| Use `RouterLink` instead. | v15 | The `RouterLinkWithHref` directive code was merged into `RouterLink`. Now the `RouterLink` directive can be used for all elements that have `routerLink` attribute. |
200
195
|[`provideRoutes` function](api/router/provideRoutes)| Use `ROUTES``InjectionToken` instead. | v15 | The `provideRoutes` helper function is minimally useful and can be unintentionally used instead of `provideRouter` due to similar spelling. |
201
196
|[`setupTestingRouter` function](api/router/testing/setupTestingRouter)| Use `provideRouter` or `RouterTestingModule` instead. | v15.1 | The `setupTestingRouter` function is not necessary. The `Router` is initialized based on the DI configuration in tests as it would be in production. |
@@ -465,14 +460,6 @@ matched at all and also prevent loading the children of the `Route`. `CanMatch`
465
460
goals as `CanLoad` but with the addition of allowing the navigation to match other routes when they reject
466
461
(such as a wildcard route). There is no need to have both types of guards in the API surface.
467
462
468
-
<aid="relativeLinkResolution"></a>
469
-
470
-
The `relativeLinkResolution` option is deprecated and being removed.
471
-
In version 11, the default behavior was changed to the correct one.
472
-
After `relativeLinkResolution` is removed, the correct behavior is always used without an option to use the broken behavior.
473
-
474
-
A dev mode warning was added in v14 to warn if a created `UrlTree` relies on the `relativeLinkResolution: 'legacy'` option.
Copy file name to clipboardExpand all lines: aio/content/guide/update-to-version-14.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,8 +65,8 @@ For information about the deprecation and removal practices of Angular, see [Ang
65
65
|[`JitCompilerFactory`](api/platform-browser-dynamic/JitCompilerFactory)| n/a | Ivy JIT mode doesn't require accessing this symbol. See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for additional context. |
66
66
|[`RESOURCE_CACHE_PROVIDER`](api/platform-browser-dynamic/RESOURCE_CACHE_PROVIDER)| n/a | This was previously necessary in some cases to test AOT-compiled components with View Engine, but is no longer since Ivy. |
67
67
|`relativeLinkResolution` in the Router [`ExtraOptions`](api/router/ExtraOptions)| Switch to the default of `'corrected'` link resolution | This option was introduced to fix a bug with link resolution in a backwards compatible way. Existing apps which still depend on the buggy legacy behavior should switch to the new corrected behavior and stop passing this flag. |
68
-
|`resolver` argument in [`RouterOutletContract.activateWith`](api/router/RouterOutletContract#activateWith)| n/a |`ComponentFactory` and `ComponentFactoryResolver`afre deprecated, and passing an argument for a resolver to retrieve a `ComponentFactory` is no longer required. |
69
-
|[`OutletContext#resolver](api/router/OutletContext#resolver)| n/a |`ComponentFactory` and `ComponentFactoryResolver` are deprecated, and using a resolver to retrieve a `ComponentFactory` is no longer required. |
68
+
|`resolver` argument in [`RouterOutletContract.activateWith`](api/router/RouterOutletContract#activateWith)| n/a |`ComponentFactory` and `ComponentFactoryResolver`are deprecated, and passing an argument for a resolver to retrieve a `ComponentFactory` is no longer required. |
69
+
|[`OutletContext#resolver](https://v14.angular.io/api/router/OutletContext#resolver)| n/a |`ComponentFactory` and `ComponentFactoryResolver` are deprecated, and using a resolver to retrieve a `ComponentFactory` is no longer required. |
70
70
|[`SwUpdate#activated`](api/service-worker/SwUpdate#activated)| Return value of [`SwUpdate#activateUpdate`](api/service-worker/SwUpdate#activateUpdate)| The `activated` property is deprecated. Existing usages can migrate to [`SwUpdate#activateUpdate`](api/service-worker/SwUpdate#activateUpdate). |
71
71
| [`SwUpdate#available`](api/service-worker/SwUpdate#available) | [`SwUpdate#versionUpdates`](api/service-worker/SwUpdate#versionUpdates) | The behavior of [`SwUpdate#available`](api/service-worker/SwUpdate#available) can be achieved by filtering for the [`VersionReadyEvent`](api/service-worker/VersionReadyEvent) from [`SwUpdate#versionUpdates`](api/service-worker/SwUpdate#versionUpdates)
0 commit comments