Skip to content

Releases: DeepLcom/deepl-java

v1.16.0

09 Apr 18:38
v1.16.0
9c41d7e

Choose a tag to compare

Added

  • Added support for translation memories in text translation via
    setTranslationMemoryId() and setTranslationMemoryThreshold() in
    TextTranslationOptions.
  • Added listTranslationMemories() method to the DeepLClient class for
    listing available translation memories.

Fixed

  • Fixed GitLab release job using wrong image by explicitly setting image: registry.gitlab.com/gitlab-org/release-cli:latest.

v1.15.0

26 Mar 20:04
v1.15.0
424aad4

Choose a tag to compare

Added

  • Added JSON request body support to HttpContent and HttpClientWrapper, enabling
    JSON-encoded API calls via sendJsonRequestWithBackoff() and sendJsonPatchRequestWithBackoff().
  • Added support for style rules CRUD endpoints in the DeepLClient class:
    createStyleRule(), getStyleRule(), updateStyleRuleName(),
    updateStyleRuleConfiguredRules(), and deleteStyleRule().
  • Added support for style rule custom instruction CRUD endpoints in the
    DeepLClient class: createStyleRuleCustomInstruction(),
    getStyleRuleCustomInstruction(), updateStyleRuleCustomInstruction(),
    and deleteStyleRuleCustomInstruction().
    Please refer to the README for usage instructions.

v1.14.0

21 Jan 17:00
v1.14.0
e91115a

Choose a tag to compare

Added

  • Added setTagHandlingVersion() method to TextTranslationOptions to specify which version of the tag handling algorithm to use. Options are v1 and v2.

v1.13.0

08 Dec 21:27
v1.13.0
b0b941a

Choose a tag to compare

Added

  • Added setCustomInstructions() method to TextTranslationOptions to customize translation behavior with up to 10 instructions (max 300 characters each). Only supported for target languages: de, en, es, fr, it, ja, ko, zh and their variants. Note: using the custom instructions parameter will use quality_optimized model type as the default. Requests combining custom instructions and the latency_optimized model type will be rejected.

v1.12.0

12 Nov 19:01
v1.12.0
ef09094

Choose a tag to compare

  • Added support for the GET /v3/style_rules endpoint in the client library, the
    implementation can be found in the DeepLClient class. Please refer to the
    README for usage instructions
  • Added styleId option to translateText() which allows text translation with
    style rules.

v1.11.0

05 Nov 08:13
v1.11.0

Choose a tag to compare

Added

  • Added extraRequestParameters option to text and document translation methods to pass arbitrary parameters in the request body. This can be used to access beta features or override built-in parameters (such as target_lang, source_lang, etc.).

v1.10.3

22 Aug 14:24
v1.10.3
c84587e

Choose a tag to compare

Security

v1.10.2

22 Aug 14:23
v1.10.2
466cfbe

Choose a tag to compare

Changed

  • Migrate to Sonatype Portal OSSRH Staging API due to legacy OSSRH being sunsetted.
  • Whitespace surrounding auth key is now stripped.

v1.10.1

19 Jun 10:48
v1.10.1
dd3b6dc

Choose a tag to compare

Fixed

  • Fixed DeepLClient::deleteMultilingualGlossary(String glossaryId) being package private, made it public instead.

v1.10.0

30 Apr 19:38
v1.10.0
914b845

Choose a tag to compare

Added

  • Added support for the /v3 Multilingual Glossary APIs in the client library while providing backwards compatibility for the previous /v2 Glossary endpoints. Please refer to the README or upgrading_to_multilingual_glossaries.md for usage instructions.
  • Added Ukrainian language code