- [fixed] Fixed an issue where the wrong SDK version was being reported to the backend.
- [changed] Added Kotlin extensions (KTX) APIs from
com.google.firebase:firebase-perf-ktxtocom.google.firebase:firebase-perfunder thecom.google.firebase.perfpackage. For details, see the FAQ about this initiative - [deprecated] All the APIs from
com.google.firebase:firebase-perf-ktxhave been added tocom.google.firebase:firebase-perfunder thecom.google.firebase.perfpackage, and all the Kotlin extensions (KTX) APIs incom.google.firebase:firebase-perf-ktxare 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-storage library. The Kotlin extensions library has no additional
updates.
- [changed] Migrated
firebase-storageSDK to use standard Firebase executors. (GitHub #4830{: .external})
The Kotlin extensions library transitively includes the updated
firebase-storage 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-storage library. The Kotlin extensions library has no additional
updates.
- [fixed] Fixed an issue that caused an infinite number of retries with no
exponential backoff for
uploadChunk().
The Kotlin extensions library transitively includes the updated
firebase-storage 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-storage-ktxas a transitive dependency, which exposes theTask<T>.await()suspend function to convert aTaskinto a Kotlin coroutine. - [feature] Added
StorageTask.taskStateKotlin Flows to monitor the progress of an upload or downloadTask.
- [changed] Updated dependency of
play-services-basementto its latest version (v18.1.0).
The Kotlin extensions library transitively includes the updated
firebase-storage library. The Kotlin extensions library has no additional
updates.
- [changed] Updated dependencies of
play-services-basement,play-services-base, andplay-services-tasksto 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-storage library. The Kotlin extensions library has no additional
updates.
- [feature] Added abuse reduction features.
- [feature] Added the ability to connect to the [firebase_storage] emulator.
- [changed] Internal changes to support dynamic feature modules.
- [changed] Internal infrastructure improvements.
The Kotlin extensions library transitively includes the updated
firebase-storage library. The Kotlin extensions library has no additional
updates.
- [fixed] Fixed an issue that caused the SDK to report incorrect values for
getTotalByteCount()after a download was paused and resumed.
The Kotlin extensions library transitively includes the updated
firebase-storage library. The Kotlin extensions library has no additional
updates.
- [fixed] Fixed an issue that caused the SDK to crash if the download location was deleted before the download completed. Instead, the download now fails.
The Kotlin extensions library transitively includes the updated
firebase-storage library. The Kotlin extensions library has no additional
updates.
- [changed] Updated to support improvements in the KTX library (see below).
The Kotlin extensions library transitively includes the updated
firebase-storage library and has the following additional updates:
- [feature] Added API support for destructuring of
TaskSnapshotandListResult.
- [changed] Internal changes to ensure functionality alignment with other SDK releases.
The Kotlin extensions library transitively includes the updated
firebase-storage library. The Kotlin extensions library has no additional
updates.
- [feature] Added
getCacheControl(),getContentDisposition(),getContentEncoding(),getContentLanguage(), andgetContentType()toStorageMetadata.Builderto provide access to the current state of the metadata. - [fixed] Fixed an encoding issue in
StorageReference.list()that caused the API to miss entries for prefixes that contained special characters.
- [feature] The beta release of a [firebase_storage_full] Android library
with Kotlin extensions is now available. The Kotlin extensions library
transitively includes the base
firebase-storagelibrary. To learn more, visit the [firebase_storage_full] KTX documentation.
- [fixed]
StorageReference.listAll()now propagates the error messages if the List operation was denied by a Security Rule.
- [changed] Versioned to add nullability annotations to improve the Kotlin developer experience. No other changes.
- [changed] Internal changes to ensure functionality alignment with other SDK releases.
- [feature] Added
StorageReference.list()andStorageReference.listAll(), which allows developers to list the files and folders under the given StorageReference. - [changed] Added validation to
StorageReference.getDownloadUrl()andStorageReference.getMetadata()to return an error if the reference is the root of the bucket.
- [changed] Internal changes that rely on an updated API to obtain
authentication credentials. If you use [firebase_auth], update to
firebase-authv17.0.0 or later to ensure functionality alignment.
- [fixed] This release includes minor fixes and improvements.
- [feature] Added support for
onSuccessTask()andaddOnCanceledListener()toStorageTask,UploadTask,StreamDownloadTask, andFileDownloadTask. - [changed] Removed the deprecated
StorageMetadata.getDownloadUrl()andUploadTask.TaskSnapshot.getDownloadUrl()methods. To get a current download URL, useStorageReference.getDownloadUr().