Mautrix

Latest version: v0.20.7

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

Scan your dependencies

Page 12 of 30

0.14.9

* *(client.api)* Added `reason` field to `leave_room` and `invite_user` methods.

0.14.8

* *(util.formatter)* Deprecated the lxml-based HTML parser and made the
htmlparser-based parser the default. The lxml-based parser will be removed
in v0.15.
* *(client.api)* Fixed `filter_json` parameter in `get_messages` not being sent
to the server correctly.
* *(bridge)* Added utilities for implementing disappearing messages.

0.14.7

* *(client)* Fixed error inviting users with custom member event content if the
server had disabled fetching profiles.
* *(util.utf16_surrogate)* Added utilities for adding/removing unicode
surrogate pairs in strings.
* *(util.magic)* Added check to make sure the parameter to `mimetype()` is
either `bytes` or `str`.

0.14.6

* **Breaking change *(util.message_send_checkpoint)*** Changed order of `send`
parameters to match `BridgeState.send` (this is not used by most software,
which is why the breaking change is in a patch release).
* *(util.async_db)* Changed the default size of the aiosqlite thread pool to 1,
as it doesn't reliably work with higher values.
* *(util.async_db)* Added logging for database queries that take a long time
(>1 second).
* *(client)* Added logging for sync requests that take a long time
(>40 seconds, with the timeout being 30 seconds).
* *(util.variation_selector)* Fixed variation selectors being incorrectly added
even if the emoji had a skin tone selector.
* *(bridge)* Fixed the process getting stuck if a config error caused the
bridge to stop itself without stopping the SQLite thread.
* Added pre-commit hooks to run black, isort and some other checks.

0.14.5

* *(util.formatter)* Removed the default handler for room pill conversion.
* This means they'll be formatted as normal links unless the bridge or other
thing using the formatter overrides `room_pill_to_fstring`.
* *(types)* Fixed the `event_id` property of `MatrixURI`s throwing an error
(instead of returning `None`) when the parsed link didn't contain a second
part with an event ID.

0.14.4

* Bumped minimum yarl version to 1.5. v1.4 and below didn't allow `URL.build()`
with a scheme but no host, which is used in the `matrix:` URI generator that
was added in v0.14.3.
* *(appservice)* Removed support for adding a `group_id` to user namespaces in
registration files.
* *(types)* Updated `Serializable.parse_json` type hint to allow `bytes` in
addition to `str` (because `json.loads` allows both).
* *(bridge)* Added `retry_num` parameter to `User.send_remote_checkpoint`.

Page 12 of 30

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.