Skip to content

Releases: DeepLcom/deepl-dotnet

v1.18.0

08 Dec 20:19
v1.18.0
9766590

Choose a tag to compare

Added

  • Added CustomInstructions property to TextTranslateOptions to customize translation behavior with up to 10 instructions (max 300 characters each). Only supported for target languages: de, en, es, fr, it, ja, ko, zh and their variants. Note: using the CustomInstructions parameter will use quality_optimized model type as the default. Requests combining CustomInstructions and the LatencyOptimized model type will be rejected.

v1.17.0

12 Nov 20:03
v1.17.0
57aa2ce

Choose a tag to compare

Added

  • Added support for style rules in text translation via the StyleId property in TextTranslateOptions.
  • Added GetAllStyleRulesAsync() method to DeepLClient to retrieve all available style rules with optional pagination and detailed configuration.
  • Added new model classes: StyleRuleInfo, ConfiguredRules, and CustomInstruction to support style rules functionality.

v1.16.0

04 Nov 14:57
v1.16.0
fd3323c

Choose a tag to compare

Added

  • Added ExtraBodyParameters option 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 as target_lang, source_lang, etc.).

v1.15.0

25 Apr 20:52
v1.15.0
2189313

Choose a tag to compare

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

25 Feb 16:53
v1.14.0
2e07ad1

Choose a tag to compare

Added

  • Added support for the output_format parameter when translating documents.

v1.13.0

28 Jan 16:32
v1.13.0
bf7730c

Choose a tag to compare

Added

  • Added support for the Write API in the client library, the implementation
    can be found in the DeepLClient class. Please refer to the README for usage
    instructions.

Fixed

  • Fixed code example for getting glossary entries in the README

Changed

  • The main functionality of the library is now also exposed via the DeepLClient
    class. Please change your code to use this over the Translator class whenever
    convenient.

v1.12.0

09 Jan 17:03
v1.12.0

Choose a tag to compare

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

15 Nov 15:52
v1.11.0
a72cdf6

Choose a tag to compare

Added

  • Added ModelType option 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'), and
    • ModelType.QualityOptimized ('prefer_quality_optimized')
  • Added the ModelTypeUsed field to text translation response, that
    indicates the translation model used when the ModelType option is
    specified.

v1.10.0

17 Sep 09:37
v1.10.0
147dabd

Choose a tag to compare

Added

  • Added BilledCharacters to the translate text response.

v1.9.0

17 May 07:42
v1.9.0
42594bc

Choose a tag to compare

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.
  • Made DeepLException and subclasses, Usage and JsonFieldsStruct constructors public, to allow for easier mocking of the ITranslator interface.