Releases: DeepLcom/deepl-python
Releases · DeepLcom/deepl-python
v1.4.1
v1.4.0
Added
- Add contribution guidelines -- currently we are unable to accept Pull Requests.
- Add
--glossary-idargument for CLI document command.
Changed
- Improve README.
- Raise
DocumentNotReadyExceptionwhen attempting to download a document before it has been translated. Previously the
base classDeepLExceptionwas thrown.
Fixed
- Add optional filename argument to
translate_document_upload()to fix uploading file content as string or bytes.
v1.3.1
v1.3.0
v1.2.1
v1.2.0
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(): theskip_language_checkargumentTranslator.get_source_languages()andTranslator.get_target_languages(): theskip_cacheargument
Fixed
- Fix HTTP request retries for document uploads.