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.