Skip to content

Commit b0b941a

Browse files
docs: Bump version to 1.13.0
1 parent f00229c commit b0b941a

5 files changed

Lines changed: 18 additions & 6 deletions

File tree

.bumpversion.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Configuration file for bumpversion
22
# See https://github.com/callowayproject/bump-my-version
33
[tool.bumpversion]
4-
current_version = "1.12.0"
4+
current_version = "1.13.0"
55
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
66
serialize = ["{major}.{minor}.{patch}"]
77
search = "{current_version}"

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.13.0] - 2025-12-03
10+
### Added
11+
- Added `setCustomInstructions()` method to `TextTranslationOptions` to
12+
customize translation behavior with up to 10 instructions (max 300 characters
13+
each). Only supported for target languages: `de`, `en`, `es`, `fr`, `it`,
14+
`ja`, `ko`, `zh` and their variants.
15+
16+
Note: using the custom instructions parameter will use `quality_optimized`
17+
model type as the default. Requests combining custom instructions and the
18+
`latency_optimized` model type will be rejected.
19+
920
## [1.12.0] - 2025-11-12
1021
### Added
1122
- Added support for the `GET /v3/style_rules` endpoint in the client library, the
@@ -178,7 +189,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
178189
## [0.1.0] - 2022-09-08
179190
Initial version.
180191

181-
[Unreleased]: https://github.com/DeepLcom/deepl-java/compare/v1.12.0...HEAD
192+
[Unreleased]: https://github.com/DeepLcom/deepl-java/compare/v1.13.0...HEAD
193+
[1.13.0]: https://github.com/DeepLcom/deepl-java/compare/v1.12.0...v1.13.0
182194
[1.12.0]: https://github.com/DeepLcom/deepl-java/compare/v1.11.0...v1.12.0
183195
[1.11.0]: https://github.com/DeepLcom/deepl-java/compare/v1.10.3...v1.11.0
184196
[1.10.3]: https://github.com/DeepLcom/deepl-java/compare/v1.10.2...v1.10.3

README.md

Lines changed: 2 additions & 2 deletions
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.12.0"
34+
implementation "com.deepl.api:deepl-java:1.13.0"
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.12.0</version>
45+
<version>1.13.0</version>
4646
</dependency>
4747
```
4848

deepl-java/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
}
1111

1212
group = "com.deepl.api"
13-
version = "1.12.0"
13+
version = "1.13.0"
1414

1515
val sharedManifest = the<JavaPluginConvention>().manifest {
1616
attributes (

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public Translator(String authKey) throws IllegalArgumentException {
9292
*/
9393
private String constructUserAgentString(boolean sendPlatformInfo, AppInfo appInfo) {
9494
StringBuilder sb = new StringBuilder();
95-
sb.append("deepl-java/1.12.0");
95+
sb.append("deepl-java/1.13.0");
9696
if (sendPlatformInfo) {
9797
sb.append(" (");
9898
Properties props = System.getProperties();

0 commit comments

Comments
 (0)