- [fixed] Fixed issue that caused the SDK to crash when trying to stream a function that does not exist.
- [feature] Streaming callable functions are now supported.
- [fixed] Fixed an issue that prevented the App Check token from being handled correctly in case of error.
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [fixed] Resolve Kotlin migration visibility issues (#6522)
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [changed] Migrated to Kotlin
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [changed] Bump internal dependencies
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [changed] Added Kotlin extensions (KTX) APIs from
com.google.firebase:firebase-functions-ktx
tocom.google.firebase:firebase-functions
under thecom.google.firebase.functions
package. For details, see the FAQ about this initiative - [deprecated] All the APIs from
com.google.firebase:firebase-functions-ktx
have been added tocom.google.firebase:firebase-functions
under thecom.google.firebase.functions
package, and all the Kotlin extensions (KTX) APIs incom.google.firebase:firebase-functions-ktx
are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [changed] Added support for App Check limited-use tokens in HTTPS Callable Functions.
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [changed] Internal changes to ensure alignment with other SDK releases.
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [changed] Moved Task continuations off the main thread.
- [changed] Internal infrastructure improvements.
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [changed] Updated dependency of
firebase-iid
to its latest version (v21.1.0).
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [unchanged] Updated to accommodate the release of the updated [functions_client] Kotlin extensions library.
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has the following
additional updates:
- [feature] Firebase now supports Kotlin coroutines.
With this release, we added
kotlinx-coroutines-play-services
{: .external} tofirebase-functions-ktx
as a transitive dependency, which exposes theTask<T>.await()
suspend function to convert aTask
into a Kotlin coroutine.
- [changed] Updated dependency of
play-services-basement
to its latest version (v18.1.0).
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [feature] Added a new method
getHttpsCallableFromUrl(java.net.URL)
to create callables with URLs.
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [changed] Updated dependencies of
play-services-basement
,play-services-base
, andplay-services-tasks
to their latest versions (v18.0.0, v18.0.1, and v18.0.1, respectively). For more information, see the note at the top of this release entry.
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [fixed] Fixed an issue that prevented functions from proceeding after [app_check] failures.
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [feature] Added abuse reduction features.
- [changed] Internal changes to support dynamic feature modules.
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [feature] Added support for custom domains,
FirebaseFunctions#getInstance()
.
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [feature] Added support for connecting to the Firebase Emulator Suite via
a new method,
FirebaseFunctions#UseEmulator()
. - [deprecated] Deprecated the
useFunctionsEmulator(String)
method.
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [changed] Internal changes to ensure functionality alignment with other SDK releases.
The Kotlin extensions library transitively includes the updated
firebase-functions
library. The Kotlin extensions library has no additional
updates.
- [unchanged] Updated to accommodate the release of the [functions_client] Kotlin extensions library.
- [feature] The beta release of a [functions_client] Android library with
Kotlin extensions is now available. The Kotlin extensions library transitively
includes the base
firebase-functions
library. To learn more, visit the [cloud_functions] KTX documentation.
- [changed] Versioned to add nullability annotations to improve the Kotlin developer experience. No other changes.
- [feature] Added
getTimeout
method to get the timeout for a callable. For more details, refer to GitHub PR #574.
- [changed] Updated minSdkVersion to API level 16.
- [changed] Changed the default timeout for callable functions to 70 seconds (#2329).
- [feature] Added
setTimeout
andwithTimeout
methods to change the timeout for a callable (#2329).
- [feature]
FirebaseFunctions.getInstance()
now allows passing in an optional region to override the default "us-central1". - [feature] New
useFunctionsEmulator
method allows testing against a local instance of the Cloud Functions Emulator.