6.0.0-rc.0
Pre-release
Pre-release
Version 6 of AngularFire drops support for Angular version 8 and below, older versions of typescript, Firebase, drops firebase-node, database-deprecated, and more.
- Support for Angular versions less than 9 has been dropped
- Support for Firebase versions less than 7.8 has been dropped
- Support for
firebase-toolsless than 7.12 has been dropped angularfire2NPM shim will no longer be updated- Dropped
@angular/fire/firebase-nodeand@angular/fire/database-depreciated - Using
ng-packagrto build the library, bringing us back up to speed on APF - All of our
@NgModulesare nowprovidedIn: 'any'rather than singletons - We make use of Proxy in more modules, you'll need to polyfill if you want to support IE 11
@angular/fire
- Dropped the
RealtimeDatabaseURLandDATABASE_URLDI tokens, useimport { URL } from '@angular/fire/database'instead - Dropped
runOutsideAngular,runInZone,FirebaseZoneScheduler, and theFirebase*type aliases
@angular/fire/analytics
AngularFireAnalyticsnow memoziesanalytics.Analtyicsinstances keyed to themeasurementId, this prevents exceptions if you're using more than oneFirebaseAppwith the samemeasurementId. This is also needed as we areprovidedIn: 'any'.
@angular/fire/auth
AngularFireAuthModuleis now side-effect free andAngularFireAuthwill dynamically importfirebase/authwhen a request is madeAngularFireAuthhas dropped theauthproperty and instead Promise Proxies the underlying Firebaseauth.Authinstance
@angular/fire/auth-guard
AngularFireAuthGuardandcanActivatehave dropped (attempted) support for rawAuthPipes, as they were not functioning in AOT builds; you'll want to move toAuthPipeGenerators
@angular/fire/database
AngularFireDatabaseModuleno longer importsfirebase/databaseon it's own to remain side-effect free, you'll need toimport 'firebase/database'on your own- Dropped the
RealtimeDatabaseURLandDATABASE_URLDI tokens in favor ofURL
@angular/fire/firestore
AngularFirestoreModuleno longer importsfirebase/firestoreon it's own to remain side-effect free, you'll need toimport 'firebase/firestore'on your own- Dropped the
EnablePersistenceTokenDI token in favor ofENABLE_PERSISTENCE - Dropped the
PersistenceSettingsTokenDI token in favor ofPERSISTENCE_SETTINGS - Dropped the
FirestoreSettingsTokenDI token in favor ofSETTINGS
@angular/fire/functions
- Dropped the
FunctionsRegionTokenandFUNCTIONS_REGIONDI tokens in favor ofREGION - Dropped the
FUNCTIONS_ORIGINDI token in favor ofORIGIN AngularFireFunctionsModuleis now side-effect free andAngularFireFunctionswill dynamically importfirebase/functionswhen a request is madeAngularFireFunctionshas dropped thefunctionsproperty and instead Promise Proxies the underlying Firebasefunctions.Functionsinstance
@angular/fire/messaging
AngularFireMessaging's dynamic import offirebase/messagingis now lazy, if you don't call any methods the SDK will not be loadedAngularFireMessaginghas dropped themessagingproperty and instead Promise Proxies the underlying Firebasemessaging.Messaginginstance
@angular/fire/performance
AngularFirePerformancehas dropped theperformanceproperty and instead Promise Proxies the underlying Firebaseperformance.Performanceinstance
@angular/fire/storage
AngularFireStorageModuleno longer importsfirebase/storageon it's own to remain side-effect free, you'll need toimport 'firebase/storage'on your own- Dropped
StorageBucketDI token in favor ofBUCKET