kamilkisiela / apollo-angular

A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁
https://apollo-angular.com
MIT License
1.5k stars 309 forks source link

chore(deps): update angular monorepo to v15 (major) - autoclosed #1922

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@angular/animations ^14.0.6 -> ^15.0.0 age adoption passing confidence
@angular/common ^14.0.6 -> ^15.0.0 age adoption passing confidence
@angular/compiler ^14.0.6 -> ^15.0.0 age adoption passing confidence
@angular/compiler-cli (source) ^14.0.6 -> ^15.0.0 age adoption passing confidence
@angular/core ^14.0.6 -> ^15.0.0 age adoption passing confidence
@angular/platform-browser ^14.0.6 -> ^15.0.0 age adoption passing confidence
@angular/platform-browser-dynamic ^14.0.6 -> ^15.0.0 age adoption passing confidence
@angular/platform-server ^14.0.6 -> ^15.0.0 age adoption passing confidence
@angular/router (source) ^14.0.6 -> ^15.0.0 age adoption passing confidence

Release Notes

angular/angular ### [`v15.1.4`](https://togithub.com/angular/angular/blob/HEAD/CHANGELOG.md#​1514-2023-02-08) [Compare Source](https://togithub.com/angular/angular/compare/15.1.3...15.1.4) #### Special Thanks Jessica Janiuk, Kian Yang Lee, Matthieu Riegler, Redouane Bekkouche and Simona Cotin ### [`v15.1.3`](https://togithub.com/angular/angular/blob/HEAD/CHANGELOG.md#​1513-2023-02-02) [Compare Source](https://togithub.com/angular/angular/compare/15.1.2...15.1.3) ##### animations | Commit | Type | Description | | -- | -- | -- | | [d36dfd4b62](https://togithub.com/angular/angular/commit/d36dfd4b626ff4c5894ca67136f71dd1f7f56e3e) | fix | fix non-animatable warnings for easing ([#​48583](https://togithub.com/angular/angular/pull/48583)) | ##### common | Commit | Type | Description | | -- | -- | -- | | [a334e4efbe](https://togithub.com/angular/angular/commit/a334e4efbe9380776e574f745390901552df771e) | fix | warn if using ngSrcset without a configured image loader ([#​48804](https://togithub.com/angular/angular/pull/48804)) | ##### compiler | Commit | Type | Description | | -- | -- | -- | | [171b4d4640](https://togithub.com/angular/angular/commit/171b4d46407e7c2860fdce4a5196fd6a34b455f0) | fix | incorrect code when non-null assertion is used after a safe access ([#​48801](https://togithub.com/angular/angular/pull/48801)) | ##### migrations | Commit | Type | Description | | -- | -- | -- | | [9e86dd231b](https://togithub.com/angular/angular/commit/9e86dd231bd0fb818da537191bbe197f15efc44d) | fix | Fixed file format issue with lint ([#​48859](https://togithub.com/angular/angular/pull/48859)) | | [af31f98b00](https://togithub.com/angular/angular/commit/af31f98b00a5d3decbb39df1f998346b3002b89e) | fix | migration host incorrectly reading empty files ([#​48849](https://togithub.com/angular/angular/pull/48849)) | ##### platform-server | Commit | Type | Description | | -- | -- | -- | | [73972c684e](https://togithub.com/angular/angular/commit/73972c684e214bc0e7c88338e001ff99a14dbcdc) | fix | insert transfer state `script` before other `script` tags ([#​48868](https://togithub.com/angular/angular/pull/48868)) | ##### router | Commit | Type | Description | | -- | -- | -- | | [d5b2c249a3](https://togithub.com/angular/angular/commit/d5b2c249a3b220d0a47413c6e1054fd49d9d8cd8) | fix | Handle routerLink directive on svg anchors. ([#​48857](https://togithub.com/angular/angular/pull/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 ### [`v15.1.2`](https://togithub.com/angular/angular/blob/HEAD/CHANGELOG.md#​1512-2023-01-25) [Compare Source](https://togithub.com/angular/angular/compare/15.1.1...15.1.2) ##### compiler | Commit | Type | Description | | -- | -- | -- | | [98ccb57117](https://togithub.com/angular/angular/commit/98ccb571176632cf4d434e9e54b086bb63601148) | fix | handle css selectors with space after an escaped character. ([#​48558](https://togithub.com/angular/angular/pull/48558)) | ##### compiler-cli | Commit | Type | Description | | -- | -- | -- | | [145f848a10](https://togithub.com/angular/angular/commit/145f848a10b4dc791cbf42b803983357735d5f86) | fix | resolve deprecation warning ([#​48812](https://togithub.com/angular/angular/pull/48812)) | ##### router | Commit | Type | Description | | -- | -- | -- | | [a6b10f6e59](https://togithub.com/angular/angular/commit/a6b10f6e597e666a55ef1cd2aecdf3a309cebad8) | fix | 'createUrlTreeFromSnapshot' with empty paths and named outlets ([#​48734](https://togithub.com/angular/angular/pull/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 ### [`v15.1.1`](https://togithub.com/angular/angular/blob/HEAD/CHANGELOG.md#​1511-2023-01-18) [Compare Source](https://togithub.com/angular/angular/compare/15.1.0...15.1.1) ##### common | Commit | Type | Description | | -- | -- | -- | | [68ce4f6ab4](https://togithub.com/angular/angular/commit/68ce4f6ab495f78858281b902e6433fe90ed6dbf) | fix | Update `Location` to get a normalized URL valid in case a represented URL starts with the substring equals `APP_BASE_HREF` ([#​48489](https://togithub.com/angular/angular/pull/48489)) | | [032b2bd689](https://togithub.com/angular/angular/commit/032b2bd689e24ece61e23bfe9a39a11676958b8d) | perf | avoid excessive DOM mutation in NgClass ([#​48433](https://togithub.com/angular/angular/pull/48433)) | ##### core | Commit | Type | Description | | -- | -- | -- | | [dd54f6bd96](https://togithub.com/angular/angular/commit/dd54f6bd963f859d18af90d5b3834c443ec073f9) | fix | makeEnvironmentProviders should accept EnvironmentProviders ([#​48720](https://togithub.com/angular/angular/pull/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 ノウラ ### [`v15.1.0`](https://togithub.com/angular/angular/blob/HEAD/CHANGELOG.md#​1510-2023-01-10) [Compare Source](https://togithub.com/angular/angular/compare/15.0.4...15.1.0) #### 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 | Commit | Type | Description | | -- | -- | -- | | [fe50813664](https://togithub.com/angular/angular/commit/fe50813664809a1177132a77bd2a316ad0858b9e) | feat | Add BrowserPlatformLocation to the public API ([#​48488](https://togithub.com/angular/angular/pull/48488)) | | [2f4f0638c7](https://togithub.com/angular/angular/commit/2f4f0638c74dccfc2d0522f67ab226d3227c0566) | fix | Add data attribtue to NgOptimizedImage ([#​48497](https://togithub.com/angular/angular/pull/48497)) | ##### compiler | Commit | Type | Description | | -- | -- | -- | | [a532d71975](https://togithub.com/angular/angular/commit/a532d71975bef463223fd5d8322e3140760c9134) | feat | allow self-closing tags on custom elements ([#​48535](https://togithub.com/angular/angular/pull/48535)) | | [caf7228f8a](https://togithub.com/angular/angular/commit/caf7228f8ac7e45e3fafeaee0576ae96738a047f) | fix | resolve deprecation warning ([#​48652](https://togithub.com/angular/angular/pull/48652)) | | [33f35b04ef](https://togithub.com/angular/angular/commit/33f35b04ef0f32f25624a6be59f8635675e3e131) | fix | type-only symbols incorrectly retained when downlevelling custom decorators ([#​48638](https://togithub.com/angular/angular/pull/48638)) | ##### compiler-cli | Commit | Type | Description | | -- | -- | -- | | [caedef0f5b](https://togithub.com/angular/angular/commit/caedef0f5b37ac6530885223b26879c39c36c1bd) | fix | update `@babel/core` dependency and lock version ([#​48634](https://togithub.com/angular/angular/pull/48634)) | ##### core | Commit | Type | Description | | -- | -- | -- | | [6acae1477a](https://togithub.com/angular/angular/commit/6acae1477a212bbd85d0670913c2925fa3bc0c24) | feat | Add `TestBed.runInInjectionContext` to help test functions which use `inject` ([#​47955](https://togithub.com/angular/angular/pull/47955)) | | [38421578a2](https://togithub.com/angular/angular/commit/38421578a2573bcbc86c927ed4015e20fc39f04a) | feat | Make the `isStandalone()` function available in public API ([#​48114](https://togithub.com/angular/angular/pull/48114)) | | [dd42974b07](https://togithub.com/angular/angular/commit/dd42974b070b068135c1bc34072486ae440e45e0) | feat | support TypeScript 4.9 ([#​48005](https://togithub.com/angular/angular/pull/48005)) | ##### forms | Commit | Type | Description | | -- | -- | -- | | [8aa8b4b77c](https://togithub.com/angular/angular/commit/8aa8b4b77cefcdd400ec9767b946b295ef42a066) | fix | Form provider FormsModule.withConfig return a FormsModule ([#​48526](https://togithub.com/angular/angular/pull/48526)) | ##### language-service | Commit | Type | Description | | -- | -- | -- | | [5f0b53c735](https://togithub.com/angular/angular/commit/5f0b53c7352f19480185c6b5c769e5012a2d2faa) | feat | Allow auto-imports to suggest multiple possible imports. ([#​47787](https://togithub.com/angular/angular/pull/47787)) | | [6a8ea29a04](https://togithub.com/angular/angular/commit/6a8ea29a04c35071d807bd2809e7fcbadd49f048) | fix | expose `package.json` for vscode extension resolution ([#​48678](https://togithub.com/angular/angular/pull/48678)) | | [ce8160ecb2](https://togithub.com/angular/angular/commit/ce8160ecb28d6765d438eb65035835984eb956ec) | fix | Prevent crashes on unemitable references ([#​47938](https://togithub.com/angular/angular/pull/47938)) | | [e615b598ba](https://togithub.com/angular/angular/commit/e615b598bab9c67bc34a44e39ef1d7066f9bf052) | fix | ship `/api` entry-point ([#​48670](https://togithub.com/angular/angular/pull/48670)) | | [6ce7d76a0e](https://togithub.com/angular/angular/commit/6ce7d76a0ea9cfc1591bee408719fa6da069344f) | fix | update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build ([#​48663](https://togithub.com/angular/angular/pull/48663)) | ##### localize | Commit | Type | Description | | -- | -- | -- | | [a1a8e91eca](https://togithub.com/angular/angular/commit/a1a8e91ecaded6a2e4d700109a26d3117ad77c9c) | fix | add triple slash type reference on `@angular/localize` on \`ng add ([#​48502](https://togithub.com/angular/angular/pull/48502)) | ##### migrations | Commit | Type | Description | | -- | -- | -- | | [cc284afbbc](https://togithub.com/angular/angular/commit/cc284afbbc33b91884882204c5958a44a5d11392) | fix | combine newly-added imports in import manager ([#​48620](https://togithub.com/angular/angular/pull/48620)) | ##### router | Commit | Type | Description | | -- | -- | -- | | [228e992db7](https://togithub.com/angular/angular/commit/228e992db75bd7a2213b4596e6e2a8696578aa19) | docs | Deprecate canLoad guards in favor of canMatch ([#​48180](https://togithub.com/angular/angular/pull/48180)) | | [0a8b8a66cd](https://togithub.com/angular/angular/commit/0a8b8a66cdfb86586811c79bec938b3ab7215e8f) | docs | Deprecate public members of Router that are meant to be configured elsewhere ([#​48006](https://togithub.com/angular/angular/pull/48006)) | | [332461bd0c](https://togithub.com/angular/angular/commit/332461bd0c5f5734a9d7f051f0f4c6c173dd87c9) | feat | Add ability to override `onSameUrlNavigation` default per-navigation ([#​48050](https://togithub.com/angular/angular/pull/48050)) | | [f58ad86e51](https://togithub.com/angular/angular/commit/f58ad86e51817f83ff18db790a347528262b850b) | feat | Add feature provider for enabling hash navigation ([#​48301](https://togithub.com/angular/angular/pull/48301)) | | [73f03ad2d2](https://togithub.com/angular/angular/commit/73f03ad2d29811dda2ee03c5f18c79ebc9519c0b) | feat | Add new NavigationSkipped event for ignored navigations ([#​48024](https://togithub.com/angular/angular/pull/48024)) | | [3fe75710d9](https://togithub.com/angular/angular/commit/3fe75710d97a0f3224b2b09c45d9b8a9ad6efe91) | fix | page refresh should not destroy history state ([#​48540](https://togithub.com/angular/angular/pull/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 ### [`v15.0.4`](https://togithub.com/angular/angular/blob/HEAD/CHANGELOG.md#​1504-2022-12-14) [Compare Source](https://togithub.com/angular/angular/compare/15.0.3...15.0.4) ##### animations | Commit | Type | Description | | -- | -- | -- | | [6c1064c72f](https://togithub.com/angular/angular/commit/6c1064c72f7d5b9a455813046939ab0161c143bf) | fix | fix incorrect handling of camel-case css properties ([#​48436](https://togithub.com/angular/angular/pull/48436)) | ##### common | Commit | Type | Description | | -- | -- | -- | | [f30d18a942](https://togithub.com/angular/angular/commit/f30d18a9424afacbd47d70f91e233e286bb94b0d) | fix | Fix TestBed.overrideProvider type to include multi ([#​48424](https://togithub.com/angular/angular/pull/48424)) | ##### compiler-cli | Commit | Type | Description | | -- | -- | -- | | [b55d2dab5d](https://togithub.com/angular/angular/commit/b55d2dab5d76ffa809ac1feb78392a75c3081dec) | fix | evaluate const tuple types statically ([#​48091](https://togithub.com/angular/angular/pull/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 ### [`v15.0.3`](https://togithub.com/angular/angular/blob/HEAD/CHANGELOG.md#​1503-2022-12-07) [Compare Source](https://togithub.com/angular/angular/compare/15.0.2...15.0.3) ##### common | Commit | Type | Description | | -- | -- | -- | | [50b1c2bf52](https://togithub.com/angular/angular/commit/50b1c2bf520e88828eadefcb2d0acaf151f8118e) | fix | Don't generate srcsets with very large sources ([#​47997](https://togithub.com/angular/angular/pull/47997)) | | [bf44dc234a](https://togithub.com/angular/angular/commit/bf44dc234a32069cb297ef7d3a87c2004cad8b00) | fix | Update `Location` to support base href containing `origin` ([#​48327](https://togithub.com/angular/angular/pull/48327)) | ##### compiler | Commit | Type | Description | | -- | -- | -- | | [9a5d84249a](https://togithub.com/angular/angular/commit/9a5d84249a0fd6b5c2a77c7ab6cbf72d90c45ee3) | fix | make sure selectors inside container queries are correctly scoped ([#​48353](https://togithub.com/angular/angular/pull/48353)) | ##### compiler-cli | Commit | Type | Description | | -- | -- | -- | | [167bc0d163](https://togithub.com/angular/angular/commit/167bc0d1638ffd6fe91bcb40f96c2ab90f3e01cb) | fix | Produce diagnostic rather than crash when using invalid hostDirective ([#​48314](https://togithub.com/angular/angular/pull/48314)) | ##### core | Commit | Type | Description | | -- | -- | -- | | [e4dcaa513e](https://togithub.com/angular/angular/commit/e4dcaa513e7d5ccd3a63edf6132792873f01f7c1) | fix | unable to inject ChangeDetectorRef inside host directives ([#​48355](https://togithub.com/angular/angular/pull/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 ### [`v15.0.2`](https://togithub.com/angular/angular/blob/HEAD/CHANGELOG.md#​1502-2022-11-30) [Compare Source](https://togithub.com/angular/angular/compare/15.0.1...15.0.2) ##### compiler-cli | Commit | Type | Description | | -- | -- | -- | | [86a21f5569](https://togithub.com/angular/angular/commit/86a21f5569bc4b8060a882bd3d542a6c002438c7) | fix | accept inheriting the constructor from a class in a library ([#​48156](https://togithub.com/angular/angular/pull/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 ### [`v15.0.1`](https://togithub.com/angular/angular/blob/HEAD/CHANGELOG.md#​1501-2022-11-22) [Compare Source](https://togithub.com/angular/angular/compare/15.0.0...15.0.1) ##### common | Commit | Type | Description | | -- | -- | -- | | [930af9dd26](https://togithub.com/angular/angular/commit/930af9dd2607754e778922a4bb31055123229e24) | fix | Fix MockPlatformLocation events and missing onPopState implementation ([#​48113](https://togithub.com/angular/angular/pull/48113)) | ##### forms | Commit | Type | Description | | -- | -- | -- | | [b342e55509](https://togithub.com/angular/angular/commit/b342e5550928c14ddfb33861189f67b39e163d05) | fix | don't mutate validators array ([#​47830](https://togithub.com/angular/angular/pull/47830)) | | [a12a120272](https://togithub.com/angular/angular/commit/a12a120272024e49bd3d80d9ed1ae30dcf8622f8) | fix | FormBuilder.group return right type with shorthand parameters. ([#​48084](https://togithub.com/angular/angular/pull/48084)) | ##### language-service | Commit | Type | Description | | -- | -- | -- | | [cc8b76ef7c](https://togithub.com/angular/angular/commit/cc8b76ef7cb908d2c95229f39bf82a13ca59570b) | fix | correctly handle host directive inputs/outputs ([#​48147](https://togithub.com/angular/angular/pull/48147)) | | [a8c33bf931](https://togithub.com/angular/angular/commit/a8c33bf93132425a617381e4aa9a6f0e8e0ddf5b) | fix | update packages/language-service/build.sh script to work with vscode-ng-language-service's new Bazel build ([#​48120](https://togithub.com/angular/angular/pull/48120)) | ##### router | Commit | Type | Description | | -- | -- | -- | | [e4309d57d8](https://togithub.com/angular/angular/commit/e4309d57d893e111bda3744a61630d1888ddbc02) | fix | correct type of nextState parameter in canDeactivate ([#​48038](https://togithub.com/angular/angular/pull/48038)) | | [9baefd085f](https://togithub.com/angular/angular/commit/9baefd085fb079c312c4c03d79775a0fcff933b9) | fix | Ensure renavigating in component init works with enabledBlocking ([#​48063](https://togithub.com/angular/angular/pull/48063)) | | [fa5528fb5f](https://togithub.com/angular/angular/commit/fa5528fb5f0fe6e4e6ea85d39e43262018520c43) | fix | restore 'history.state' on popstate even if navigationId missing ([#​48033](https://togithub.com/angular/angular/pull/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 ### [`v15.0.0`](https://togithub.com/angular/angular/blob/HEAD/CHANGELOG.md#​1500-2022-11-16) [Compare Source](https://togithub.com/angular/angular/compare/14.2.12...15.0.0) [Blog post "Angular v15 is now available"](http://goo.gle/angular-v15). #### Breaking Changes ##### compiler - Keyframes names are now prefixed with the component's "scope name". For example, the following keyframes rule in a component definition, whose "scope name" is host-my-cmp: [@​keyframes](https://togithub.com/keyframes) foo { ... } will become: [@​keyframes](https://togithub.com/keyframes) host-my-cmp_foo { ... } Any TypeScript/JavaScript code which relied on the names of keyframes rules will no longer match. The recommended solutions in this case are to either: - change the component's view encapsulation to the `None` or `ShadowDom` - define keyframes rules in global stylesheets (e.g styles.css) - define keyframes rules programmatically in code. ##### compiler-cli - Invalid constructors for DI may now report compilation errors When a class inherits its constructor from a base class, the compiler may now report an error when that constructor cannot be used for DI purposes. This may either be because the base class is missing an Angular decorator such as `@Injectable()` or `@Directive()`, or because the constructor contains parameters which do not have an associated token (such as primitive types like `string`). These situations used to behave unexpectedly at runtime, where the class may be constructed without any of its constructor parameters, so this is now reported as an error during compilation. Any new errors that may be reported because of this change can be resolved either by decorating the base class from which the constructor is inherited, or by adding an explicit constructor to the class for which the error is reported. - Angular compiler option `enableIvy` has been removed as Ivy is the only rendering engine. ##### core - Angular no longer supports Node.js versions `14.[15-19].x` and `16.[10-12].x`. Current supported versions of Node.js are `14.20.x`, `16.13.x` and `18.10.x`. - TypeScript versions older than 4.8 are no longer supported. - 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. - Existing iframe usages may have `src` or `srcdoc` preceding other attributes. Such usages may need to be updated to ensure compliance with the new stricter rules around iframe bindings. ##### forms - setDisabledState will always be called when a `ControlValueAccessor` is attached. You can opt-out with `FormsModule.withConfig` or `ReactiveFormsModule.withConfig`. ##### localize - - `canParse` method has been removed from all translation parsers in `@angular/localize/tools`. `analyze` should be used instead. - the `hint` parameter in the`parse` methods is now mandatory. ##### router - Previously, the `RouterOutlet` would immediately instantiate the component being activated during navigation. Now the component is not instantiated until the change detection runs. This could affect tests which do not trigger change detection after a router navigation. In rarer cases, this can affect production code that relies on the exact timing of component availability. - The title property is now required on ActivatedRouteSnapshot - `relativeLinkResolution` is no longer configurable in the Router. This option was used as a means to opt out of a bug fix. #### Deprecations ##### common - The `DATE_PIPE_DEFAULT_TIMEZONE` token is now deprecated in favor of the `DATE_PIPE_DEFAULT_OPTIONS` token, which accepts an object as a value and the timezone can be defined as a field (called `timezone`) on that object. ##### core - - The ability to pass an `NgModule` to the `providedIn` option for `@Injectable` and `InjectionToken` is now deprecated. `providedIn: NgModule` was intended to be a tree-shakable alternative to NgModule providers. It does not have wide usage, and in most cases is used incorrectly, in circumstances where `providedIn: 'root'` should be preferred. If providers should truly be scoped to a specific NgModule, use `NgModule.providers` instead. - The ability to set `providedIn: 'any'` for an `@Injectable` or `InjectionToken` is now deprecated. `providedIn: 'any'` is an option with confusing semantics and is almost never used apart from a handful of esoteric cases internal to the framework. - The bit field signature of `Injector.get()` has been deprecated, in favor of the new options object. - The bit field signature of `TestBed.inject()` has been deprecated, in favor of the new options object. ##### router - The `RouterLinkWithHref` directive is deprecated, use the `RouterLink` directive instead. The `RouterLink` contains the code from the `RouterLinkWithHref` to handle elements with `href` attributes. ##### common | Commit | Type | Description | | -- | -- | -- | | [c0c7efaf7c](https://togithub.com/angular/angular/commit/c0c7efaf7c8a53c1a6f137aac960757cc804f263) | feat | add `provideLocationMocks()` function to provide Location mocks ([#​47674](https://togithub.com/angular/angular/pull/47674)) | | [75e6297f09](https://togithub.com/angular/angular/commit/75e6297f0901cc98aea1626a138a820e68d026ec) | feat | add preload tag on server for priority img ([#​47343](https://togithub.com/angular/angular/pull/47343)) | | [4fde292bb5](https://togithub.com/angular/angular/commit/4fde292bb58f5d5bc3cf6e634f7cff9eb0d13d84) | feat | Add automatic srcset generation to ngOptimizedImage ([#​47547](https://togithub.com/angular/angular/pull/47547)) | | [9483343ebf](https://togithub.com/angular/angular/commit/9483343ebf958297ebcb81ef313d356296a41f41) | feat | Add fill mode to NgOptimizedImage ([#​47738](https://togithub.com/angular/angular/pull/47738)) | | [bdb5371033](https://togithub.com/angular/angular/commit/bdb5371033d8e9a110619861323e8383a32d5900) | feat | add injection token for default DatePipe configuration ([#​47157](https://togithub.com/angular/angular/pull/47157)) | | [449d29b701](https://togithub.com/angular/angular/commit/449d29b701ee5a50e7279d44f4c3888a5d6f7e96) | fix | Add fetchpriority to ngOptimizedImage preloads ([#​48010](https://togithub.com/angular/angular/pull/48010)) | | [4f52d4e474](https://togithub.com/angular/angular/commit/4f52d4e47416494b4054e43a0d96383bde7813ca) | fix | don't generate srcset if noopImageLoader is used ([#​47804](https://togithub.com/angular/angular/pull/47804)) | | [3a18398d83](https://togithub.com/angular/angular/commit/3a18398d8303fb4ae1923b3a182e6abb92e3117b) | fix | Don't warn about image distortion is fill mode is enabled ([#​47824](https://togithub.com/angular/angular/pull/47824)) | | [edea15f2c6](https://togithub.com/angular/angular/commit/edea15f2c63675e86248a25649008a10e1384334) | fix | export the IMAGE_CONFIG token ([#​48051](https://togithub.com/angular/angular/pull/48051)) | | [8abf1c844c](https://togithub.com/angular/angular/commit/8abf1c844c656b41a604098889db76e8c63da720) | fix | fix formatting on oversized image error ([#​47188](https://togithub.com/angular/angular/pull/47188)) | | [ca7bf65933](https://togithub.com/angular/angular/commit/ca7bf6593380fa760891d29fba5c9f61c6e9bf8b) | fix | rename `rawSrc` -> `ngSrc` in NgOptimizedImage directive ([#​47362](https://togithub.com/angular/angular/pull/47362)) | | [b3879dbf14](https://togithub.com/angular/angular/commit/b3879dbf1470ab4f31e676f1f8909cd50d963844) | fix | support density descriptors with 2+ decimals ([#​47197](https://togithub.com/angular/angular/pull/47197)) | | [fa4798095e](https://togithub.com/angular/angular/commit/fa4798095e3820087c4a3bccc9638c5e979315da) | fix | update size error to mention 'fill' mode ([#​47797](https://togithub.com/angular/angular/pull/47797)) | | [23f210c0ab](https://togithub.com/angular/angular/commit/23f210c0abfb6104f4aa2f39d0efd096c2b7574d) | fix | warn if using supported CDN but not built-in loader ([#​47330](https://togithub.com/angular/angular/pull/47330)) | | [945432e3fa](https://togithub.com/angular/angular/commit/945432e3fa2cb22ff911eda2a8ad3302a8adba5a) | fix | Warn on fill ngOptimizedImage without height ([#​48036](https://togithub.com/angular/angular/pull/48036)) | ##### compiler | Commit | Type | Description | | -- | -- | -- | | [051f75648d](https://togithub.com/angular/angular/commit/051f75648d6065949796ac1c7ea67e71e31b011e) | fix | scope css keyframes in emulated view encapsulation ([#​42608](https://togithub.com/angular/angular/pull/42608)) | | [39b72e208b](https://togithub.com/angular/angular/commit/39b72e208b46d80f1d9a802cebf043c2ccf3c5f2) | fix | update element schema ([#​47552](https://togithub.com/angular/angular/pull/47552)) | | [48b354a83e](https://togithub.com/angular/angular/commit/48b354a83e6d94735a03eebb3a52c5698e7a0f44) | fix | update element schema ([#​47552](https://togithub.com/angular/angular/pull/47552)) | ##### compiler-cli | Commit | Type | Description | | -- | -- | -- | | [bc54687c7b](https://togithub.com/angular/angular/commit/bc54687c7b91efe451aa744d2d3a15ca3524231e) | fix | exclude abstract classes from `strictInjectionParameters` requirement ([#​44615](https://togithub.com/angular/angular/pull/44615)) | | [309b2cde51](https://togithub.com/angular/angular/commit/309b2cde51d1577d6561e826be01e2b5fce43c49) | fix | implement more host directive validations as diagnostics ([#​47768](https://togithub.com/angular/angular/pull/47768)) | | [2e1dddec45](https://togithub.com/angular/angular/commit/2e1dddec45fef8291b1f3abce2a937e28bb75a87) | fix | support hasInvalidatedResolutions. ([#​47585](https://togithub.com/angular/angular/pull/47585)) | | [19ad4987f9](https://togithub.com/angular/angular/commit/19ad4987f9070222bb2fb8bd07a43ed7995f602a) | fix | use [@​ts-ignore](https://togithub.com/ts-ignore). ([#​47636](https://togithub.com/angular/angular/pull/47636)) | | [8fcadaad48](https://togithub.com/angular/angular/commit/8fcadaad48b2b1328f47b7603b230445a26f95a8) | perf | cache source file for reporting type-checking diagnostics ([#​47471](https://togithub.com/angular/angular/pull/47471)) | | [16f96eeabf](https://togithub.com/angular/angular/commit/16f96eeabf77964092b4b6a830e29f2761ffaeec) | refactor | remove `enableIvy` options ([#​47346](https://togithub.com/angular/angular/pull/47346)) | ##### core | Commit | Type | Description | | -- | -- | -- | | [e3cef4a784](https://togithub.com/angular/angular/commit/e3cef4a7843d22fd004f1e27afcc42d0fbbef74a) | docs | deprecate `providedIn: NgModule` and `providedIn: 'any'` ([#​47616](https://togithub.com/angular/angular/pull/47616)) | | [1b9fd46d14](https://togithub.com/angular/angular/commit/1b9fd46d14ed46f78b6d761b3917ded1f0d51e0d) | feat | add support for Node.js version 18 ([#​47730](https://togithub.com/angular/angular/pull/47730)) | | [ed11a13c3c](https://togithub.com/angular/angular/commit/ed11a13c3c5cccb0094c1a4ff9c60ea741a42067) | feat | drop support for TypeScript 4.6 and 4.7 ([#​47690](https://togithub.com/angular/angular/pull/47690)) | | [db28badfe6](https://togithub.com/angular/angular/commit/db28badfe67f404e81dacd7c3131af105feb3412) | feat | enable the new directive composition API ([#​47642](https://togithub.com/angular/angular/pull/47642)) | | [7de1469be6](https://togithub.com/angular/angular/commit/7de1469be62b08037681ee9e75614fb800700ef8) | feat | introduce EnvironmentProviders wrapper type ([#​47669](https://togithub.com/angular/angular/pull/47669)) | | [841c8e5138](https://togithub.com/angular/angular/commit/841c8e51386645d7fd26642f41952ed8f0a2dbe5) | feat | support object-based DI flags in Injector.get() ([#​46761](https://togithub.com/angular/angular/pull/46761)) | | [120555a626](https://togithub.com/angular/angular/commit/120555a626d66523e46ce01681b11a0f38e3a40a) | feat | support object-based DI flags in TestBed.inject() ([#​46761](https://togithub.com/angular/angular/pull/46761)) | | [96c0e42e61](https://togithub.com/angular/angular/commit/96c0e42e61b8a4fced1354da0162c06e7b029cf3) | fix | allow readonly arrays for standalone imports ([#​47851](https://togithub.com/angular/angular/pull/47851)) | | [28f289b825](https://togithub.com/angular/angular/commit/28f289b825be7f4bf6dc5db69197741867b8ea23) | fix | hardening attribute and property binding rules for