15.2.10 (2023-10-04)
service-worker
| Commit |
Type |
Description |
| 9fe08968b8 |
fix |
throw a critical error when handleFetch fail (#51989) |
15.2.9 (2023-05-03)
common
| Commit |
Type |
Description |
| 9107e931ca |
fix |
fix incorrectly reported distortion for padded images (#49889) |
compiler-cli
| Commit |
Type |
Description |
| 7c58885797 |
fix |
catch fatal diagnostic when getting diagnostics for components (#50046) |
15.2.8 (2023-04-19)
core
| Commit |
Type |
Description |
| 2fff8fadbe |
fix |
handle invalid classes in class array bindings (#49924) |
http
| Commit |
Type |
Description |
| 05a0225deb |
fix |
prevent headers from throwing an error when initializing numerical values (#49379) |
router
| Commit |
Type |
Description |
| 09a42d988e |
fix |
canceledNavigationResolution: 'computed' with redirects to the current URL (#49793) |
15.2.7 (2023-04-12)
compiler
| Commit |
Type |
Description |
| b0c1a90f55 |
fix |
Produce diagnositc if directive used in host binding is not exported (#49792) |
compiler-cli
| Commit |
Type |
Description |
| a40529af2e |
fix |
Catch FatalDiagnosticError during template type checking (#49792) |
core
| Commit |
Type |
Description |
| 702ec90110 |
fix |
When using setInput, mark view dirty in same way as markForCheck (#49747) |
Special Thanks
Alan Agius, Andrew Kushnir, Andrew Scott, Kristiyan Kostadinov, Matthieu Riegler and Nikola Kološnjaji
15.2.6 (2023-04-05)
core
| Commit |
Type |
Description |
| d9efa1b0d7 |
feat |
change the URL sanitization to only block javascript: URLs (#49659) |
router
| Commit |
Type |
Description |
| cad7274ef9 |
fix |
create correct URL relative to path with empty child (#49691) |
| 9b61379096 |
fix |
Ensure initial navigation clears current navigation when blocking (#49572) |
Special Thanks
Andrew Scott, Guillaume Weghsteen, John Manners, Johnny Gérard, Matthieu Riegler, Robin Richtsfeld, Sandra Limacher, Sarthak Thakkar, Vinit Neogi and vikram menon
15.2.5 (2023-03-29)
common
compiler
core
| Commit |
Type |
Description |
| d201fc2dec |
fix |
set style property value to empty string instead of an invalid value (#49460) |
router
Special Thanks
Alan Agius, Andrew Scott, Asaf Malin, Jan Cabadaj, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Sid and Tano Abeleyra
15.2.4 (2023-03-22)
core
| Commit |
Type |
Description |
| bae6b5ceb1 |
fix |
Allow TestBed.configureTestingModule to work with recursive cycle of standalone components. (#49473) |
| 087f4412af |
fix |
more accurate matching of classes during content projection (#48888) |
Special Thanks
Aditya Srinivasan, Alex Rickabaugh, Andrew Scott, Kristiyan Kostadinov, Masaoki Kobayashi, Matthieu Riegler, Paul Gschwendtner, Peter Götz, Thomas Pischke, Virginia Dooley and avmaxim
15.2.3 (2023-03-16)
Special Thanks
Alan Agius, Esteban Gehring, Matthieu Riegler and Virginia Dooley
15.2.2 (2023-03-08)
migrations
| Commit |
Type |
Description |
| 6207d6f1f0 |
fix |
add protractor support if protractor imports are detected (#49274) |
Special Thanks
Alan Agius, Andrew Kushnir, Andrew Scott, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Sai Kartheek Bommisetty and Vinit Neogi
15.2.1 (2023-03-01)
common
| Commit |
Type |
Description |
| f0e926074d |
fix |
make Location.normalize() return the correct path when the base path contains characters that interfere with regex syntax. (#49181) |
compiler-cli
| Commit |
Type |
Description |
| 04d8b6c61a |
fix |
do not persist component analysis if template/styles are missing (#49184) |
core
| Commit |
Type |
Description |
| d60ea6ab5a |
fix |
update zone.js peerDependencies ranges (#49244) |
migrations
| Commit |
Type |
Description |
| 44d095a61c |
fix |
avoid migrating the same class multiple times in standalone migration (#49245) |
| 92b0bda9e4 |
fix |
delete barrel exports in standalone migration (#49176) |
router
| Commit |
Type |
Description |
| 3062442728 |
fix |
add error message when using loadComponent with a NgModule (#49164) |
Special Thanks
Alan Agius, Andrew Kushnir, Aristeidis Bampakos, Craig Spence, Doug Parker, Iván Navarro, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Michael Ziluck, Paul Gschwendtner, Stephanie Tuerk, Vincent and Virginia Dooley
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 with inject from @angular/core.
| Commit |
Type |
Description |
| 926c35f4ac |
docs |
Deprecate class and InjectionToken and resolvers (#47924) |
common
| Commit |
Type |
Description |
| 54b24eb40f |
feat |
Add loaderParams attribute to NgOptimizedImage (#48907) |
compiler-cli
| Commit |
Type |
Description |
| 0cf11167f1 |
fix |
incorrectly detecting forward refs when symbol already exists in file (#48988) |
core
| 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) |
language-service
| 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) |
migrations
platform-browser
| Commit |
Type |
Description |
| bf4ad38117 |
fix |
remove styles from DOM of destroyed components (#48298) |
platform-server
| Commit |
Type |
Description |
| 25e220a23a |
fix |
avoid duplicate TransferState info after renderApplication call (#49094) |
router
| Commit |
Type |
Description |
| 31b94c762f |
feat |
Add a withNavigationErrorHandler feature to provideRouter (#48551) |
| dedac8d3f7 |
feat |
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
15.1.5 (2023-02-15)
forms
| Commit |
Type |
Description |
| 5f2a3edcf2 |
fix |
Make radio buttons respect [attr.disabled] (#48864) |
Special Thanks
AleksanderBodurri, Alvaro Junqueira, Dylan Hunn, Joey Perrott, Matthieu Riegler, PaloMiklo and Paul Gschwendtner
15.1.4 (2023-02-08)
Special Thanks
Jessica Janiuk, Kian Yang Lee, Matthieu Riegler, Redouane Bekkouche and Simona Cotin
15.1.3 (2023-02-02)
animations
| Commit |
Type |
Description |
| d36dfd4b62 |
fix |
fix non-animatable warnings for easing (#48583) |
common
| Commit |
Type |
Description |
| a334e4efbe |
fix |
warn if using ngSrcset without a configured image loader (#48804) |
compiler
| Commit |
Type |
Description |
| 171b4d4640 |
fix |
incorrect code when non-null assertion is used after a safe access (#48801) |
migrations
platform-server
| Commit |
Type |
Description |
| 73972c684e |
fix |
insert transfer state script before other script tags (#48868) |
router
| Commit |
Type |
Description |
| d5b2c249a3 |
fix |
Handle routerLink directive on svg anchors. (#48857) |
Special Thanks
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
15.1.2 (2023-01-25)
compiler
| Commit |
Type |
Description |
| 98ccb57117 |
fix |
handle css selectors with space after an escaped character. (#48558) |
compiler-cli
router
| Commit |
Type |
Description |
| a6b10f6e59 |
fix |
'createUrlTreeFromSnapshot' with empty paths and named outlets (#48734) |
Special Thanks
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
15.1.1 (2023-01-18)
common
| 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) |
core
| Commit |
Type |
Description |
| dd54f6bd96 |
fix |
makeEnvironmentProviders should accept EnvironmentProviders (#48720) |
Special Thanks
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 ノウラ
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 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
compiler
| 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) |
compiler-cli
| Commit |
Type |
Description |
| caedef0f5b |
fix |
update @babel/core dependency and lock version (#48634) |
core
| 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) |
forms
| Commit |
Type |
Description |
| 8aa8b4b77c |
fix |
Form provider FormsModule.withConfig return a FormsModule (#48526) |
language-service
| 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) |
localize
| Commit |
Type |
Description |
| a1a8e91eca |
fix |
add triple slash type reference on @angular/localize on `ng add (#48502) |
migrations
| Commit |
Type |
Description |
| cc284afbbc |
fix |
combine newly-added imports in import manager (#48620) |
router
| 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) |
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
15.0.4 (2022-12-14)
animations
| Commit |
Type |
Description |
| 6c1064c72f |
fix |
fix incorrect handling of camel-case css properties (#48436) |
common
| Commit |
Type |
Description |
| f30d18a942 |
fix |
Fix TestBed.overrideProvider type to include multi (#48424) |
compiler-cli
| Commit |
Type |
Description |
| b55d2dab5d |
fix |
evaluate const tuple types statically (#48091) |
Special Thanks
Alan Agius, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Bob Watson, BrowserPerson, Jens, Jessica Janiuk, Joey Perrott, JoostK, Konstantin Kharitonov, Lukas Matta, Piotr Kowalski, Virginia Dooley, Yannick Baron, dario-piotrowicz, lsst25, piyush132000 and why520crazy
15.0.3 (2022-12-07)
common
| Commit |
Type |
Description |
| 50b1c2bf52 |
fix |
Don't generate srcsets with very large sources (#47997) |
| bf44dc234a |
fix |
Update Location to support base href containing origin (#48327) |
compiler
| Commit |
Type |
Description |
| 9a5d84249a |
fix |
make sure selectors inside container queries are correctly scoped (#48353) |
compiler-cli
| Commit |
Type |
Description |
| 167bc0d163 |
fix |
Produce diagnostic rather than crash when using invalid hostDirective (#48314) |
core
| Commit |
Type |
Description |
| e4dcaa513e |
fix |
unable to inject ChangeDetectorRef inside host directives (#48355) |
Special Thanks
Alan Agius, Alex Castle, Andrew Kushnir, Andrew Scott, Bob Watson, Derek Cormier, Joey Perrott, Konstantin Kharitonov, Kristiyan Kostadinov, Paul Gschwendtner, Pawel Kozlowski, dario-piotrowicz and piyush132000
15.0.2 (2022-11-30)
compiler-cli
| Commit |
Type |
Description |
| 86a21f5569 |
fix |
accept inheriting the constructor from a class in a library (#48156) |
Special Thanks
Alan Agius, Andrew Scott, Aristeidis Bampakos, Bob Watson, Derek Cormier, JoostK, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Rokas Brazdžionis, mgechev and piyush132000
15.0.1 (2022-11-22)
common
| Commit |
Type |
Description |
| 930af9dd26 |
fix |
Fix MockPlatformLocation events and missing onPopState implementation (#48113) |
forms
| Commit |
Type |
Description |
| b342e55509 |
fix |
don't mutate validators array (#47830) |
| a12a120272 |
fix |
FormBuilder.group return right type with shorthand parameters. (#48084) |
language-service
| Commit |
Type |
Description |
| cc8b76ef7c |
fix |
correctly handle host directive inputs/outputs (#48147) |
| a8c33bf931 |
fix |
update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48120) |
router
| Commit |
Type |
Description |
| e4309d57d8 |
fix |
correct type of nextState parameter in canDeactivate (#48038) |
| 9baefd085f |
fix |
Ensure renavigating in component init works with enabledBlocking (#48063) |
| fa5528fb5f |
fix |
restore 'history.state' on popstate even if navigationId missing (#48033) |
Special Thanks
Alan Agius, Andrew Scott, Bjarki, Bob Watson, Brooke, Derek Cormier, Dylan Hunn, George Kalpakas, Greg Magolan, Ikko Ashimine, Ivan Rodriguez, Jessica Janiuk, Joe Roxbury, Joey Perrott, Kristiyan Kostadinov, Matthieu Riegler, Mikhail Savchuk, Nebojsa Cvetkovic, Pawel Kozlowski, Volodymyr and Wooshaah
12.2.17 (2022-11-22)
Breaking Changes
core
- Existing iframe usages may have security-sensitive attributes applied as an attribute or property binding in a template or via host bindings in a directive. Such usages would require an update to ensure compliance with the new stricter rules around iframe bindings.
core
| Commit |
Type |
Description |
| b871db57da |
fix |
hardening attribute and property binding rules for |