Skip to content

Releases: firebase/firebase-functions

v2.2.1

20 Mar 20:44
Compare
Choose a tag to compare
  • Adds functions.app() api to access the app instance used by functions
  • improved types of the Change class to describe both before and after fields as non-optional
  • Improve type of express.Request to include rawBody

v2.2.0

31 Jan 22:22
Compare
Choose a tag to compare
  • support for multiple regions on functions by passing extra region strings to functions.region()
  • validation and typing improvements

v2.1.0

25 Oct 17:22
Compare
Choose a tag to compare
  • 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

14 Aug 21:07
Compare
Choose a tag to compare
  • Fixed syntax error in integration test.

v2.0.4

09 Aug 23:51
Compare
Choose a tag to compare
  • Fix bug in >v2.0.1 where context.authType is always UNAUTHENTICATED from a realtime database-triggered function.

v2.0.3

09 Aug 20:38
Compare
Choose a tag to compare
  • Updated firebase-admin peer dependency to v6.0.0.

v2.0.2

26 Jul 21:44
Compare
Choose a tag to compare
  • 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

25 Jul 22:49
Compare
Choose a tag to compare
  • Fix error where Node 6 functions experienced timeout errors.

v2.0.0

24 Jul 16:08
Compare
Choose a tag to compare
  • [breaking change] For Firestore-triggered functions, snapshot.createTime, snapshot.updateTime, snapshot.readTime, and any timestamp values in snapshot.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"} to functions/package.json. You will need firebase-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 need firebase-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 need firebase-tools >=v4.0.0.

v1.1.0

20 Jun 18:52
Compare
Choose a tag to compare
  • Make raw HTTP request available to callable HTTP functions via context.rawRequest.