diff --git a/firebase-crashlytics-ndk/CHANGELOG.md b/firebase-crashlytics-ndk/CHANGELOG.md index b5b8f7868d4..ab8dd8dfdf3 100644 --- a/firebase-crashlytics-ndk/CHANGELOG.md +++ b/firebase-crashlytics-ndk/CHANGELOG.md @@ -1,5 +1,5 @@ # Unreleased - +* [changed] Updated `firebase-crashlytics` dependency to v19.4.1 # 19.3.0 * [changed] Updated `firebase-crashlytics` dependency to v19.3.0 diff --git a/firebase-crashlytics/CHANGELOG.md b/firebase-crashlytics/CHANGELOG.md index 7086b0b0c9d..f0bbb91128b 100644 --- a/firebase-crashlytics/CHANGELOG.md +++ b/firebase-crashlytics/CHANGELOG.md @@ -1,5 +1,5 @@ # Unreleased - +* [changed] Updated `firebase-sessions` dependency to v2.0.9 # 19.4.0 * [feature] Added an overload for `recordException` that allows logging additional custom diff --git a/firebase-vertexai/api.txt b/firebase-vertexai/api.txt index abfbf6572d4..ecf5ab8eefc 100644 --- a/firebase-vertexai/api.txt +++ b/firebase-vertexai/api.txt @@ -428,6 +428,11 @@ package com.google.firebase.vertexai.type { public static final class ImagenGenerationConfig.Builder { ctor public ImagenGenerationConfig.Builder(); method public com.google.firebase.vertexai.type.ImagenGenerationConfig build(); + method public com.google.firebase.vertexai.type.ImagenGenerationConfig.Builder setAddWatermark(boolean addWatermark); + method public com.google.firebase.vertexai.type.ImagenGenerationConfig.Builder setAspectRatio(com.google.firebase.vertexai.type.ImagenAspectRatio aspectRatio); + method public com.google.firebase.vertexai.type.ImagenGenerationConfig.Builder setImageFormat(com.google.firebase.vertexai.type.ImagenImageFormat imageFormat); + method public com.google.firebase.vertexai.type.ImagenGenerationConfig.Builder setNegativePrompt(String negativePrompt); + method public com.google.firebase.vertexai.type.ImagenGenerationConfig.Builder setNumberOfImages(int numberOfImages); field public Boolean? addWatermark; field public com.google.firebase.vertexai.type.ImagenAspectRatio? aspectRatio; field public com.google.firebase.vertexai.type.ImagenImageFormat? imageFormat; @@ -453,6 +458,8 @@ package com.google.firebase.vertexai.type { @com.google.firebase.vertexai.type.PublicPreviewAPI public final class ImagenImageFormat { method public Integer? getCompressionQuality(); method public String getMimeType(); + method public static com.google.firebase.vertexai.type.ImagenImageFormat jpeg(Integer? compressionQuality = null); + method public static com.google.firebase.vertexai.type.ImagenImageFormat png(); property public final Integer? compressionQuality; property public final String mimeType; field public static final com.google.firebase.vertexai.type.ImagenImageFormat.Companion Companion; diff --git a/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/ImagenGenerationConfig.kt b/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/ImagenGenerationConfig.kt index bbf795f4d40..d05840d9cfc 100644 --- a/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/ImagenGenerationConfig.kt +++ b/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/ImagenGenerationConfig.kt @@ -26,6 +26,8 @@ package com.google.firebase.vertexai.type * @param imageFormat The file format/compression of the generated images. * @param addWatermark Adds an invisible watermark to mark the image as AI generated. */ +import kotlin.jvm.JvmField + @PublicPreviewAPI public class ImagenGenerationConfig( public val negativePrompt: String? = null, @@ -39,13 +41,6 @@ public class ImagenGenerationConfig( * * This is mainly intended for Java interop. For Kotlin, use [imagenGenerationConfig] for a more * idiomatic experience. - * - * @property negativePrompt See [ImagenGenerationConfig.negativePrompt]. - * @property numberOfImages See [ImagenGenerationConfig.numberOfImages]. - * @property aspectRatio See [ImagenGenerationConfig.aspectRatio]. - * @property imageFormat See [ImagenGenerationConfig.imageFormat] - * @property addWatermark See [ImagenGenerationConfig.addWatermark] - * @see [imagenGenerationConfig] */ public class Builder { @JvmField public var negativePrompt: String? = null @@ -54,6 +49,31 @@ public class ImagenGenerationConfig( @JvmField public var imageFormat: ImagenImageFormat? = null @JvmField public var addWatermark: Boolean? = null + /** See [ImagenGenerationConfig.negativePrompt]. */ + public fun setNegativePrompt(negativePrompt: String): Builder = apply { + this.negativePrompt = negativePrompt + } + + /** See [ImagenGenerationConfig.numberOfImages]. */ + public fun setNumberOfImages(numberOfImages: Int): Builder = apply { + this.numberOfImages = numberOfImages + } + + /** See [ImagenGenerationConfig.aspectRatio]. */ + public fun setAspectRatio(aspectRatio: ImagenAspectRatio): Builder = apply { + this.aspectRatio = aspectRatio + } + + /** See [ImagenGenerationConfig.imageFormat]. */ + public fun setImageFormat(imageFormat: ImagenImageFormat): Builder = apply { + this.imageFormat = imageFormat + } + + /** See [ImagenGenerationConfig.addWatermark]. */ + public fun setAddWatermark(addWatermark: Boolean): Builder = apply { + this.addWatermark = addWatermark + } + /** * Alternative casing for [ImagenGenerationConfig.Builder]: * ``` diff --git a/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/ImagenImageFormat.kt b/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/ImagenImageFormat.kt index 41c85e98a7a..5a44ddc3964 100644 --- a/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/ImagenImageFormat.kt +++ b/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/ImagenImageFormat.kt @@ -41,11 +41,13 @@ private constructor(public val mimeType: String, public val compressionQuality: * @param compressionQuality an int (1-100) representing the quality of the image; a lower * number means the image is permitted to be lower quality to reduce size. */ + @JvmStatic public fun jpeg(compressionQuality: Int? = null): ImagenImageFormat { return ImagenImageFormat("image/jpeg", compressionQuality) } /** An [ImagenImageFormat] representing a PNG image */ + @JvmStatic public fun png(): ImagenImageFormat { return ImagenImageFormat("image/png", null) } diff --git a/release.json b/release.json new file mode 100644 index 00000000000..ebc134956ed --- /dev/null +++ b/release.json @@ -0,0 +1,12 @@ +{ + "name": "m160", + "libraries": [ + ":firebase-functions", + ":firebase-functions:ktx", + ":firebase-crashlytics", + ":firebase-crashlytics-ndk", + ":firebase-sessions", + ":firebase-crashlytics:ktx", + ":firebase-vertexai" + ] +} \ No newline at end of file diff --git a/release_report.json b/release_report.json new file mode 100644 index 00000000000..e5700b46d4a --- /dev/null +++ b/release_report.json @@ -0,0 +1,197 @@ +{ + "changesByLibraryName": { + "firebase-functions": [ + { + "commitId": "f6b59f69458c288509c64065aa3b5db0a8401d77", + "prId": "6694", + "author": "emilypgoogle", + "message": "Add functions changelog (#6694)\n\nChangelog entry should be picked up for the next release", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/f6b59f69458c288509c64065aa3b5db0a8401d77", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6694" + }, + { + "commitId": "92f448f94f84c769cae00a78397bb0625031f092", + "prId": "6671", + "author": "emilypgoogle", + "message": "Update Metalava and api.txt files (#6671)\n\nThis includes adding vertex ai api.txt which we were lacking until now", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6671" + } + ], + "firebase-functions/ktx": [ + { + "commitId": "92f448f94f84c769cae00a78397bb0625031f092", + "prId": "6671", + "author": "emilypgoogle", + "message": "Update Metalava and api.txt files (#6671)\n\nThis includes adding vertex ai api.txt which we were lacking until now", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6671" + } + ], + "firebase-crashlytics": [ + { + "commitId": "f80ba894db04a3b0c328b192700a97889e5dcfba", + "prId": "6691", + "author": "Matthew Robertson", + "message": "Fix deprecated message in KeyValueBuilder to render properly (#6691)\n\nFix deprecated message in KeyValueBuilder to render properly", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/f80ba894db04a3b0c328b192700a97889e5dcfba", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6691" + }, + { + "commitId": "92f448f94f84c769cae00a78397bb0625031f092", + "prId": "6671", + "author": "emilypgoogle", + "message": "Update Metalava and api.txt files (#6671)\n\nThis includes adding vertex ai api.txt which we were lacking until now", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6671" + } + ], + "firebase-crashlytics-ndk": [ + { + "commitId": "92f448f94f84c769cae00a78397bb0625031f092", + "prId": "6671", + "author": "emilypgoogle", + "message": "Update Metalava and api.txt files (#6671)\n\nThis includes adding vertex ai api.txt which we were lacking until now", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6671" + } + ], + "firebase-sessions": [ + { + "commitId": "ed5621e59a3d470d511179f5a04aed9973d6f9b2", + "prId": "6701", + "author": "Matthew Robertson", + "message": "Followup to #6699 (#6701)\n\n", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/ed5621e59a3d470d511179f5a04aed9973d6f9b2", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6701" + }, + { + "commitId": "de931047365e273fa24cb8162ee04b77f9a0f353", + "prId": "6699", + "author": "Matthew Robertson", + "message": "Make AQS resilient to background init in multi-process apps (#6699)\n\n", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/de931047365e273fa24cb8162ee04b77f9a0f353", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6699" + }, + { + "commitId": "92f448f94f84c769cae00a78397bb0625031f092", + "prId": "6671", + "author": "emilypgoogle", + "message": "Update Metalava and api.txt files (#6671)\n\nThis includes adding vertex ai api.txt which we were lacking until now", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6671" + } + ], + "firebase-crashlytics/ktx": [ + { + "commitId": "92f448f94f84c769cae00a78397bb0625031f092", + "prId": "6671", + "author": "emilypgoogle", + "message": "Update Metalava and api.txt files (#6671)\n\nThis includes adding vertex ai api.txt which we were lacking until now", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6671" + } + ], + "firebase-vertexai": [ + { + "commitId": "95bbf92efb794ee8f7ec2acc6fde823a9cfa4958", + "prId": "6607", + "author": "David Motsonashvili", + "message": "Initial implementation to API spec (#6607)\n\nAdded support for querying imagen models to generate images both in gcs\r\nand inline. Documentation incoming in a separate PR for readability\r\n\r\n---------\r\n\r\nCo-authored-by: David Motsonashvili \r\nCo-authored-by: rachelsaunders <52258509+rachelsaunders@users.noreply.github.com>\r\nCo-authored-by: Daymon <17409137+daymxn@users.noreply.github.com>", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/95bbf92efb794ee8f7ec2acc6fde823a9cfa4958", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6607" + }, + { + "commitId": "e125fb7ff1ac3248fffae32e9d4b2d815505eb4f", + "prId": "6681", + "author": "Rosário P. Fernandes", + "message": "docs: update ImagePart refdocs (#6681)\n\nThe current refdocs are somewhat confusing and may lead to assume that\nthe conversion happens server-side, when it's actually client side.", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/e125fb7ff1ac3248fffae32e9d4b2d815505eb4f", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6681" + }, + { + "commitId": "2d1905ec53b25f0d5861f30e7ac89a080cfd5aa9", + "prId": "6695", + "author": "Rodrigo Lazo", + "message": "Make token count details fields non-nullable (#6695)\n\nIf missing, they'll default to empty.", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/2d1905ec53b25f0d5861f30e7ac89a080cfd5aa9", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6695" + }, + { + "commitId": "301d37a384ccfd68a9d39754abeae6e048f0a08a", + "prId": "6685", + "author": "David Motsonashvili", + "message": "Add support for new FinishReason and BlockReason values (#6685)\n\nCo-authored-by: David Motsonashvili \r\nCo-authored-by: Rodrigo Lazo ", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/301d37a384ccfd68a9d39754abeae6e048f0a08a", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6685" + }, + { + "commitId": "d9baf9e7ad7f5bf6c41cd0e40204895a63d27ce2", + "prId": "6658", + "author": "Rodrigo Lazo", + "message": "Add support for token-based usage metrics (#6658)\n\nToken measurement is broken down by modaliy, with separate counters for\nimage, audio, etc.\n\nTests are in version 6.*, so this change also includes bumping\nupdate_responses.sh", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/d9baf9e7ad7f5bf6c41cd0e40204895a63d27ce2", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6658" + }, + { + "commitId": "92f448f94f84c769cae00a78397bb0625031f092", + "prId": "6671", + "author": "emilypgoogle", + "message": "Update Metalava and api.txt files (#6671)\n\nThis includes adding vertex ai api.txt which we were lacking until now", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6671" + } + ] + }, + "changedLibrariesWithNoChangelog": [ + ":firebase-abt", + ":firebase-appdistribution", + ":firebase-appdistribution-api", + ":firebase-appdistribution-api:ktx", + ":firebase-common", + ":firebase-common:ktx", + ":firebase-components", + ":firebase-config", + ":firebase-config:ktx", + ":firebase-config-interop", + ":firebase-database", + ":firebase-database:ktx", + ":firebase-database-collection", + ":firebase-dataconnect", + ":firebase-datatransport", + ":firebase-dynamic-links", + ":firebase-dynamic-links:ktx", + ":firebase-firestore", + ":firebase-firestore:ktx", + ":firebase-inappmessaging", + ":firebase-inappmessaging-display", + ":firebase-inappmessaging:ktx", + ":firebase-inappmessaging-display:ktx", + ":firebase-installations", + ":firebase-installations:ktx", + ":firebase-installations-interop", + ":firebase-messaging", + ":firebase-messaging-directboot", + ":firebase-messaging:ktx", + ":firebase-ml-modeldownloader", + ":firebase-ml-modeldownloader:ktx", + ":firebase-perf", + ":firebase-perf:ktx", + ":firebase-storage", + ":firebase-storage:ktx", + ":protolite-well-known-types", + ":appcheck:firebase-appcheck", + ":appcheck:firebase-appcheck-debug", + ":appcheck:firebase-appcheck-debug-testing", + ":appcheck:firebase-appcheck-playintegrity", + ":appcheck:firebase-appcheck:ktx", + ":appcheck:firebase-appcheck-interop", + ":encoders:firebase-decoders-json", + ":encoders:firebase-encoders-json", + ":encoders:firebase-encoders-reflective", + ":firebase-components:firebase-dynamic-module-support", + ":transport:transport-api", + ":transport:transport-backend-cct", + ":transport:transport-runtime" + ] +} \ No newline at end of file diff --git a/release_report.md b/release_report.md new file mode 100644 index 00000000000..0a8bbe4d184 --- /dev/null +++ b/release_report.md @@ -0,0 +1,114 @@ +# Release Report +## firebase-functions + +* Add functions changelog (#6694) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6694) [commit](https://github.com/firebase/firebase-android-sdk/commit/f6b59f69458c288509c64065aa3b5db0a8401d77) [emilypgoogle] + +* Update Metalava and api.txt files (#6671) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6671) [commit](https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092) [emilypgoogle] + +## firebase-functions/ktx + +* Update Metalava and api.txt files (#6671) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6671) [commit](https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092) [emilypgoogle] + +## firebase-crashlytics + +* Fix deprecated message in KeyValueBuilder to render properly (#6691) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6691) [commit](https://github.com/firebase/firebase-android-sdk/commit/f80ba894db04a3b0c328b192700a97889e5dcfba) [Matthew Robertson] + +* Update Metalava and api.txt files (#6671) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6671) [commit](https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092) [emilypgoogle] + +## firebase-crashlytics-ndk + +* Update Metalava and api.txt files (#6671) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6671) [commit](https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092) [emilypgoogle] + +## firebase-sessions + +* Followup to #6699 (#6701) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6701) [commit](https://github.com/firebase/firebase-android-sdk/commit/ed5621e59a3d470d511179f5a04aed9973d6f9b2) [Matthew Robertson] + +* Make AQS resilient to background init in multi-process apps (#6699) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6699) [commit](https://github.com/firebase/firebase-android-sdk/commit/de931047365e273fa24cb8162ee04b77f9a0f353) [Matthew Robertson] + +* Update Metalava and api.txt files (#6671) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6671) [commit](https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092) [emilypgoogle] + +## firebase-crashlytics/ktx + +* Update Metalava and api.txt files (#6671) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6671) [commit](https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092) [emilypgoogle] + +## firebase-vertexai + +* Initial implementation to API spec (#6607) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6607) [commit](https://github.com/firebase/firebase-android-sdk/commit/95bbf92efb794ee8f7ec2acc6fde823a9cfa4958) [David Motsonashvili] + +* docs: update ImagePart refdocs (#6681) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6681) [commit](https://github.com/firebase/firebase-android-sdk/commit/e125fb7ff1ac3248fffae32e9d4b2d815505eb4f) [Rosário P. Fernandes] + +* Make token count details fields non-nullable (#6695) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6695) [commit](https://github.com/firebase/firebase-android-sdk/commit/2d1905ec53b25f0d5861f30e7ac89a080cfd5aa9) [Rodrigo Lazo] + +* Add support for new FinishReason and BlockReason values (#6685) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6685) [commit](https://github.com/firebase/firebase-android-sdk/commit/301d37a384ccfd68a9d39754abeae6e048f0a08a) [David Motsonashvili] + +* Add support for token-based usage metrics (#6658) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6658) [commit](https://github.com/firebase/firebase-android-sdk/commit/d9baf9e7ad7f5bf6c41cd0e40204895a63d27ce2) [Rodrigo Lazo] + +* Update Metalava and api.txt files (#6671) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6671) [commit](https://github.com/firebase/firebase-android-sdk/commit/92f448f94f84c769cae00a78397bb0625031f092) [emilypgoogle] + + +## SDKs with changes, but no changelogs +:firebase-abt +:firebase-appdistribution +:firebase-appdistribution-api +:firebase-appdistribution-api:ktx +:firebase-common +:firebase-common:ktx +:firebase-components +:firebase-config +:firebase-config:ktx +:firebase-config-interop +:firebase-database +:firebase-database:ktx +:firebase-database-collection +:firebase-dataconnect +:firebase-datatransport +:firebase-dynamic-links +:firebase-dynamic-links:ktx +:firebase-firestore +:firebase-firestore:ktx +:firebase-inappmessaging +:firebase-inappmessaging-display +:firebase-inappmessaging:ktx +:firebase-inappmessaging-display:ktx +:firebase-installations +:firebase-installations:ktx +:firebase-installations-interop +:firebase-messaging +:firebase-messaging-directboot +:firebase-messaging:ktx +:firebase-ml-modeldownloader +:firebase-ml-modeldownloader:ktx +:firebase-perf +:firebase-perf:ktx +:firebase-storage +:firebase-storage:ktx +:protolite-well-known-types +:appcheck:firebase-appcheck +:appcheck:firebase-appcheck-debug +:appcheck:firebase-appcheck-debug-testing +:appcheck:firebase-appcheck-playintegrity +:appcheck:firebase-appcheck:ktx +:appcheck:firebase-appcheck-interop +:encoders:firebase-decoders-json +:encoders:firebase-encoders-json +:encoders:firebase-encoders-reflective +:firebase-components:firebase-dynamic-module-support +:transport:transport-api +:transport:transport-backend-cct +:transport:transport-runtime \ No newline at end of file