Skip to content

Releases: mautrix/python

v0.20.6

12 Jul 17:24
Compare
Choose a tag to compare
  • (bridge) Added /register call if /versions fails with M_FORBIDDEN.

v0.20.5

09 Jul 09:08
Compare
Choose a tag to compare

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

09 Jan 12:16
Compare
Choose a tag to compare
  • Dropped Python 3.9 support.
  • (client) Changed media download methods to log requests and to raise exceptions on non-successful status codes.

v0.20.3

10 Nov 20:07
Compare
Choose a tag to compare
  • (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

09 Sep 12:44
Compare
Choose a tag to compare
  • (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 and hs_token parameters to AppServiceServerMixin to allow using it as a standalone class without extending.
  • (api) Added support for setting appservice user_id and device_id query parameters manually without using AppServiceAPI.

v0.20.1

29 Aug 17:58
Compare
Choose a tag to compare
  • (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_tokens.

v0.20.0

25 Jun 10:50
Compare
Choose a tag to compare
  • 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 of sqlite:///path.db for relative paths, and sqlite:/path.db instead of sqlite:////path.db for absolute paths.
    • Bridge configs do this migration automatically.
  • (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 to create_mxc, and the max_stall_ms parameters for downloading were renamed to timeout_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

26 May 18:03
Compare
Choose a tag to compare
  • (appservice) Fixed Python 3.8 compatibility.

v0.19.15

24 May 09:52
Compare
Choose a tag to compare
  • (client) Fixed dispatching room ephemeral events (i.e. typing notifications) in syncer.

v0.19.14

16 May 09:47
Compare
Choose a tag to compare
  • (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).