Skip to content

Releases: mautrix/python

v0.12.2

20 Nov 14:54
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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).

v0.11.0

08 Nov 23:16
Compare
Choose a tag to compare
  • Added support for message send checkpoints (as HTTP requests, similar to the bridge state reporting system) by @sumnerevans.
  • Added support for aiosqlite with the same interface as asyncpg.
    • This includes some minor breaking changes to the asyncpg interface.
  • Made config writing atomic (using a tempfile) to prevent the config disappearing when disk is full.
  • Changed prometheus to start before rest of startup_actions (thanks to @Half-Shot in #63).
  • Stopped reporting STARTING bridge state on startup by @sumnerevans.

v0.10.11

08 Nov 23:13
Compare
Choose a tag to compare
  • Added support for custom bridge bot welcome messages (thanks to @justinbot in #58)

v0.10.10

08 Oct 17:08
Compare
Choose a tag to compare
  • Added support for disabling bridge management commands based on custom rules (thanks to @tadzik in #56).