Releases: firebase/firebase-functions
Releases · firebase/firebase-functions
v0.7.3
- 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
- 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
- Updated firebase-admin peer dependency to v5.4.2. This version has important updates for Firestore.
v0.7.0
- 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
- Fixed bug where developers' unit tests for Database functions would fail if they defined
event.params
but notevent.resource
, and tried to accessevent.params
within the function.
v0.6.2
- 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
- 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
- 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
- Add ability to listen to granular create/update/delete database events by using onCreate, onUpdate, and onDelete functions.
v0.5.8
- Changed format of event.data for Datastore provider to be more user-friendly.