Skip to content

Releases: firebase/firebase-functions

v2.0.0

24 Jul 16:08

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

Choose a tag to compare

  • Make raw HTTP request available to callable HTTP functions via context.rawRequest.

v1.0.4

05 Jun 02:06

Choose a tag to compare

  • Fixed integration test.

v1.0.3

21 May 20:51

Choose a tag to compare

  • Fixed TypeScript type for context in event handlers to be always defined.
  • Updated firebase-admin peer-dependency to v5.12.1.

v1.0.2

24 Apr 21:27

Choose a tag to compare

  • Fixed bug where developers writing functions in TypeScript had to disable noImplicitAny in their tsconfig.json in order to avoid compiler errors.

v1.0.1

06 Apr 18:31

Choose a tag to compare

  • Update firebase-admin peer dependency to v5.12.0

v1.0.0

03 Apr 15:45

Choose a tag to compare

  • v1 release of firebase-functions contains several breaking changes. Please see migration guide at https://firebase.google.com/docs/functions/beta-v1-diff.

v0.9.1

22 Mar 00:17

Choose a tag to compare

  • 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

20 Mar 16:36

Choose a tag to compare

  • 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

13 Mar 21:07

Choose a tag to compare

  • 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.