Releases: DeepLcom/deepl-java
Releases · DeepLcom/deepl-java
v1.12.0
v1.11.0
Added
- Added
extraRequestParametersoption 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 astarget_lang,source_lang, etc.).
v1.10.3
Security
- Updated
org.apache.httpcomponents:httpclientto 4.5.14 due to CVE-2020-13956.
v1.10.2
v1.10.1
v1.10.0
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
v1.9.0
v1.8.1
Fixed
- Added a constructor for
DeepLClientthat only takes anauthKey, to fix the
README example and be in line withTranslator. - Un-deprecated the
TranslatorandTranslatorOptionsclass and moved it to
their constructors. The functionality in them continues to work and be supported,
user code should just useDeepLClientandDeepLClientOptions.
v1.8.0
Added
- Added support for the Write API in the client library, the implementation
can be found in theDeepLClientclass. 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 theTranslatorclass whenever
convenient.
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.