Skip to content

Commit 87e78b1

Browse files
committed
docs: Increase version to 1.8.1
1 parent 1114532 commit 87e78b1

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77

8+
## [1.8.1] - 2025-02-07
9+
### Fixed
10+
* Added a constructor for `DeepLClient` that only takes an `authKey`, to fix the
11+
README example and be in line with `Translator`.
12+
* Un-deprecated the `Translator` and `TranslatorOptions` class and moved it to
13+
their constructors. The functionality in them continues to work and be supported,
14+
user code should just use `DeepLClient` and `DeepLClientOptions`.
15+
816
## [1.8.0] - 2025-01-17
917
### Added
1018
* Added support for the Write API in the client library, the implementation
@@ -135,6 +143,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
135143
Initial version.
136144

137145

146+
[1.8.1]: https://github.com/DeepLcom/deepl-java/compare/v1.8.0...v1.8.1
138147
[1.8.0]: https://github.com/DeepLcom/deepl-java/compare/v1.7.0...v1.8.0
139148
[1.7.0]: https://github.com/DeepLcom/deepl-java/compare/v1.6.0...v1.7.0
140149
[1.6.0]: https://github.com/DeepLcom/deepl-java/compare/v1.5.1...v1.6.0

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Java 1.8 or later.
3131
Add this dependency to your project's build file:
3232

3333
```
34-
implementation "com.deepl.api:deepl-java:1.8.0"
34+
implementation "com.deepl.api:deepl-java:1.8.1"
3535
```
3636

3737
### Maven users
@@ -42,7 +42,7 @@ Add this dependency to your project's POM:
4242
<dependency>
4343
<groupId>com.deepl.api</groupId>
4444
<artifactId>deepl-java</artifactId>
45-
<version>1.8.0</version>
45+
<version>1.8.1</version>
4646
</dependency>
4747
```
4848

deepl-java/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group = "com.deepl.api"
9-
version = "1.8.0"
9+
version = "1.8.1"
1010

1111
val sharedManifest = the<JavaPluginConvention>().manifest {
1212
attributes (

deepl-java/src/main/java/com/deepl/api/Translator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public Translator(String authKey) throws IllegalArgumentException {
8686
*/
8787
private String constructUserAgentString(boolean sendPlatformInfo, AppInfo appInfo) {
8888
StringBuilder sb = new StringBuilder();
89-
sb.append("deepl-java/1.8.0");
89+
sb.append("deepl-java/1.8.1");
9090
if (sendPlatformInfo) {
9191
sb.append(" (");
9292
Properties props = System.getProperties();

0 commit comments

Comments
 (0)