Skip to content

Commit e962031

Browse files
committed
build: Bump version & use Java SDK v8.15.0
1 parent ecb84dd commit e962031

File tree

6 files changed

+29
-11
lines changed

6 files changed

+29
-11
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [1.1.1] - 2024-12-03
8+
- Bumped Java SDK version to 8.15.0
9+
10+
### Added
11+
- Support for HTTP proxies
12+
- `maxBitrate` property in Video broadcasts
13+
14+
### Changed
15+
- Bumped Kotlin version to 2.1.0
16+
717
## [1.1.0] - 2024-11-05
818

919
### Added

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ See all of our SDKs and integrations on the [Vonage Developer portal](https://de
5353
## Installation
5454
Releases are published to [Maven Central](https://central.sonatype.com/artifact/com.vonage/server-sdk-kotlin).
5555
Instructions for your build system can be found in the snippets section.
56-
They're also available from [here](https://search.maven.org/artifact/com.vonage/server-sdk-kotlin/1.1.0/jar).
56+
They're also available from [here](https://search.maven.org/artifact/com.vonage/server-sdk-kotlin/1.1.1/jar).
5757
Release notes for each version can be found in the [changelog](CHANGELOG.md).
5858

5959
Here are the instructions for including the SDK in your project:
@@ -63,7 +63,7 @@ Add the following to your `build.gradle` or `build.gradle.kts` file:
6363

6464
```groovy
6565
dependencies {
66-
implementation("com.vonage:server-sdk-kotlin:1.1.0")
66+
implementation("com.vonage:server-sdk-kotlin:1.1.1")
6767
}
6868
```
6969

@@ -74,7 +74,7 @@ Add the following to the `<dependencies>` section of your `pom.xml` file:
7474
<dependency>
7575
<groupId>com.vonage</groupId>
7676
<artifactId>server-sdk-kotlin</artifactId>
77-
<version>1.1.0</version>
77+
<version>1.1.1</version>
7878
</dependency>
7979
```
8080

@@ -160,8 +160,8 @@ including [**a searchable list of snippets**](https://github.com/Vonage/vonage-k
160160

161161
The SDK is fully documented with [KDocs](https://kotlinlang.org/docs/kotlin-doc.html), so you should have complete
162162
documentation from your IDE. You may need to click "Download Sources" in IntelliJ to get the full documentation.
163-
Alternatively, you can browse the documentation using a service like [Javadoc.io](https://javadoc.io/doc/com.vonage/server-sdk-kotlin/1.1.0/index.html),
164-
which renders the documentation for you from [the artifacts on Maven Central](https://repo.maven.apache.org/maven2/com/vonage/server-sdk-kotlin/1.1.0/).
163+
Alternatively, you can browse the documentation using a service like [Javadoc.io](https://javadoc.io/doc/com.vonage/server-sdk-kotlin/1.1.1/index.html),
164+
which renders the documentation for you from [the artifacts on Maven Central](https://repo.maven.apache.org/maven2/com/vonage/server-sdk-kotlin/1.1.1/).
165165

166166
For help with any specific APIs, refer to the relevant documentation on our [developer portal](https://developer.vonage.com/en/documentation),
167167
using the links provided in the [Supported APIs](#supported-apis) section. For completeness, you can also consult the

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.vonage</groupId>
77
<artifactId>server-sdk-kotlin</artifactId>
8-
<version>1.1.0</version>
8+
<version>1.1.1</version>
99

1010
<name>Vonage Kotlin Server SDK</name>
1111
<description>Kotlin client for Vonage APIs</description>
@@ -55,7 +55,7 @@
5555
<dependency>
5656
<groupId>com.vonage</groupId>
5757
<artifactId>server-sdk</artifactId>
58-
<version>8.14.0</version>
58+
<version>8.15.0</version>
5959
</dependency>
6060
<dependency>
6161
<groupId>org.jetbrains.kotlin</groupId>

src/main/kotlin/com/vonage/client/kt/Vonage.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package com.vonage.client.kt
1818
import com.vonage.client.HttpConfig
1919
import com.vonage.client.VonageClient
2020

21-
const val VONAGE_KOTLIN_SDK_VERSION = "1.1.0"
21+
const val VONAGE_KOTLIN_SDK_VERSION = "1.1.1"
2222
private const val SDK_USER_AGENT = "vonage-kotlin-sdk/$VONAGE_KOTLIN_SDK_VERSION"
2323

2424
/**

src/test/kotlin/com/vonage/client/kt/NumberInsightTest.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@ class NumberInsightTest : AbstractTest() {
160160
mockPostQueryParams(
161161
expectedUrl = "/ni/${type.name.lowercase().replace('_', '/')}/json",
162162
expectedRequestParams = expectedRequestParams,
163-
expectedResponseParams = expectedResponseParams
163+
expectedResponseParams = expectedResponseParams,
164+
authType = if (type == InsightType.BASIC)
165+
AuthType.API_KEY_SECRET_HEADER else AuthType.API_KEY_SECRET_QUERY_PARAMS
164166
)
165167
}
166168

src/test/kotlin/com/vonage/client/kt/SmsTest.kt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ class SmsTest : AbstractTest() {
4040
val messagePrice = "0.03330000"
4141
val network = "23410"
4242

43-
mockPostQueryParams(sendUrl, requestParams, expectedResponseParams = mapOf(
43+
mockPostQueryParams(
44+
expectedUrl = sendUrl,
45+
authType = AuthType.API_KEY_SECRET_HEADER,
46+
expectedRequestParams = requestParams,
47+
expectedResponseParams = mapOf(
4448
"message-count" to "1",
4549
"messages" to listOf(
4650
mapOf(
@@ -156,7 +160,9 @@ class SmsTest : AbstractTest() {
156160
)
157161
val successMap = mapOf("status" to "0")
158162

159-
mockPostQueryParams(sendUrl, expectedRequestParams, expectedResponseParams = mapOf(
163+
mockPostQueryParams(sendUrl, expectedRequestParams,
164+
authType = AuthType.API_KEY_SECRET_HEADER,
165+
expectedResponseParams = mapOf(
160166
"message-count" to "2147483647",
161167
"messages" to listOf(
162168
successMap, successMap, successMap, successMap,

0 commit comments

Comments
 (0)