angular/CHANGELOG.md
2022-12-14 11:58:18 -08:00

368 KiB

15.1.0-next.3 (2022-12-14)

animations

Commit Type Description
c86484507f fix fix incorrect handling of camel-case css properties (#48436)

common

Commit Type Description
fe50813664 feat Add BrowserPlatformLocation to the public API (#48488)
e362214924 fix Fix TestBed.overrideProvider type to include multi (#48424)

compiler-cli

Commit Type Description
a6849f27af fix evaluate const tuple types statically (#48091)

router

Commit Type Description
f58ad86e51 feat Add feature provider for enabling hash navigation (#48301)

Special Thanks

Alan Agius, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Bob Watson, BrowserPerson, Jens, Jessica Janiuk, Joey Perrott, JoostK, Konstantin Kharitonov, Lukas Matta, Matthieu Riegler, Piotr Kowalski, Virginia Dooley, Yannick Baron, dario-piotrowicz, lsst25, piyush132000 and why520crazy

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.1.0-next.2 (2022-12-07)

common

Commit Type Description
8e52ca2714 fix Don't generate srcsets with very large sources (#47997)
f8ecc194e9 fix Update Location to support base href containing origin (#48327)

compiler

Commit Type Description
4c023956d8 fix make sure selectors inside container queries are correctly scoped (#48353)

compiler-cli

Commit Type Description
27eaded62d fix Produce diagnostic rather than crash when using invalid hostDirective (#48314)

core

Commit Type Description
38421578a2 feat Make the isStandalone() function available in public API (#48114)
dd42974b07 feat support TypeScript 4.9 (#48005)
5f9c7ceb90 fix unable to inject ChangeDetectorRef inside host directives (#48355)

Special Thanks

Alan Agius, Alex Castle, Andrew Kushnir, Andrew Scott, Bob Watson, Charles Lyding, Derek Cormier, Joey Perrott, Konstantin Kharitonov, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, dario-piotrowicz, piyush132000 and sr5434

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.1.0-next.1 (2022-11-30)

Deprecations

router

  • CanLoad guards in the Router are deprecated. Use CanMatch instead.

compiler-cli

Commit Type Description
7d88700933 fix accept inheriting the constructor from a class in a library (#48156)

router

Commit Type Description
228e992db7 docs Deprecate canLoad guards in favor of canMatch (#48180)
332461bd0c feat Add ability to override onSameUrlNavigation default per-navigation (#48050)

Special Thanks

Alan Agius, Andrew Scott, Aristeidis Bampakos, Bob Watson, Derek Cormier, Dylan Hunn, JoostK, Kristiyan Kostadinov, Matthieu Riegler, Paul Gschwendtner, Pawel Kozlowski, Rokas Brazdžionis 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

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 Type Description
b0a62bea47 fix Fix MockPlatformLocation events and missing onPopState implementation (#48113)

core

Commit Type Description
6acae1477a feat Add TestBed.runInInjectionContext to help test functions which use inject (#47955)

forms

Commit Type Description
0329c13e95 fix don't mutate validators array (#47830)
d321880440 fix FormBuilder.group return right type with shorthand parameters. (#48084)

language-service

Commit Type Description
5f0b53c735 feat Allow auto-imports to suggest multiple possible imports. (#47787)
fd2eea5961 fix correctly handle host directive inputs/outputs (#48147)
ce8160ecb2 fix Prevent crashes on unemitable references (#47938)
764fa3d9c3 fix update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build (#48120)

router

Commit Type Description
0a8b8a66cd docs Deprecate public members of Router that are meant to be configured elsewhere (#48006)
73f03ad2d2 feat Add new NavigationSkipped event for ignored navigations (#48024)
b51929a394 fix correct type of nextState parameter in canDeactivate (#48038)
1df0ed7d6e fix Ensure renavigating in component init works with enabledBlocking (#48063)
1976e37475 fix 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

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