Skip to content

Releases: mautrix/python

v0.9.8

03 Aug 14:50
Compare
Choose a tag to compare
  • Added remote_id field to push_bridge_state method.

v0.9.7

03 Aug 14:50
Compare
Choose a tag to compare
  • Added tests for factory and hidden serializable attrs.
  • Added login-matrix, logout-matrix, ping-matrix and clear-cache-matrix commands in the bridge module. To enable the commands, bridges must implement the User.get_puppet() method to return the Puppet instance corresponding to the user's remote ID.
  • Fixed logging events that were ignored due to lack of permissions of the sender.
  • Fixed deserializing encrypted edit events (mautrix/telegram#623).

v0.9.6

20 Jun 17:53
Compare
Choose a tag to compare
  • Replaced GenericSerializable with a bound TypeVar.
    • This means that classes extending SerializableAttrs no longer have to use the class Foo(SerializableAttrs['Foo']) syntax to get type hints, just class Foo(SerializableAttrs) is enough.
    • Backwards compatibility for using the ['Foo'] syntax will be kept until v0.10
  • Added field() as a wrapper for attr.ib() that makes it easier to add custom metadata for serializable attrs things.
  • Added some tests for type utilities.
  • Changed attribute used to exclude links from output in HTML parser.
    • New attribute is data-mautrix-exclude-plaintext and works for basic formatting (e.g. <strong>) in addition to <a>.
    • The previous attribute wasn't actually checked correctly, so it never worked.

v0.9.5

20 Jun 17:50
Compare
Choose a tag to compare
  • Added SynapseAdminPath to build /_synapse/admin paths

v0.9.4

10 Jun 14:24
Compare
Choose a tag to compare
  • Updated bridge status pushing utility to support remote_id and remote_name fields to specify which account on the remote network is bridged.

v0.9.3

04 Jun 14:28
Compare
Choose a tag to compare
  • Switched to stable space prefixes.
  • Added option to send arbitrary content with membership events.
  • Added warning if media encryption dependencies aren't installed.
  • Added support for pycryptodomex for media encryption.
  • Added utilities for pushing bridge status to an arbitrary HTTP endpoint.

v0.9.2

03 May 19:32
Compare
Choose a tag to compare
  • Changed update_direct_chats bridge method to only send updated m.direct data if the content was modified.

v0.9.1

03 May 19:31
Compare
Choose a tag to compare
  • Added type classes for VoIP.
  • Added methods for modifying push rules and room tags.
  • Switched to asyncio.create_task everywhere (replacing the older loop.create_task and asyncio.ensure_future).

v0.9.0

16 Apr 10:46
Compare
Choose a tag to compare
  • Added option to retry all HTTP requests when encountering a HTTP network error or gateway error response (502/503/504)
    • Disabled by default, you need to set the default_retry_count field in HTTPAPI (or Client), or the default_http_retry_count field in AppService to enable.
    • Can also be enabled with HTTPAPI.request()s retry_count parameter.
    • The mautrix.util.network_retry module was removed as it became redundant.
  • Fixed GET requests having a body (#44).

v0.8.18

16 Apr 10:29
Compare
Choose a tag to compare
  • Made HTTP request user agents more configurable.
    • Bridges will now include the name and version by default.
  • Added some event types and classes for space events.
  • Fixed local power level check failing for m.room.member events.