Mautrix

Latest version: v0.20.7

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 30

0.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.

0.19.0

* **Breaking change *(appservice)*** Removed typing status from state store.
* **Breaking change *(appservice)*** Removed `is_typing` parameter from
`IntentAPI.set_typing` to make the signature match `ClientAPI.set_typing`.
`timeout=0` is equivalent to the old `is_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.

0.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`.
* *(types)* Added workaround to `StateEvent.deserialize` to handle Conduit's
broken `unsigned` fields.
* *(client.state_store)* Fixed `set_power_level` to allow raw dicts the same
way as `set_encryption_info` does (thanks to [bramenn] in [127]).

[bramenn]: https://github.com/bramenn
[127]: https://github.com/mautrix/python/pull/127

0.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 extending `StoreUpdatingAPI`,
such as the high-level `Client` and appservice `IntentAPI` classes).

0.18.7

0.18.6

* *(util.formatter)* Added conversion method for `<hr>` tag and defaulted to
converting back to `---`.

Page 5 of 30

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.