fix(deps): update angular monorepo to v22#340
Conversation
9c60ac7 to
3af31ce
Compare
3af31ce to
b437e13
Compare
b437e13 to
5faeaf3
Compare
2cf8005 to
693a054
Compare
Beta npm buildMaintainers can publish this PR to npm for fast testing. Comment The workflow will:
Security note: beta publish is only enabled for branches inside this repository. |
4a526d8 to
9991e09
Compare
b466303 to
cc0ffcc
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
cc0ffcc to
1f74f02
Compare
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
1f74f02 to
7a47183
Compare
7a47183 to
a095225
Compare
a095225 to
cfd8b5c
Compare
cfd8b5c to
84cb1cb
Compare
There was a problem hiding this comment.
Stale comment
Risk: medium. Not approving: this is a major Angular monorepo upgrade (v19→v22) scoped to the example app, and the "Build code and test" CI check is failing. Cursor Bugbot did not run on this PR. Reviewers assigned for human verification.
Sent by Cursor Approval Agent: Pull Request Approver External
84cb1cb to
df35997
Compare
There was a problem hiding this comment.
Risk: medium. Not approving: this major Angular monorepo upgrade (v19→v22) exceeds the low-risk threshold, and CI checks (Build code and test, build_android, build_ios) are failing. Cursor Bugbot did not run on this PR; riderx is already assigned for human review.
Sent by Cursor Approval Agent: Pull Request Approver External
df35997 to
9374663
Compare
9374663 to
ded582c
Compare


This PR contains the following updates:
^19.2.6→^22.0.0^19.2.6→^22.0.0^19.2.6→^22.0.0^19.2.6→^22.0.0^19.2.6→^22.0.0^19.2.6→^22.0.0^19.2.6→^22.0.0^19.2.6→^22.0.0^19.2.6→^22.0.0^19.2.6→^22.0.0Release Notes
angular/angular (@angular/animations)
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-attributescompiler-cli
core
IdleRequestOptionssupport toIdleServiceprovideWebMcpToolsinjectAsynchelper functionprovideHttpClientto keep using theHttpXhrBackendimplementation.ChangeDetectionStrategy.Eagerwhere applicableApplicationRefwith configdeclareWebMcpToolsupport@ServicedecoratorcheckNoChangesfrom the public API.createNgModuleRefforms
reloadValidationto Signal Forms to manually trigger async validationto`FormRootto be used without submission options (#67727)Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 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.