cloud_functions 3.3.1 cloud_functions: ^3.3.1 copied to clipboard
A Flutter plugin allowing you to use Firebase Cloud Functions.
3.2.17 #
- REFACTOR: use
firebase.google.com
link forhomepage
inpubspec.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.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.8 #
- Update a dependency to the latest release.
3.2.6 #
- Update a dependency to the latest release.
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. UseFirebaseFunctions
instead. - DEPRECATED: Calling
CloudFunctions.instance
orCloudFunctions(app: app, region: region)
is now deprecated. UseFirebaseFunctions.instance
orFirebaseFunctions.instanceFor(app: app, region: region)
instead. - DEPRECATED: Calling
getHttpsCallable(functionName: functionName)
is deprecated in favor ofhttpsCallable(functionName)
- DEPRECATED:
CloudFunctionsException
is deprecated in favor ofFirebaseFunctionsException
. - NEW:
FirebaseFunctionsException
now exposes adetails
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 ofHttpsCallableOptions
(see below).
- DEPRECATED: Class
-
HttpsCallable
:- DEPRECATED: Setting
timeout
is deprecated in favor of usingHttpsCallableOptions
(see below).
- DEPRECATED: Setting
-
HttpsCallableResult
:- BREAKING:
data
is now read-only, only its getter is exposed. - FIX:
HttpsCallableResult
'sdata
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.
- BREAKING:
-
HttpsCallableOptions
:- NEW: This new class has been created to support setting options for
httpsCallable
instances.
- NEW: This new class has been created to support setting options for
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 fromgetHttpsCallable
.
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
withgetHttpsCallable
. - 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.