<a name="15.1.0-next.0"></a>
15.1.0-next.0 (2022-11-22)
Deprecations
router
- router writable properties
The following strategies are meant to be configured by registering the
application strategy in DI via the providers
in the root NgModule
or
bootstrapApplication
:
* routeReuseStrategy
* titleStrategy
* urlHandlingStrategy
The following options are meant to be configured using the options
available in RouterModule.forRoot
or provideRouter
.
* onSameUrlNavigation
* paramsInheritanceStrategy
* urlUpdateStrategy
* canceledNavigationResolution
The following options are available in RouterModule.forRoot
but not
available in provideRouter
:
* malformedUriErrorHandler
- This was found to not be used anywhere
internally.
* errorHandler
- Developers can instead subscribe to Router.events
and filter for NavigationError
.
common
| Commit | Description |
| -- | -- |
| | Fix MockPlatformLocation events and missing onPopState implementation (#48113) |
core
| Commit | Description |
| -- | -- |
| | Add TestBed.runInInjectionContext
to help test functions which use inject
(#47955) |
forms
| Commit | Description |
| -- | -- |
| | don't mutate validators array (#47830) |
| | FormBuilder.group return right type with shorthand parameters. (#48084) |
language-service
| Commit | Description |
| -- | -- |
| | Allow auto-imports to suggest multiple possible imports. (#47787) |
| | correctly handle host directive inputs/outputs (#48147) |
| | Prevent crashes on unemitable references (#47938) |
| | update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48120) |
router
| Commit | Description |
| -- | -- |
| | Deprecate public members of Router that are meant to be configured elsewhere (#48006) |
| | Add new NavigationSkipped event for ignored navigations (#48024) |
| | correct type of nextState parameter in canDeactivate (#48038) |
| | Ensure renavigating in component init works with enabledBlocking (#48063) |
| | restore 'history.state' on popstate even if navigationId missing (#48033) |
Special Thanks
Alan Agius, Andrew Kushnir, Andrew Scott, Bjarki, Bob Watson, Brooke, Derek Cormier, Dylan Hunn, George Kalpakas, Greg Magolan, Ikko Ashimine, Ivan Rodriguez, Jessica Janiuk, JiaLiPassion, Joe Roxbury, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Mikhail Savchuk, Nebojsa Cvetkovic, Pawel Kozlowski, Volodymyr, Wooshaah and mgechev