matrix-sdk 0.13.0
·
1144 commits
to main
since this release
What's Changed
Security Fixes
- Fix SQL injection vulnerability in
EventCache
(d0c0100, Moderate, CVE-2025-53549, GHSA-275g-g844-73jh)
Bug fixes
- When joining a room via
Client::join_room_by_id(), if the client hasenable_share_history_on_inviteenabled,
we will correctly check for received room key bundles. Previously this was only done when callingRoom::join.
(#5043)
Features
- Add
Client::supported_versions(), which returns the results of bothClient::server_versions()and
Client::unstable_features()with a single call.
(#5357) WidgetDriver::send_to_deviceNow supports sending encrypted to-device messages.
(#5252)Client::add_event_handler: SetOption<EncryptionInfo>inEventHandlerDatafor to-device messages.
If the to-device message was encrypted, theEncryptionInfowill be set. If it isNonethe message was sent in clear.
(#5099)EventCache::subscribe_to_room_generic_updatesis added to subscribe to all
room updates without having to subscribe to all rooms individually
(#5247)- [breaking] The element call widget URL configuration struct uses the new
headerurl parameter
instead of the now deprecatedhideHeaderparameter. This is only compatible with EC v0.13.0 or newer. - [breaking]
RoomEventCacheGenericUpdategains a newClearvariant, and sees
itsTimelineUpdatedvariant being renamed toUpdateTimeline.
(#5363)
Refactor
- [breaking]:
Client::unstable_features()returns aBTreeSet<FeatureFlag>, containing only
the features whose value was set to true in the response to the/versionsendpoint.
(#5357) ClientServerCapabilitieshas been renamed toClientServerInfo. Alongside this,
Client::reset_server_infois nowClient::reset_server_infoandClient::fetch_server_capabilities
is nowClient::fetch_server_versions, returning the server versions response directly.
(#5167)RoomEventCacheListeneris renamedRoomEventCacheSubscriber
(#5269)RoomPreview::join_ruleis now optional, and will be set toNoneif the join rule state event
is missing for a given room.
(#5278)
Bug fixes
m.room.avatarhas been added as required state for sliding sync until the existing backend issue
causing deleted room avatars to not be flagged is fixed. (#5293)