From 5ff2e07a6d5a66afdf85154ebae590db9d1c5677 Mon Sep 17 00:00:00 2001 From: emilypgoogle <110422458+emilypgoogle@users.noreply.github.com> Date: Wed, 28 May 2025 16:18:09 +0000 Subject: [PATCH 1/5] Create release config for m165 --- release.json | 16 +++++ release_report.json | 160 ++++++++++++++++++++++++++++++++++++++++++++ release_report.md | 80 ++++++++++++++++++++++ 3 files changed, 256 insertions(+) create mode 100644 release.json create mode 100644 release_report.json create mode 100644 release_report.md diff --git a/release.json b/release.json new file mode 100644 index 00000000000..9b0db118d1c --- /dev/null +++ b/release.json @@ -0,0 +1,16 @@ +{ + "name": "m165", + "libraries": [ + ":firebase-ai", + ":firebase-config", + ":firebase-config:ktx", + ":firebase-crashlytics", + ":firebase-crashlytics-ndk", + ":firebase-sessions", + ":firebase-crashlytics:ktx", + ":firebase-dataconnect", + ":firebase-storage", + ":firebase-storage: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..954ed5fff80 --- /dev/null +++ b/release_report.json @@ -0,0 +1,160 @@ +{ + "changesByLibraryName": { + "firebase-ai": [ + { + "commitId": "4e027a9f2751584cf5f8d411c9a031e72ef208a2", + "prId": "6995", + "author": "Rosário P. Fernandes", + "message": "Update ImagenPersonFilterLevel refdocs to match the iOS SDK (#6995)\n\nThis PR updates the ImagenPersonFilter refdocs to match the [iOS\nSDK](https://github.com/firebase/firebase-ios-sdk/blob/4f6c342424df416d78dfc12d08c97769fd4e1152/FirebaseAI/Sources/Types/Public/Imagen/ImagenPersonFilterLevel.swift#L33-L45),\nincluding the information about the [Person and face generation\nallowlist](https://cloud.google.com/vertex-ai/generative-ai/docs/image/responsible-ai-imagen#person-face-gen).", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/4e027a9f2751584cf5f8d411c9a031e72ef208a2", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6995" + }, + { + "commitId": "82ad185491d1134f66ce5bfa6020b1d1ab8b8270", + "prId": "6972", + "author": "emilypgoogle", + "message": "Fix Firebase AI StackOverflow (#6972)\n\nSee #6971", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/82ad185491d1134f66ce5bfa6020b1d1ab8b8270", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6972" + }, + { + "commitId": "9c004772e550ac5f83eb95afb4c27b05ff8f1f0d", + "prId": "6957", + "author": "Rosário P. Fernandes", + "message": "fix(ai): pass FunctionDeclaration#description arg to internal class (#6957)\n\nIt seems like the value set in `FunctionDeclaration#description` was\nnever making it to the API.", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/9c004772e550ac5f83eb95afb4c27b05ff8f1f0d", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6957" + }, + { + "commitId": "129cb89fb28d3d76519e85471e6fcaad90db3b90", + "prId": "6970", + "author": "Daymon", + "message": "Update changelog and Vertex version from M164 (#6970)\n\nPer [b/419000235](https://b.corp.google.com/issues/419000235),\n\nThis updates the changelogs and vai version changes we made on the\nrelease branch for M164. This should be merged before we create the\nmerge-back branch, such that the merge-back works as expected.", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6970" + }, + { + "commitId": "2a1776413caaa70182c1c782fe7efcc5d73b2303", + "prId": "6948", + "author": "Vinay Guthal", + "message": "update headers in the correct location (#6948)\n\n", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/2a1776413caaa70182c1c782fe7efcc5d73b2303", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6948" + } + ], + "firebase-config": [ + { + "commitId": "129cb89fb28d3d76519e85471e6fcaad90db3b90", + "prId": "6970", + "author": "Daymon", + "message": "Update changelog and Vertex version from M164 (#6970)\n\nPer [b/419000235](https://b.corp.google.com/issues/419000235),\n\nThis updates the changelogs and vai version changes we made on the\nrelease branch for M164. This should be merged before we create the\nmerge-back branch, such that the merge-back works as expected.", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6970" + } + ], + "firebase-config/ktx": [ + ], + "firebase-crashlytics": [ + { + "commitId": "a9960190582812b7298196828509fbb5e49e4b33", + "prId": "6945", + "author": "Matthew Robertson", + "message": "Update Crashlytics changelog (#6945)\n\n", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/a9960190582812b7298196828509fbb5e49e4b33", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6945" + } + ], + "firebase-crashlytics-ndk": [ + { + "commitId": "78360ad0ccd55589d37206729916ac57b61b7907", + "prId": "6946", + "author": "Daymon", + "message": "Add crashlytics-ndk changelog entry (#6946)\n\n#6945 was missing a changelog entry for the dependent library. This PR\nadds that changelog.", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/78360ad0ccd55589d37206729916ac57b61b7907", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6946" + } + ], + "firebase-sessions": [ + { + "commitId": "9f5839fd4e823703629e60e876034b791f589c6e", + "prId": "6982", + "author": "Matthew Robertson", + "message": "Add macrobenchmark module for sessions test app (#6982)\n\nAdd macrobenchmark module for sessions test app. This is just the setup\nand the example startup benchmark. I will add more in the PerfAQS\nproject, and write instructions in the readme then.", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/9f5839fd4e823703629e60e876034b791f589c6e", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6982" + } + ], + "firebase-crashlytics/ktx": [ + ], + "firebase-dataconnect": [ + { + "commitId": "129cb89fb28d3d76519e85471e6fcaad90db3b90", + "prId": "6970", + "author": "Daymon", + "message": "Update changelog and Vertex version from M164 (#6970)\n\nPer [b/419000235](https://b.corp.google.com/issues/419000235),\n\nThis updates the changelogs and vai version changes we made on the\nrelease branch for M164. This should be merged before we create the\nmerge-back branch, such that the merge-back works as expected.", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6970" + }, + { + "commitId": "f2257e48b1a9f307dcfcb49b3b63202f213d556f", + "prId": "6952", + "author": "Denver Coneybeare", + "message": "dataconnect: update dependencies in demo app (#6952)\n\n", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/f2257e48b1a9f307dcfcb49b3b63202f213d556f", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6952" + } + ], + "firebase-storage": [ + { + "commitId": "129cb89fb28d3d76519e85471e6fcaad90db3b90", + "prId": "6970", + "author": "Daymon", + "message": "Update changelog and Vertex version from M164 (#6970)\n\nPer [b/419000235](https://b.corp.google.com/issues/419000235),\n\nThis updates the changelogs and vai version changes we made on the\nrelease branch for M164. This should be merged before we create the\nmerge-back branch, such that the merge-back works as expected.", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6970" + } + ], + "firebase-storage/ktx": [ + ], + "firebase-vertexai": [ + { + "commitId": "5db7bfb3c92ca14a3a5a8a5a9091c98a7e7c0ccf", + "prId": "6976", + "author": "Rodrigo Lazo", + "message": "Use correct name in release notes for vertexai (#6976)\n\nThe release note name has been updated to use the correct value.\n\nContext cl/761183261", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/5db7bfb3c92ca14a3a5a8a5a9091c98a7e7c0ccf", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6976" + }, + { + "commitId": "129cb89fb28d3d76519e85471e6fcaad90db3b90", + "prId": "6970", + "author": "Daymon", + "message": "Update changelog and Vertex version from M164 (#6970)\n\nPer [b/419000235](https://b.corp.google.com/issues/419000235),\n\nThis updates the changelogs and vai version changes we made on the\nrelease branch for M164. This should be merged before we create the\nmerge-back branch, such that the merge-back works as expected.", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6970" + }, + { + "commitId": "eee76b4f7faf740c6e935888e0d26c0cb9411699", + "prId": "6949", + "author": "Daymon", + "message": "Revert \"Update headers to track vertex ai/developer usage in kotlin (… (#6949)\n\nThis reverts commit #6944.\n\nThe change was meant to be for `firebase-ai`, which we corrected with\n#6948.", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/eee76b4f7faf740c6e935888e0d26c0cb9411699", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6949" + }, + { + "commitId": "f4649cde3b0c603a7ac06db68d14ede1b6efa23e", + "prId": "6944", + "author": "Vinay Guthal", + "message": "Update headers to track vertex ai/developer usage in kotlin (#6944)\n\nThis change is required to track the usage of vertex ai/developer api in\nkotlin. This change adds a suffix to the version value in the headers we\nsend to the backend (This will mainly distinguish between the 16.0.0\nversions from the old sdk and the new one)", + "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/f4649cde3b0c603a7ac06db68d14ede1b6efa23e", + "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6944" + } + ] + }, + "changedLibrariesWithNoChangelog": [ + ":firebase-inappmessaging", + ":firebase-inappmessaging-display", + ":firebase-inappmessaging:ktx", + ":firebase-inappmessaging-display:ktx" + ] +} \ No newline at end of file diff --git a/release_report.md b/release_report.md new file mode 100644 index 00000000000..6a4524bfc74 --- /dev/null +++ b/release_report.md @@ -0,0 +1,80 @@ +# Release Report +## firebase-ai + +* Update ImagenPersonFilterLevel refdocs to match the iOS SDK (#6995) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6995) [commit](https://github.com/firebase/firebase-android-sdk/commit/4e027a9f2751584cf5f8d411c9a031e72ef208a2) [Rosário P. Fernandes] + +* Fix Firebase AI StackOverflow (#6972) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6972) [commit](https://github.com/firebase/firebase-android-sdk/commit/82ad185491d1134f66ce5bfa6020b1d1ab8b8270) [emilypgoogle] + +* fix(ai): pass FunctionDeclaration#description arg to internal class (#6957) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6957) [commit](https://github.com/firebase/firebase-android-sdk/commit/9c004772e550ac5f83eb95afb4c27b05ff8f1f0d) [Rosário P. Fernandes] + +* Update changelog and Vertex version from M164 (#6970) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6970) [commit](https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90) [Daymon] + +* update headers in the correct location (#6948) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6948) [commit](https://github.com/firebase/firebase-android-sdk/commit/2a1776413caaa70182c1c782fe7efcc5d73b2303) [Vinay Guthal] + +## firebase-config + +* Update changelog and Vertex version from M164 (#6970) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6970) [commit](https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90) [Daymon] + +## firebase-config/ktx + + +## firebase-crashlytics + +* Update Crashlytics changelog (#6945) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6945) [commit](https://github.com/firebase/firebase-android-sdk/commit/a9960190582812b7298196828509fbb5e49e4b33) [Matthew Robertson] + +## firebase-crashlytics-ndk + +* Add crashlytics-ndk changelog entry (#6946) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6946) [commit](https://github.com/firebase/firebase-android-sdk/commit/78360ad0ccd55589d37206729916ac57b61b7907) [Daymon] + +## firebase-sessions + +* Add macrobenchmark module for sessions test app (#6982) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6982) [commit](https://github.com/firebase/firebase-android-sdk/commit/9f5839fd4e823703629e60e876034b791f589c6e) [Matthew Robertson] + +## firebase-crashlytics/ktx + + +## firebase-dataconnect + +* Update changelog and Vertex version from M164 (#6970) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6970) [commit](https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90) [Daymon] + +* dataconnect: update dependencies in demo app (#6952) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6952) [commit](https://github.com/firebase/firebase-android-sdk/commit/f2257e48b1a9f307dcfcb49b3b63202f213d556f) [Denver Coneybeare] + +## firebase-storage + +* Update changelog and Vertex version from M164 (#6970) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6970) [commit](https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90) [Daymon] + +## firebase-storage/ktx + + +## firebase-vertexai + +* Use correct name in release notes for vertexai (#6976) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6976) [commit](https://github.com/firebase/firebase-android-sdk/commit/5db7bfb3c92ca14a3a5a8a5a9091c98a7e7c0ccf) [Rodrigo Lazo] + +* Update changelog and Vertex version from M164 (#6970) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6970) [commit](https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90) [Daymon] + +* Revert "Update headers to track vertex ai/developer usage in kotlin (… (#6949) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6949) [commit](https://github.com/firebase/firebase-android-sdk/commit/eee76b4f7faf740c6e935888e0d26c0cb9411699) [Daymon] + +* Update headers to track vertex ai/developer usage in kotlin (#6944) + [pr](https://github.com/firebase/firebase-android-sdk/pull/6944) [commit](https://github.com/firebase/firebase-android-sdk/commit/f4649cde3b0c603a7ac06db68d14ede1b6efa23e) [Vinay Guthal] + + +## SDKs with changes, but no changelogs +:firebase-inappmessaging +:firebase-inappmessaging-display +:firebase-inappmessaging:ktx +:firebase-inappmessaging-display:ktx \ No newline at end of file From e110a26a13a6778441c1ec88d8e40c3750d6168e Mon Sep 17 00:00:00 2001 From: emilypgoogle <110422458+emilypgoogle@users.noreply.github.com> Date: Wed, 28 May 2025 19:18:15 +0000 Subject: [PATCH 2/5] Remove config --- release.json | 2 -- release_report.json | 12 ------------ release_report.md | 8 -------- 3 files changed, 22 deletions(-) diff --git a/release.json b/release.json index 9b0db118d1c..0ede25ebe21 100644 --- a/release.json +++ b/release.json @@ -2,8 +2,6 @@ "name": "m165", "libraries": [ ":firebase-ai", - ":firebase-config", - ":firebase-config:ktx", ":firebase-crashlytics", ":firebase-crashlytics-ndk", ":firebase-sessions", diff --git a/release_report.json b/release_report.json index 954ed5fff80..1a0f55c9240 100644 --- a/release_report.json +++ b/release_report.json @@ -42,18 +42,6 @@ "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6948" } ], - "firebase-config": [ - { - "commitId": "129cb89fb28d3d76519e85471e6fcaad90db3b90", - "prId": "6970", - "author": "Daymon", - "message": "Update changelog and Vertex version from M164 (#6970)\n\nPer [b/419000235](https://b.corp.google.com/issues/419000235),\n\nThis updates the changelogs and vai version changes we made on the\nrelease branch for M164. This should be merged before we create the\nmerge-back branch, such that the merge-back works as expected.", - "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90", - "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6970" - } - ], - "firebase-config/ktx": [ - ], "firebase-crashlytics": [ { "commitId": "a9960190582812b7298196828509fbb5e49e4b33", diff --git a/release_report.md b/release_report.md index 6a4524bfc74..afe3f71eaf6 100644 --- a/release_report.md +++ b/release_report.md @@ -16,14 +16,6 @@ * update headers in the correct location (#6948) [pr](https://github.com/firebase/firebase-android-sdk/pull/6948) [commit](https://github.com/firebase/firebase-android-sdk/commit/2a1776413caaa70182c1c782fe7efcc5d73b2303) [Vinay Guthal] -## firebase-config - -* Update changelog and Vertex version from M164 (#6970) - [pr](https://github.com/firebase/firebase-android-sdk/pull/6970) [commit](https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90) [Daymon] - -## firebase-config/ktx - - ## firebase-crashlytics * Update Crashlytics changelog (#6945) From 9f6683fb53f27b97fbc2cdb5aaf4ffa10214e95f Mon Sep 17 00:00:00 2001 From: emilypgoogle <110422458+emilypgoogle@users.noreply.github.com> Date: Wed, 28 May 2025 19:35:14 +0000 Subject: [PATCH 3/5] Remove vertexai --- release.json | 3 +-- release_report.json | 34 ---------------------------------- release_report.md | 15 --------------- 3 files changed, 1 insertion(+), 51 deletions(-) diff --git a/release.json b/release.json index 0ede25ebe21..4cdf58e2f52 100644 --- a/release.json +++ b/release.json @@ -8,7 +8,6 @@ ":firebase-crashlytics:ktx", ":firebase-dataconnect", ":firebase-storage", - ":firebase-storage:ktx", - ":firebase-vertexai" + ":firebase-storage:ktx" ] } \ No newline at end of file diff --git a/release_report.json b/release_report.json index 1a0f55c9240..3620db68370 100644 --- a/release_report.json +++ b/release_report.json @@ -103,40 +103,6 @@ } ], "firebase-storage/ktx": [ - ], - "firebase-vertexai": [ - { - "commitId": "5db7bfb3c92ca14a3a5a8a5a9091c98a7e7c0ccf", - "prId": "6976", - "author": "Rodrigo Lazo", - "message": "Use correct name in release notes for vertexai (#6976)\n\nThe release note name has been updated to use the correct value.\n\nContext cl/761183261", - "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/5db7bfb3c92ca14a3a5a8a5a9091c98a7e7c0ccf", - "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6976" - }, - { - "commitId": "129cb89fb28d3d76519e85471e6fcaad90db3b90", - "prId": "6970", - "author": "Daymon", - "message": "Update changelog and Vertex version from M164 (#6970)\n\nPer [b/419000235](https://b.corp.google.com/issues/419000235),\n\nThis updates the changelogs and vai version changes we made on the\nrelease branch for M164. This should be merged before we create the\nmerge-back branch, such that the merge-back works as expected.", - "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90", - "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6970" - }, - { - "commitId": "eee76b4f7faf740c6e935888e0d26c0cb9411699", - "prId": "6949", - "author": "Daymon", - "message": "Revert \"Update headers to track vertex ai/developer usage in kotlin (… (#6949)\n\nThis reverts commit #6944.\n\nThe change was meant to be for `firebase-ai`, which we corrected with\n#6948.", - "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/eee76b4f7faf740c6e935888e0d26c0cb9411699", - "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6949" - }, - { - "commitId": "f4649cde3b0c603a7ac06db68d14ede1b6efa23e", - "prId": "6944", - "author": "Vinay Guthal", - "message": "Update headers to track vertex ai/developer usage in kotlin (#6944)\n\nThis change is required to track the usage of vertex ai/developer api in\nkotlin. This change adds a suffix to the version value in the headers we\nsend to the backend (This will mainly distinguish between the 16.0.0\nversions from the old sdk and the new one)", - "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/f4649cde3b0c603a7ac06db68d14ede1b6efa23e", - "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6944" - } ] }, "changedLibrariesWithNoChangelog": [ diff --git a/release_report.md b/release_report.md index afe3f71eaf6..f35c3673905 100644 --- a/release_report.md +++ b/release_report.md @@ -50,21 +50,6 @@ ## firebase-storage/ktx -## firebase-vertexai - -* Use correct name in release notes for vertexai (#6976) - [pr](https://github.com/firebase/firebase-android-sdk/pull/6976) [commit](https://github.com/firebase/firebase-android-sdk/commit/5db7bfb3c92ca14a3a5a8a5a9091c98a7e7c0ccf) [Rodrigo Lazo] - -* Update changelog and Vertex version from M164 (#6970) - [pr](https://github.com/firebase/firebase-android-sdk/pull/6970) [commit](https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90) [Daymon] - -* Revert "Update headers to track vertex ai/developer usage in kotlin (… (#6949) - [pr](https://github.com/firebase/firebase-android-sdk/pull/6949) [commit](https://github.com/firebase/firebase-android-sdk/commit/eee76b4f7faf740c6e935888e0d26c0cb9411699) [Daymon] - -* Update headers to track vertex ai/developer usage in kotlin (#6944) - [pr](https://github.com/firebase/firebase-android-sdk/pull/6944) [commit](https://github.com/firebase/firebase-android-sdk/commit/f4649cde3b0c603a7ac06db68d14ede1b6efa23e) [Vinay Guthal] - - ## SDKs with changes, but no changelogs :firebase-inappmessaging :firebase-inappmessaging-display From 2bd3756d8196c512a15c2c0403af6ca979bce1a8 Mon Sep 17 00:00:00 2001 From: emilypgoogle <110422458+emilypgoogle@users.noreply.github.com> Date: Wed, 28 May 2025 19:47:07 +0000 Subject: [PATCH 4/5] Remove non-releasing libraries --- release.json | 5 +---- release_report.json | 30 ------------------------------ release_report.md | 20 -------------------- 3 files changed, 1 insertion(+), 54 deletions(-) diff --git a/release.json b/release.json index 4cdf58e2f52..74cdfb6fdad 100644 --- a/release.json +++ b/release.json @@ -5,9 +5,6 @@ ":firebase-crashlytics", ":firebase-crashlytics-ndk", ":firebase-sessions", - ":firebase-crashlytics:ktx", - ":firebase-dataconnect", - ":firebase-storage", - ":firebase-storage:ktx" + ":firebase-crashlytics:ktx" ] } \ No newline at end of file diff --git a/release_report.json b/release_report.json index 3620db68370..6fbeae8c7d5 100644 --- a/release_report.json +++ b/release_report.json @@ -73,36 +73,6 @@ } ], "firebase-crashlytics/ktx": [ - ], - "firebase-dataconnect": [ - { - "commitId": "129cb89fb28d3d76519e85471e6fcaad90db3b90", - "prId": "6970", - "author": "Daymon", - "message": "Update changelog and Vertex version from M164 (#6970)\n\nPer [b/419000235](https://b.corp.google.com/issues/419000235),\n\nThis updates the changelogs and vai version changes we made on the\nrelease branch for M164. This should be merged before we create the\nmerge-back branch, such that the merge-back works as expected.", - "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90", - "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6970" - }, - { - "commitId": "f2257e48b1a9f307dcfcb49b3b63202f213d556f", - "prId": "6952", - "author": "Denver Coneybeare", - "message": "dataconnect: update dependencies in demo app (#6952)\n\n", - "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/f2257e48b1a9f307dcfcb49b3b63202f213d556f", - "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6952" - } - ], - "firebase-storage": [ - { - "commitId": "129cb89fb28d3d76519e85471e6fcaad90db3b90", - "prId": "6970", - "author": "Daymon", - "message": "Update changelog and Vertex version from M164 (#6970)\n\nPer [b/419000235](https://b.corp.google.com/issues/419000235),\n\nThis updates the changelogs and vai version changes we made on the\nrelease branch for M164. This should be merged before we create the\nmerge-back branch, such that the merge-back works as expected.", - "commitLink": "https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90", - "prLink": "https://github.com/firebase/firebase-android-sdk/pull/6970" - } - ], - "firebase-storage/ktx": [ ] }, "changedLibrariesWithNoChangelog": [ diff --git a/release_report.md b/release_report.md index f35c3673905..94ac9ef46f9 100644 --- a/release_report.md +++ b/release_report.md @@ -26,30 +26,10 @@ * Add crashlytics-ndk changelog entry (#6946) [pr](https://github.com/firebase/firebase-android-sdk/pull/6946) [commit](https://github.com/firebase/firebase-android-sdk/commit/78360ad0ccd55589d37206729916ac57b61b7907) [Daymon] -## firebase-sessions - -* Add macrobenchmark module for sessions test app (#6982) - [pr](https://github.com/firebase/firebase-android-sdk/pull/6982) [commit](https://github.com/firebase/firebase-android-sdk/commit/9f5839fd4e823703629e60e876034b791f589c6e) [Matthew Robertson] ## firebase-crashlytics/ktx -## firebase-dataconnect - -* Update changelog and Vertex version from M164 (#6970) - [pr](https://github.com/firebase/firebase-android-sdk/pull/6970) [commit](https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90) [Daymon] - -* dataconnect: update dependencies in demo app (#6952) - [pr](https://github.com/firebase/firebase-android-sdk/pull/6952) [commit](https://github.com/firebase/firebase-android-sdk/commit/f2257e48b1a9f307dcfcb49b3b63202f213d556f) [Denver Coneybeare] - -## firebase-storage - -* Update changelog and Vertex version from M164 (#6970) - [pr](https://github.com/firebase/firebase-android-sdk/pull/6970) [commit](https://github.com/firebase/firebase-android-sdk/commit/129cb89fb28d3d76519e85471e6fcaad90db3b90) [Daymon] - -## firebase-storage/ktx - - ## SDKs with changes, but no changelogs :firebase-inappmessaging :firebase-inappmessaging-display From d7c97c61d9daffdd7d99ad39a193ab2ede9d35b2 Mon Sep 17 00:00:00 2001 From: Vinay Guthal Date: Wed, 28 May 2025 16:44:16 -0400 Subject: [PATCH 5/5] update voice (#6996) This pr updates the Voice class to take in a string as an attribute instead of just an enum. This is a breaking change since it breaks binary compatibility however I don't think there is any changes that need to be done by the developer --- firebase-ai/CHANGELOG.md | 6 +++- firebase-ai/api.txt | 34 +++++++++++-------- firebase-ai/gradle.properties | 2 +- .../google/firebase/ai/type/SpeechConfig.kt | 4 +-- .../com/google/firebase/ai/type/Voice.kt | 34 +++++++++++++++++++ .../com/google/firebase/ai/type/Voices.kt | 1 + .../google/firebase/ai/JavaCompileTests.java | 4 +-- 7 files changed, 65 insertions(+), 20 deletions(-) create mode 100644 firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Voice.kt diff --git a/firebase-ai/CHANGELOG.md b/firebase-ai/CHANGELOG.md index 241a23f0f63..3244c980674 100644 --- a/firebase-ai/CHANGELOG.md +++ b/firebase-ai/CHANGELOG.md @@ -1,8 +1,12 @@ # Unreleased * [fixed] Fixed `FirebaseAI.getInstance` StackOverflowException (#6971) -* [fixed] Fixed an issue that was causing the SDK to send empty `FunctionDeclaration` descriptions to the API. +* [fixed] Fixed an issue that was causing the SDK to send empty `FunctionDeclaration` descriptions to the API. +* [changed] Introduced the `Voice` class, which accepts a voice name, and deprecated the `Voices` class. +* [changed] **Breaking Change**: Updated `SpeechConfig` to take in `Voice` class instead of `Voices` class. + * **Action Required:** Update all references of `SpeechConfig` initialization to use `Voice` class. + # 16.0.0 * [feature] Initial release of the Firebase AI SDK (`firebase-ai`). This SDK *replaces* the previous Vertex AI in Firebase SDK (`firebase-vertexai`) to accommodate the evolving set of supported diff --git a/firebase-ai/api.txt b/firebase-ai/api.txt index c9d55f52295..5645b466110 100644 --- a/firebase-ai/api.txt +++ b/firebase-ai/api.txt @@ -863,9 +863,9 @@ package com.google.firebase.ai.type { } @com.google.firebase.ai.type.PublicPreviewAPI public final class SpeechConfig { - ctor public SpeechConfig(com.google.firebase.ai.type.Voices voice); - method public com.google.firebase.ai.type.Voices getVoice(); - property public final com.google.firebase.ai.type.Voices voice; + ctor public SpeechConfig(com.google.firebase.ai.type.Voice voice); + method public com.google.firebase.ai.type.Voice getVoice(); + property public final com.google.firebase.ai.type.Voice voice; } public abstract class StringFormat { @@ -914,19 +914,25 @@ package com.google.firebase.ai.type { property public final int totalTokenCount; } - @com.google.firebase.ai.type.PublicPreviewAPI public final class Voices { - method public int getOrdinal(); - property public final int ordinal; - field public static final com.google.firebase.ai.type.Voices AOEDE; - field public static final com.google.firebase.ai.type.Voices CHARON; - field public static final com.google.firebase.ai.type.Voices.Companion Companion; - field public static final com.google.firebase.ai.type.Voices FENRIR; - field public static final com.google.firebase.ai.type.Voices KORE; - field public static final com.google.firebase.ai.type.Voices PUCK; - field public static final com.google.firebase.ai.type.Voices UNSPECIFIED; + @com.google.firebase.ai.type.PublicPreviewAPI public final class Voice { + ctor public Voice(String voiceName); + method public String getVoiceName(); + property public final String voiceName; + } + + @Deprecated @com.google.firebase.ai.type.PublicPreviewAPI public final class Voices { + method @Deprecated public int getOrdinal(); + property @Deprecated public final int ordinal; + field @Deprecated public static final com.google.firebase.ai.type.Voices AOEDE; + field @Deprecated public static final com.google.firebase.ai.type.Voices CHARON; + field @Deprecated public static final com.google.firebase.ai.type.Voices.Companion Companion; + field @Deprecated public static final com.google.firebase.ai.type.Voices FENRIR; + field @Deprecated public static final com.google.firebase.ai.type.Voices KORE; + field @Deprecated public static final com.google.firebase.ai.type.Voices PUCK; + field @Deprecated public static final com.google.firebase.ai.type.Voices UNSPECIFIED; } - public static final class Voices.Companion { + @Deprecated public static final class Voices.Companion { } } diff --git a/firebase-ai/gradle.properties b/firebase-ai/gradle.properties index b9f800fb7d6..1c7c87996dd 100644 --- a/firebase-ai/gradle.properties +++ b/firebase-ai/gradle.properties @@ -12,5 +12,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -version=16.0.1 +version=16.1.0 latestReleasedVersion=16.0.0 diff --git a/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/SpeechConfig.kt b/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/SpeechConfig.kt index 8a25b47893f..12de21caff3 100644 --- a/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/SpeechConfig.kt +++ b/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/SpeechConfig.kt @@ -23,14 +23,14 @@ import kotlinx.serialization.Serializable @PublicPreviewAPI public class SpeechConfig( /** The voice to be used for the server's speech response. */ - public val voice: Voices + public val voice: Voice ) { @Serializable internal data class Internal(@SerialName("voice_config") val voiceConfig: VoiceConfigInternal) { @Serializable internal data class VoiceConfigInternal( - @SerialName("prebuilt_voice_config") val prebuiltVoiceConfig: Voices.Internal, + @SerialName("prebuilt_voice_config") val prebuiltVoiceConfig: Voice.Internal, ) } diff --git a/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Voice.kt b/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Voice.kt new file mode 100644 index 00000000000..7053fc986cf --- /dev/null +++ b/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Voice.kt @@ -0,0 +1,34 @@ +/* + * Copyright 2025 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.firebase.ai.type + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +/** + * Various voices supported by the server. The list of all voices can be found + * [here](https://cloud.google.com/text-to-speech/docs/chirp3-hd) + */ +@PublicPreviewAPI +public class Voice public constructor(public val voiceName: String) { + + @Serializable internal data class Internal(@SerialName("voice_name") val voiceName: String) + + internal fun toInternal(): Internal { + return Internal(this.voiceName) + } +} diff --git a/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Voices.kt b/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Voices.kt index ad26db572bc..d5e1f738dc2 100644 --- a/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Voices.kt +++ b/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Voices.kt @@ -20,6 +20,7 @@ import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable /** Various voices supported by the server */ +@Deprecated("Please use the Voice class instead.", ReplaceWith("Voice")) @PublicPreviewAPI public class Voices private constructor(public val ordinal: Int) { diff --git a/firebase-ai/src/testUtil/java/com/google/firebase/ai/JavaCompileTests.java b/firebase-ai/src/testUtil/java/com/google/firebase/ai/JavaCompileTests.java index 0c32921d5db..559c4ac8a04 100644 --- a/firebase-ai/src/testUtil/java/com/google/firebase/ai/JavaCompileTests.java +++ b/firebase-ai/src/testUtil/java/com/google/firebase/ai/JavaCompileTests.java @@ -61,7 +61,7 @@ import com.google.firebase.ai.type.SpeechConfig; import com.google.firebase.ai.type.TextPart; import com.google.firebase.ai.type.UsageMetadata; -import com.google.firebase.ai.type.Voices; +import com.google.firebase.ai.type.Voice; import com.google.firebase.concurrent.FirebaseExecutors; import java.util.ArrayList; import java.util.Calendar; @@ -137,7 +137,7 @@ private LiveGenerationConfig getLiveConfig() { .setFrequencyPenalty(1.0F) .setPresencePenalty(2.0F) .setResponseModality(ResponseModality.AUDIO) - .setSpeechConfig(new SpeechConfig(Voices.AOEDE)) + .setSpeechConfig(new SpeechConfig(new Voice("AOEDE"))) .build(); }