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
ReceptionCapabilityitems - 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-caseinstead ofsnake_case,
e.g. thesend_e2ecommand 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_ackhas been removed. UseReceiptType.user_acknowledgeinstead. util.aio_runhas 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_decoratorhas been renamed toaio_run_proxyand now always creates the class instance within a running event loop.
Client
- In async mode, creation of the
Connectioninstance must now be done within anasyncfunction. - If you have used a
withcontext manager block in async mode before, you must now do this within anasync withasynchronous context manager. No change is required in blocking mode. Connection.closeis now an async function.
Server
- The callback server has been refactored and the
AbstractCallbackclass has been removed for more flexibility and control of the underlying aiohttp server. Take a look atexamples/callback.pyon 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