Skip to content

Releases: mautrix/python

v0.17.3

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

v0.17.2

06 Jul 16:13
Compare
Choose a tag to compare
  • (api) Updated request logging to log full URL instead of only path.
  • (bridge) Fixed migrating key sharing allow flag to new config format.
  • (appservice) Added beeper_new_messages flag for batch_send method.

v0.17.1

05 Jul 17:03
Compare
Choose a tag to compare
  • (crypto) Fixed Python 3.8/9 compatibility broken in v0.17.0.
  • (crypto) Added some tests for attachments and store code.
  • (crypto) Improved logging when device change validation fails.

v0.17.0

05 Jul 12:49
Compare
Choose a tag to compare
  • Breaking change (bridge) Added options to check cross-signing status for bridge users. This requires changes to the base config.
    • New options include requiring cross-signed devices (with TOFU) for sending and/or receiving messages, and an option to drop any unencrypted messages.
  • Breaking change (crypto) Removed sender_key parameter from CryptoStore's has_group_session and put_group_session, and also OlmMachine's wait_for_session.
  • Breaking change (crypto.store.memory) Updated the key of the _inbound_sessions dict to be (room_id, session_id), removing the identity key in the middle. This only affects custom stores based on the memory store.
  • (crypto) Added basic cross-signing validation code.
  • (crypto) Marked device_id and sender_key as deprecated in Megolm events as per Matrix 1.3.
  • (api) Bumped request logs to DEBUG level.
    • Also added new sensitive parameter to the request method to prevent logging content in sensitive requests. The login method was updated to mark the content as sensitive if a password or token is provided.
  • (bridge.commands) Switched the order of the user ID parameter in set-pl, set-avatar and set-displayname.

v0.16.10

24 Jun 16:43
Compare
Choose a tag to compare
  • (bridge) Started requiring Matrix v1.1 support from homeservers.
  • (bridge) Added hack to automatically send a read receipt for messages sent to Matrix with double puppeting (to work around weird unread count issues).

v0.16.9

22 Jun 19:08
Compare
Choose a tag to compare
  • (client) Added support for knocking on rooms (thanks to @maltee1 in #105).
  • (bridge) Added config option to set key rotation settings with e2be.

v0.16.8

20 Jun 10:47
Compare
Choose a tag to compare
  • (bridge) Updated e2be helper to stop bridge if syncing fails.
  • (util.async_db) Updated asyncpg connector to stop program if an asyncpg InternalClientError is thrown. These errors usually cause everything to get stuck.
    • The behavior can be disabled by passing meow_exit_on_ice = false in the db_args.

v0.16.7

19 Jun 12:05
Compare
Choose a tag to compare
  • (util.formatter) Added support for parsing img tags
    • By default, the alt or title attribute will be used as plaintext.
  • (types) Added notifications object to power level content class.
  • (bridge) Added utility methods for handling incoming knocks in MatrixHandler (thanks to @maltee1 in #103).
  • (appservice) Updated IntentAPI to add the fi.mau.double_puppet_source to all state events sent with double puppeted intents (previously it was only added to non-state events).

v0.16.6

02 Jun 08:11
Compare
Choose a tag to compare
  • (bridge) Fixed double puppeting start method not handling some errors from /whoami correctly.
  • (types) Added com.beeper.message_send_status event type for bridging status.

v0.16.5

26 May 14:37
Compare
Choose a tag to compare
  • (bridge.commands) Added reason field for CommandEvent.redact.
  • (client.api) Added reason field for the unban_user method (thanks to @maltee1 in #101).
  • (bridge) Changed automatic DM portal creation to only apply when the invite event specifies "is_direct": true (thanks to @maltee1 in #102).
  • (util.program) Changed Program to use create and set an event loop explicitly instead of using get_event_loop.
  • (util.program) Added optional exit_code parameter to manual_stop.
  • (util.manhole) Removed usage of loop parameters to fix Python 3.10 compatibility.
  • (appservice.api) Switched IntentAPI.batch_send method to use custom Event classes instead of the default ones (since some normal event fields aren't applicable when batch sending).