Releases: mautrix/python
Releases · mautrix/python
v0.17.5
v0.17.4
- (bridge) Started rejecting reusing access tokens when enabling double puppeting. Reuse is detected by presence of encryption keys on the device.
- (client.api) Added wrapper method for the
/contextAPI. - (api, errors) Implemented new error codes from MSC3848.
- (types) Disabled deserializing
m.directcontent (it didn't work and it wasn't really necessary). - (client.state_store) Updated
set_encryption_infoto allow raw dicts. This fixes the bug where sending am.room.encryptionevent with a raw dict as the content would throw an error from the state store. - (crypto) Fixed error when fetching keys for user with no cross-signing keys (thanks to @maltee1 in #109).
v0.17.3
v0.17.2
v0.17.1
v0.17.0
- Breaking change (bridge) Added options to check cross-signing status for bridge users. This requires changes to the base config.
- New options include requiring cross-signed devices (with TOFU) for sending and/or receiving messages, and an option to drop any unencrypted messages.
- Breaking change (crypto) Removed
sender_keyparameter from CryptoStore'shas_group_sessionandput_group_session, and also OlmMachine'swait_for_session. - Breaking change (crypto.store.memory) Updated the key of the
_inbound_sessionsdict to be (room_id, session_id), removing the identity key in the middle. This only affects custom stores based on the memory store. - (crypto) Added basic cross-signing validation code.
- (crypto) Marked device_id and sender_key as deprecated in Megolm events as per Matrix 1.3.
- (api) Bumped request logs to
DEBUGlevel.- Also added new
sensitiveparameter to therequestmethod to prevent logging content in sensitive requests. Theloginmethod was updated to mark the content as sensitive if a password or token is provided.
- Also added new
- (bridge.commands) Switched the order of the user ID parameter in
set-pl,set-avatarandset-displayname.
v0.16.10
v0.16.9
v0.16.8
- (bridge) Updated e2be helper to stop bridge if syncing fails.
- (util.async_db) Updated asyncpg connector to stop program if an asyncpg
InternalClientErroris thrown. These errors usually cause everything to get stuck.- The behavior can be disabled by passing
meow_exit_on_ice=falsein thedb_args.
- The behavior can be disabled by passing
v0.16.7
- (util.formatter) Added support for parsing
imgtags- By default, the
altortitleattribute will be used as plaintext.
- By default, the
- (types) Added
notificationsobject to power level content class. - (bridge) Added utility methods for handling incoming knocks in
MatrixHandler(thanks to @maltee1 in #103). - (appservice) Updated
IntentAPIto add thefi.mau.double_puppet_sourceto all state events sent with double puppeted intents (previously it was only added to non-state events).