Skip to content

Releases: DeepLcom/deepl-python

v1.23.0

07 Oct 08:20
v1.23.0
36cf003
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v1.17.0

07 Feb 10:54
v1.17.0
2b43827
Compare
Choose a tag to compare

Added

  • Added output_format parameter for document upload function, that indicates
    the file extension of the desired file format for the translated document.
  • Added basic usage example of the library

Fixed

  • Fixed typechecking errors when using mypy's strict mode

v1.16.1

07 Nov 16:43
v1.16.1
16108b0
Compare
Choose a tag to compare

Fixed

  • Fixed typo in error message when no auth key is provided.
  • Removed dependency on packaging by replacing version comparison.