Skip to content

Releases: DeepLcom/deepl-python

v1.25.0

12 Nov 19:12
v1.25.0
705a461

Choose a tag to compare

  • Added support for the GET /v3/style_rules endpoint in the client library, the implementation can be found in the DeepLClient class. Please refer to the README for usage instructions
  • Added style_id option to translate_text() which allows text translation with style rules.

v1.24.0

04 Nov 14:52
v1.24.0
b766762

Choose a tag to compare

Changed

  • extra_body_parameters will now overwrite already set HTTP parameters

v1.23.0

07 Oct 08:20
v1.23.0
36cf003

Choose a tag to compare

Added

  • Added feature to add arbitrary body parameters in translate_text

Deprecated

  • Dropped support for Python 3.8 and older.

Security

v1.22.0

30 Apr 17:42
v1.22.0
632bbaa

Choose a tag to compare

Added

  • Added support for the /v3 Glossary APIs in the client library while providing backwards compatibility for the previous /v2 Glossary endpoints. Please refer to the README for usage instructions.

v.1.21.1

12 Mar 17:04
981160c

Choose a tag to compare

Added

  • (beta) optional parameter to specify timeout for document translation calls

v1.21.0

15 Jan 18:52
v1.21.0
ddaef45

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.

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.20.0

15 Nov 15:55
43120f1

Choose a tag to compare

Added

  • Added model_type option to translate_text() 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 model_type_used field to translate_text() response, that
    indicates the translation model used when the model_type option is
    specified.

v1.19.1

17 Sep 09:40
v1.19.1
7e1f8cd

Choose a tag to compare

Fixed

  • Fixed typing issues, black-formatting and a test case failure.

v1.19.0

17 Sep 09:40
v1.19.0
1f15e76

Choose a tag to compare

Added

  • Added billed_characters to response from translate_text().

v1.18.0

26 Apr 10:07
v1.18.0
f5efb13

Choose a tag to compare

Added

  • New language available: Arabic ('ar'). Add language code constants and tests.
    Arabic is currently supported only for text translation; document translation
    support for Arabic is coming soon.

    Note: older library versions also support the new language, this update only adds new code constants.

  • Added a section in the readme on how to configure retry options in http_client.py