Update Rust crate matrix-sdk to 0.16.0 #124
Reference in New Issue
Block a user
Delete Branch "renovate/matrix-sdk-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.14.0->0.16.0Release Notes
matrix-org/matrix-rust-sdk (matrix-sdk)
v0.16.0: matrix-sdk 0.16.0Compare Source
You may be wondering what happened to the 0.15.0 release, and you’re right to ask. Unfortunately, it had to be yanked after a problematic Git dependency slipped through during publishing.
This created a situation where some SDK crates were successfully released as 0.15.0, while others failed to publish. To avoid confusion and maintain consistency, the entire 0.15.0 release was yanked.
What's Changed
Features
Client::get_store_sizes()so to query the size of the existing stores, if available. (#5911)QRCodeLoginError::NotFoundfor non-existing / expired rendezvous sessions(#5898)
QRCodeGrantLoginError::NotFoundfor non-existing / expired rendezvous sessions(#5898)
(#5866)
m.space.childonroom::power_levels::RoomPowerLevelChanges.(#5857)
Client::server_versions_cached()method.(#5853)
authentication::oauth::OAuth::grant_login_with_qr_codeto support grantinglogin by scanning a QR code on the existing device.
(#5818)
RequestConfig::skip_auth()option. This is useful to ensure thatcertain request won't ever include an authorization header.
(#5822)
Account::fetch_profile_field_of(),Account::fetch_profile_field_of_static(),Account::set_profile_field()andAccount::delete_profile_field().(#5771)
matrix-sdk-cryptore-export.(#5769)
Client::get_dm_room()to be called without thee2e-encryptioncrate feature.(#5787)
encryption::secret_storage::SecretStorageError::ImportErrorto indicatean error that occurred when importing a secret from secret storage.
(#5647)
authentication::oauth::qrcode::login::LoginProgress::SyncingSecretstoindicate that secrets are being synced between the two devices.
(#5760)
authentication::oauth::OAuth::grant_login_with_qr_codeto reciprocate a login bygenerating a QR code on the existing device.
(#5801)
OAuth::login_with_qr_codenow returns a builder that allows performing the flow with either thecurrent device scanning or generating the QR code. Additionally, new errors
SecureChannelError::CannotReceiveCheckCodeand
QRCodeLoginError::ServerResetwere added.(#5711)
ThreadedEventsLoader::newnow takes optionaltokensparameter to customise where the paginationbegins (#5678.
PaginationTokenspub, as well as itspreviousandnexttokens so they can be assigned from other files(#5678.
Room::make_decline_call_eventandRoom::subscribe_to_call_decline_events(#5614)
Refactor
[breaking]:
Client::server_vendor_info()requires to enable thefederation-apifeature.(#5912)
[breaking]:
Client::reset_server_info()has been split intoreset_supported_versions()andreset_well_known().(#5910)
[breaking]:
Client::send()has extra bounds whereRequest::Authentication: AuthScheme<Input<'a> = SendAccessToken<'a>>andRequest::PathBuilder: SupportedPathBuilder. This method should still work for any request to theClient-Server API. This allows to drop the
HttpError::NotClientRequesterror in favor of acompile-time error.
(#5781,
#5789,
#5815)
[breaking]: The
waveformfield was moved fromAttachmentInfo::VoicetoBaseAudioInfo,allowing to set it for any audio message. Its format also changed, and it is now a list of
f32between 0 and 1.
(#5732)
[breaking] The
captionandformatted_captionfields and methods ofAttachmentConfig,GalleryConfigandGalleryItemInfohave been merged into a single field that usesTextMessageEventContent.(#5733)
The Matrix SDK crate now uses the 2024 edition of Rust.
(#5677)
[breaking] Make
LoginProgress::EstablishingSecureChannelgeneric in order to reuse itfor the currently missing QR login flow.
(#5750)
[breaking] The
new_virtual_element_call_widgetnow uses apropsand aconfigparameter instead of onlyprops.This splits the configuration of the widget into required properties ("widget_id", "parent_url"...) so the widget can work
and optional config parameters ("skip_lobby", "header", "...").
The config option should in most cases only provide the
"intent"property.All other config options will then be chosen by EC based on platform +
intent.Before:
Now:
(#5560)
Bugfix
LatestEventValuewas always created asLocalIsSending. Itmust be created as
LocalCannotBeSentif a previous localLatestEventValueexists and is
LocalCannotBeSent.(#5908)
std::time::Instanttoruma::time::Instantwhichis compatible with Wasm.
(#5889)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: matrixgw_backend/Cargo.lock