Releases: threema-ch/threema-msgapi-sdk-python
Releases · threema-ch/threema-msgapi-sdk-python
threema-msgapi-sdk-python 7.0.1
- Fix parsing of unknown reception capabilities
- Add new
ReceptionCapability
items - Remove
ReceptionCapabilitiesError
(breaking)
threema-msgapi-sdk-python 6.0.0
General:
- Add support for Python 3.10
- Drop support for Python versions below 3.7
- Major dependencies bump to increase compatibility with other packages
- Updated all tests to work with the newest dependencies
- Changed CLI syntax: All commands are now
dash-case
instead ofsnake_case
,
e.g. thesend_e2e
command is now calledsend-e2e
.
Many thanks to @RayJW!
threema-msgapi-sdk-python 5.0.0
threema-msgapi-sdk-python 4.0.0
General
- Dropped support for Python versions below 3.6.1.
- Deprecated
ReceiptType.user_ack
has been removed. UseReceiptType.user_acknowledge
instead. util.aio_run
has been simplified. It does not allow for passing a specific event loop or closing the event loop on completion any longer.util.aio_run_proxy_decorator
has been renamed toaio_run_proxy
and now always creates the class instance within a running event loop.
Client
- In async mode, creation of the
Connection
instance must now be done within anasync
function. - If you have used a
with
context manager block in async mode before, you must now do this within anasync with
asynchronous context manager. No change is required in blocking mode. Connection.close
is now an async function.
Server
- The callback server has been refactored and the
AbstractCallback
class has been removed for more flexibility and control of the underlying aiohttp server. Take a look atexamples/callback.py
on how to use it. - The callback server CLI has been removed because it was redundant. The example provides the same functionality.
threema-msgapi-sdk-python 3.1.0
- Add video message
- Fix slightly off calculation of image byte length
threema-msgapi-sdk-python 3.0.6
- Migrate to aiohttp2
threema-msgapi-sdk-python 3.0.5
- Fix to handle new libnacl exceptions.
threema-msgapi-sdk-python 3.0.4
- CLI hotfix
threema-msgapi-sdk-python 3.0.2
- Add callback server for receiving incoming messages
- Possibility to use the library in blocking mode
- Use SHA256 for fingerprint validation
- Initial publication on PyPI
- Code cleanup
threema-msgapi-sdk-python 2.1.8
Note: Update to this version ASAP if you verify the server's fingerprint!
- Update fingerprint
- Fix output in case the fingerprint does not match