Skip to content

Releases: mautrix/python

v0.8.7

01 Feb 19:55
Compare
Choose a tag to compare
  • Changed attr deserializer to deserialize optional missing fields into None instead of attr.NOTHING by default.
  • Added option not to use transaction for asyncpg database upgrades.

v0.8.6

31 Dec 13:06
Compare
Choose a tag to compare
  • Switched to secrets.token_urlsafe for generating tokens (e.g. registration hs/as_tokens).
  • Changed sync error logging to warning instead of exception.
  • Allowed sending read receipts even if appservice user is not in room (#34).

v0.8.5

23 Dec 15:38
Compare
Choose a tag to compare
  • Made SerializableEnum work with int values
  • Added TraceLogger type hints to command handling classes

v0.8.4

23 Dec 15:37
Compare
Choose a tag to compare
  • Added logging when sync errors are resolved
  • Made .well-known fetching ignore the response content type header
  • Added handling for users enabling encryption in private chat portals

v0.8.3

17 Nov 17:27
Compare
Choose a tag to compare
  • Fixed typo in HTML reply fallback generation when target message is plaintext
  • Made CommandEvent.mark_read async instead of returning an awaitable, because sometimes it didn't return an awaitable.

v0.8.2

17 Nov 17:26
Compare
Choose a tag to compare
  • Added utility function (from mautrix.util.network_retry import call_with_net_retry) for retrying network calls
  • Updated Portal._send_message to use aforementioned utility function

v0.8.1

09 Nov 19:02
Compare
Choose a tag to compare
  • Changed Portal._send_message to retry after 5 seconds (up to 5 attempts total by default) if server returns 502/504 error or the connection fails.

v0.8.0

07 Nov 14:07
Compare
Choose a tag to compare
Changes since v0.8.0-rc5
  • Added formatted() helper method to get the formatted_body of a text message.
Changes since v0.7.14
  • 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.
  • Added clean-rooms bridge command (moved from mautrix-telegram).
  • Added discard-megolm-session bridge command.
  • 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 TEXT instead of VARCHAR(255) in all databases (#28).
  • Switched to using yarl and urllib 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.
  • Fixed potential db unique key conflicts when the membership state caches were updated from get_joined_members.
  • Fixed database connection errors causing sync loops to stop completely.
  • Fixed regex escaping in bridge registration generation.
  • Fixed EventTypes sometimes having None instead of EventType.Class.UNKNOWN as the type class.

v0.8.0-rc5

05 Nov 20:14
Compare
Choose a tag to compare
v0.8.0-rc5 Pre-release
Pre-release
  • Switched to TEXT instead of VARCHAR(255) in all databases (#28).
  • Fixed EventTypes sometimes having None instead of EventType.Class.UNKNOWN as the type class.
  • Fixed regex escaping in bridge registration generation.

v0.8.0-rc4

28 Oct 14:45
Compare
Choose a tag to compare
v0.8.0-rc4 Pre-release
Pre-release
  • Fixed database connection errors causing sync loops to stop completely.
  • Switched to urllib.parse for joining paths and unpinned yarl version.