Releases: mautrix/python
Releases · mautrix/python
v0.19.4
- (types) Changed
set_thread_parent
to inherit the existing thread parent if aMessageEvent
is passed, as starting threads from a message in a thread is not allowed. - (util.background_task) Added new utility for creating background tasks safely, by ensuring that the task is not garbage collected before finishing and logging uncaught exceptions immediately.
v0.19.3
v0.19.2
v0.19.1
- Marked Python 3.11 as supported. Python 3.8 support will likely be dropped in the coming months.
- (client.api) Added request payload memory optimization to MSC3870 URL uploads.
- aiohttp will duplicate the entire request body if it's raw bytes, which wastes a lot of memory. The optimization is passing an iterator instead of raw bytes, so aiohttp won't accidentally duplicate the whole thing.
- The main
HTTPAPI
has had the optimization for a while, but uploading to URL calls aiohttp manually.
v0.19.0
- Breaking change (appservice) Removed typing status from state store.
- Breaking change (appservice) Removed
is_typing
parameter fromIntentAPI.set_typing
to make the signature matchClientAPI.set_typing
.timeout=0
is equivalent to the oldis_typing=False
. - Breaking change (types) Removed legacy fields in Beeper MSS events.
- (bridge) Removed accidentally nested reply loop when accepting invites as the bridge bot.
- (bridge) Fixed decoding JSON values in config override env vars.
v0.18.9
- (util.async_db) Changed aiosqlite connector to force-enable foreign keys, WAL mode and busy_timeout.
- The values can be changed by manually specifying the same PRAGMAs in the
init_commands
db arg, e.g.- PRAGMA foreign_keys = OFF
.
- The values can be changed by manually specifying the same PRAGMAs in the
- (types) Added workaround to
StateEvent.deserialize
to handle Conduit's brokenunsigned
fields. - (client.state_store) Fixed
set_power_level
to allow raw dicts the same way asset_encryption_info
does (thanks to @bramenn in #127).
v0.18.8
- (crypto.store.asyncpg) Fixed bug causing
put_group_session
to fail when trying to log unique key errors. - (client) Added wrapper for
create_room
to update the state store with initial state and invites (applies to anything extendingStoreUpdatingAPI
, such as the high-levelClient
and appserviceIntentAPI
classes).