build: update cross-repo angular dependencies - #3980
Open
angular-robot wants to merge 1 commit into
Open
angular-robot wants to merge 1 commit into
angular-robot wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates various Angular dependencies, including @angular/cdk, @angular/material, @angular/build, and @angular/cli, from pre-release next versions to the 22.2.0-rc.0 release candidate across multiple package files and workspaces. It also updates the corresponding lockfiles (pnpm-lock.yaml), which includes upgrading transitive dependencies such as Babel, Sass, Vite, and Zod. There are no review comments to address, and I have no additional feedback to provide.
angular-robot
force-pushed
the
ng-renovate/cross-repo-angular-dependencies
branch
3 times, most recently
from
September 22, 2026 13:55
fdd7dc5 to
34bc011
Compare
angular-robot
force-pushed
the
ng-renovate/cross-repo-angular-dependencies
branch
2 times, most recently
from
September 22, 2026 14:56
3778dd6 to
cf8da96
Compare
See associated pull request for more information.
angular-robot
force-pushed
the
ng-renovate/cross-repo-angular-dependencies
branch
from
September 24, 2026 12:43
cf8da96 to
31710bf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
22.2.0-next.7→22.2.0-rc.022.2.0-next.7→22.2.0-rc.022.2.0-next.5→22.2.0-rc.022.2.0-next.7→22.2.0-rc.022.2.0-next.7→22.2.0-rc.022.2.0-next.7→22.2.0-rc.022.2.0-next.7→22.2.0-rc.022.2.0-next.7→22.2.0-rc.021.0.0-rc.0→21.0.0-rc.122.2.0-next.7→22.2.0-rc.022.2.0-next.5→22.2.0-rc.022.2.0-next.7→22.2.0-rc.022.2.0-next.7→22.2.0-rc.0Release Notes
angular/angular (@angular/animations)
v22.2.0-rc.0: 22.2.0-rc.0Compare Source
compiler
@forcollection expression before appending non-null assertioncompiler-cli
core
forms
router
angular/angular-cli (@angular/build)
v22.2.0-rc.0: 22.2.0-rc.0Compare Source
@angular/cli
@angular/build
angular/components (@angular/cdk)
v22.2.0-rc.0: 22.2.0-rc.0Compare Source
material-luxon-adapter
material
cdk
angular/angularfire (@angular/fire)
v21.0.0-rc.1Compare Source
What's Changed
Upgrading to v21
ng update @angular/fireupdates your project'sfirebasedependency to the supported^12.18.0, andng addaligns it during setup, preventing duplicated-SDK installs by @armando-navarro in #3722onRegistered,onUnregistered,registerandunregister. by @armando-navarro in #3761ng update @angular/core @angular/clibefore updating AngularFire. by @armando-navarro in #3763@angular/fire/aiimport of the removed Imagen API, which made fresh installs fail to build against firebase 12.18.0.ng updatewarns remaining Imagen users with migration guidance. by @armando-navarro in #3750ng update @angular/firerewrites imports from the removed Vertex AI module to its replacement,@angular/fire/ai(Firebase AI Logic), including the renamed symbols, and a new guide covers upgrading from AngularFire 20 to 21 by @armando-navarro in #3725ng update @angular/fireusesAgentPlatformBackendinstead of the deprecatedVertexAIBackend. Location defaults toglobalinstead ofus-central1. The migration warns for every file whose region changed. by @armando-navarro in #3762Setting up (
ng add)ng add @angular/firewarns when multiple versions of firebase are installed, and shows the dependency chain. Prevents various hard-to-diagnose bugs. by @armando-navarro in #3760ng addgenerates working@angular/fire/aiimports when the AI feature is selected, instead of imports from a removed module path. Docs updated to use the Firebase AI Logic naming. by @coturiv in #3685@angular/platform-browser-dynamicpeer dependency, which madeng add @angular/firefail withERESOLVEon Angular 20.1 and newer. by @armando-navarro in #3718ng addwrites only accepted keys into the app config, which previously did not compile. The whole Firebase CLI response was inlined intoinitializeApp(), including management fields such asprojectNumberthatFirebaseOptionsrejects, producingTS2769. by @armando-navarro in #3707ng add @angular/fireand selecting Firestore generates a.firebasercfile, afirestore.rulesfile, and afirestore.indexes.jsonfile. by @armando-navarro in #3714ng add @angular/fire@nextrecords prerelease installs as the exact installed version. Prevents later installs replacing your chosen AngularFire release candidate. by @armando-navarro in #3709ng add @angular/fireprints a helpful message when no features are selected. Previously, the setup ended silently, as if it had worked. by @armando-navarro in #3717dataconnect.yamlparsing fails, instead of discarding it by @armando-navarro in #3711Deploying (
ng deploy)ng deployno longer crashes on launch withERR_INVALID_ARG_TYPE. The schematics ship as a CommonJS bundle, which turned the code'simport.metalookup intoundefinedbefore it reached any real work. by @armando-navarro in #3729regionfrom thefirebase-functions/v1subpath, where firebase-functions 6 moved it. Calling it from the package root threw on the function's first request. by @armando-navarro in #3743package.jsongenerated for SSR deployments declaresfirebase-adminwith a real, installable range. It was omitted even though firebase-functions requires it at load time, so the deployed function could crash withCannot find module 'firebase-admin/app-check'. by @armando-navarro in #3745jsonc-parser,@angular-devkit/core,@angular-devkit/architect). The publishedpackage.jsonnever listed them, song deployfailed to resolve modules under pnpm's default layout and Yarn Plug'n'Play. by @armando-navarro in #3747ng deploywrites the generated entry paths with forward slashes regardless of the deploying machine. Running it from Windows with the Cloud Run SSR option wrote backslash paths, which the Linux-based Cloud Run runtime cannot resolve. by @fr-esco in #3274Security hardening
ng deployno longer places values read fromangular.jsoninto shell commands, closing a command-injection hole by @herdiyana256 in #3738ng deploygenerates for SSR now escape or validate theangular.jsonvalues they interpolate (output path, function name, Node version). A crafted value could previously place arbitrary code in the generated files. by @herdiyana256 in #3739ng deploypasses gcloud arguments as an array. It previously built the command as one string and re-split it on whitespace, so a deploy option containing a space (a region, project, or function name fromangular.json) could smuggle extra flags into thegcloudinvocation. by @herdiyana256 in #3726provideDataConnect(...)call thatng addgenerates escapes the values it takes from yourdataconnect.yaml/connector.yaml. A value containing a quote character could previously place arbitrary code in the generated file. by @herdiyana256 in #3727CI and repository health
Documentation
ng addactually does today, with current scaffold names, the Firebase Hosting and App Hosting deploy paths, and the prerequisites called out up front by @armando-navarro in #3736idTokenexample by @armando-navarro in #3728user$example references the injectedthis.authby @arolleaguekeng in #3640@forexample by @IdanCo in #3606Sample app and code cleanup
docs/zones.mdsection on what a call outside an injection context loses, and removes anng updatemigration that did nothing. by @armando-navarro in #3759New Contributors
Action required when upgrading: update
firebasetogether with@angular/fireAngularFire 21 requires
firebaseversion 12.18.0 or newer. If your project's ownpackage.jsonstill requestsfirebase11 (typical for apps coming from AngularFire 20), npm will not report a conflict. It silently installs BOTH SDK versions side by side, and the two copies reject each other's objects at runtime. This one situation caused the three most-reported rc.0 bugs: the FirestoreExpected type 'Query'crash (#3684), theTimestamp.toDate()type error (#3681), and the Realtime Databasetoo much recursionerror (#3682).ng update @angular/firefixes this automatically: the #3722 migration updates yourfirebasedependency to^12.18.0and reinstalls.npm install firebase@^12together with the AngularFire update, then checknpm ls firebaseshows a single version.Thanks to everyone who tested rc.0 and reported issues. The reports on #3684, #3681, and #3682 are what identified the duplicated-SDK cause, and they are why
ng updatecan correct it for you.Full Changelog: angular/angularfire@21.0.0-rc.0...21.0.0-rc.1