Releases: mautrix/python
Releases · mautrix/python
v0.19.6
v0.19.5
v0.19.4
- (types) Changed
set_thread_parentto inherit the existing thread parent if aMessageEventis 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
HTTPAPIhas 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_typingparameter fromIntentAPI.set_typingto make the signature matchClientAPI.set_typing.timeout=0is 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_commandsdb 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.deserializeto handle Conduit's brokenunsignedfields. - (client.state_store) Fixed
set_power_levelto allow raw dicts the same way asset_encryption_infodoes (thanks to @bramenn in #127).
v0.18.8
- (crypto.store.asyncpg) Fixed bug causing
put_group_sessionto fail when trying to log unique key errors. - (client) Added wrapper for
create_roomto update the state store with initial state and invites (applies to anything extendingStoreUpdatingAPI, such as the high-levelClientand appserviceIntentAPIclasses).