Releases: DeepLcom/deepl-java
Releases · DeepLcom/deepl-java
v1.5.0
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
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
v1.2.0
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
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
v1.0.0
Stable release.
Added
- Add support for glossary management functions.
Changed
parsing.ErrorResponse
fieldsmessage
anddetail
are now private, encapsulated with getters.
v0.2.1
Fixed
- Handle case where HTTP response is not valid JSON.
v0.2.0
Added
- Add new
Formality
options:PreferLess
andPreferMore
.
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
v0.1.3
Fixed
- Fixed examples in readme.
Usage.Detail
count
andlimit
properties type changed fromint
tolong
.