Repository navigation
build: update dependency @angular/fire to v21.0.0-rc.2 - #4032
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
See associated pull request for more information.
There was a problem hiding this comment.
Code Review
This pull request updates the @angular/fire dependency from version 21.0.0-rc.1 to 21.0.0-rc.2 in the apps/code-of-conduct package, with corresponding updates to the pnpm-lock.yaml file. The peer dependencies for @angular/fire were also updated to remove @angular/platform-server. There are no review comments, and I have no feedback to provide.
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:
21.0.0-rc.1→21.0.0-rc.2Release Notes
angular/angularfire (@angular/fire)
v21.0.0-rc.2Compare Source
Breaking change
App Check no longer runs during server rendering by default (#3773). During server rendering, AngularFire no longer calls the function passed to
provideAppCheck, andinject(AppCheck)returnsnullthere. Browser-side behavior is unchanged. This fixes theReferenceError: document is not definedbuild failure in server-rendered apps, because the reCAPTCHA providers need a browser.To keep App Check running during server rendering, provide
APP_CHECK_ON_SERVERastruein your server config:Details, including how server-side Firebase requests can still carry an App Check token: App Check during server rendering.
Updating from 21.0.0-rc.1
Installing a release candidate saves its exact version, so it does not move on its own. Run:
What's Changed
Installing and upgrading
@angular/platform-serverpeer dependency, which madenpm installandng add @angular/firefail withERESOLVEon an app one Angular patch behind the newest release. by @armando-navarro in #3792ng update @angular/fireno longer stops before the v21 migration when it runs under Angular CLI 22.3, whose schematics package refuses the file path AngularFire's schematics loaded. by @armando-navarro in #3793ng add @angular/fireno longer stops withInvalid project id: myApp.for a project whose name has capital letters. It andng deployalso no longer crash withCannot read properties of undefined (reading 'email')on firebase-tools 15.26 or later when run without a terminal, for example by an AI agent. by @armando-navarro in #3769@angular/fire/compat/storagetypings no longer importfirebase/compat, which failed the build withTS2307undermoduleResolution: "bundler". by @armando-navarro in #3796Server-side rendering
beforeAuthStateChangedfrom@angular/fire/authno longer keeps the app from ever becoming stable for a visitor who never signs in or out. Its callback still runs inside Angular's zone and injection context. by @armando-navarro in #3770Documentation
Cannot read properties of null (reading 'edgesOut')). by @armando-navarro in #3787ng updatestopping withThe Angular CLI requires a minimum Node.js version of ..., and how to get past it. by @armando-navarro in #3788APP_CHECK_ON_SERVER, and how to keep App Check out of the server on 21.0.0-rc.1 and earlier. by @armando-navarro in #3775@angular/platform-serverpeer dependency and the App Check change. by @armando-navarro in #3795--save-exactstep for the release candidate. by @armando-navarro in #3778Release tooling
v20-ltsinstead of replacing 21 onlatest, andnextmoves up to a stable release that passes it. by @armando-navarro in #379421.0.1-canary.<time>.sha-<commit>.ng add @angular/fire@canarynow installs the canary rather than the release candidate, and installing@nextor a release candidate never picks up a canary. by @armando-navarro in #3767 and #3780canarytag can no longer move back to an older build. by @armando-navarro in #3772 and #3784Full Changelog: angular/angularfire@21.0.0-rc.1...21.0.0-rc.2