Skip to content

Releases: DeepLcom/deepl-python

v1.4.0

19 Jan 12:24
v1.4.0
ed84c12
Compare
Choose a tag to compare

Added

  • Add contribution guidelines -- currently we are unable to accept Pull Requests.
  • Add --glossary-id argument for CLI document command.

Changed

  • Improve README.
  • Raise DocumentNotReadyException when attempting to download a document before it has been translated. Previously the
    base class DeepLException was thrown.

Fixed

  • Add optional filename argument to translate_document_upload() to fix uploading file content as string or bytes.

v1.3.1

16 Nov 08:39
v1.3.1
3bc6d8d
Compare
Choose a tag to compare

Changed

  • Limit document status update wait time to 60 seconds, and log wait times.

v1.3.0

15 Nov 11:59
v1.3.0
2266d4e
Compare
Choose a tag to compare

Added

  • Add glossary support for document translation.
  • Add proxy support.

Fixed

  • Fix issues with parallelized tests by changing how test glossaries are created and deleted.

v1.2.1

19 Oct 08:17
v1.2.1
80f9b78
Compare
Choose a tag to compare

Added

  • Add support for Python 3.10.

Fixed

  • Fix bug that caused User-Agent header to be omitted from HTTP requests.
  • Fix glossary name prefix used in unit-tests to match git repository name.
  • Add workaround for possible issue in datetime.strptime in Python 3.6.

v1.2.0

07 Oct 07:32
v1.2.0
f44070d
Compare
Choose a tag to compare

Added

  • Add Translator.get_glossary_languages() to query language pairs supported for glossaries.
  • Add constants for all supported languages codes, for example: Language.GERMAN.

Changed

  • Internal language caching and client-side checking of language codes are removed.

Deprecated

  • Some optional arguments related to language caching are now deprecated, and will be removed in a future version:
    • Translator(): the skip_language_check argument
    • Translator.get_source_languages() and Translator.get_target_languages(): the skip_cache argument

Fixed

  • Fix HTTP request retries for document uploads.

v1.1.3

27 Sep 09:42
v1.1.3
c369fa7
Compare
Choose a tag to compare

Changed

  • Loosen requirement for requests to 2.0 or higher.