·
102 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_invite
enabled,
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_device
Now supports sending encrypted to-device messages.
(#5252)Client::add_event_handler
: SetOption<EncryptionInfo>
inEventHandlerData
for to-device messages.
If the to-device message was encrypted, theEncryptionInfo
will be set. If it isNone
the message was sent in clear.
(#5099)EventCache::subscribe_to_room_generic_updates
is 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
header
url parameter
instead of the now deprecatedhideHeader
parameter. This is only compatible with EC v0.13.0 or newer. - [breaking]
RoomEventCacheGenericUpdate
gains a newClear
variant, and sees
itsTimelineUpdated
variant 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/versions
endpoint.
(#5357) ClientServerCapabilities
has been renamed toClientServerInfo
. Alongside this,
Client::reset_server_info
is nowClient::reset_server_info
andClient::fetch_server_capabilities
is nowClient::fetch_server_versions
, returning the server versions response directly.
(#5167)RoomEventCacheListener
is renamedRoomEventCacheSubscriber
(#5269)RoomPreview::join_rule
is now optional, and will be set toNone
if the join rule state event
is missing for a given room.
(#5278)
Bug fixes
m.room.avatar
has been added as required state for sliding sync until the existing backend issue
causing deleted room avatars to not be flagged is fixed. (#5293)