Skip to content

Releases: threema-ch/threema-msgapi-sdk-python

threema-msgapi-sdk-python 7.0.1

21 Feb 19:54
Compare
Choose a tag to compare
  • Fix parsing of unknown reception capabilities
  • Add new ReceptionCapability items
  • Remove ReceptionCapabilitiesError (breaking)

threema-msgapi-sdk-python 6.0.0

13 Jun 09:52
v6.0.0
f939a95
Compare
Choose a tag to compare

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 of snake_case,
    e.g. the send_e2e command is now called send-e2e.

Many thanks to @RayJW!

threema-msgapi-sdk-python 5.0.0

17 May 14:02
v5.0.0
cbe35f5
Compare
Choose a tag to compare
  • Added custom session and session arguments to Connection (#55, #56)
  • Removed the fingerprint and verify_fingerprint arguments, see #55 for a
    detailed explanation and how to achieve pinning

threema-msgapi-sdk-python 4.0.0

22 Jan 23:35
v4.0.0
ad3b718
Compare
Choose a tag to compare

General

  • Dropped support for Python versions below 3.6.1.
  • Deprecated ReceiptType.user_ack has been removed. Use ReceiptType.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 to aio_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 an async function.
  • If you have used a with context manager block in async mode before, you must now do this within an async 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 at examples/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

21 Apr 20:04
v3.1.0
dd8b189
Compare
Choose a tag to compare
  • Add video message
  • Fix slightly off calculation of image byte length

threema-msgapi-sdk-python 3.0.6

21 Sep 22:56
v3.0.6
dab9328
Compare
Choose a tag to compare
  • Migrate to aiohttp2

threema-msgapi-sdk-python 3.0.5

21 Sep 10:34
v3.0.5
c684850
Compare
Choose a tag to compare
  • Fix to handle new libnacl exceptions.

threema-msgapi-sdk-python 3.0.4

21 Sep 10:32
v3.0.4
bea56d7
Compare
Choose a tag to compare

threema-msgapi-sdk-python 3.0.2

21 Sep 10:30
v3.0.2
c42826d
Compare
Choose a tag to compare
  • 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

04 Dec 14:29
v2.1.8
bed367b
Compare
Choose a tag to compare

Note: Update to this version ASAP if you verify the server's fingerprint!

  • Update fingerprint
  • Fix output in case the fingerprint does not match