Angularfire 21 release?
It's been over 2 months now when angular 21 was released but angular fire is still at the 20.. and it is the only thing stopping us from upgrading our projects to 21, and the RC version has too much incompatibilities.
After seeing all this delay in releasing a version compatible with Angular 21, I'm also dropping this library and migrating to the Firebase JS SDK. I don't intend to keep my project stuck on version 20 just because of this library.
I am going to stop this using as well. Not recommended to override, use --force, or --legacy-peer-deps.
Same, AI made switching to the official Firebase JS SDK a breeze.
For the continues updates:
/**
* Custom RxJS Observable wrapper for Firestore Document snapshots.
*/
export function docData<T = DocumentData>(ref: DocumentReference<T>): Observable<T | undefined> {
return new Observable<T | undefined>((subscriber) => {
return onSnapshot(
ref,
(snapshot) => subscriber.next(snapshot.data() as T),
(error) => subscriber.error(error)
);
});
}
/**
* Custom RxJS Observable wrapper for Firestore Query snapshots.
*/
export function collectionSnapshots<T = DocumentData>(q: Query<T>): Observable<QueryDocumentSnapshot<T>[]> {
return new Observable<QueryDocumentSnapshot<T>[]>((subscriber) => {
return onSnapshot(
q,
(snapshot) => subscriber.next(snapshot.docs),
(error) => subscriber.error(error)
);
});
}
@jamesdaniels I’d like to hear your thoughts as a maintainer. If you no longer intend to maintain AngularFire, please make an official announcement. The development experience for the Angular community—having to constantly worry about every move the official team makes—is absolutely terrible.
wow even Ionic is behind too?
On Sat, 6 Jun 2026 at 10:17, 1001 Days of Code @.***> wrote:
1001daysofcode left a comment (angular/angularfire#3689) https://github.com/angular/angularfire/issues/3689#issuecomment-4639148335
Angular 22 is here. I've already removed Ionic from my app for being behind too many versions. Angularfire is up next
— Reply to this email directly, view it on GitHub https://github.com/angular/angularfire/issues/3689?email_source=notifications&email_token=AABQFRRHPAECWD3N6KVGWGT46QRWLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRTHEYTIOBTGM22M4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-4639148335, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABQFRSCQMXO6ZTMZI2LWCT46QRWLAVCNFSM6AAAAACSPRJSA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMMZZGE2DQMZTGU . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AABQFRSWRMUIYU4I6CYQEOT46QRWLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRTHEYTIOBTGM22M4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJKTGN5XXIZLSL5UW64Y and Android https://github.com/notifications/mobile/android/AABQFRV7VA2LJAWF7D2234T46QRWLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRTHEYTIOBTGM22M4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI. Download it today! You are receiving this because you were mentioned.Message ID: @.***>
21.0.0-rc.0-canary works for us, no problems. Before you go to the effort of removing AngularFire from your codebase please test Angular 22 with 21.0.0-rc.0-canary and report the results here. Maybe it'll work. :-)
Is @angular/fire depricated? I mean angular 22 is out abd @angular/fire us still on 20?
It is not just problem with Angular, but also angular/fire 20.0.1 use very old firebase package - 11.x, while the available version is 12.x
wondering if it's time to create a community fork of angular fire....
@markgoho You should migrate away instead, there is no need for the library any longer with zoneless. You can use the native Firebase SDK just fine.
Ditto, just use a.i to convert to the plain.js SDK.
I managed to do it with excellent results.
thanks @spock123 -- I'll take a crack at that!
in the meantime I messaged a handful of Googlers and @mgechev got back to me saying the Angular team would be looking into this repo very soon
I think at a minimum, we'd expect this project to be archived with a complete set of migration instructions to the Firebase JS SDK for Angular 20+ projects that can use zoneless
What about those who are not yet zoneless?
Alternative to @angular/fire for Angular 22+ and Native Firebase JS SDK 12+
Like many of you, our team faced significant roadblocks when upgrading our production projects to Angular 22+ and the latest Firebase JS SDK v12+ due to the current maintenance status and delayed updates of @angular/fire.
Instead of waiting, we decided to build and publish a lightweight, zoneless-friendly, and modern alternative: ngx-firebase.
We have just released version 22.0.1 and integrated it into our own production monorepo, and we wanted to share it with the community to help others get unstuck.
⚡ What is ngx-firebase? It is a drop-in, lightweight DI wrapper around the official Firebase JS SDK (v12+) built specifically for Angular 22+.
🌟 Key Features: Fully Compatible: Built from the ground up for Angular 22+ and the latest Firebase JS SDK v12+. Zoneless-Friendly: Works seamlessly in modern Angular applications running without Zone.js. Zero API Bloat / Developer Autonomy: It does not try to reinvent or hide the native Firebase API. You import native Firebase methods directly (getFirestore, signInWithEmailAndPassword, etc.) and use ngx-firebase strictly for Angular Dependency Injection and reactive RxJS helper wrappers (docData, collectionSnapshots, user, etc.). Future-Proof: If Firebase releases a new SDK update tomorrow, you don't have to wait for a library update; you can immediately use any new native Firebase features alongside our DI wrappers. 📦 Quick Start: bash npm install ngx-firebase firebase 🔗 Links & Resources: GitHub Repository: quedicesebas/ngx-firebase NPM Package: ngx-firebase We are actively maintaining this project and would love to hear your feedback, issues, or pull requests to make it even better. Let's keep moving the Angular + Firebase ecosystem forward! 🚀
I was thinking of doing the same but I feel like it's not worth doing this anymore. Your library is just wrappers. I started a small project and currenlty have a small service that handles the firebase methods
Are you gonna maintain this project 4 or 5 years down the line?
I seen too many angular packages that got abandoned and kept certain projects stuck at certain angular versions. Now with the power of AI it's really not worth it anymore
It is a good observation. The idea is to keep the small library up-to-date; contributors are welcome.
At this moment, I'm not even use this library anymore. Claude Code (or others) has the ability to read the official docs and integrate to Angular correctly. I will stop subscribe to this thread. Good luck everyone 👋
I solved this by migrating from angular/fire to the native firebase, since the newer angular versions are zoneless I see why the angular team dropped support to angular/fire it just is not worthy anymore, simple as that.... Migration wasn't complicated my web app was complicated but I think it's time for everyone else to drop the angular/fire... Cheers