Skip to content

Releases: IjzerenHein/firestorter

v4.0.1

19 Dec 11:34
Compare
Choose a tag to compare

Fixed

  • Fixed Collection.isLoading and Collection.isLoaded not reacting to data updates when accessed #180 (thanks @ghatchue).

Support Firebase JS SDK v9 🚀 🎉

17 Mar 13:32
Compare
Choose a tag to compare

Added

  • Adds support for the new Firebase v9 API.
  • Added makeWebContext for initializing a context with the new code-splitted Firebase API (v9+).
  • Added makeCompatContext for initializing using the compat API or react-native-firebase.

Removed

  • Removed flow-typings.
  • Removed makeFirestorterContext (replaced by makeCompatContext and makeWebContext).

v3.1.0

05 Mar 09:13
Compare
Choose a tag to compare

Added

  • Export all TypeScript types and interfaces.

MobX 6 support! 🤘🤘🤘🤘🤘🤘

23 Dec 10:46
7dcd9b2
Compare
Choose a tag to compare

Added

  • Add support for MobX 6! 🤘🤘🤘🤘🤘🤘
  • Add FirestorterConfig type definition.

Removed

  • MobX 5 and 4 are no longer supported. Use firestorter@2 instead.
  • Removed the deprecated makeContext function. Use makeFirestorterContext instead.

MobX 6 support! 🤘🤘🤘🤘🤘🤘

23 Dec 09:43
c8b26bb
Compare
Choose a tag to compare

Added

  • Add support for MobX 6! 🤘🤘🤘🤘🤘🤘

Removed

  • MobX 5 and 4 are no longer supported. Use firestorter@2 instead.

v2.0.1

02 Dec 14:49
Compare
Choose a tag to compare

Added

  • Added new isLoaded property for checking whether data/docs have been loaded initially

v2.0.0

07 Nov 17:43
Compare
Choose a tag to compare

Added

  • Added new AggregateCollection class
  • Added new GeoQuery class for performing geographical queries
  • Added geographical helper functions
  • Added flow-typings
  • Added whole new Documentation website 🤘

Changed

  • makeContext has been renamed to makeFirestorterContext

Removed

  • Removed the deprecated DocumentClass constructor option for Collection

v1.2.3

16 Oct 15:19
Compare
Choose a tag to compare

Fixed

  • Fixed mergeUpdateData throwing an exception when FieldValue.delete() is used with react-native-firebase

Changed

  • Improved Collection.hasDocs to be more efficient and work nicely with computedRequiresReaction (it's no longer computed)

v1.2.2

19 Mar 10:20
Compare
Choose a tag to compare
  • Added Document.hasDocs which only reacts when the collection becomes empty/non-empty, but not when the document-count changes (thanks @damonmaria)
  • Added debug logging for Collection.fetch

v1.2.1

17 Feb 14:42
Compare
Choose a tag to compare

Fixed

  • Fixed return type definition for Document.fetch to be Promise<Document<T>> (thanks @damonmaria)