15.1.0 (2023-01-10)
Deprecations
router
-
CanLoad guards in the Router are deprecated. Use CanMatch
instead. -
router writable properties
The following strategies are meant to be configured by registering the
application strategy in DI via theproviders
in the rootNgModule
or
bootstrapApplication
:routeReuseStrategy
titleStrategy
urlHandlingStrategy
The following options are meant to be configured using the options
available inRouterModule.forRoot
orprovideRouter
.onSameUrlNavigation
paramsInheritanceStrategy
urlUpdateStrategy
canceledNavigationResolution
The following options are available in
RouterModule.forRoot
but not
available inprovideRouter
:malformedUriErrorHandler
- This was found to not be used anywhere
internally.errorHandler
- Developers can instead subscribe toRouter.events
and filter forNavigationError
.
common
Commit | Description |
---|---|
Add BrowserPlatformLocation to the public API (#48488) | |
Add data attribtue to NgOptimizedImage (#48497) |
compiler
Commit | Description |
---|---|
allow self-closing tags on custom elements (#48535) | |
resolve deprecation warning (#48652) | |
type-only symbols incorrectly retained when downlevelling custom decorators (#48638) |
compiler-cli
Commit | Description |
---|---|
update @babel/core dependency and lock version (#48634)
|
core
Commit | Description |
---|---|
Add TestBed.runInInjectionContext to help test functions which use inject (#47955)
| |
Make the isStandalone() function available in public API (#48114)
| |
support TypeScript 4.9 (#48005) |
forms
Commit | Description |
---|---|
Form provider FormsModule.withConfig return a FormsModule (#48526) |
language-service
Commit | Description |
---|---|
Allow auto-imports to suggest multiple possible imports. (#47787) | |
expose package.json for vscode extension resolution (#48678)
| |
Prevent crashes on unemitable references (#47938) | |
ship /api entry-point (#48670)
| |
update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48663) |
localize
Commit | Description |
---|---|
add triple slash type reference on @angular/localize on `ng add (#48502)
|
migrations
Commit | Description |
---|---|
combine newly-added imports in import manager (#48620) |
router
Commit | Description |
---|---|
Deprecate canLoad guards in favor of canMatch (#48180) | |
Deprecate public members of Router that are meant to be configured elsewhere (#48006) | |
Add ability to override onSameUrlNavigation default per-navigation (#48050)
| |
Add feature provider for enabling hash navigation (#48301) | |
Add new NavigationSkipped event for ignored navigations (#48024) | |
page refresh should not destroy history state (#48540) |
Special Thanks
Alan Agius, Alex Castle, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Bob Watson, Charles Lyding, Derek Cormier, Doug Parker, Dylan Hunn, George Kalpakas, Greg Magolan, Jessica Janiuk, JiaLiPassion, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Renan Ferro, Tim Gates, Vadim, Virginia Dooley, ced, mgechev, piyush132000, robertIsaac and sr5434