Releases: firebase/firebase-functions
Releases · firebase/firebase-functions
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.
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