Releases: firebase/firebase-functions
Releases · firebase/firebase-functions
v2.2.1
- Adds functions.app() api to access the app instance used by functions
- improved types of the
Change
class to describe bothbefore
andafter
fields as non-optional - Improve type of express.Request to include rawBody
v2.2.0
- support for multiple regions on functions by passing extra region strings to functions.region()
- validation and typing improvements
v2.1.0
- Added support for Remote Config triggered functions with
functions.remoteConfig
. Visit https://firebase.google.com/docs/functions/rc-events to learn more
v2.0.5
- Fixed syntax error in integration test.
v2.0.4
- Fix bug in >v2.0.1 where
context.authType
is alwaysUNAUTHENTICATED
from a realtime database-triggered function.
v2.0.3
- Updated firebase-admin peer dependency to v6.0.0.
v2.0.2
- Fixed issue in Firestore-triggered functions where timestamp values in Change objects for onUpdate and onWrite functions are Date objects instead of Timestamp objects.
v2.0.1
- Fix error where Node 6 functions experienced timeout errors.
v2.0.0
- [breaking change] For Firestore-triggered functions,
snapshot.createTime
,snapshot.updateTime
,snapshot.readTime
, and any timestamp values insnapshot.data()
are now [Firestore Timestamp](https://cloud.google.com/nodejs/docs/reference/firestore/0.15.x/Timestamp#properties) objects. - Support Node.js 8 runtime. To deploy your functions to Node.js 8, add
"engines": {"node": "8"}
tofunctions/package.json
. You will needfirebase-tools
>=v4.0.0. - Support selection of regions for your functions through the
functions.region
method. Learn more in the [Firebase Documentation](https://firebase.google.com/docs/functions/locations). You will needfirebase-tools
>=v4.0.0. - Support configuration of timeout and memory allocation through the
functions.runWith
method. Learn more in the [Firebase Documentation](https://firebase.google.com/docs/functions/manage-functions#set_timeout_and_memory_allocation). You will needfirebase-tools
>=v4.0.0.
v1.1.0
- Make raw HTTP request available to callable HTTP functions via
context.rawRequest
.