Releases: firebase/firebase-functions
Releases · firebase/firebase-functions
v0.9.1
- Fixed bug where HTTPS callable function will reject all requests with an auth token if the function has not called firebase.initializeApp.
- Corrected type signature for firestore.DeltaDocumentSnapshot.
v0.9.0
- 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
- 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
- Updated firebase-admin peer dependency to v5.8.1
v0.8.0
firebase-admin
peer dependency is now v5.6.0. Must updatefirebase-admin
version inside of your functions directory'spackage.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
- Reverts change which causes the error "Cannot decode type from Firestore Value" if firebase-admin peer dependency not met.
v0.7.4
- For Firestore events where no previous data exists,
event.data.previous
is no longernull
, 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 offunctions.config().firebase
.
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.