fix(deps): update angular monorepo to v22 - #248
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json |
Apply Sweep Rules to your PR?
|
deff847 to
8f85d6b
Compare
8f85d6b to
8d9506e
Compare
8d9506e to
ca97384
Compare
ca97384 to
db99bdd
Compare
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThis change updates Angular dependencies from version 16.2.0 to 18.2.0 across several core packages in the Changes
Possibly related issues
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
db99bdd to
1267a62
Compare
1267a62 to
2e1b598
Compare
There was a problem hiding this comment.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- package.json (2 hunks)
Additional comments not posted (1)
package.json (1)
17-24: Ensure compatibility with@angular/coreand Angular CLI.The Angular dependencies have been updated to version 18.2.0, but
@angular/coreis still at version 16.2.0. This mismatch can lead to compatibility issues. Additionally, the Angular CLI and build tools indevDependenciesare still at version 16.2.0, which might not support the new features or changes in Angular 18.Consider updating
@angular/core,@angular-devkit/build-angular, and@angular/clito version 18.2.0 to ensure compatibility and take advantage of the latest features and improvements.Also applies to: 34-34
2e1b598 to
cb34b09
Compare
cb34b09 to
a6964c7
Compare
a6964c7 to
729f756
Compare
729f756 to
d0b74de
Compare
d0b74de to
136cf70
Compare
136cf70 to
25e323b
Compare
25e323b to
6b252ad
Compare
6b252ad to
cd5f3e3
Compare
cd5f3e3 to
44edb6f
Compare
0f6bb2d to
7db057d
Compare
7db057d to
832004b
Compare
832004b to
635d73b
Compare
635d73b to
0cb5c98
Compare
0cb5c98 to
3967d03
Compare
3967d03 to
b892035
Compare
This PR contains the following updates:
~16.2.0→~22.1.0~16.2.0→~22.1.0~16.2.0→~22.1.0~16.2.0→~22.1.0~16.2.0→~22.1.0~16.2.0→~22.1.0~16.2.0→~22.1.0~16.2.0→~22.1.0Release Notes
angular/angular (@angular/animations)
v22.1.0Compare Source
Deprecations
http
HttpClient.jsonp,HttpClientJsonpModule, and related JSONP classes/functions are deprecated. Use standard HTTP requests instead.common
compiler
compiler-cli
core
@contentforms
http
language-service
migrations
then/elsekeywords in control flow migrationplatform-server
router
v22.0.8Compare Source
common
core
forms
pendingstatus propagates to the root form in signal formshttp
migrations
v22.0.7Compare Source
common
compiler
compiler-cli
core
forms
http
localize
platform-browser
v22.0.6Compare Source
compiler
compiler-cli
forms/signals
migrations
router
v22.0.5Compare Source
common
compiler-cli
core
router
v22.0.4Compare Source
migrations
v22.0.3Compare Source
compiler
compiler-cli
core
http
service-worker
upgrade
v22.0.2Compare Source
common
compiler
core
http
migrations
v22.0.1Compare Source
Deprecations
platform-server
@angular/platform-serveris deprecated. Use standardfetchAPIs instead.(cherry picked from commit
8446e46)common
compiler
href/xlink:hrefattributes of any element of the MathML namespacecompiler-cli
core
forms
tickadditionalProperties: falseon generated WebMCP formhttp
reportUploadProgressandreportDownloadProgresson post/patch requestslanguage-service
platform-server
router
service-worker
v22.0.0Compare Source
Blog post "Announcing Angular v22".
Breaking Changes
compiler
nullishCoalescingNotNullableandoptionalChainNotNullablediagnostics on exisiting projects.You might want to disable those 2 diagnotiscs in your
tsconfigtemporarily.invariables will throw in template expressions.compiler-cli
core
anyanymore. Make sure the element you pass is not nullable.changeDetectionproperty are nowOnPushby default. SpecifychangeDetection: ChangeDetectionStrategy.Eagerto keep the previous behavior.ChangeDetectorRef.checkNoChangeswas removed. In tests usefixture.detectChanges()instead.createNgModuleRefwas removed, usecreateNgModuleinsteadComponentFactoryResolverandComponentFactoryare no longer available. Pass the component class directly to APIs that previously required a factory, such asViewContainerRef.createComponentor use the standalonecreateComponentFunction.ComponentFactoryResolverandComponentFactoryare no longer available. Pass the component class directly to APIs that previously required a factory, such asViewContainerRef.createComponentor use the standalonecreateComponentfunction.forms
minandmaxvalidation rules no longer supportstring values. Bound values must be numbers or null.
http
HttpXhrBackendwithprovideHttpClient(withXhr)if you want to keep supporting upload progress reports.platform-browser
host. However other DOM on the page may still be affected by those styles if not leveragingViewEncapsulation.Emulatedor if those styles are used by elements outside of Angular, potentially causing other DOM to appear unstyled.router
The return type for
TitleStrategy.getResolvedTitleForRoutewas previously 'any' while the actual return type could only be either
stringor
undefined. The return type now reflects the possible values correctly.Code that reads the value may need to be adjusted.
(cherry picked from commit
ad37f52)The
currentSnapshotparameter inCanMatchFnand thecanMatchmethod of theCanMatchinterface is now required. While this was already the behavior of the Router at runtime, existing class implementations ofCanMatchmust now include the third argument to satisfy the interface.paramsInheritanceStrategy now defaults to 'always'
The default value of paramsInheritanceStrategy has been changed from 'emptyOnly' to 'always'. This means that route parameters are inherited from all parent routes by default. To restore the previous behavior, set paramsInheritanceStrategy to 'emptyOnly' in your router configuration.
provideRoutes()has been removed. UseprovideRouter()orROUTESas multi token if necessary.upgrade
getAngularLib/setAngularLibhave been removed usegetAngularJSGlobal/setAngularJSGlobalinstead.Deprecations
http
withFetchis now deprecated, it can be safely removed.reportProgressoption is deprecated please usereportUploadProgress&reportDownloadProgressinstead.compiler
undefineddata-attributesConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.