15.2.0 (2023-02-22)
Deprecations
- Class and
InjectionToken
guards and resolvers are
deprecated. Instead, write guards as plain JavaScript functions and
inject dependencies withinject
from@angular/core
.
Commit | Description |
---|---|
Deprecate class and InjectionToken and resolvers (#47924) |
common
Commit | Description |
---|---|
Add loaderParams attribute to NgOptimizedImage (#48907) |
compiler-cli
Commit | Description |
---|---|
incorrectly detecting forward refs when symbol already exists in file (#48988) |
core
Commit | Description |
---|---|
add ng generate schematic to convert declarations to standalone (#48790) | |
add ng generate schematic to convert to standalone bootstrapping APIs (#48848) | |
add ng generate schematic to remove unnecessary modules (#48832) |
language-service
Commit | Description |
---|---|
Allow auto-imports of a pipe via quick fix when its selector is used, both directly and via reexports. (#48354) | |
Introduce a new NgModuleIndex, and use it to suggest re-exports. (#48354) | |
generate forwardRef for same file imports (#48898) |
migrations
Commit | Description |
---|---|
add enum in mode option in standalone schema (#48851)
| |
automatically prune root module after bootstrap step (#49030) | |
avoid generating imports with forward slashes (#48993) | |
avoid internal modules when generating imports (#48958) | |
avoid interrupting the migration if language service lookup fails (#49010) | |
avoid modifying testing modules without declarations (#48921) | |
don't add ModuleWithProviders to standalone test components (#48987) | |
don't copy animations modules into the imports of test components (#49147) | |
don't copy unmigrated declarations into imports array (#48882) | |
don't delete classes that may provide dependencies transitively (#48866) | |
duplicated comments on migrated classes (#48966) | |
generate forwardRef for same file imports (#48898) | |
migrate HttpClientModule to provideHttpClient() (#48949) | |
migrate RouterModule.forRoot with a config object to use features (#48935) | |
migrate tests when switching to standalone bootstrap API (#48987) | |
move standalone migrations into imports (#48987) | |
normalize paths to posix (#48850) | |
only exclude bootstrapped declarations from initial standalone migration (#48987) | |
preserve tsconfig in standalone migration (#48987) | |
reduce number of files that need to be checked (#48987) | |
return correct alias when conflicting import exists (#49139) | |
standalone migration incorrectly throwing path error for multi app projects (#48958) | |
support --defaults in standalone migration (#48921) | |
use consistent quotes in generated imports (#48876) | |
use import remapper in root component (#49046) | |
use NgForOf instead of NgFor (#49022) | |
avoid re-traversing nodes when resolving bootstrap call dependencies (#49010) | |
speed up language service lookups (#49010) |
platform-browser
Commit | Description |
---|---|
remove styles from DOM of destroyed components (#48298) |
platform-server
Commit | Description |
---|---|
avoid duplicate TransferState info after renderApplication call (#49094) |
router
Commit | Description |
---|---|
Add a withNavigationErrorHandler feature to provideRouter (#48551) | |
Add test helper for trigger navigations in tests (#48552) |
Special Thanks
Alan Agius, Alex Castle, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Dylan Hunn, Ikko Eltociear Ashimine, Ilyass, Jessica Janiuk, Joey Perrott, John Manners, Kalbarczyk, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Virginia Dooley, Walid Bouguima, cexbrayat and mgechev