File tree Expand file tree Collapse file tree 18 files changed +37
-20
lines changed
encoders/firebase-encoders-proto
firebase-inappmessaging-display
firebase-ml-modeldownloader
src/main/kotlin/com/google/firebase/vertexai Expand file tree Collapse file tree 18 files changed +37
-20
lines changed Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
* [ changed] Updated protobuf dependency to ` 3.25.5 ` to fix
3
- [ CVE-2024 -7254] ( https://github.com/advisories/GHSA-735f-pc8j-v9w8 ) .
3
+ [ CVE-2024 -7254] ( https://nvd.nist.gov/vuln/detail/CVE-2024-7254 ) .
4
4
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
* [ changed] Updated protobuf dependency to ` 3.25.5 ` to fix
3
- [ CVE-2024 -7254] ( https://github.com/advisories/GHSA-735f-pc8j-v9w8 ) .
3
+ [ CVE-2024 -7254] ( https://nvd.nist.gov/vuln/detail/CVE-2024-7254 ) .
4
4
5
5
# 22.0.0
6
6
* [ changed] Bump internal dependencies
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
* [ changed] Updated protobuf dependency to ` 3.25.5 ` to fix
3
- [ CVE-2024 -7254] ( https://github.com/advisories/GHSA-735f-pc8j-v9w8 ) .
3
+ [ CVE-2024 -7254] ( https://nvd.nist.gov/vuln/detail/CVE-2024-7254 ) .
4
4
5
5
6
6
# 19.2.0
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
* [ changed] Updated protobuf dependency to ` 3.25.5 ` to fix
3
- [ CVE-2024 -7254] ( https://github.com/advisories/GHSA-735f-pc8j-v9w8 ) .
3
+ [ CVE-2024 -7254] ( https://nvd.nist.gov/vuln/detail/CVE-2024-7254 ) .
4
4
5
5
# 16.0.0-beta01
6
6
* [ feature] Initial release of the Data Connect SDK (public preview). Learn how to
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ firebaseLibrary {
31
31
publishJavadoc = false
32
32
previewMode = " beta"
33
33
releaseNotes {
34
- name.set(" {{firebase_data_connect }}" )
35
- versionName.set(" dataconnect " )
34
+ name.set(" {{data_connect_short }}" )
35
+ versionName.set(" data-connect " )
36
36
hasKTX.set(false )
37
37
}
38
38
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
* [ changed] Update Firestore proto definitions. [ #6369 ] ( //github.com/firebase/firebase-android-sdk/pull/6369 )
3
3
* [ changed] Updated protobuf dependency to ` 3.25.5 ` to fix
4
- [ CVE-2024 -7254] ( https://github.com/advisories/GHSA-735f-pc8j-v9w8 ) .
4
+ [ CVE-2024 -7254] ( https://nvd.nist.gov/vuln/detail/CVE-2024-7254 ) .
5
5
6
6
# 25.1.0
7
7
* [ feature] Add support for the VectorValue type. [ #6154 ] ( //github.com/firebase/firebase-android-sdk/pull/6154 )
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
* [ changed] Updated protobuf dependency to ` 3.25.5 ` to fix
3
- [ CVE-2024 -7254] ( https://github.com/advisories/GHSA-735f-pc8j-v9w8 ) .
3
+ [ CVE-2024 -7254] ( https://nvd.nist.gov/vuln/detail/CVE-2024-7254 ) .
4
4
5
5
# 21.0.0
6
6
* [ fixed] Fixed bad token exception while showing FIAM
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
* [ changed] Updated protobuf dependency to ` 3.25.5 ` to fix
3
- [ CVE-2024 -7254] ( https://github.com/advisories/GHSA-735f-pc8j-v9w8 ) .
3
+ [ CVE-2024 -7254] ( https://nvd.nist.gov/vuln/detail/CVE-2024-7254 ) .
4
4
5
5
# 21.0.0
6
6
* [ fixed] Fixed bad token exception while showing FIAM
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
* [ changed] Updated protobuf dependency to ` 3.25.5 ` to fix
3
- [ CVE-2024 -7254] ( https://github.com/advisories/GHSA-735f-pc8j-v9w8 ) .
3
+ [ CVE-2024 -7254] ( https://nvd.nist.gov/vuln/detail/CVE-2024-7254 ) .
4
4
5
5
6
6
# 24.0.2
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
* [ changed] Updated protobuf dependency to ` 3.25.5 ` to fix
3
- [ CVE-2024 -7254] ( https://github.com/advisories/GHSA-735f-pc8j-v9w8 ) .
3
+ [ CVE-2024 -7254] ( https://nvd.nist.gov/vuln/detail/CVE-2024-7254 ) .
4
4
5
5
6
6
# 25.0.0
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
- * [ fixed] Fix IllegalStateException when starting a trace before Firebase initializes.
2
+ * [ fixed] Fixed ` IllegalStateException ` that happened when starting a trace
3
+ before Firebase initializes.
3
4
* [ changed] Updated protobuf dependency to ` 3.25.5 ` to fix
4
- [ CVE-2024 -7254] ( https://github.com/advisories/GHSA-735f-pc8j-v9w8 ) .
5
+ [ CVE-2024 -7254] ( https://nvd.nist.gov/vuln/detail/CVE-2024-7254 ) .
5
6
6
7
# 21.0.1
7
8
* [ fixed] Fixed an ` ExceptionInInitializerError ` where the ` url.openStream() ` causes a crash if
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
+ * [ feature] {{firebase_vertexai}} is now Generally Available (GA) and can be
3
+ used in production apps.
4
+
5
+ Use the {{firebase_vertexai_sdk}} to call the {{gemini_api_vertexai_long}}
6
+ directly from your app. This client SDK is built specifically for use with
7
+ Android apps, offering security options against unauthorized clients
8
+ as well as integrations with other Firebase services.
9
+
10
+ * If you're new to this library, visit the
11
+ [ getting started guide] ( /docs/vertex-ai/get-started?platform=android ) .
12
+
13
+ * If you were using the preview version of the library, visit the
14
+ [ migration guide] ( /docs/vertex-ai/migrate-to-ga?platform=android ) to learn
15
+ about some important updates.
2
16
* [ changed] ** Breaking Change** : Changed ` functionCallingConfig ` parameter type to be nullable in ` ToolConfig ` . (#6373 )
3
17
* [ changed] ** Breaking Change** : Removed ` functionResponse ` accessor method from ` GenerateContentResponse ` . (#6373 )
4
18
* [ changed] ** Breaking Change** : Migrated ` FirebaseVertexAIException ` from a sealed class to an abstract class, and marked constructors as internal. (#6368 )
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ internal constructor(
42
42
/* *
43
43
* Instantiates a new [GenerativeModel] given the provided parameters.
44
44
*
45
- * @param modelName The name of the model to use, for example "gemini-1.5-pro".
45
+ * @param modelName The name of the model to use, for example ` "gemini-1.5-pro"` .
46
46
* @param generationConfig The configuration parameters to use for content generation.
47
47
* @param safetySettings The safety bounds the model will abide to during content generation.
48
48
* @param tools A list of [Tool]s the model may use to generate content.
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import com.google.common.util.concurrent.ListenableFuture
21
21
import com.google.firebase.vertexai.Chat
22
22
import com.google.firebase.vertexai.type.Content
23
23
import com.google.firebase.vertexai.type.GenerateContentResponse
24
+ import com.google.firebase.vertexai.type.InvalidStateException
24
25
import kotlinx.coroutines.reactive.asPublisher
25
26
import org.reactivestreams.Publisher
26
27
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import com.google.firebase.vertexai.GenerativeModel
22
22
import com.google.firebase.vertexai.java.ChatFutures.Companion.from
23
23
import com.google.firebase.vertexai.type.Content
24
24
import com.google.firebase.vertexai.type.CountTokensResponse
25
+ import com.google.firebase.vertexai.type.FirebaseVertexAIException
25
26
import com.google.firebase.vertexai.type.GenerateContentResponse
26
27
import kotlinx.coroutines.reactive.asPublisher
27
28
import org.reactivestreams.Publisher
@@ -65,13 +66,13 @@ public abstract class GenerativeModelFutures internal constructor() {
65
66
public abstract fun countTokens (vararg prompt : Content ): ListenableFuture <CountTokensResponse >
66
67
67
68
/* *
68
- * Creates a [ChatFuture ] instance which internally tracks the ongoing conversation with the
69
+ * Creates a [ChatFutures ] instance which internally tracks the ongoing conversation with the
69
70
* model.
70
71
*/
71
72
public abstract fun startChat (): ChatFutures
72
73
73
74
/* *
74
- * Creates a [ChatFuture ] instance, initialized using the optionally provided [history].
75
+ * Creates a [ChatFutures ] instance, initialized using the optionally provided [history].
75
76
*
76
77
* @param history A list of previous interactions with the model to use as a starting point
77
78
*/
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ import android.graphics.Bitmap
24
24
* `Content` is composed of a one or more heterogeneous parts that can be represent data in
25
25
* different formats, like text or images.
26
26
*
27
- * @param role The producer of the content. Must be either ' user' or ' model' . By default, it's
28
- * "user".
27
+ * @param role The producer of the content. Must be either `" user"` or `" model"` . By default, it's
28
+ * ` "user"` .
29
29
* @param parts An ordered list of [Part] that constitute this content.
30
30
*/
31
31
public class Content
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
* [ changed] Updated protobuf dependency to ` 3.25.5 ` to fix
3
- [ CVE-2024 -7254] ( https://github.com/advisories/GHSA-735f-pc8j-v9w8 ) .
3
+ [ CVE-2024 -7254] ( https://nvd.nist.gov/vuln/detail/CVE-2024-7254 ) .
4
4
5
5
6
6
# 3.3.0
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
* [ changed] Updated protobuf dependency to ` 3.25.5 ` to fix
3
- [ CVE-2024 -7254] ( https://github.com/advisories/GHSA-735f-pc8j-v9w8 ) .
3
+ [ CVE-2024 -7254] ( https://nvd.nist.gov/vuln/detail/CVE-2024-7254 ) .
4
4
5
5
6
6
# 3.3.0
You can’t perform that action at this time.
0 commit comments