build: update cross-repo angular dependencies to v22#3478
build: update cross-repo angular dependencies to v22#3478angular-robot wants to merge 1 commit intoangular:mainfrom
Conversation
See associated pull request for more information.
There was a problem hiding this comment.
Code Review
This pull request, generated by Renovate, updates Angular dependencies to version 22.0.0-next.0. My review focuses on the risk of adopting a pre-release version. I've added a comment to the root package.json recommending to wait for a stable release of Angular v22 to avoid potential instability and breaking changes.
| }, | ||
| "devDependencies": { | ||
| "@angular/compiler-cli": "21.2.0-rc.0", | ||
| "@angular/compiler-cli": "22.0.0-next.0", |
There was a problem hiding this comment.
This pull request updates multiple Angular dependencies across the repository to a pre-release version (22.0.0-next.0). Using pre-release versions (like -next.0) is risky as they can be unstable, contain bugs, and are not recommended for production or stable environments. It is advisable to use stable releases to ensure the stability and reliability of the applications. Please consider waiting for a stable release of Angular v22 before merging this.
This PR contains the following updates:
21.2.0-rc.0→22.0.0-next.021.2.0-rc.0→22.0.0-next.021.2.0-rc.0→22.0.0-next.021.2.0-rc.0→22.0.0-next.021.2.0-rc.0→22.0.0-next.021.2.0-rc.0→22.0.0-next.021.2.0-rc.0→22.0.0-next.021.2.0-rc.0→22.0.0-next.0Release Notes
angular/angular (@angular/animations)
v22.0.0-next.0Compare Source
Breaking Changes
compiler
invariables will throw in template expressions.core
http
HttpXhrBackendwithprovideHttpClient(withXhr)if you want to keep supporting upload progress reports.router
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.compiler
data-attributescompiler-cli
core
IdleRequestOptionssupport toIdleServiceprovideHttpClientto keep using theHttpXhrBackendimplementation.ChangeDetectionStrategy.Eagerwhere applicableforms
touchedmodel into an input andtouchoutputsetValuein reactive formshttp
FetchBackendas default for theHttpBackendimplementationlanguage-service
router
provideRoutesfunction.upgrade
getAngularLib/setAngularLibv21.2.1Compare Source
core
http
v21.2.0Compare Source
common
compiler
instanceofbinary operatorAstVisitor.visitEmptyExpr()compiler-cli
core
forms
language-server
onDidChangeWatchedFileslanguage-service
router
canMatchparamsIsActiveMatchOptionsAPIs to accept a Partial