Skip to content

Commit 2a12d2e

Browse files
rlazogithub-actions[bot]
authored andcommitted
Create release config for m162
1 parent 71272f2 commit 2a12d2e

File tree

3 files changed

+263
-0
lines changed

3 files changed

+263
-0
lines changed

release.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "m162",
3+
"libraries": [
4+
":firebase-dataconnect",
5+
":firebase-functions",
6+
":firebase-functions:ktx",
7+
":firebase-vertexai"
8+
]
9+
}

release_report.json

Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
{
2+
"changesByLibraryName": {
3+
"firebase-dataconnect": [
4+
{
5+
"commitId": "ba6997578d951f81a5100244ea71b57ffdc16d05",
6+
"prId": "6794",
7+
"author": "Denver Coneybeare",
8+
"message": "feat: dataconnect: DataConnectOperationException added to support partial errors (#6794)\n\nThis PR adds the `DataConnectOperationException` class, a subclass of\nthe previously-existing `DataConnectException` class. This new\n`DataConnectOperationException` class is thrown by invocations of\n`QueryRef.execute()` and `MutationRef.execute()` in the case where a\nresponse _is_ received from the backend, but the response indicates that\nthe operation could not be executed to completion, including the case\nthat the client SDK fails to decode the response to a higher-level\nobject. Other kinds of errors, such as networking errors, will still be\nreported as they were previously.\n\nClient code can catch `DataConnectOperationException` and check its\n`response` property to get details about any errors that occurred and\nany data that was received. If the data was able to be decoded, despite\nthe errors, then it will be available. Also the \"raw\" data (a\n`Map<String, Any?>`) property will give access to the raw, undecoded\ndata, if any was sent from the backend.\n\nThis feature is intended to support \"partial errors\", where an operation\ncan partially succeed and partially fail, and the client application\nwants to take some special behavior in the case of a partial success.\n\nFor example, suppose this database schema and connector definition:\n\n```\ntype Person @table {\n name: String!\n}\n\n# Notice how both \"inserts\" use the same ID; this means that one of them\n# will necessarily fail because you can't have two rows with the same ID.\nmutation InsertMultiplePeople($id: UUID!, $name1: String!, $name2: String!) {\n person1: person_insert(data: { id: $id, name: $name1 })\n person2: person_insert(data: { id: $id, name: $name2 })\n}\n```\n\nHere is some code that handles the partial error that will occur if this\nmutation were to ever be executed:\n\n```kt\nimport com.google.firebase.dataconnect.DataConnectOperationException\nimport com.google.firebase.dataconnect.DataConnectOperationFailureResponse\nimport com.google.firebase.dataconnect.DataConnectPathSegment\nimport com.myapp.myconnector.InsertTwoFoosWithSameIdMutation.Data\n\nsuspend fun demo(id: UUID, connector: DemoConnector): Data {\n val result = connector.insertTwoFoosWithSameId.runCatching { execute(id) }\n result.onSuccess {\n println(\"Weird... inserting _both_ entries with ID $id succeeded 🤷\")\n return@demo it.data\n }\n\n val exception = result.exceptionOrNull()!!\n if (exception !is DataConnectOperationException) {\n throw exception\n }\n\n // Print warnings messages about which of \"foo1\" and \"foo2\" failed to\n // be inserted by the query. This information is gleaned from the list of\n // errors provided in the DataConnectOperationFailureResponse.\n val response: DataConnectOperationFailureResponse<*> = exception.response\n val errors = response.errors\n\n val error1 = errors.firstOrNull {\n it.path == listOf(DataConnectPathSegment.Field(\"person1\"))\n }\n if (error1 == null) {\n println(\"Inserting 1st entry with ID $id succeeded\")\n } else {\n println(\"Inserting 1st entry with ID $id failed: ${error1.message}\")\n }\n\n val error2 = errors.firstOrNull \n it.path == listOf(DataConnectPathSegment.Field(\"person2\"))\n }\n if (error2 == null) {\n println(\"Inserting 2nd entry with ID $id succeeded\")\n } else {\n println(\"Inserting 2nd entry with ID $id failed: ${error2.message}\")\n }\n\n // If decoding the response was actually successful, then return\n // the decoded response.\n val data = response.data as? Data\n if (data != null) {\n return data\n }\n\n throw exception\n}\n\n```",
9+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/ba6997578d951f81a5100244ea71b57ffdc16d05",
10+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6794"
11+
},
12+
{
13+
"commitId": "75be716089b38a2740731ce4df5108b6c8fe630c",
14+
"prId": "6802",
15+
"author": "Denver Coneybeare",
16+
"message": "dataconnect: generateApiTxtFile.sh added (#6802)\n\n",
17+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/75be716089b38a2740731ce4df5108b6c8fe630c",
18+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6802"
19+
},
20+
{
21+
"commitId": "e36a15be3b40246358d2ba76b1b37b7a4887052a",
22+
"prId": "6803",
23+
"author": "Denver Coneybeare",
24+
"message": "dataconnect: DataConnectExecutableVersions.json updated with versions 1.8.4, 1.8.5, 1.9.0, 1.9.1, and 1.9.2 (#6803)\n\n",
25+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/e36a15be3b40246358d2ba76b1b37b7a4887052a",
26+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6803"
27+
},
28+
{
29+
"commitId": "c1ca0210b83f8d94eea14ee1ffe29a98aac154ca",
30+
"prId": "6799",
31+
"author": "Rodrigo Lazo",
32+
"message": "[DataConnect] Add changelog entry back (#6799)\n\n",
33+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/c1ca0210b83f8d94eea14ee1ffe29a98aac154ca",
34+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6799"
35+
},
36+
{
37+
"commitId": "16aed70b43cda0c2ca5a886203e2e126eff85379",
38+
"prId": "6798",
39+
"author": "Rodrigo Lazo",
40+
"message": "[DataConnect] Update release configuration (#6798)\n\n",
41+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/16aed70b43cda0c2ca5a886203e2e126eff85379",
42+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6798"
43+
},
44+
{
45+
"commitId": "2d5cabed7c0ee6531c3549953698937b8b5736bb",
46+
"prId": "6792",
47+
"author": "Denver Coneybeare",
48+
"message": "dataconnect: remove \"beta\" version marker and graduate the data connect sdk from \"beta\" to \"generally available\" (#6792)\n\n",
49+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/2d5cabed7c0ee6531c3549953698937b8b5736bb",
50+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6792"
51+
},
52+
{
53+
"commitId": "f7e98b83e5939f7f3792c5507211db4651dc5b86",
54+
"prId": "6776",
55+
"author": "Denver Coneybeare",
56+
"message": "dataconnect: demo: upgrade versions in build.gradle.kts (#6776)\n\n",
57+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/f7e98b83e5939f7f3792c5507211db4651dc5b86",
58+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6776"
59+
}
60+
],
61+
"firebase-functions": [
62+
{
63+
"commitId": "1cf65b9d2a473399440df24fab4cda5dfa296468",
64+
"prId": "6807",
65+
"author": "Rodrigo Lazo",
66+
"message": "[VertexAI] Bump timeout for error test (#6807)\n\nThe test `genStreamError_receivesError` is flaky due to timeout issues.\nBumping timeout to 10s.",
67+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/1cf65b9d2a473399440df24fab4cda5dfa296468",
68+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6807"
69+
},
70+
{
71+
"commitId": "615352d68db776bdde40fff1a1aeea851ee8d6bc",
72+
"prId": "6796",
73+
"author": "Rodrigo Lazo",
74+
"message": "[Functions] Several functions improvements (#6796)\n\nThese improvements are both in the SDK itself, and in the code used for\nthe actual functions running in the cloud during integration testing:\n\nA summary of the changes is:\n- [Backend functions] Update the dependencies and node runtime version\n- [Backend functions] Add logging in case the client does not support\nstreaming\n- [SDK] Use a more robust handle of the media type\n- [SDK] Fix issue introduced in #6773 that missed a return in case of\nerror\n- [SDK] Other minor code fixes\n\nb/404814020",
75+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/615352d68db776bdde40fff1a1aeea851ee8d6bc",
76+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6796"
77+
},
78+
{
79+
"commitId": "0554f0df8b8c8972c9497bf16aa861a2e42e5dc7",
80+
"prId": "6773",
81+
"author": "Rosário P. Fernandes",
82+
"message": "fix(functions): use notifyError() instead of throwing (#6773)\n\nThrowing inside the `PublisherStream` causes a Runtime exception that\ncan't be caught in the call site.\nInstead, we should use `notifyError()` so that the error can be caught\nin the `Subscriber#onError()` function.\n\nI tried to catch the exception using both of the code snippets below,\nbut none of them worked. (they both work with the changes in this PR):\n\n```kotlin\nfunctions.getHttpsCallable(\"nonExistentFunction\")\n .stream().asFlow()\n .catch {\n // Handle error for a 404 function\n }\n .collect {\n // ...\n }\n```\n\n```kotlin\ntry {\n functions.getHttpsCallable(\"nonExistentFunction\")\n .stream().asFlow()\n .collect {\n // ...\n }\n} catch(e: Exception) {\n // Handle error for a 404 function\n}\n```\n\nRuntime exception thrown:\n\n```\nFATAL EXCEPTION: OkHttp Dispatcher\n Process: com.google.samples.quickstart.functions, PID: 13321\n com.google.firebase.functions.FirebaseFunctionsException: Value <html><head> of type java.lang.String cannot be converted to JSONObject Unexpected Response:\n \n <html><head>\n <meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">\n <title>404 Page not found</title>\n </head>\n <body text=#000000 bgcolor=#ffffff>\n <h1>Error: Page not found</h1>\n <h2>The requested URL was not found on this server.</h2>\n <h2></h2>\n </body></html>\n \n at com.google.firebase.functions.PublisherStream.validateResponse(PublisherStream.kt:316)\n at com.google.firebase.functions.PublisherStream.access$validateResponse(PublisherStream.kt:41)\n at com.google.firebase.functions.PublisherStream$startStreaming$1$4.onResponse(PublisherStream.kt:161)\n at okhttp3.RealCall$AsyncCall.execute(RealCall.java:203)\n at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)\n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)\n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)\n at java.lang.Thread.run(Thread.java:1119)\n```",
83+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/0554f0df8b8c8972c9497bf16aa861a2e42e5dc7",
84+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6773"
85+
},
86+
{
87+
"commitId": "1aca8994cc4f1e3107f1f7cc9fcd8f03d39a79af",
88+
"prId": "6775",
89+
"author": "Rosário P. Fernandes",
90+
"message": "chore(functions): export reactive-streams as a transitive dependency (#6775)\n\nAlternative to #6774 - we'll keep that PR for a follow-up release.\n\nFor now, we're exposing the `reactive-streams` dependency to make sure\nit works out of the box for Java developers.",
91+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/1aca8994cc4f1e3107f1f7cc9fcd8f03d39a79af",
92+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6775"
93+
},
94+
{
95+
"commitId": "b9be9f1ca0ebd0a8a67b06c282b0f83888145651",
96+
"prId": "6769",
97+
"author": "emilypgoogle",
98+
"message": "Add m161 changelog for functions (#6769)\n\n",
99+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/b9be9f1ca0ebd0a8a67b06c282b0f83888145651",
100+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6769"
101+
}
102+
],
103+
"firebase-functions/ktx": [
104+
],
105+
"firebase-vertexai": [
106+
{
107+
"commitId": "71272f2003fe60ae3cfca44b7870e1b852d9a1e2",
108+
"prId": "6823",
109+
"author": "Vinay Guthal",
110+
"message": "fix emulator listening to itself (#6823)\n\n",
111+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/71272f2003fe60ae3cfca44b7870e1b852d9a1e2",
112+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6823"
113+
},
114+
{
115+
"commitId": "dc118ad3421983796b43a0d8aab6a59e9717f416",
116+
"prId": "6759",
117+
"author": "Vinay Guthal",
118+
"message": "Bidirectional Streaming Android (#6759)\n\nBidirectional streaming for android. Creates a bunch of helper classes\nfor the same. The main classes which handle the bidirectional streaming\nare LiveGenerativeModel and LiveSession\n\n---------\n\nCo-authored-by: VinayGuthal <[email protected]>\nCo-authored-by: Rodrigo Lazo Paz <[email protected]>\nCo-authored-by: Rodrigo Lazo <[email protected]>\nCo-authored-by: Daymon <[email protected]>\n",
119+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/dc118ad3421983796b43a0d8aab6a59e9717f416",
120+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6759"
121+
},
122+
{
123+
"commitId": "f67d32d6b056c3801f28fcf2bbc570ae964d8d33",
124+
"prId": "6805",
125+
"author": "Rodrigo Lazo",
126+
"message": "[VertexAI] Log warning for unsupported model names (#6805)\n\nAdded a warning message to the initializers of GenerativeModel and\nImagenModel that is logged when the provided model name does not start\nwith the expected prefix (\"gemini-\" for GenerativeModel and \"imagen-\"\nfor ImagenModel). The warning message includes a link to the\ndocumentation for supported models.\n\nNote: No error is thrown in case the naming scheme is changed in the\nfuture, though we would want to update the logic/message at that time.\n\nRelated iOS PR https://github.com/firebase/firebase-ios-sdk/pull/14610",
127+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/f67d32d6b056c3801f28fcf2bbc570ae964d8d33",
128+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6805"
129+
},
130+
{
131+
"commitId": "8a72ed5841a203e48b6c1d771f52cc71110834cd",
132+
"prId": "6804",
133+
"author": "David Motsonashvili",
134+
"message": "Add ML monitoring info to GenAI requests (#6804)\n\nCo-authored-by: David Motsonashvili <[email protected]>",
135+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/8a72ed5841a203e48b6c1d771f52cc71110834cd",
136+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6804"
137+
},
138+
{
139+
"commitId": "564734a4e7152ca1e8743f7f05d53ee0f2679bdc",
140+
"prId": "6800",
141+
"author": "Andrew Heard",
142+
"message": "[Vertex AI] Return `ImagenInlineImage.data` as binary (#6800)\n\nCo-authored-by: Rodrigo Lazo <[email protected]>",
143+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/564734a4e7152ca1e8743f7f05d53ee0f2679bdc",
144+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6800"
145+
},
146+
{
147+
"commitId": "9b42d841540cbf2eb52e0e8cdaff6a131dc2eaf4",
148+
"prId": "6771",
149+
"author": "David Motsonashvili",
150+
"message": "fix for new version of golden files (#6771)\n\nCo-authored-by: David Motsonashvili <[email protected]>",
151+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/9b42d841540cbf2eb52e0e8cdaff6a131dc2eaf4",
152+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6771"
153+
},
154+
{
155+
"commitId": "19dd95bb556b7a00df2daf548ad50407345f1c0e",
156+
"prId": "6762",
157+
"author": "Rodrigo Lazo",
158+
"message": "[VertexAI] Remove redundant tests (#6762)\n\nThere is an extra copy of some tests inside ` test/.../common`\ndirectory. This change removes them, and in the process:\n\n- Adds missing tests to the correct test file\n- Gets rid of duplicated tests and test-util code\n- Adds an exception type for quota exceeded",
159+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/19dd95bb556b7a00df2daf548ad50407345f1c0e",
160+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6762"
161+
},
162+
{
163+
"commitId": "bdb330ec29680503e9e319b00d75ec99b96c42d6",
164+
"prId": "6768",
165+
"author": "Rodrigo Lazo",
166+
"message": "Add GenerationConfig to CountTokenRequest's (#6768)\n\nFor reference b/402856353",
167+
"commitLink": "https://github.com/firebase/firebase-android-sdk/commit/bdb330ec29680503e9e319b00d75ec99b96c42d6",
168+
"prLink": "https://github.com/firebase/firebase-android-sdk/pull/6768"
169+
}
170+
]
171+
},
172+
"changedLibrariesWithNoChangelog": [
173+
":firebase-crashlytics",
174+
":firebase-crashlytics-ndk",
175+
":firebase-sessions",
176+
":firebase-crashlytics:ktx"
177+
]
178+
}

0 commit comments

Comments
 (0)