Skip to content

Releases: DeepLcom/deepl-java

v1.5.0

10 Apr 14:23
v1.5.0
9f78157
Compare
Choose a tag to compare

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

03 Nov 21:19
v1.4.0
1b338d3
Compare
Choose a tag to compare

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

09 Jun 12:15
v1.3.0
952f3b0
Compare
Choose a tag to compare

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

02 Apr 23:23
v1.2.0
2e6ecc0
Compare
Choose a tag to compare

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

27 Jan 08:23
v1.1.0
7aa1bcd
Compare
Choose a tag to compare

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.

v1.0.1

02 Jan 16:08
v1.0.1
e59e347
Compare
Choose a tag to compare

Fixed

  • Always send SentenceSplittingMode option in requests.

v1.0.0

15 Dec 14:46
v1.0.0
63536dc
Compare
Choose a tag to compare

Stable release.

Added

  • Add support for glossary management functions.

Changed

  • parsing.ErrorResponse fields message and detail are now private, encapsulated with getters.

v0.2.1

19 Oct 12:38
v0.2.1
a4c0a35
Compare
Choose a tag to compare

Fixed

  • Handle case where HTTP response is not valid JSON.

v0.2.0

27 Sep 10:49
v0.2.0
ed420f8
Compare
Choose a tag to compare

Added

  • Add new Formality options: PreferLess and PreferMore.

Changed

  • Requests resulting in 503 Service Unavailable errors are now retried.
    Attempting to download a document before translation is completed will now
    wait and retry (up to 5 times by default), rather than throwing an exception.

Fixed

  • Use Locale.ENGLISH when changing string case.
  • Avoid cases in HttpContent and StreamUtils where temporary objects might
    not be closed.

v0.1.3

09 Sep 07:12
v0.1.3
3f1c8bf
Compare
Choose a tag to compare

Fixed

  • Fixed examples in readme.
  • Usage.Detail count and limit properties type changed from int to long.