Skip to content

Commit

Permalink
build: Bump version & use Java SDK v8.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SMadani committed Dec 3, 2024
1 parent ecb84dd commit e962031
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 11 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.1.1] - 2024-12-03
- Bumped Java SDK version to 8.15.0

### Added
- Support for HTTP proxies
- `maxBitrate` property in Video broadcasts

### Changed
- Bumped Kotlin version to 2.1.0

## [1.1.0] - 2024-11-05

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

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

```groovy
dependencies {
implementation("com.vonage:server-sdk-kotlin:1.1.0")
implementation("com.vonage:server-sdk-kotlin:1.1.1")
}
```

Expand All @@ -74,7 +74,7 @@ Add the following to the `<dependencies>` section of your `pom.xml` file:
<dependency>
<groupId>com.vonage</groupId>
<artifactId>server-sdk-kotlin</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
</dependency>
```

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

The SDK is fully documented with [KDocs](https://kotlinlang.org/docs/kotlin-doc.html), so you should have complete
documentation from your IDE. You may need to click "Download Sources" in IntelliJ to get the full documentation.
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),
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/).
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),
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/).

For help with any specific APIs, refer to the relevant documentation on our [developer portal](https://developer.vonage.com/en/documentation),
using the links provided in the [Supported APIs](#supported-apis) section. For completeness, you can also consult the
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.vonage</groupId>
<artifactId>server-sdk-kotlin</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>

<name>Vonage Kotlin Server SDK</name>
<description>Kotlin client for Vonage APIs</description>
Expand Down Expand Up @@ -55,7 +55,7 @@
<dependency>
<groupId>com.vonage</groupId>
<artifactId>server-sdk</artifactId>
<version>8.14.0</version>
<version>8.15.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/com/vonage/client/kt/Vonage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package com.vonage.client.kt
import com.vonage.client.HttpConfig
import com.vonage.client.VonageClient

const val VONAGE_KOTLIN_SDK_VERSION = "1.1.0"
const val VONAGE_KOTLIN_SDK_VERSION = "1.1.1"
private const val SDK_USER_AGENT = "vonage-kotlin-sdk/$VONAGE_KOTLIN_SDK_VERSION"

/**
Expand Down
4 changes: 3 additions & 1 deletion src/test/kotlin/com/vonage/client/kt/NumberInsightTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ class NumberInsightTest : AbstractTest() {
mockPostQueryParams(
expectedUrl = "/ni/${type.name.lowercase().replace('_', '/')}/json",
expectedRequestParams = expectedRequestParams,
expectedResponseParams = expectedResponseParams
expectedResponseParams = expectedResponseParams,
authType = if (type == InsightType.BASIC)
AuthType.API_KEY_SECRET_HEADER else AuthType.API_KEY_SECRET_QUERY_PARAMS
)
}

Expand Down
10 changes: 8 additions & 2 deletions src/test/kotlin/com/vonage/client/kt/SmsTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ class SmsTest : AbstractTest() {
val messagePrice = "0.03330000"
val network = "23410"

mockPostQueryParams(sendUrl, requestParams, expectedResponseParams = mapOf(
mockPostQueryParams(
expectedUrl = sendUrl,
authType = AuthType.API_KEY_SECRET_HEADER,
expectedRequestParams = requestParams,
expectedResponseParams = mapOf(
"message-count" to "1",
"messages" to listOf(
mapOf(
Expand Down Expand Up @@ -156,7 +160,9 @@ class SmsTest : AbstractTest() {
)
val successMap = mapOf("status" to "0")

mockPostQueryParams(sendUrl, expectedRequestParams, expectedResponseParams = mapOf(
mockPostQueryParams(sendUrl, expectedRequestParams,
authType = AuthType.API_KEY_SECRET_HEADER,
expectedResponseParams = mapOf(
"message-count" to "2147483647",
"messages" to listOf(
successMap, successMap, successMap, successMap,
Expand Down

0 comments on commit e962031

Please sign in to comment.