Releases: DeepLcom/deepl-dotnet
Releases · DeepLcom/deepl-dotnet
v1.18.0
Added
- Added
CustomInstructionsproperty toTextTranslateOptionsto customize translation behavior with up to 10 instructions (max 300 characters each). Only supported for target languages:de,en,es,fr,it,ja,ko,zhand their variants. Note: using theCustomInstructionsparameter will usequality_optimizedmodel type as the default. Requests combiningCustomInstructionsand theLatencyOptimizedmodel type will be rejected.
v1.17.0
Added
- Added support for style rules in text translation via the
StyleIdproperty inTextTranslateOptions. - Added
GetAllStyleRulesAsync()method toDeepLClientto retrieve all available style rules with optional pagination and detailed configuration. - Added new model classes:
StyleRuleInfo,ConfiguredRules, andCustomInstructionto support style rules functionality.
v1.16.0
Added
- Added
ExtraBodyParametersoption 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.15.0
Added
- Added support for the /v3 Multilingual Glossary APIs in the client library while providing backwards compatability for the previous /v2 Glossary endpoints. Please refer to the README or upgrading_to_multilingual_glossaries.md for usage instructions.
v1.14.0
v1.13.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.
Fixed
- Fixed code example for getting glossary entries in the README
- #58 thanks to KurtBildeSDU
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.12.0
Added
- Added document minification as a feature before document translation, to
allow translation of large docx or pptx files. For more info check the README. - Note that there might be a small delay with the nuget package release.
v1.11.0
Added
- Added
ModelTypeoption for text translation to use models with higher
translation quality (available for some language pairs), or better latency.
Options are:ModelType.QualityOptimized ('quality_optimized'),ModelType.QualityOptimized ('latency_optimized'), andModelType.QualityOptimized ('prefer_quality_optimized')
- Added the
ModelTypeUsedfield to text translation response, that
indicates the translation model used when theModelTypeoption is
specified.
v1.10.0
Added
- Added
BilledCharactersto the translate text response.
v1.9.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. - Made
DeepLExceptionand subclasses,UsageandJsonFieldsStructconstructors public, to allow for easier mocking of theITranslatorinterface.- #40 thanks to PascalVorwerkSaixon