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-tools
less than 8.0 has been dropped - The
angularfire2
NPM library will no longer be updated - Dropped
@angular/fire/firebase-node
and@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
AngularFireAuth
has dropped theauth
property and instead Promise Proxies the underlying Firebaseauth.Auth
instance; allowing your development experience to more closely mirror the JS SDK. Similar changes have been made toAngularFireFunctions
,AngularFireMessaging
, andAngularFirePerformance
.AngularFireAuthGuard
andcanActivate
have dropped support for raw pipes, this was never working correctly in AOTAngularFirePerformance
has been simplified, the RXJS pipes are now exported as pure-functions outside the class. Automatic tracking ofisStable
timing has now been moved intoPerformanceMonitoringService
and we've dropped theAUTOMATICALLY_TRACE_CORE_NG_METRICS
DI token.