Intended to be run with Angular 9; version 6 of AngularFire drops support for Angular version 8 and below, older versions of typescript, Firebase, drops firebase-node, database-deprecated, and more.
WARNING: Version 6 is still a Release Candidate and subject to change, please monitor the changelog for up-to-date information on what we've been up to.
We're aiming to release 6.0 with an upgrade schematic to automate most of the required changes, however as of RC.1 that script is not yet available.
- Support for Angular versions less than 9 has been dropped
- Support for Firebase JS SDK versions less than 7.8 has been dropped
- Support for
firebase-toolsless than 7.12 has been dropped - The
angularfire2NPM library will no longer be updated - Dropped
@angular/fire/firebase-nodeand@angular/fire/database-depreciated - We make use of Proxy in more modules, you'll need to polyfill if you want to support IE 11
- We've standardized our DI Token naming conventions across all modules
AngularFirestoreModuleno longer importsfirebase/firestoreon it's own to remain side-effect free, you'll need toimport 'firebase/firestore'before you inject it. A similar changes has been made toAngularFireStorageandAngularFireDatabaseAngularFireAuthhas dropped theauthproperty and instead Promise Proxies the underlying Firebaseauth.Authinstance; allowing your development experience to more closely mirror the JS SDK. Similar changes have been made toAngularFireFunctions,AngularFireMessaging, andAngularFirePerformance.AngularFireAuthGuardandcanActivatehave dropped support for raw pipes, this was never working correctly in AOT