·
247 commits
to main
since this release
What's Changed
Features
- Allow to set and check whether an image is animated via its
ImageInfo
.
(#4503) - Implement
Default
forBaseImageInfo
,BaseVideoInfo
,BaseAudioInfo
and
BaseFileInfo
.
(#4503) - Expose
Client::server_versions()
publicly to allow users of the library to
get the versions of Matrix supported by the homeserver.
(#4519) - Create
RoomPrivacySettings
helper to group room settings functionality
related to room access and visibility.
(#4401) - Enable HTTP/2 support in the HTTP client.
(#4566) - The media contents stored in the media cache can now be controlled with a
MediaRetentionPolicy
and the newMedia
methodsmedia_retention_policy()
,
set_media_retention_policy()
,clean_up_media_cache()
.
(#4571)
Refactor
- [breaking]: The reexported types
SyncTimelineEvent
andTimelineEvent
have been fused into a single typeTimelineEvent
, and its fieldpush_actions
has been madeOption
al (it is set toNone
when we couldn't compute the push actions, because we lacked some information).
(#4568) - [breaking] Move the optional
RequestConfig
argument of the
Client::send()
method to thewith_request_config()
builder method. You
should callClient::send(request).with_request_config(request_config).await
now instead.
(#4443) - [breaking] Remove the
AttachmentConfig::with_thumbnail()
constructor and
replace it with theAttachmentConfig::thumbnail()
builder method. You should
callAttachmentConfig::new().thumbnail(thumbnail)
now instead.
(#4452) - [breaking]
Room::send_attachment()
andRoomSendQueue::send_attachment()
now take any type that implementsInto<String>
for the filename.
(#4451) - [breaking]
Recovery::are_we_the_last_man_standing()
has been renamed tois_last_device()
.
(#4522) - [breaking] The
matrix_auth
module is now atauthentication::matrix
.
(#4575) - [breaking] The
oidc
module is now atauthentication::oidc
.
(#4575)