Skip to content

Releases: mautrix/python

v0.18.3

11 Oct 12:51
Compare
Choose a tag to compare
  • (util.async_db) Fixed mistake in default no-op database error handler causing the wrong exception to be raised.
  • (crypto.store.asyncpg) Updated put_group_session to catch unique key errors and log instead of raising.
  • (client.api) Updated MSC3870 support to catch and retry on all connection errors instead of only non-200 status codes when uploading.

v0.18.2

24 Sep 10:54
Compare
Choose a tag to compare
  • (crypto) Fixed handling key requests when using appservice-mode (MSC2409) encryption.
  • (appservice) Added workaround for dumb servers that send "unsigned": null in events.

v0.18.1

24 Sep 10:54
Compare
Choose a tag to compare
  • (crypto) Fixed error sharing megolm session if a single recipient device has ran out of one-time keys.

v0.18.0

15 Sep 18:32
Compare
Choose a tag to compare
  • Breaking change (util.async_db) Added checks to prevent calling .start() on a database multiple times.
  • (appservice) Fixed MSC2409 support to read to-device events from the correct field.
  • (appservice) Added support for automatically calling functions when a transaction contains MSC2409 to-device events or MSC3202 encryption data.
  • (bridge) Added option to use MSC2409 and MSC3202 for end-to-bridge encryption. However, this may not work with the Synapse implementation as it hasn't been tested yet.
  • (bridge) Replaced homeserver -> asmux flag with more generic software field.
  • (bridge) Added support for overriding parts of config with environment variables.
    • If the value starts with json::, it'll be parsed as JSON instead of using as a raw string.
  • (client.api) Added support for MSC3870 for both uploading and downloading media.
  • (types) Added knock_restricted join rule to JoinRule enum.
  • (crypto) Added warning logs if claiming one-time keys for other users fails.

v0.17.8

22 Aug 13:07
Compare
Choose a tag to compare
  • (crypto) Fixed parsing /keys/claim responses with no failures field.
  • (bridge) Fixed parsing e2ee key sharing allow/minimum level config.

v0.17.7

22 Aug 09:51
Compare
Choose a tag to compare
  • (util.async_db) Added init_commands to run commands on each SQLite connection (e.g. to enable PRAGMAs). No-op on Postgres.
  • (bridge) Added check to make sure e2ee keys are intact on server. If they aren't, the crypto database will be wiped and the bridge will stop.

v0.17.6

17 Aug 12:20
Compare
Choose a tag to compare
  • (bridge) Added hidden option to use appservice login for double puppeting.
  • (client) Fixed sync handling throwing an error if event parsing failed.
  • (errors) Added M_UNKNOWN_ENDPOINT error code from MSC3743
  • (appservice) Updated MSC3202 support to handle one time keys correctly.

v0.17.5

15 Aug 08:35
Compare
Choose a tag to compare
  • (types) Added m.read.private to receipt types.
  • (appservice) Stopped ensure_registered and invite_user raising IntentErrors (now they raise the original Matrix error instead).

v0.17.4

28 Jul 15:48
Compare
Choose a tag to compare
  • (bridge) Started rejecting reusing access tokens when enabling double puppeting. Reuse is detected by presence of encryption keys on the device.
  • (client.api) Added wrapper method for the /context API.
  • (api, errors) Implemented new error codes from MSC3848.
  • (types) Disabled deserializing m.direct content (it didn't work and it wasn't really necessary).
  • (client.state_store) Updated set_encryption_info to allow raw dicts. This fixes the bug where sending a m.room.encryption event with a raw dict as the content would throw an error from the state store.
  • (crypto) Fixed error when fetching keys for user with no cross-signing keys (thanks to @maltee1 in #109).

v0.17.3

12 Jul 12:09
Compare
Choose a tag to compare
  • (types) Updated BeeperMessageStatusEventContent fields.