Skip to content

Releases: angular/angularfire

5.0.2

21 Sep 19:59
Compare
Choose a tag to compare

Bug Fixes

  • messaging: Fix for the binding issue and onTokenRefresh for Messaging (e170da1)

5.0.1

11 Sep 19:57
1bd8dbb
Compare
Choose a tag to compare

Version 5.0.1 has been released for the deprecated angularfire2 NPM library; this simply re-exports everything from @angular/fire; allowing you to use either angularfire2 or @angular/fire in your imports and package.json.

It will have it's dependency pinned to the corresponding minor and will be released alongside future @angular/fire releases for the rest of the 5.x series.

5.0.0

06 Sep 22:59
91ec37e
Compare
Choose a tag to compare

Bug Fixes

  • firestore: Better handle enablePersistence failures, esp. for Universal (#1850) (334ba7b)
  • firestore: Add document get(), the options argument for get() should be optional, and subscriptions to get() should be run in the Angular Zone(#1849) (185943f)

Breaking changes

5.0 is now final and we're published under @angular/fire.

npm i --save firebase @angular/fire

5.0.0-rc.12

27 Aug 05:54
Compare
Choose a tag to compare

Bug Fixes

  • afs: Gracefully handle duplicate emissions on modified/deleted (#1825) (76ff6c1)
  • core: If an AngularFire observable was empty or threw, it could block Universal rendering (#1832) (36a8ff8)
  • core: Fix for the Firebase ES export problems in Node (#1821) (f1014ee)
  • storage: Fix for zone issues on downloadURL and metadata, which blocked Universal rendering (#1835) (441607a)

Features

5.0.0-rc.11

20 Jun 17:51
Compare
Choose a tag to compare

Bug Fixes

  • Fixed SSR compilation and misc. typing issues (#1729) (eed5802)

5.0.0-rc.10

22 May 17:10
Compare
Choose a tag to compare

Bug Fixes

  • firestore: the type passed to AngularFirestoreCollection from a document's sub-collection will now default to DocumentData, rather than any, if no type is specified (#1662) (2c2fe02)

Breaking change

  • core: AngularFire now depends only on the firebase NPM library, rather than @firebase/* and @firebase/*-types; this should simplify issues around keeping types in-sync and conflicts between package versions (#1677) (2c2fe02)

5.0.0-rc.9

16 May 16:22
26f3f5f
Compare
Choose a tag to compare

Bug Fixes

  • core: allow initializeApp to be used with AOT (#1654) (513565a)
  • core: Allow name + config deps to be optional (#1641) (a6af604)
  • firestore: Fixed a bug where Firestore sub-collections were inheriting the type of the doc by default (#1644) (dff8ddf)

Features

  • auth: Adding user and idTokenResult Observables to AngularFireAuth (#1642) (31045a9)
  • functions: Adding AngularFireFunctions with httpCallable (#1532) (26f3f5f)
  • firestore: types for collection, audit trail, state, and snapshot changes (#1644) (dff8ddf)
  • rtdb: types for collection, audit trail, snapshot, and state changes (#1643) (2c2fe02)

Breaking change

  • To deal with the initializeApp not being able to be used in AOT (#1635) we removed FirebaseAppConfigToken and FirebaseAppNameToken and replaced them with a new FirebaseNameOrConfigToken which accepts either an app name string or a FirebaseAppConfig object. (#1654) (513565a)
  • firestore: If you do not specify a type to Document or Collection the default is now DocumentData (#1644) (dff8ddf)

5.0.0-rc.8

14 May 16:26
Compare
Choose a tag to compare

Bug Fixes

Features

  • Supporting Angular and rxjs 6 (dd4a36c)
  • Support Firebase JS SDK 5.0 (#1628) (b99bfa3)
  • Support FirebaseAppConfig, clean up injection tokens (#1627) (57906bd)
  • firestore: Support Firestore Settings, timestampsInSnapshots default to true (#1629) (570c0a7)
  • auth: Update to rxjs pipeable operators (#1621) (0c3b215)
  • core: Update to rxjs pipeable operators (#1620) (3fbbb7d)
  • database: Update to rxjs pipeable operators (#1622) (5c3681d)
  • firestore: Update to rxjs pipeable operators (#1623) (97b26e3)
  • storage: Update to rxjs pipeable operators (#1624) (014be21)

Breaking changes

  • Due to the addition of a conflicting FirebaseAppConfig interface in Firebase 4.13 we've now changed our FirebaseAppConfig Injection Token to be FirebaseOptionsToken
  • For consistency the FirebaseAppName Injection Token is now FirebaseAppNameToken
  • rxjs 5 is no longer supported, upgrade to 6 (see the rxjs migration guide for more information)
  • Firebase JS SDK 4.x is no longer supported, upgrade to 5 (see the changelog for more information)
  • To mirror a change in Firebase 5.x, downloadURL was removed from AngularFireUploadTask

Known issues

  • Some users may experience failures compiling AOT while using AngularFireModule.initializeApp(...), a work-around is available (see #1635)

5.0.0-rc.7

04 May 21:26
Compare
Choose a tag to compare

Bug Fixes

  • afs: workarounds for bugs in the Firebase JS SDK #605 and #608 (#1540) (14e78ec)
  • app: add automaticDataCollectionEnabled for compatability with Firebase JS SDK v4.13+ (#1572) (f2cf159)

Features

  • firestore: allow collection and doc from ref (#1487) (136f1e5), closes #1337
  • runOutsideAngular for Universal / service worker compatability and allow advanced configuration with DI (#1454) (e343f13)

5.0.0-rc.6

26 Jan 14:59
e27b91f
Compare
Choose a tag to compare

Bug Fixes

  • Migrate imports to new Typings from 4.8.1 to resolve #1385 (7ec51b2)
  • Removing errant old import. Updating build with latest namespace. Fixing import for main @firebase/app. This resolves failing tests. (a13bf9b)
  • afs: fix di warning (#1401) (23ab383)
  • afs/typings: valueChanges should return Observable<T|null> (#1321) (aadc71a)

Features

  • storage: Add Cloud Storage support (e2283b1)