diff --git a/CHANGELOG.md b/CHANGELOG.md index 77dc8fedc..bbba99fb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +# [9.4.2] - 2025-10-23 +- Added missing supported languages (Lithuanian and Marathi) to `TextToSpeechLanguage` enum + # [9.4.1] - 2025-08-22 - Fixed typo for verify to correct the call to next workflow diff --git a/README.md b/README.md index 06909a6a8..b1555b1c3 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ Add the following to your `build.gradle` or `build.gradle.kts` file: ```groovy dependencies { - implementation("com.vonage:server-sdk:9.4.1") + implementation("com.vonage:server-sdk:9.4.2") } ``` @@ -85,7 +85,7 @@ Add the following to the `` section of your `pom.xml` file: com.vonage server-sdk - 9.4.1 + 9.4.2 ``` diff --git a/pom.xml b/pom.xml index cd8c1ce8d..63c98ef3f 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.vonage server-sdk - 9.4.1 + 9.4.2 Vonage Java Server SDK Java client for Vonage APIs diff --git a/src/main/java/com/vonage/client/HttpWrapper.java b/src/main/java/com/vonage/client/HttpWrapper.java index 0bc01cb96..c381584fe 100644 --- a/src/main/java/com/vonage/client/HttpWrapper.java +++ b/src/main/java/com/vonage/client/HttpWrapper.java @@ -37,7 +37,7 @@ public class HttpWrapper { private static final String CLIENT_NAME = "vonage-java-sdk", - CLIENT_VERSION = "9.4.1", + CLIENT_VERSION = "9.4.2", JAVA_VERSION = System.getProperty("java.version"), USER_AGENT = String.format("%s/%s java/%s", CLIENT_NAME, CLIENT_VERSION, JAVA_VERSION); diff --git a/src/main/java/com/vonage/client/voice/TextToSpeechLanguage.java b/src/main/java/com/vonage/client/voice/TextToSpeechLanguage.java index c34385908..9e7ea9037 100644 --- a/src/main/java/com/vonage/client/voice/TextToSpeechLanguage.java +++ b/src/main/java/com/vonage/client/voice/TextToSpeechLanguage.java @@ -90,6 +90,8 @@ public enum TextToSpeechLanguage { UKRAINIAN("uk-UA"), VIETNAMESE("vi-VN"), CHINESE_YUE("yue-CN"), + LITHUANIAN("lt-LT"), + MARATHI("mr-IN"), @JsonEnumDefaultValue UNKNOWN("Unknown"); diff --git a/src/test/java/com/vonage/client/voice/TextToSpeechLanguageTest.java b/src/test/java/com/vonage/client/voice/TextToSpeechLanguageTest.java index 80e34dcf1..bca2d1892 100644 --- a/src/test/java/com/vonage/client/voice/TextToSpeechLanguageTest.java +++ b/src/test/java/com/vonage/client/voice/TextToSpeechLanguageTest.java @@ -90,6 +90,8 @@ public void testLanguageNames() { assertEquals(UKRAINIAN, fromString("uk-UA")); assertEquals(VIETNAMESE, fromString("vi-VN")); assertEquals(CHINESE_YUE, fromString("yue-CN")); + assertEquals(LITHUANIAN, fromString("lt-LT")); + assertEquals(MARATHI, fromString("mr-IN")); assertEquals(UNKNOWN, fromString("Klingon")); }