diff --git a/CHANGELOG.md b/CHANGELOG.md index 08258ec..19b14a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 205409c..e200662 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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") } ``` @@ -74,7 +74,7 @@ Add the following to the `` section of your `pom.xml` file: com.vonage server-sdk-kotlin - 1.1.0 + 1.1.1 ``` @@ -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 diff --git a/pom.xml b/pom.xml index 1b9d26d..7bab987 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.vonage server-sdk-kotlin - 1.1.0 + 1.1.1 Vonage Kotlin Server SDK Kotlin client for Vonage APIs @@ -55,7 +55,7 @@ com.vonage server-sdk - 8.14.0 + 8.15.0 org.jetbrains.kotlin diff --git a/src/main/kotlin/com/vonage/client/kt/Vonage.kt b/src/main/kotlin/com/vonage/client/kt/Vonage.kt index 6777e4a..c773a10 100644 --- a/src/main/kotlin/com/vonage/client/kt/Vonage.kt +++ b/src/main/kotlin/com/vonage/client/kt/Vonage.kt @@ -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" /** diff --git a/src/test/kotlin/com/vonage/client/kt/NumberInsightTest.kt b/src/test/kotlin/com/vonage/client/kt/NumberInsightTest.kt index a1e828d..c6c8643 100644 --- a/src/test/kotlin/com/vonage/client/kt/NumberInsightTest.kt +++ b/src/test/kotlin/com/vonage/client/kt/NumberInsightTest.kt @@ -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 ) } diff --git a/src/test/kotlin/com/vonage/client/kt/SmsTest.kt b/src/test/kotlin/com/vonage/client/kt/SmsTest.kt index cb73b0a..7ad0d6b 100644 --- a/src/test/kotlin/com/vonage/client/kt/SmsTest.kt +++ b/src/test/kotlin/com/vonage/client/kt/SmsTest.kt @@ -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( @@ -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,