Releases: firebase/firebase-functions
Releases · firebase/firebase-functions
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.
v0.5.7
- Add support for locally emulating functions.config().firebase via Firebase CLI.
v0.5.6
- Update firebase-admin peer dependency to v4.2.1. Developer needs to run “npm install --save firebase-admin” inside the functions directory.
- event.data.val() no longer returns array of nulls when the database node has a “length” key.
- Fixed bug where event.data.forEach(snapshot => {}) caused snapshot.key to be a concatenation of the parent and child keys.
- Fixed bug where nested storage objects had literal slashes in mediaLink property, instead of URL-escaped slashes.
v0.5.5
- Fixes bug where database connections were being closed more frequently than necessary causing DNS quota issues.
v0.5.4
- Removes temporary “shim” for analytics event timestamps.
- Fixes return type for DeltaSnapshot#getPriority() for database functions
v0.5.3
- For Auth functions,
event.data.uid
will now be a simple UID string instead of a URL (e.g.12345
instead ofhttp://github.com/12345
). - For Database functions, fixed
event.data.forEach()
to returntrue
if enumeration was canceled due to supplied callback returningtrue
. - For Storage functions, added missing Typescript typing for
event.data.resourceState.
v0.5.2
- Updated public README.
v0.5.1
- Beta release of the Firebase SDK for Cloud Functions.