Changelog for
python3-mautrix-python-0.8.15-lp156.1.1.noarch.rpm :
* Wed Feb 10 2021 Dead Mozay
- Update to version 0.8.15:
* Fixed the high-level Client class to not try to update state if there\'s no state_store set.
* Added option to override the asyncpg pool used in the async Database wrapper.
* Stopped checking error message when checking if user is not registered on whoami. Now it only requires the M_FORBIDDEN errcode instead of a specific human-readable error message.
* Added handling for missing unsigned object in membership events
* Added warning message when receiving encrypted messages with end-to-bridge encryption disabled.
* Added utility for mutexes in caching async getters to prevent race conditions.
* Added handling for M_NOT_FOUND errors when getting pinned messages.
* Fixed bridge message send retrying so it always uses the same transaction ID.
* Fixed high-level Client class to automatically update state store with events from sync.
* Added automatic login retry if double puppeting token is invalid on startup or gets invalidated while syncing.
* Fixed ExtensibleEnum leaking keys between different types.
* Allowed changing bot used in ensure_joined.
* Changed attr deserialization errors to log full data instead of only known fields when deserialization fails.
* Allowed postgresql:// scheme in end-to-bridge encryption database URL (in addition to postgres://).
* Slightly improved attr deserialization error messages.
* Changed end-to-bridge encryption to fail if homeserver doesn\'t advertise appservice login. This breaks Synapse 1.21, but there have been plenty of releases since then.
* Switched BaseFileConfig to use the built-in pkgutil instead of pkg_resources.
* Added handling for M_NOT_FOUND errors when updating m.direct account data through double puppeting in bridges.
* Added logging of data when attr deserializing fails.
* Exposed ExtensibleEnum in mautrix.types module.
* Changed attr deserializer to deserialize optional missing fields into None instead of attr.NOTHING by default.
* Added option not to use transaction for asyncpg database upgrades.
* Switched to secrets.token_urlsafe for generating tokens (e.g. registration hs/as_tokens).
* Changed sync error logging to warning instead of exception.
* Allowed sending read receipts even if appservice user is not in room.
* Made SerializableEnum work with int values
* Added TraceLogger type hints to command handling classes
* Added logging when sync errors are resolved
* Made .well-known fetching ignore the response content type header
* Added handling for users enabling encryption in private chat portals
* Fixed typo in HTML reply fallback generation when target message is plaintext
* Made CommandEvent.mark_read async instead of returning an awaitable, because sometimes it didn\'t return an awaitable.
* Added utility function (from mautrix.util.network_retry import call_with_net_retry) for retrying network calls
* Updated Portal._send_message to use aforementioned utility function
* Changed Portal._send_message to retry after 5 seconds (up to 5 attempts total by default) if server returns 502/504 error or the connection fails.
* Added formatted() helper method to get the formatted_body of a text message.
* Wrapped union types in NewType to allow setattr. This fixes Python 3.6 and 3.9 compatibility.
* Extended session wait time when handling encrypted messages in bridges: it\'ll now wait for 5 seconds, then send an error, then wait for 10 more seconds. If the keys arrive in those 10 seconds, the message is bridged and the error is redacted, otherwise the error is edited.
* And other changes.
* Mon Jan 27 2020 Dead Mozay - Initial package