matrix-sdk 0.10.0
·
2915 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
DefaultforBaseImageInfo,BaseVideoInfo,BaseAudioInfoand
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
RoomPrivacySettingshelper 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
MediaRetentionPolicyand the newMediamethodsmedia_retention_policy(),
set_media_retention_policy(),clean_up_media_cache().
(#4571)
Refactor
- [breaking]: The reexported types
SyncTimelineEventandTimelineEventhave been fused into a single typeTimelineEvent, and its fieldpush_actionshas been madeOptional (it is set toNonewhen we couldn't compute the push actions, because we lacked some information).
(#4568) - [breaking] Move the optional
RequestConfigargument 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_authmodule is now atauthentication::matrix.
(#4575) - [breaking] The
oidcmodule is now atauthentication::oidc.
(#4575)