Releases: DeepLcom/deepl-java
Releases · DeepLcom/deepl-java
v1.10.3
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.
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.