Skip to content

Releases: DeepL/deepl-java

v1.9.0

Choose a tag to compare

@JanEbbing JanEbbing released this 21 Feb 15:53
v1.9.0
63754b7

Added

  • Allow specifying the API version to use. This is mostly for users who have an
    API subscription that includes an API key for CAT tool usage, who need to use
    the v1 API.

v1.8.1

Choose a tag to compare

@JanEbbing JanEbbing released this 14 Feb 17:11
v1.8.1
87e78b1

Fixed

  • Added a constructor for DeepLClient that only takes an authKey, to fix the
    README example and be in line with Translator.
  • Un-deprecated the Translator and TranslatorOptions class and moved it to
    their constructors. The functionality in them continues to work and be supported,
    user code should just use DeepLClient and DeepLClientOptions.

v1.8.0

Choose a tag to compare

@JanEbbing JanEbbing released this 17 Jan 16:14
v1.8.0
9087e77

Added

  • Added support for the Write API in the client library, the implementation
    can be found in the DeepLClient class. Please refer to the README for usage
    instructions.

Changed

  • The main functionality of the library is now also exposed via the DeepLClient
    class. Please change your code to use this over the Translator class whenever
    convenient.

v1.7.0

Choose a tag to compare

@JanEbbing JanEbbing released this 15 Nov 15:53
40997d8

Added

  • Added modelType option to translateText() to use models with higher
    translation quality (available for some language pairs), or better latency.
    Options are 'quality_optimized', 'latency_optimized', and 'prefer_quality_optimized'
  • Added the modelTypeUsed field to translateText() response, that
    indicates the translation model used when the modelType option is
    specified.

v1.6.0

Choose a tag to compare

@daniel-jones-dev daniel-jones-dev released this 17 Sep 09:38
65bf56b

Added

  • Added getBilledCharacters() to text translation response.

v1.5.0

Choose a tag to compare

@daniel-jones-dev daniel-jones-dev released this 10 Apr 14:23
v1.5.0
9f78157

Added

  • New language available: Arabic (MSA) ('ar'). Add language code constants and tests.

    Note: older library versions also support the new language, this update only
    adds new code constants.

Fixed

  • Change document upload to use the path /v2/document instead of /v2/document/ (no trailing /).
    Both paths will continue to work in the v2 version of the API, but /v2/document is the intended one.

v1.4.0

Choose a tag to compare

released this 03 Nov 21:19
1b338d3

Added

  • Add optional context parameter for text translation, that specifies
    additional context to influence translations, that is not translated itself.

Fixed

  • Remove unused commons-math dependency

v1.3.0

Choose a tag to compare

@JanEbbing JanEbbing released this 09 Jun 12:15
v1.3.0
952f3b0

Fixed

  • Changed document translation to poll the server every 5 seconds. This should greatly reduce observed document translation processing time.
  • Fix getUsage request to be a HTTP GET request, not POST.

v1.2.0

Choose a tag to compare

@JanEbbing JanEbbing released this 02 Apr 23:23
v1.2.0
2e6ecc0

Added

  • Script to check our source code for license headers and a step for them in the CI.
  • Added system and java version information to the user-agent string that is sent with API calls, along with an opt-out.
  • Added method for applications that use this library to identify themselves in API requests they make.

v1.1.0

Choose a tag to compare

released this 27 Jan 08:23
7aa1bcd

Added

  • Add example maven project using this library.

  • New languages available: Korean ('ko') and Norwegian (bokmål) ('nb'). Add
    language code constants and tests.

    Note: older library versions also support the new languages, this update only
    adds new code constants.

Fixed

  • Send Formality options in API requests even if it is default.