Skip to content

Commit f23bfc8

Browse files
authored
feat: Support Messages API failover (#40)
* feat: Messages API failover * docs: Deprecate NV, SimSwap, Verify v1
1 parent 3c98e76 commit f23bfc8

File tree

18 files changed

+83
-20
lines changed

18 files changed

+83
-20
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ 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+
## [2.1.1] - 2025-05-08
8+
Adds support for failovers in Messages API
9+
10+
### Changed
11+
- Bumped Java SDK version to 9.3.1
12+
13+
### Fixed
14+
- Type inference behaviour of `Custom` client
15+
16+
### Deprecated
17+
- SIM Swap API
18+
- Number Verification API
19+
- Verify legacy (v1) API
20+
721
## [2.1.0] - 2025-04-30
822

923
### Added

README.md

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

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

6363
```groovy
6464
dependencies {
65-
implementation("com.vonage:server-sdk-kotlin:2.1.0")
65+
implementation("com.vonage:server-sdk-kotlin:2.1.1")
6666
}
6767
```
6868

@@ -73,7 +73,7 @@ Add the following to the `<dependencies>` section of your `pom.xml` file:
7373
<dependency>
7474
<groupId>com.vonage</groupId>
7575
<artifactId>server-sdk-kotlin</artifactId>
76-
<version>2.1.0</version>
76+
<version>2.1.1</version>
7777
</dependency>
7878
```
7979

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

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

165165
For help with any specific APIs, refer to the relevant documentation on our [developer portal](https://developer.vonage.com/en/documentation),
166166
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>2.1.0</version>
8+
<version>2.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>9.2.0</version>
58+
<version>9.3.1</version>
5959
</dependency>
6060
<dependency>
6161
<groupId>org.jetbrains.kotlin</groupId>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import com.vonage.client.account.*
2020
/**
2121
* Implementation of the [Account API](https://developer.vonage.com/en/api/account).
2222
*
23-
* *Authentication method:* API key & secret.
23+
* *Authentication method:* API key and secret.
2424
*/
2525
class Account internal constructor(private val client: AccountClient) {
2626

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import java.util.*
2626
/**
2727
* Implementation of the [Application API](https://developer.vonage.com/en/api/application.v2).
2828
*
29-
* *Authentication method:* API key & secret.
29+
* *Authentication method:* API key and secret.
3030
*/
3131
class Application internal constructor(private val client: ApplicationClient) {
3232

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import java.util.*
2222
/**
2323
* Implementation of the [Conversion API](https://developer.vonage.com/en/api/Conversion).
2424
*
25-
* *Authentication method:* API key & secret.
25+
* *Authentication method:* API key and secret.
2626
*/
2727
class Conversion internal constructor(private val client: ConversionClient) {
2828

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import java.util.UUID
2828
/**
2929
* Implementation of the [Messages API](https://developer.vonage.com/en/api/messages-olympus).
3030
*
31-
* *Authentication method:* JWT (recommended), API key & secret (limited functionality).
31+
* *Authentication method:* JWT (recommended), API key and secret (limited functionality).
3232
*/
3333
class Messages internal constructor(private val client: MessagesClient) {
3434

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import com.vonage.client.insight.*
2020
/**
2121
* Implementation of the [Number Insight API](https://developer.vonage.com/en/api/number-insight).
2222
*
23-
* *Authentication method:* API key & secret.
23+
* *Authentication method:* API key and secret.
2424
*/
2525
class NumberInsight internal constructor(private val client: InsightClient) {
2626

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ import java.net.URI
2424
* Implementation of the [Number Verification API](https://developer.vonage.com/en/api/camara/number-verification).
2525
*
2626
* *Authentication method:* JWT.
27+
*
28+
* @deprecated This API will be moved in a future major release.
2729
*/
30+
@Deprecated("This API will be moved in a future release.")
2831
class NumberVerification internal constructor(private val client: NumberVerificationClient) {
2932
private var redirectUri: URI? = null
3033

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import com.vonage.client.numbers.*
2020
/**
2121
* Implementation of the [Numbers API](https://developer.vonage.com/en/api/numbers).
2222
*
23-
* *Authentication method:* API key & secret.
23+
* *Authentication method:* API key and secret.
2424
*/
2525
class Numbers internal constructor(private val client: NumbersClient) {
2626

0 commit comments

Comments
 (0)