Skip to content

Commit 44aa1b1

Browse files
authored
Add Lithuanian and Marathi to TextToSpeechLanguage (#603)
* Add Lithuanian and Marathi to TextToSpeechLanguage * changelog + version bump
1 parent ff6decc commit 44aa1b1

File tree

6 files changed

+11
-4
lines changed

6 files changed

+11
-4
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.4.2] - 2025-10-23
6+
- Added missing supported languages (Lithuanian and Marathi) to `TextToSpeechLanguage` enum
7+
58
# [9.4.1] - 2025-08-22
69
- Fixed typo for verify to correct the call to next workflow
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.4.1")
77+
implementation("com.vonage:server-sdk:9.4.2")
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.4.1</version>
88+
<version>9.4.2</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.4.1</version>
8+
<version>9.4.2</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.4.1",
40+
CLIENT_VERSION = "9.4.2",
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/voice/TextToSpeechLanguage.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ public enum TextToSpeechLanguage {
9090
UKRAINIAN("uk-UA"),
9191
VIETNAMESE("vi-VN"),
9292
CHINESE_YUE("yue-CN"),
93+
LITHUANIAN("lt-LT"),
94+
MARATHI("mr-IN"),
9395

9496
@JsonEnumDefaultValue
9597
UNKNOWN("Unknown");

src/test/java/com/vonage/client/voice/TextToSpeechLanguageTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ public void testLanguageNames() {
9090
assertEquals(UKRAINIAN, fromString("uk-UA"));
9191
assertEquals(VIETNAMESE, fromString("vi-VN"));
9292
assertEquals(CHINESE_YUE, fromString("yue-CN"));
93+
assertEquals(LITHUANIAN, fromString("lt-LT"));
94+
assertEquals(MARATHI, fromString("mr-IN"));
9395
assertEquals(UNKNOWN, fromString("Klingon"));
9496
}
9597

0 commit comments

Comments
 (0)