cloud_functions 5.0.0 copy "cloud_functions: ^5.0.0" to clipboard
cloud_functions: ^5.0.0 copied to clipboard

A Flutter plugin allowing you to use Firebase Cloud Functions.

5.0.0 #

Note: This release has breaking changes.

  • BREAKING REFACTOR: android plugins require minSdk 21, auth requires minSdk 23 ahead of android BOM >=33.0.0 (#12873). (52accfc6)
  • BREAKING REFACTOR: bump all iOS deployment targets to iOS 13 ahead of Firebase iOS SDK v11 breaking change (#12872). (de0cea2c)

4.7.6 #

  • Update a dependency to the latest release.

4.7.5 #

  • Update a dependency to the latest release.

4.7.4 #

  • Update a dependency to the latest release.

4.7.3 #

  • Update a dependency to the latest release.

4.7.2 #

  • Update a dependency to the latest release.

4.7.1 #

  • Update a dependency to the latest release.

4.7.0 #

  • FEAT(android): Bump compileSdk version of Android plugins to latest stable (34) (#12566). (e891fab2)

4.6.10 #

  • Update a dependency to the latest release.

4.6.9 #

  • Update a dependency to the latest release.

4.6.8 #

  • Update a dependency to the latest release.

4.6.7 #

  • Update a dependency to the latest release.

4.6.6 #

  • Update a dependency to the latest release.

4.6.5 #

  • Update a dependency to the latest release.

4.6.4 #

  • Update a dependency to the latest release.

4.6.3 #

  • Update a dependency to the latest release.

4.6.2 #

  • Update a dependency to the latest release.

4.6.1 #

  • DOCS: change old documentation links of packages in README files (#12136). (24b9ac7e)

4.6.0 #

  • FEAT: allow users to disable automatic host mapping (#11962). (13c1ce33)

4.5.8 #

  • Update a dependency to the latest release.

4.5.7 #

  • Update a dependency to the latest release.

4.5.6 #

  • Update a dependency to the latest release.

4.5.5 #

  • Update a dependency to the latest release.

4.5.4 #

  • Update a dependency to the latest release.

4.5.3 #

  • Update a dependency to the latest release.

4.5.2 #

  • Update a dependency to the latest release.

4.5.1 #

  • Update a dependency to the latest release.

4.5.0 #

4.4.2 #

  • Update a dependency to the latest release.

4.4.1 #

  • Update a dependency to the latest release.

4.4.0 #

  • FEAT(functions): pass limitedUseAppCheckToken option to Cloud Function (#11402). (9fce7f28)

4.3.4 #

  • Update a dependency to the latest release.

4.3.3 #

  • Update a dependency to the latest release.

4.3.2 #

  • Update a dependency to the latest release.

4.3.1 #

  • Update a dependency to the latest release.

4.3.0 #

  • FEAT: update dependency constraints to sdk: '>=2.18.0 <4.0.0' flutter: '>=3.3.0' (#10946). (2772d10f)

4.2.0 #

4.1.1 #

  • Update a dependency to the latest release.

4.1.0 #

  • FEAT(functions): add support for 2nd gen functions (#10545). (204ba39e)
  • FEAT: bump dart sdk constraint to 2.18 (#10618). (f80948a2)
  • DOCS(functions): fix an error in the documentation of Cloud Functions (#10642). (74ee8d47)

4.0.13 #

  • Update a dependency to the latest release.

4.0.12 #

  • Update a dependency to the latest release.

4.0.11 #

  • Update a dependency to the latest release.

4.0.10 #

  • Update a dependency to the latest release.

4.0.9 #

  • Update a dependency to the latest release.

4.0.8 #

  • REFACTOR: upgrade project to remove warnings from Flutter 3.7 (#10344). (e0087c84)

4.0.7 #

  • Update a dependency to the latest release.

4.0.6 #

4.0.5 #

  • Update a dependency to the latest release.

4.0.4 #

  • Update a dependency to the latest release.

4.0.3 #

  • REFACTOR: add verify to QueryPlatform and change internal verifyToken API to verify (#9711). (c99a842f)

4.0.2 #

  • Update a dependency to the latest release.

4.0.1 #

  • Update a dependency to the latest release.

4.0.0 #

Note: This release has breaking changes.

  • BREAKING FEAT: Firebase iOS SDK version: 10.0.0 (#9708). (9627c56a)

3.3.9 #

  • Update a dependency to the latest release.

3.3.8 #

  • Update a dependency to the latest release.

3.3.7 #

  • Update a dependency to the latest release.

3.3.6 #

  • Update a dependency to the latest release.

3.3.5 #

  • Update a dependency to the latest release.

3.3.4 #

  • Update a dependency to the latest release.

3.3.3 #

  • Update a dependency to the latest release.

3.3.2 #

  • Update a dependency to the latest release.

3.3.1 #

  • FIX: bump firebase_core_platform_interface version to fix previous release. (bea70ea5)

3.3.0 #

  • FEAT: Bump Firebase iOS SDK to 9.2.0 (#8594). (79610162)

3.2.17 #

  • REFACTOR: use firebase.google.com link for homepage in pubspec.yaml (#8725). (520f59d4)
  • REFACTOR: use "firebase" instead of "FirebaseExtended" as organisation in all links for this repository (#8791). (d90b8357)
  • DOCS: point to "firebase.google" domain for hyperlinks in the usage section of README.md files (for the missing packages) (#8818). (5bda8c92)

3.2.16 #

  • DOCS: use camel case style for "FlutterFire" in README.md (#8746). (53813627)

3.2.15 #

  • Update a dependency to the latest release.

3.2.14 #

  • Update a dependency to the latest release.

3.2.13 #

  • Update a dependency to the latest release.

3.2.12 #

  • Update a dependency to the latest release.

3.2.11 #

  • Update a dependency to the latest release.

3.2.10 #

  • FIX: Allow raw data arguments to be passed as data to Cloud Function for Android & iOS. (#7994). (8288b811)

3.2.9 #

  • FIX: update all Dart SDK version constraints to Dart >= 2.16.0 (#8184). (df4a5bab)

3.2.8 #

  • Update a dependency to the latest release.

3.2.7 #

  • REFACTOR: remove deprecated Android API usages (#7986). (232e5f89)

3.2.6 #

  • Update a dependency to the latest release.

3.2.5 #

  • FIX: bump Android compileSdkVersion to 31 (#7726). (a9562bac)

3.2.4 #

  • REFACTOR: fix all unnecessary_import analyzer issues introduced with Flutter 2.8. (7f0e82c9)

3.2.3 #

  • Update a dependency to the latest release.

3.2.2 #

  • Update a dependency to the latest release.

3.2.1 #

  • Update a dependency to the latest release.

3.2.0 #

  • REFACTOR: migrate remaining examples & e2e tests to null-safety (#7393).
  • FEAT: automatically inject Firebase JS SDKs (#7359).

3.1.1 #

  • Update a dependency to the latest release.

3.1.0 #

  • FEAT: support initializing default FirebaseApp instances from Dart (#6549).

3.0.6 #

  • Update a dependency to the latest release.

3.0.5 #

  • REFACTOR: remove deprecated Flutter Android v1 Embedding usages, including in example app (#7158).

3.0.4 #

  • Update a dependency to the latest release.

3.0.3 #

  • FIX: android V2 embedding (#6982).

3.0.2 #

  • Update a dependency to the latest release.

3.0.1 #

  • Update a dependency to the latest release.

3.0.0 #

Note: This release has breaking changes.

  • CHORE: rm deprecated jcenter repository (#6431).
  • BREAKING FEAT: use
  • BREAKING FEAT: use

2.0.0 #

Note: This release has breaking changes.

  • CHORE: rm deprecated jcenter repository (#6431).
  • BREAKING FEAT: useFunctionsEmulator(host, port) API update.

1.1.2 #

  • Update a dependency to the latest release.

1.1.1 #

  • DOCS: Add Flutter Favorite badge (#6190).

1.1.0 #

  • FEAT: upgrade Firebase JS SDK version to 8.6.1.
  • FIX: podspec osx version checking script should use a version range instead of a single fixed version.

1.0.7 #

  • Update a dependency to the latest release.

1.0.6 #

  • FIX: possible null pointer exception when comparing error codes (#6008).

1.0.5 #

  • Update a dependency to the latest release.

1.0.4 #

  • FIX: return correct type on native (#5709).
  • CHORE: update Web plugins to use Firebase JS SDK version 8.4.1 (#4464).
  • CHORE: update drive dependency (#5740).

1.0.3 #

  • Update a dependency to the latest release.

1.0.2 #

  • FIX: use kIsWeb to check platform is Web (#5369).
  • CHORE: bump min Dart SDK constraint to 2.12.0 (#5430).
  • CHORE: publish packages (#5429).
  • CHORE: merge all analysis_options.yaml into one (#5329).
  • CHORE: publish packages.

1.0.1 #

  • FIX: use kIsWeb to check platform is Web (#5369).

1.0.0 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

1.0.0-1.0.nullsafety.1 #

  • Update platform interface and web dependencies.

1.0.0-1.0.nullsafety.0 #

  • Bump "cloud_functions" to 1.0.0-1.0.nullsafety.0.

0.9.1-1.0.nullsafety.2 #

  • Update a dependency to the latest release.

0.9.1-1.0.nullsafety.1 #

  • REFACTOR: pubspec & dependency updates (#4932).

0.9.1-1.0.nullsafety.0 #

  • FIX: bump firebase_core_* package versions to updated NNBD versioning format (#4832).

0.9.1-nullsafety.1 #

  • FIX: bump firebase_core dependencies to resolve versioning issue when releasing.

0.9.1-nullsafety.0 #

  • REFACTOR: migrate to NNBD.

0.9.0 #

Note: This release has breaking changes.

  • FEAT: add check on podspec to assist upgrading users deployment target.
  • BUILD: commit Podfiles with 10.12 deployment target.
  • BUILD: remove default sdk version, version should always come from firebase_core, or be user defined.
  • BUILD: set macOS deployment target to 10.12 (from 10.11).
  • BREAKING BUILD: set osx min supported platform version to 10.12.

0.8.0 #

Note: This release has breaking changes.

  • BREAKING REFACTOR: remove all currently deprecated APIs.
  • BREAKING FEAT: forward port to firebase-ios-sdk v7.3.0.
    • Due to this SDK upgrade, iOS 10 is now the minimum supported version by FlutterFire. Please update your build target version.
  • CHORE: harmonize dependencies and version handling.

0.7.2 #

  • FEAT: bump android com.android.tools.build & 'com.google.gms:google-services versions (#4269).

0.7.1 #

  • TEST: Explicitly opt-out from null safety.
  • FEAT: migrate interop files (#4191).
  • CHORE: bump gradle wrapper to 5.6.4 (#4158).

0.7.0+1 #

  • Update a dependency to the latest release.

0.7.0 #

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

0.7.0-dev.3 #

  • FEAT: bump compileSdkVersion to 29 (#3975).
  • FEAT: update Firebase iOS SDK version to 6.33.0 (from 6.26.0).

0.7.0-dev.2 #

  • DOCS: update package readme.
  • DOCS: update pubspec description to meet minumum length requirement.

0.7.0-dev.1 #

Along with the below changes, the plugin has been reworked to bring it inline with the federated plugin setup along with documentation and additional unit and end-to-end tests. The API has mainly been kept the same, however there are some breaking changes.

  • FirebaseFunctions:

    • DEPRECATED: Class CloudFunctions is now deprecated. Use FirebaseFunctions instead.
    • DEPRECATED: Calling CloudFunctions.instance or CloudFunctions(app: app, region: region) is now deprecated. Use FirebaseFunctions.instance or FirebaseFunctions.instanceFor(app: app, region: region) instead.
    • DEPRECATED: Calling getHttpsCallable(functionName: functionName) is deprecated in favor of httpsCallable(functionName)
    • DEPRECATED: CloudFunctionsException is deprecated in favor of FirebaseFunctionsException.
    • NEW: FirebaseFunctionsException now exposes a details property to retrieve any additional data provided with the exception returned by a HTTPS callable function.
    • NEW: Internally, instances of FirebaseFunctions are now cached and lazily loaded.
    • NEW: httpsCallable accepts an instance of HttpsCallableOptions (see below).
  • HttpsCallable:

    • DEPRECATED: Setting timeout is deprecated in favor of using HttpsCallableOptions (see below).
  • HttpsCallableResult:

    • BREAKING: data is now read-only, only its getter is exposed.
    • FIX: HttpsCallableResult's data property can now return a Map, List or a primitive value. Previously the Web implementation incorrectly assumed that a Map was always returned by the HTTPS callable function.
  • HttpsCallableOptions:

    • NEW: This new class has been created to support setting options for httpsCallable instances.

0.6.0+1 #

  • FIX: local dependencies in example apps (#3319).

0.6.0 #

  • Fix HttpsCallable#call not working with parameters of non-Map type.
  • Firebase iOS SDK versions are now locked to use the same version defined in firebase_core.
  • Firebase Android SDK versions are now using the Firebase Bill of Materials (BoM) to specify individual SDK versions. BoM version is also sourced from firebase_core.
  • Allow iOS & MacOS plugins to be imported as modules.
  • Update to depend on firebase_core plugin.

0.5.0 #

  • Fix example app build failure on CI (missing AndroidX Gradle properties).
  • Change environment SDK requirement from >=2.0.0-dev.28.0 to >=2.0.0 to fix 'publishable' CI stage.

0.4.2+3 #

  • Fix for missing UserAgent.h compilation failures.

0.4.2+2 #

  • Fix method channel on darwin

0.4.2+1 #

  • Make the pedantic dev_dependency explicit.

0.4.2 #

  • Add macOS support

0.4.1+9 #

  • Depends on cloud_functions_web so that projects importing this plugin will get web support.
  • Added web implementation to the example application.

0.4.1+8 #

  • Fixes the No implementation found for method CloudFunctions#call

0.4.1+7 #

  • Update to use the platform interface to execute calls.
  • Fix timeout for Android (which had been ignoring explicit timeouts due to unit mismatch).
  • Update repository location based on platform interface refactoring.

0.4.1+6 #

  • Fix analysis failures

0.4.1+5 #

  • Remove the deprecated author: field from pubspec.yaml
  • Migrate the plugin to the pubspec platforms manifest.
  • Bump the minimum Flutter version to 1.10.0.

0.4.1+4 #

  • Updated README instructions for contributing for consistency with other Flutterfire plugins.

0.4.1+3 #

  • Remove AndroidX warning.

0.4.1+2 #

  • Update Android package name.

0.4.1+1 #

  • Update documentation to reflect new repository location.
  • Update unit tests to call TestWidgetsFlutterBinding.ensureInitialized.

0.4.1 #

  • Support for cloud functions emulators.

0.4.0+3 #

  • Update google-services Android gradle plugin to 4.3.0 in documentation and examples.

0.4.0+2 #

  • Automatically use version from pubspec.yaml when reporting usage to Firebase.

0.4.0+1 #

  • Remove reference to unused header file.

0.4.0 #

  • Removed unused parameters param from getHttpsCallable.

0.3.0+1 #

  • Update iOS dependencies to latest.

0.3.0 #

  • Update Android dependencies to latest.

0.2.0+1 #

  • Removed flaky timeout test.

0.2.0 #

  • Breaking change. Updated Dart API to replace call with getHttpsCallable.
  • Added support for timeouts.
  • Additional integration testing.

0.1.2+1 #

  • Added a driver test.

0.1.2 #

  • Specifying a version for Cloud Functions CocoaPod dependency to prevent build errors on iOS.
  • Fix on iOS when using a null region.
  • Upgrade the firebase_core dependency of the example app.

0.1.1+1 #

  • Log messages about automatic configuration of the default app are now less confusing.

0.1.1 #

  • Support for regions and multiple apps

0.1.0+1 #

  • Log a more detailed warning at build time about the previous AndroidX migration.

0.1.0 #

  • Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.

0.0.5 #

  • Set iOS deployment target to 8.0 (minimum supported by both Firebase SDKs and Flutter), fixes compilation errors.
  • Fixes null pointer error when callable function fails with exception (iOS).

0.0.4+1 #

  • Bump Android dependencies to latest.

0.0.4 #

  • Fixed podspec to use static_framework

0.0.3 #

  • Added missing dependency on meta package.

0.0.2 #

  • Bump Android and Firebase dependency versions.

0.0.1 #

  • The Cloud Functions for Firebase client SDKs let you call functions directly from a Firebase app. This plugin exposes this ability to Flutter apps.

    Callable functions are similar to other HTTP functions, with these additional features:

    • With callables, Firebase Authentication and FCM tokens are automatically included in requests.
    • The functions.https.onCall trigger automatically deserializes the request body and validates auth tokens.