Skip to content

Releases: mautrix/python

v0.18.6

08 Nov 09:46

Choose a tag to compare

  • (util.formatter) Added conversion method for <hr> tag and defaulted to converting back to ---.

v0.18.5

20 Oct 12:21

Choose a tag to compare

  • (appservice) Added try blocks around MSC3202 handler functions to log errors instead of failing the entire transaction. This matches the behavior of errors in normal appservice event handlers.

v0.18.4

13 Oct 12:33

Choose a tag to compare

  • (client.api) Added option to pass custom data to /createRoom to enable using custom fields and testing MSCs without changing the library.
  • (client.api) Updated MSC3870 support to send file name in upload complete call.
  • (types) Changed set_edit to clear reply metadata as edits can't change the reply status.
  • (util.formatter) Fixed edge case causing negative entity lengths when splitting entity strings.

v0.18.3

11 Oct 12:51

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

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

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

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

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

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

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.