Skip to content

Releases: mautrix/python

v0.12.5

30 Nov 10:22

Choose a tag to compare

  • Added wrapper for MSC2716's /batch_send endpoint in IntentAPI.
  • Added some Matrix request metrics (thanks to @jaller94 in #68).
  • Added utility method for adding variation selector 16 to emoji strings the same way as Element does (using emojibase data).

v0.12.4

28 Nov 10:39

Choose a tag to compare

  • Added support for parsing colors in the HTML parser (mautrix.util.formatter.MatrixParser).

v0.12.3

23 Nov 10:28

Choose a tag to compare

  • Added autogenerated docs with Sphinx.
  • Added asyncpg to client state store unit tests.
  • Fixed client state store get_members being broken on asyncpg (broken in 0.12.2).
  • Fixed get_members_filtered not taking the memberships parameter into account in the memory store.

v0.12.2

20 Nov 14:54

Choose a tag to compare

  • Added more control over which membership states to return in client state store.
  • Added some basic tests for the client state store.
  • Fixed OlmMachine.account property not being defined before calling load.

v0.12.1

20 Nov 12:15

Choose a tag to compare

  • Added default (empty) value for unsigned in the event classes.
  • Updated the PgStateStore in the client module to fully implement the crypto StateStore abstract class.
    • The crypto module now has a PgCryptoStateStore that combines the client PgStateStore with the abstract crypto state store.

v0.12.0

19 Nov 16:10

Choose a tag to compare

  • Breaking change (client): The whoami method now returns a dataclass with user_id and device_id fields, instead of just returning the user_id as a string.
  • Added delete method for crypto stores (useful when changing the device ID).
  • Added DECRYPTED step for message send checkpoints.
  • Added proper user agent to bridge state and message send checkpoint requests.

v0.11.4

19 Nov 16:09

Choose a tag to compare

  • Improved default event filter in bridges
    • The filtering method is now allow_matrix_event instead of filter_matrix_event and the return value is reversed.
    • Most bridges now don't need to override the method, so the old method isn't used at all.
  • Added support for the stable version of MSC2778.

v0.11.3

13 Nov 12:39

Choose a tag to compare

  • Updated registering appservice ghosts to use inhibit_login flag to prevent lots of unnecessary access tokens from being created.
  • Fixed unnecessary warnings about message send endpoints in some cases where the endpoint wasn't configured.

v0.11.2

13 Nov 12:30

Choose a tag to compare

  • Updated message send checkpoint system to handle all cases where messages are dropped or consumed by mautrix-python.

v0.11.1

10 Nov 10:30

Choose a tag to compare

  • Fixed regression in Python 3.8 support in v0.11.0 due to asyncio.Queue type hinting.
  • Made the limit of HTTP connections to the homeserver configurable (thanks to @justinbot in #64).