Skip to content

v1.16.0

Compare
Choose a tag to compare
@daniel-jones-deepl daniel-jones-deepl released this 03 Nov 21:11
· 13 commits to main since this release
v1.16.0
4db53d5

Added

  • Add optional context parameter for text translation, that specifies
    additional context to influence translations, that is not translated itself.

Changed

  • Added notice in Readme that starting in 2024 the library will drop support for
    Python versions that are officially end-of-life.
  • DeepL API calls now send requests with JSON-encoded bodies where possible.

Fixed

  • Catch failures while constructing the user agent string.
  • Added py.typed to the package so that our package is typed for our users.
  • Fixed most type errors in the package.