1.4 KiB
1.4 KiB
Upgrading to AngularFire 6.0
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.
Breaking changes:
- Support for Angular versions less than 9 has been dropped
- Support for Firebase JS SDK versions less than 7.13.1 has been dropped
- Support for
firebase-toolsless than 8.0 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
AngularFireAuthhas 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 AOTAngularFirePerformancehas been simplified, the RXJS pipes are now exported as pure-functions outside the class. Automatic tracking ofisStabletiming has now been moved intoPerformanceMonitoringServiceand we've dropped theAUTOMATICALLY_TRACE_CORE_NG_METRICSDI token.