firebase deploy
will now ask for confirmation before Cloud Functions deletion. Running the command with--non-interactive
will fail if there are functions detected for deletion.- Support Node.js 8 runtime for functions. To deploy your functions to Node.js 8, add
"engines": {"node": "8"}
tofunctions/package.json
. You will needfirebase-functions
SDK v2.0.0 or up. - Support selection of regions for functions via the firebase-functions SDK (>= v2.0.0). Learn more in the [Firebase Documentation](https://firebase.google.com/docs/functions/locations)
- Support configuration of function timeout and memory allocation via the firebase-functions SDK (>= v2.0.0). Learn more in the [Firebase Documentation](https://firebase.google.com/docs/functions/manage-functions#set_timeout_and_memory_allocation)
- Add
firebase functions:delete
command for explicit deletion of functions. - Fix bug where running
firebase init
over-wrote existing Firestore rules and indexes that were either specified through a local file or specfied in the Firebase Console.