@angular/platform-browser-dynamic
Advanced tools
Changelog
15.2.10 (2023-10-04)
| Commit | Type | Description | | -- | -- | -- | | 9fe08968b8 | fix | throw a critical error when handleFetch fail (#51989) |
<!-- CHANGELOG SPLIT MARKER --><a name="16.2.7"></a>
Changelog
15.2.0 (2023-02-22)
InjectionToken
guards and resolvers are
deprecated. Instead, write guards as plain JavaScript functions and
inject dependencies with inject
from @angular/core
.| Commit | Type | Description | | -- | -- | -- | | 926c35f4ac | docs | Deprecate class and InjectionToken and resolvers (#47924) |
| Commit | Type | Description | | -- | -- | -- | | 54b24eb40f | feat | Add loaderParams attribute to NgOptimizedImage (#48907) |
| Commit | Type | Description | | -- | -- | -- | | 0cf11167f1 | fix | incorrectly detecting forward refs when symbol already exists in file (#48988) |
| Commit | Type | Description | | -- | -- | -- | | a154db8a81 | feat | add ng generate schematic to convert declarations to standalone (#48790) | | 345e737daa | feat | add ng generate schematic to convert to standalone bootstrapping APIs (#48848) | | e7318fc758 | feat | add ng generate schematic to remove unnecessary modules (#48832) |
| Commit | Type | Description | | -- | -- | -- | | 4ae384fd61 | feat | Allow auto-imports of a pipe via quick fix when its selector is used, both directly and via reexports. (#48354) | | 141333411e | feat | Introduce a new NgModuleIndex, and use it to suggest re-exports. (#48354) | | d0145033bd | fix | generate forwardRef for same file imports (#48898) |
| Commit | Type | Description |
| -- | -- | -- |
| 2796230e95 | fix | add enum
in mode
option in standalone
schema (#48851) |
| 816e76a578 | fix | automatically prune root module after bootstrap step (#49030) |
| bdbf21d04b | fix | avoid generating imports with forward slashes (#48993) |
| 32cf4e5cb9 | fix | avoid internal modules when generating imports (#48958) |
| 521ccfbe6c | fix | avoid interrupting the migration if language service lookup fails (#49010) |
| a40cd47aa7 | fix | avoid modifying testing modules without declarations (#48921) |
| 1afa6ed322 | fix | don't add ModuleWithProviders to standalone test components (#48987) |
| c98c6a8452 | fix | don't copy animations modules into the imports of test components (#49147) |
| 8389557848 | fix | don't copy unmigrated declarations into imports array (#48882) |
| f82bdc4b01 | fix | don't delete classes that may provide dependencies transitively (#48866) |
| 759db12e0b | fix | duplicated comments on migrated classes (#48966) |
| ba38178d19 | fix | generate forwardRef for same file imports (#48898) |
| 03fcb36cfd | fix | migrate HttpClientModule to provideHttpClient() (#48949) |
| 2de6dae16d | fix | migrate RouterModule.forRoot with a config object to use features (#48935) |
| 770191cf1f | fix | migrate tests when switching to standalone bootstrap API (#48987) |
| c7926b5773 | fix | move standalone migrations into imports (#48987) |
| 65c74ed93e | fix | normalize paths to posix (#48850) |
| 6377487b1a | fix | only exclude bootstrapped declarations from initial standalone migration (#48987) |
| e9e4449a43 | fix | preserve tsconfig in standalone migration (#48987) |
| ffad1b49d9 | fix | reduce number of files that need to be checked (#48987) |
| ba7a757cc5 | fix | return correct alias when conflicting import exists (#49139) |
| 49a7c9f94a | fix | standalone migration incorrectly throwing path error for multi app projects (#48958) |
| 584976e6c8 | fix | support --defaults in standalone migration (#48921) |
| 03f47ac901 | fix | use consistent quotes in generated imports (#48876) |
| ebae506d89 | fix | use import remapper in root component (#49046) |
| 40c976c909 | fix | use NgForOf instead of NgFor (#49022) |
| 4ac25b2aff | perf | avoid re-traversing nodes when resolving bootstrap call dependencies (#49010) |
| 26cb7ab2e6 | perf | speed up language service lookups (#49010) |
| Commit | Type | Description | | -- | -- | -- | | bf4ad38117 | fix | remove styles from DOM of destroyed components (#48298) |
| Commit | Type | Description | | -- | -- | -- | | 25e220a23a | fix | avoid duplicate TransferState info after renderApplication call (#49094) |
| Commit | Type | Description | | -- | -- | -- | | 31b94c762f | feat | Add a withNavigationErrorHandler feature to provideRouter (#48551) | | dedac8d3f7 | feat | Add test helper for trigger navigations in tests (#48552) |
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
<!-- CHANGELOG SPLIT MARKER --><a name="15.1.5"></a>
Changelog
15.1.3 (2023-02-02)
| Commit | Type | Description | | -- | -- | -- | | d36dfd4b62 | fix | fix non-animatable warnings for easing (#48583) |
| Commit | Type | Description | | -- | -- | -- | | a334e4efbe | fix | warn if using ngSrcset without a configured image loader (#48804) |
| Commit | Type | Description | | -- | -- | -- | | 171b4d4640 | fix | incorrect code when non-null assertion is used after a safe access (#48801) |
| Commit | Type | Description | | -- | -- | -- | | 9e86dd231b | fix | Fixed file format issue with lint (#48859) | | af31f98b00 | fix | migration host incorrectly reading empty files (#48849) |
| Commit | Type | Description |
| -- | -- | -- |
| 73972c684e | fix | insert transfer state script
before other script
tags (#48868) |
| Commit | Type | Description | | -- | -- | -- | | d5b2c249a3 | fix | Handle routerLink directive on svg anchors. (#48857) |
Alan Agius, Besim Gürbüz, Brecht Billiet, Dario Piotrowicz, Dylan Hunn, Iván Navarro, Jessica Janiuk, Kristiyan Kostadinov, Matthieu Riegler, Onkar Ruikar, Payam Valadkhan, Santosh Yadav, Virginia Dooley and Walid Bouguima
<!-- CHANGELOG SPLIT MARKER --><a name="15.1.2"></a>
Changelog
15.1.2 (2023-01-25)
| Commit | Type | Description | | -- | -- | -- | | 98ccb57117 | fix | handle css selectors with space after an escaped character. (#48558) |
| Commit | Type | Description | | -- | -- | -- | | 145f848a10 | fix | resolve deprecation warning (#48812) |
| Commit | Type | Description | | -- | -- | -- | | a6b10f6e59 | fix | 'createUrlTreeFromSnapshot' with empty paths and named outlets (#48734) |
Alan Agius, AleksanderBodurri, Andrew Kushnir, Andrew Scott, Charles Lyding, Dylan Hunn, JoostK, Matthieu Riegler, Paul Gschwendtner, Payam Valadkhan, Virginia Dooley, Yann Thomas LE MOIGNE and dario-piotrowicz
<!-- CHANGELOG SPLIT MARKER --><a name="15.1.1"></a>
Changelog
15.1.1 (2023-01-18)
| Commit | Type | Description |
| -- | -- | -- |
| 68ce4f6ab4 | fix | Update Location
to get a normalized URL valid in case a represented URL starts with the substring equals APP_BASE_HREF
(#48489) |
| 032b2bd689 | perf | avoid excessive DOM mutation in NgClass (#48433) |
| Commit | Type | Description | | -- | -- | -- | | dd54f6bd96 | fix | makeEnvironmentProviders should accept EnvironmentProviders (#48720) |
Alan Agius, Alex Rickabaugh, Andrew Scott, Aristeidis Bampakos, Bob Watson, Jens, Konstantin Kharitonov, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Vladyslav Slipchenko, ced, dario-piotrowicz, mgechev and ノウラ
<!-- CHANGELOG SPLIT MARKER --><a name="15.1.0"></a>
Changelog
15.1.0 (2023-01-10)
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 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
.| Commit | Type | Description | | -- | -- | -- | | fe50813664 | feat | Add BrowserPlatformLocation to the public API (#48488) | | 2f4f0638c7 | fix | Add data attribtue to NgOptimizedImage (#48497) |
| Commit | Type | Description | | -- | -- | -- | | a532d71975 | feat | allow self-closing tags on custom elements (#48535) | | caf7228f8a | fix | resolve deprecation warning (#48652) | | 33f35b04ef | fix | type-only symbols incorrectly retained when downlevelling custom decorators (#48638) |
| Commit | Type | Description |
| -- | -- | -- |
| caedef0f5b | fix | update @babel/core
dependency and lock version (#48634) |
| Commit | Type | Description |
| -- | -- | -- |
| 6acae1477a | feat | Add TestBed.runInInjectionContext
to help test functions which use inject
(#47955) |
| 38421578a2 | feat | Make the isStandalone()
function available in public API (#48114) |
| dd42974b07 | feat | support TypeScript 4.9 (#48005) |
| Commit | Type | Description | | -- | -- | -- | | 8aa8b4b77c | fix | Form provider FormsModule.withConfig return a FormsModule (#48526) |
| Commit | Type | Description |
| -- | -- | -- |
| 5f0b53c735 | feat | Allow auto-imports to suggest multiple possible imports. (#47787) |
| 6a8ea29a04 | fix | expose package.json
for vscode extension resolution (#48678) |
| ce8160ecb2 | fix | Prevent crashes on unemitable references (#47938) |
| e615b598ba | fix | ship /api
entry-point (#48670) |
| 6ce7d76a0e | fix | update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48663) |
| Commit | Type | Description |
| -- | -- | -- |
| a1a8e91eca | fix | add triple slash type reference on @angular/localize
on `ng add (#48502) |
| Commit | Type | Description | | -- | -- | -- | | cc284afbbc | fix | combine newly-added imports in import manager (#48620) |
| Commit | Type | Description |
| -- | -- | -- |
| 228e992db7 | docs | Deprecate canLoad guards in favor of canMatch (#48180) |
| 0a8b8a66cd | docs | Deprecate public members of Router that are meant to be configured elsewhere (#48006) |
| 332461bd0c | feat | Add ability to override onSameUrlNavigation
default per-navigation (#48050) |
| f58ad86e51 | feat | Add feature provider for enabling hash navigation (#48301) |
| 73f03ad2d2 | feat | Add new NavigationSkipped event for ignored navigations (#48024) |
| 3fe75710d9 | fix | page refresh should not destroy history state (#48540) |
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
<!-- CHANGELOG SPLIT MARKER --><a name="15.0.4"></a>