@@ -5,6 +5,39 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
77
8+ ## [ 1.7.0] - 2022-05-18
9+ ### Added
10+ * New languages available: Indonesian (` 'id' ` ) and Turkish (` 'tr' ` ). Add language code constants and tests.
11+
12+ Note: older library versions also support the new languages, this update only adds new code constants.
13+ * Add ` limit_reached ` and ` any_limit_reached ` properties to ` Usage ` object
14+ returned by ` get_usage() ` .
15+ * Add ` Translator.translate_document_wait_until_done() ` to poll translation
16+ status until translation is complete or fails.
17+ * Add ` auth_key_is_free_account() ` utility function.
18+ ### Changed
19+ * Improve readme usage examples.
20+ ### Deprecated
21+ * Deprecate ` limit_exceeded ` and ` any_limit_exceeded ` properties of ` Usage `
22+ object returned by ` get_usage() ` , use ` limit_reached ` and ` any_limit_reached `
23+ instead.
24+
25+
26+ ## [ 1.6.0] - 2022-04-12
27+ ### Added
28+ * Add ` error_message ` property to ` DocumentStatus ` , describing the error in case of document translation failure.
29+ ### Changed
30+ * Improve error message if ` translate_text_with_glossary ` is called without an instance of ` GlossaryInfo ` .
31+ * ` translate_document ` and ` translate_document_from_filepath ` return final ` DocumentStatus ` , allowing the number of
32+ billed characters to be queried.
33+
34+
35+ ## [ 1.5.1] - 2022-04-11
36+ ### Fixed
37+ * Fix bug in CLI languages command causing some target languages to be omitted.
38+ * Fix some tests that intermittently failed.
39+
40+
841## [ 1.5.0] - 2022-02-28
942### Added
1043* Add support for HTML tag handling in ` translate_text() ` .
@@ -132,6 +165,9 @@ Version increased to avoid conflicts with old packages on PyPI.
132165Initial version.
133166
134167
168+ [ 1.7.0 ] : https://github.com/DeepLcom/deepl-python/compare/v1.6.0...v1.7.0
169+ [ 1.6.0 ] : https://github.com/DeepLcom/deepl-python/compare/v1.5.1...v1.6.0
170+ [ 1.5.1 ] : https://github.com/DeepLcom/deepl-python/compare/v1.5.0...v1.5.1
135171[ 1.5.0 ] : https://github.com/DeepLcom/deepl-python/compare/v1.4.1...v1.5.0
136172[ 1.4.1 ] : https://github.com/DeepLcom/deepl-python/compare/v1.4.0...v1.4.1
137173[ 1.4.0 ] : https://github.com/DeepLcom/deepl-python/compare/v1.3.1...v1.4.0
0 commit comments