Releases: DeepLcom/deepl-java
Releases · DeepLcom/deepl-java
v1.7.0
Added
- Added
modelTypeoption totranslateText()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
modelTypeUsedfield totranslateText()response, that
indicates the translation model used when themodelTypeoption is
specified.
v1.6.0
Added
- Added
getBilledCharacters()to text translation response.
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/documentinstead of/v2/document/(no trailing/).
Both paths will continue to work in the v2 version of the API, but/v2/documentis the intended one.
v1.4.0
Added
- Add optional
contextparameter for text translation, that specifies
additional context to influence translations, that is not translated itself.
Fixed
- Remove unused
commons-mathdependency
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.ErrorResponsefieldsmessageanddetailare now private, encapsulated with getters.
v0.2.1
Fixed
- Handle case where HTTP response is not valid JSON.