Skip to content

Releases: firebase/firebase-functions

v0.7.3

10 Nov 18:50
Compare
Choose a tag to compare
  • Added support for specifying which of the project's database instances should trigger a function. If not specified, function will be triggered by the default database. E.g. exports.myFunction = functions.database.instance('my-app-db-2').ref('/foo/bar').onCreate(handler)

v0.7.2

31 Oct 08:18
Compare
Choose a tag to compare
  • Added support for Crashlytics-triggered functions. To get access to Crashlytics Beta, go to http://g.co/firebase/opt-in.
  • Fixed bug where date values in Firestore became "Invalid date" if milliseconds were not specified.

v0.7.1

10 Oct 21:44
Compare
Choose a tag to compare
  • Updated firebase-admin peer dependency to v5.4.2. This version has important updates for Firestore.

v0.7.0

03 Oct 16:54
Compare
Choose a tag to compare
  • Added support for Firestore trigger type, with onWrite, onCreate, onUpdate, and onDelete events. e.g. exports.myFunction = functions.firestore.document('profiles/{user}').onCreate(handler)
  • Fixed bug where a function that returned “undefined” no longer issued a warning in the logs.

v0.6.3

30 Aug 00:36
Compare
Choose a tag to compare
  • Fixed bug where developers' unit tests for Database functions would fail if they defined event.params but not event.resource, and tried to access event.params within the function.

v0.6.2

17 Aug 17:03
Compare
Choose a tag to compare
  • Updated firebase-admin peer dependency to v5.2.1, which adds support for the Google Cloud Storage API. See release notes: https://github.com/firebase/firebase-admin-node/releases.
  • Updated integration test script to be fully automated.

v0.6.1

26 Jul 18:46
Compare
Choose a tag to compare
  • Updated firebase-admin peer dependency to v5.1.0, which adds support for phone authentication. See release notes: https://github.com/firebase/firebase-admin-node/releases/tag/v5.1.0.

v0.6.0

19 Jul 17:40
Compare
Choose a tag to compare
  • Updated firebase-admin peer dependency to v5.0.1. For auth functions, event.data.metadata has its fields renamed from ‘createdAt’ to ‘creationTime’ and ‘lastSignedInAt’ to ‘lastSignInTime’, and both are now ISO strings instead of Date objects.

v0.5.9

07 Jul 18:20
Compare
Choose a tag to compare
  • Add ability to listen to granular create/update/delete database events by using onCreate, onUpdate, and onDelete functions.

v0.5.8

29 Jun 18:39
Compare
Choose a tag to compare
  • Changed format of event.data for Datastore provider to be more user-friendly.