Skip to content

Releases: mautrix/python

v0.8.0-rc3

27 Oct 21:36
Compare
Choose a tag to compare
v0.8.0-rc3 Pre-release
Pre-release
  • Fixed potential db unique key conflicts when the membership state caches were updated from get_joined_members.

v0.7.14

27 Oct 21:21
Compare
Choose a tag to compare
  • Wrapped union types in NewType to allow setattr. This fixes Python 3.6 and 3.9 compatibility.

v0.8.0-rc2

27 Oct 21:36
Compare
Choose a tag to compare
v0.8.0-rc2 Pre-release
Pre-release
  • Moved clean-rooms bridge command from mautrix-telegram.
  • Added discard-megolm-session bridge command.

v0.8.0-rc1

27 Oct 21:35
Compare
Choose a tag to compare
v0.8.0-rc1 Pre-release
Pre-release
  • Added support for cross-server double puppeting (thanks to @ShadowJonathan in #26).
  • Added support for receiving ephemeral events pushed directly (MSC2409)
  • Added opt_prometheus utility to add support for metrics without a hard dependency on the prometheus_client library.
  • Bridge command system improvements (thanks to @witchent in #29, #30 and #31)
    • CommandEvents now know which portal they were ran in. They also have a main_intent property that gets the portal's main intent or the bridge bot.
    • CommandEvent.reply() will now use the portal's main intent if the bridge bot is not in the room.
    • The needs_auth and needs_admin permissions are now included here instead of separately in each bridge.
    • Moved set-pl command from mautrix-telegram.
  • Switched to using yarl instead of manually concatenating base URL with path.
  • Switched to appservice login (MSC2778) instead of shared secret login for bridge bot login in the end-to-bridge encryption helper.
  • Changed replies to use a custom net.maunium.reply relation type instead of m.reference.

v0.7.13

09 Oct 09:11
Compare
Choose a tag to compare
  • Extended session wait time when handling encrypted messages in bridges: it'll now wait for 5 seconds, then send an error, then wait for 10 more seconds. If the keys arrive in those 10 seconds, the message is bridged and the error is redacted, otherwise the error is edited.

v0.7.11

08 Oct 12:57
Compare
Choose a tag to compare
  • Lock olm sessions between encrypting and sending to make sure messages go out in the correct order

v0.7.10

29 Sep 18:40
Compare
Choose a tag to compare
  • Fixed deserializing the info object in media msgtypes into dataclasses

v0.7.9

29 Sep 18:40
Compare
Choose a tag to compare
  • Added parameter to change how long EncryptionManager.decrypt() should wait for the megolm session to arrive
  • Changed get_displayname and get_avatar_url to ignore M_NOT_FOUND errors
  • Updated type hint of set_reply to allow EventIDs

v0.7.8

29 Sep 18:38
Compare
Choose a tag to compare
  • Made the UUID type de/serializable by default

v0.7.7

25 Sep 15:29
Compare
Choose a tag to compare
  • Added utility method for waiting for incoming group sessions in OlmMachine
  • Made end-to-bridge encryption helper wait for incoming group sessions for 3 seconds