Releases: mautrix/python
Releases · mautrix/python
v0.9.8
v0.9.7
- Added tests for
factory
andhidden
serializable attrs. - Added
login-matrix
,logout-matrix
,ping-matrix
andclear-cache-matrix
commands in the bridge module. To enable the commands, bridges must implement theUser.get_puppet()
method to return thePuppet
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
- Replaced
GenericSerializable
with a boundTypeVar
.- This means that classes extending
SerializableAttrs
no longer have to use theclass Foo(SerializableAttrs['Foo'])
syntax to get type hints, justclass Foo(SerializableAttrs)
is enough. - Backwards compatibility for using the
['Foo']
syntax will be kept until v0.10
- This means that classes extending
- Added
field()
as a wrapper forattr.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.
- New attribute is
v0.9.5
v0.9.4
v0.9.3
- 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
v0.9.1
v0.9.0
- 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 inHTTPAPI
(orClient
), or thedefault_http_retry_count
field inAppService
to enable. - Can also be enabled with
HTTPAPI.request()
sretry_count
parameter. - The
mautrix.util.network_retry
module was removed as it became redundant.
- Disabled by default, you need to set the
- Fixed GET requests having a body (#44).