Releases: mautrix/python
Releases · mautrix/python
v0.20.6
v0.20.5
Note: The bridge
module is deprecated as all bridges are being rewritten in Go. See https://mau.fi/blog/2024-h1-mautrix-updates/ for more info.
- (client) Added support for authenticated media downloads.
- (bridge) Stopped using cached homeserver URLs for double puppeting if one is set in the config file.
- (crypto) Fixed error when checking OTK counts before uploading new keys.
- (types) Added MSC2530 (captions) fields to
MediaMessageEventContent
.
v0.20.4
v0.20.3
- (client) Deprecated MSC2716 methods and added new Beeper-specific batch send methods, as upstream MSC2716 support has been abandoned.
- (util.async_db) Added
PRAGMA synchronous = NORMAL;
to default pragmas. - (types) Fixed
guest_can_join
field name in room directory response (thanks to @ashfame in #163).
v0.20.2
- (crypto) Changed
OlmMachine.share_keys
to make the OTK count parameter optional. When omitted, the count is fetched from the server. - (appservice) Added option to run appservice transaction event handlers synchronously.
- (appservice) Added
log
andhs_token
parameters toAppServiceServerMixin
to allow using it as a standalone class without extending. - (api) Added support for setting appservice
user_id
anddevice_id
query parameters manually without usingAppServiceAPI
.
v0.20.1
- (util.program) Removed
--base-config
flag in bridges, as there are no valid use cases (package data should always work) and it's easy to cause issues by pointing the flag at the wrong file. - (bridge) Added support for the
com.devture.shared_secret_auth
login type for automatic double puppeting. - (bridge) Dropped support for syncing with double puppets. MSC2409 is now the only way to receive ephemeral events.
- (bridge) Added support for double puppeting with arbitrary
as_token
s.
v0.20.0
- Dropped Python 3.8 support.
- Breaking change (.state_store) Removed legacy SQLAlchemy state store implementations.
- Mildly breaking change (util.async_db) Changed
SQLiteDatabase
to not remove prefix slashes from database paths.- Library users should use
sqlite:path.db
instead ofsqlite:///path.db
for relative paths, andsqlite:/path.db
instead ofsqlite:////path.db
for absolute paths. - Bridge configs do this migration automatically.
- Library users should use
- (util.async_db) Added warning log if using SQLite database path that isn't writable.
- (util.program) Fixed
manual_stop
not working if it's called during startup. - (client) Stabilized support for asynchronous uploads.
unstable_create_msc
was renamed tocreate_mxc
, and themax_stall_ms
parameters for downloading were renamed totimeout_ms
.
- (crypto) Added option to not rotate keys when devices change.
- (crypto) Added option to remove all keys that were received before the automatic ratcheting was implemented (in v0.19.10).
- (types) Improved reply fallback removal to have a smaller chance of false positives for messages that don't use reply fallbacks.
v0.19.16
v0.19.15
v0.19.14
- (bridge) Implemented appservice pinging using MSC2659.
- (bridge) Started reusing aiosqlite connection pool for crypto db.
- This fixes the crypto pool getting stuck if the bridge exits unexpectedly (the default pool is closed automatically at any type of exit).