Skip to content

Commit 21e33b3

Browse files
committed
docs: Deprecate Verify v1, NV & SIM Swap
1 parent b49b3cb commit 21e33b3

13 files changed

+33
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
# [9.3.1] - 2025-0?-??
6+
- Deprecated Verify v1, SIM Swap and Number Verification APIs
7+
58
# [9.3.0] - 2025-05-07
69
- Added support for native failover in Messages API
710

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Add the following to your `build.gradle` or `build.gradle.kts` file:
7474

7575
```groovy
7676
dependencies {
77-
implementation("com.vonage:server-sdk:9.3.0")
77+
implementation("com.vonage:server-sdk:9.3.1")
7878
}
7979
```
8080

@@ -85,7 +85,7 @@ Add the following to the `<dependencies>` section of your `pom.xml` file:
8585
<dependency>
8686
<groupId>com.vonage</groupId>
8787
<artifactId>server-sdk</artifactId>
88-
<version>9.3.0</version>
88+
<version>9.3.1</version>
8989
</dependency>
9090
```
9191

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.vonage</groupId>
77
<artifactId>server-sdk</artifactId>
8-
<version>9.3.0</version>
8+
<version>9.3.1</version>
99

1010
<name>Vonage Java Server SDK</name>
1111
<description>Java client for Vonage APIs</description>

src/main/java/com/vonage/client/HttpWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
public class HttpWrapper {
3838
private static final String
3939
CLIENT_NAME = "vonage-java-sdk",
40-
CLIENT_VERSION = "9.3.0",
40+
CLIENT_VERSION = "9.3.1",
4141
JAVA_VERSION = System.getProperty("java.version"),
4242
USER_AGENT = String.format("%s/%s java/%s", CLIENT_NAME, CLIENT_VERSION, JAVA_VERSION);
4343

src/main/java/com/vonage/client/VonageClient.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ public SmsClient getSmsClient() {
162162
* Returns the Verify v1 API client.
163163
*
164164
* @return The {@linkplain VerifyClient}.
165+
*
166+
* @deprecated Please migrate to using {@linkplain #getVerify2Client()} instead.
165167
*/
168+
@Deprecated
166169
public VerifyClient getVerifyClient() {
167170
return verify;
168171
}
@@ -259,7 +262,10 @@ public ConversationsClient getConversationsClient() {
259262
*
260263
* @return The {@linkplain SimSwapClient}.
261264
* @since 8.8.0
265+
*
266+
* @deprecated This API will be removed in the next major release.
262267
*/
268+
@Deprecated
263269
public SimSwapClient getSimSwapClient() {
264270
return simSwap;
265271
}
@@ -269,7 +275,10 @@ public SimSwapClient getSimSwapClient() {
269275
*
270276
* @return The {@linkplain NumberVerificationClient}.
271277
* @since 8.9.0
278+
*
279+
* @deprecated This API will be removed in the next major release.
272280
*/
281+
@Deprecated
273282
public NumberVerificationClient getNumberVerificationClient() {
274283
return numberVerification;
275284
}

src/main/java/com/vonage/client/camara/numberverification/NumberVerificationClient.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131
/**
3232
* A client for communicating with the Vonage Number Verification API. The standard way to obtain an instance
3333
* of this class is to use {@link VonageClient#getNumberVerificationClient()}.
34+
*
35+
* @deprecated This API will be removed in the next major release.
3436
*/
37+
@Deprecated
3538
public class NumberVerificationClient extends NetworkApiClient {
3639
final RestEndpoint<VerifyNumberRequest, VerifyNumberResponse> verifyNumber;
3740
private final UUID appId;

src/main/java/com/vonage/client/camara/numberverification/package-info.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@
2222
*
2323
* @since 8.9.0
2424
*/
25+
@Deprecated
2526
package com.vonage.client.camara.numberverification;

src/main/java/com/vonage/client/camara/package-info.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@
2020
*
2121
* @since 8.8.0
2222
*/
23+
@Deprecated
2324
package com.vonage.client.camara;

src/main/java/com/vonage/client/camara/simswap/SimSwapClient.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@
3232
/**
3333
* A client for communicating with the Vonage SIM Swap API. The standard way to obtain an instance
3434
* of this class is to use {@link VonageClient#getSimSwapClient()}.
35+
*
36+
* @deprecated This API will be removed in the next major release.
3537
*/
38+
@Deprecated
3639
public class SimSwapClient extends NetworkApiClient {
3740
final RestEndpoint<SimSwapRequest, CheckSimSwapResponse> check;
3841
final RestEndpoint<SimSwapRequest, SimSwapDateResponse> retrieveDate;

src/main/java/com/vonage/client/camara/simswap/package-info.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@
2222
*
2323
* @since 8.8.0
2424
*/
25+
@Deprecated
2526
package com.vonage.client.camara.simswap;

src/main/java/com/vonage/client/conversations/package-info.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
/**
17-
* Implementation of the <a href=https://developer.vonage.com/en/conversation/overview>Conversation API</a>.
18+
* Implementation of the <a href=https://developer.vonage.com/en/api/conversation>Conversation API</a>.
19+
* See the <a href=https://developer.vonage.com/en/conversation/overview>Vonage developer portal</a>
20+
* for an overview and documentation.
1821
*
1922
* @since 8.4.0
2023
*/

src/main/java/com/vonage/client/verify/VerifyClient.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@
2929
* <p>
3030
* More information on method parameters can be found on the
3131
* <a href="https://developer.vonage.com/verify/overview">Vonage developer portal</a>.
32+
*
33+
* @deprecated Please migrate to {@link com.vonage.client.verify2}.
3234
*/
35+
@Deprecated
3336
public class VerifyClient {
3437
final RestEndpoint<CheckRequest, CheckResponse> check;
3538
final RestEndpoint<VerifyRequest, VerifyResponse> verify;

src/main/java/com/vonage/client/verify/package-info.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@
1919
* See the <a href=https://developer.vonage.com/en/verify/verify-v1/overview>Vonage developer portal</a>
2020
* for an overview and documentation.
2121
*/
22+
@Deprecated
2223
package com.vonage.client.verify;

0 commit comments

Comments
 (0)