Skip to content

Commit

Permalink
RTVI 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-daily committed Oct 4, 2024
1 parent 29d850a commit 12e58fe
Show file tree
Hide file tree
Showing 27 changed files with 416 additions and 154 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 0.2.0

- Renamed:
- `VoiceClient` to `RTVIClient`
- `VoiceClientOptions` to `RTVIClientOptions`
- `VoiceEventCallbacks` to `RTVIEventCallbacks`
- `VoiceError` to `RTVIError`
- `VoiceException` to `RTVIException`
- `VoiceClientHelper` to `RTVIClientHelper`
- `RegisteredVoiceClient` to `RegisteredRTVIClient`
- `FailedToFetchAuthBundle` to `HttpError`
- `RTVIClient()` constructor parameter changes
- `options` is now mandatory
- `baseUrl` has been moved to `options.params.baseUrl`
- `baseUrl` and `endpoints` are now separate, and the endpoint names are appended to the `baseUrl`
- Moved `RTVIClientOptions.config` to `RTVIClientOptions.params.config`
- Moved `RTVIClientOptions.customHeaders` to `RTVIClientOptions.params.headers`
- Moved `RTVIClientOptions.customBodyParams` to `RTVIClientOptions.params.requestData`
- `TransportState` changes
- Removed `Idle` state, replaced with `Disconnected`
- Added `Disconnecting` state
- Added callbacks
- `onBotLLMText()`
- `onBotTTSText()`
- `onStorageItemStored()`
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[versions]
agp = "8.5.1"
kotlin = "2.0.0"
agp = "8.5.2"
kotlin = "2.0.20"
coreKtx = "1.13.1"
junit = "4.13.2"
junitVersion = "1.2.1"
appcompat = "1.7.0"
kotlinxSerializationJson = "1.7.1"
kotlinxSerializationPlugin = "2.0.0"
kotlinxSerializationPlugin = "2.0.20"
okhttp = "4.12.0"
dokka = "1.9.20"

Expand Down
2 changes: 1 addition & 1 deletion rtvi-client-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ publishing {
register<MavenPublication>("release") {
groupId = "ai.rtvi"
artifactId = "client"
version = "0.1.4"
version = "0.2.0"

pom {
name.set("RTVI Client")
Expand Down
11 changes: 11 additions & 0 deletions rtvi-client-android/src/main/java/ai/rtvi/client/Legacy.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package ai.rtvi.client


@Deprecated("VoiceClient is renamed to RTVIClient")
typealias VoiceClient = RTVIClient

@Deprecated("VoiceClientOptions is renamed to RTVIClientOptions")
typealias VoiceClientOptions = RTVIClientOptions

@Deprecated("VoiceEventCallbacks is renamed to RTVIEventCallbacks")
typealias VoiceEventCallbacks = RTVIEventCallbacks
Loading

0 comments on commit 12e58fe

Please sign in to comment.