pulyaevskiy / firebase-functions-interop

Firebase Functions Interop Library for Dart.
BSD 3-Clause "New" or "Revised" License
191 stars 52 forks source link

Upgrade to Functions SDK 1.0.1 #22

Closed pulyaevskiy closed 6 years ago

pulyaevskiy commented 6 years ago

Breaking changes

## 1.0.0-dev.4.0

- Breaking: Upgraded to Functions SDK 1.0.1 and Admin SDK 5.12.0
  Official migration guide is located here: https://firebase.google.com/docs/functions/beta-v1-diff
  Changes in this library are identical and slightly adapted to Dart
  semantics:
  * `admin.config().firebase` field has been removed
  * Background functions (that is everything except HTTPS) now
    expect two arguments `data` and `context` instead of single `event`
    argument. For details see migration guide or updated examples in
    `example/` folder.

See official migration guide for more details: https://firebase.google.com/docs/functions/beta-v1-diff

To upgrade make sure to adjust your package.json to following constraints:

{
  "dependencies": {
    "firebase-admin": "5.12.0",
    "firebase-functions": "1.0.1",
    "@google-cloud/firestore": "0.13.1"
  }
}

Fixes #21 .

kevmoo commented 6 years ago

Please!

pulyaevskiy commented 6 years ago

Sorry for the delay here. Will try to get this on Pub tonight.

pulyaevskiy commented 6 years ago

Released as https://pub.dartlang.org/packages/firebase_functions_interop/versions/1.0.0-dev.4.0

Cretezy commented 6 years ago

:+1: