Skip to content

Releases: firebase/firebase-functions

v0.9.0

20 Mar 16:36

Choose a tag to compare

  • Adds HTTPS Callable Functions, a kind of HTTPS trigger that can be called from a Firebase client SDK. Visit https://firebase.google.com/docs/functions/callable to learn more.

v0.8.2

13 Mar 21:07

Choose a tag to compare

  • Updated firebase-admin peer dependency to v5.10.0.
  • Fix bug where if there's a leading slash in the path provided to a database function, it turns into 2 slashes.
  • Warn when GCLOUD_PROJECT environment variable was not set in a unit test.

v0.8.1

17 Jan 22:22

Choose a tag to compare

  • Updated firebase-admin peer dependency to v5.8.1

v0.8.0

03 Jan 22:19

Choose a tag to compare

  • firebase-admin peer dependency is now v5.6.0. Must update firebase-admin version inside of your functions directory's package.json and re-install locally.
  • For Firestore events where no previous data exists, event.data.previous is no longer null, it is always a Firebase DocumentSnapshot. event.data.previous.exists will be false if there is no previous data. (This change was previously released in v0.7.4, and reverted in v0.7.5.)

v0.7.5

20 Dec 01:12

Choose a tag to compare

  • Reverts change which causes the error "Cannot decode type from Firestore Value" if firebase-admin peer dependency not met.

v0.7.4

18 Dec 19:21

Choose a tag to compare

  • For Firestore events where no previous data exists, event.data.previous is no longer null, it is always a Firebase DocumentSnapshot. event.data.previous.exists will be false if there is no previous data.
  • Fixed regression where DeltaSnapshot constructor parameter ordering was changed.
  • The typing of functions.config() now guarantees the existence of functions.config().firebase.

v0.7.3

10 Nov 18:50

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

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

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

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.