---
title: "matrix-sdk 0.20.0 Breaking Changes on crates.io | Since.dev"
description: "What each matrix-sdk release removed, renamed or changed: 100 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/matrix-sdk
last_updated: 2026-12-04
---

# matrix-sdk breaking changes

matrix-sdk 0.20.0 (November 25, 2026) is its newest release with breaking changes, 100 of them. The first: Removed EciesError. Every breaking API change we have recorded in matrix-sdk on crates.io: 100 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.20.0`, released November 25, 2026. [Source repository](https://github.com/matrix-org/matrix-rust-sdk)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## matrix-sdk 0.20.0 breaking changes

matrix-sdk 0.20.0, released November 25, 2026: 100 breaking changes.

- **Removed** `EciesError`  

EciesError is now nested under the DecryptionError enum. [github.com](https://github.com/matrix-org/matrix-rust-sdk/blob/matrix-sdk-0.20.0/crates/matrix-sdk/CHANGELOG.md)
- **Removed** `matrix_sdk::authentication::oauth::qrcode::QrAuthMessage::authorization_grant_login_protocol`  

This method is no longer part of the public API. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::authentication::oauth::qrcode::SecureChannelError::Ecies`  

matrix_sdk::authentication::oauth::qrcode::SecureChannelError::Ecies was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::authentication::oauth::qrcode::SecureChannelError::Json`  

The Json variant now lives in the MessageDecodeError enum. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::authentication::oauth::qrcode::SecureChannelError::Utf8`  

The Utf8 variant now lives in the MessageDecodeError enum. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::Client::get_retention_configuration`  

The method was renamed; it always requests from the homeserver and updates the cache. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::encryption::CrossSigningResetHandle::new`  

matrix_sdk::encryption::CrossSigningResetHandle::new was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::event_cache::EventCache::has_subscribed`  

The EventCache is always enabled, so this method is gone. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::event_cache::EventCache::subscribe`  

The EventCache is now always enabled, so calls to subscribe must be removed. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::event_cache::EventCacheError::NotSubscribedYet`  

This error variant no longer exists. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::Room::event_cache`  

matrix_sdk::Room::event_cache was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::room::Room::event_cache`  

matrix_sdk::room::Room::event_cache was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::send_queue::RoomSendQueue::is_enabled`  

matrix_sdk::send_queue::RoomSendQueue::is_enabled was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::send_queue::RoomSendQueue::set_enabled`  

matrix_sdk::send_queue::RoomSendQueue::set_enabled was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::send_queue::SendReactionHandle`  

Reactions now return a plain SendHandle instead of this type. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::send_queue::SendRedactionHandle`  

Redactions now return a plain SendHandle instead of this type. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::sliding_sync::Version::Native`  

Related VersionBuilder variants were renamed to the Unstable naming as well. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::sliding_sync::VersionBuilder::DiscoverNative`  

matrix_sdk::sliding_sync::VersionBuilder::DiscoverNative was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::sliding_sync::VersionBuilder::Native`  

matrix_sdk::sliding_sync::VersionBuilder::Native was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::sliding_sync::VersionBuilderError::NativeVersionIsUnset`  

matrix_sdk::sliding_sync::VersionBuilderError::NativeVersionIsUnset was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::test_utils::mocks::MatrixMockServer::mock_public_rooms`  

matrix_sdk::test_utils::mocks::MatrixMockServer::mock_public_rooms was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::test_utils::mocks::MockEndpoint::ok_with_delay`  

matrix_sdk::test_utils::mocks::MockEndpoint::ok_with_delay was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::test_utils::mocks::MockEndpoint::ok_with_template`  

matrix_sdk::test_utils::mocks::MockEndpoint::ok_with_template was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::test_utils::mocks::MockEndpoint::uiaa`  

matrix_sdk::test_utils::mocks::MockEndpoint::uiaa was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::test_utils::mocks::RoomMessagesResponseTemplate::delay`  

matrix_sdk::test_utils::mocks::RoomMessagesResponseTemplate::delay was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `matrix_sdk::test_utils::mocks::RoomMessagesResponseTemplate::with_delay`  

matrix_sdk::test_utils::mocks::RoomMessagesResponseTemplate::with_delay was removed in matrix-sdk 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Removed** `Room.event_cache`  

The method was removed to simplify the API. [github.com](https://github.com/matrix-org/matrix-rust-sdk/blob/matrix-sdk-0.20.0/crates/matrix-sdk/CHANGELOG.md)
- **Behavior changed**  

Only a small subset of 400-600 status codes are retried; the rest are treated as permanent failures. [github.com](https://github.com/matrix-org/matrix-rust-sdk/blob/matrix-sdk-0.20.0/crates/matrix-sdk/CHANGELOG.md)
- **Behavior changed** `Client.create_room`  

Room creation is not retried, so callers handling failures may see errors they previously did not. [github.com](https://github.com/matrix-org/matrix-rust-sdk/blob/matrix-sdk-0.20.0/crates/matrix-sdk/CHANGELOG.md)
- **Configuration changed** `OAuth.msc_4388_rendezvous_server_supported`  

It is only available when the unstable-msc4388 feature is enabled. [github.com](https://github.com/matrix-org/matrix-rust-sdk/blob/matrix-sdk-0.20.0/crates/matrix-sdk/CHANGELOG.md)
- **Signature changed** `Client.fetch_retention_configuration`  

It returns None instead of an error when the homeserver lacks the endpoint. [github.com](https://github.com/matrix-org/matrix-rust-sdk/blob/matrix-sdk-0.20.0/crates/matrix-sdk/CHANGELOG.md)
- **Signature changed** `Client.retention_configuration`  

It returns None instead of an error when the homeserver lacks the endpoint. [github.com](https://github.com/matrix-org/matrix-rust-sdk/blob/matrix-sdk-0.20.0/crates/matrix-sdk/CHANGELOG.md)
- **Signature changed** `IdentityResetHandle.auth`  

The auth parameter must now be provided when calling this method. [github.com](https://github.com/matrix-org/matrix-rust-sdk/blob/matrix-sdk-0.20.0/crates/matrix-sdk/CHANGELOG.md)
- **Signature changed** `matrix_sdk::authentication::oauth::GrantLoginWithQrCodeBuilder::generate`  

Was fn generate(self) -> GrantLoginWithGeneratedQrCode<'a>; now fn generate(self) -> GrantLoginWithGeneratedQrCode. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::GrantLoginWithQrCodeBuilder::scan`  

Was fn scan(self, data: &'a QrCodeData) -> GrantLoginWithScannedQrCode<'a>; now fn scan(self, data: &QrCodeData) -> GrantLoginWithScannedQrCode. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::LoginWithQrCodeBuilder::generate`  

Was fn generate(self) -> LoginWithGeneratedQrCode<'a>; now fn generate(self) -> LoginWithGeneratedQrCode. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::LoginWithQrCodeBuilder::scan`  

Was fn scan(self, data: &'a QrCodeData) -> LoginWithQrCode<'a>; now fn scan(self, data: &QrCodeData) -> LoginWithQrCode. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::qrcode::GrantLoginProgress::WaitingForAuth`  

Was WaitingForAuth {/// A URI to open in a (secure) system browser to verify the new login. verification_uri: Url, /// A sender to confirm that the authorization using the verification /// URI has been started in the browser and that the... [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::qrcode::GrantLoginWithGeneratedQrCode`  

The type no longer borrows from the Client and QR code data, so code that relied on the borrow may need updating. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::qrcode::GrantLoginWithScannedQrCode`  

The type no longer borrows from the Client and QR code data, so code that relied on the borrow may need updating. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::qrcode::LoginProgress::WaitingForToken`  

Was WaitingForToken {/// The user code the OAuth 2.0 authorization server has given us, the /// OAuth 2.0 authorization server might ask the other device to /// enter this code. user_code: String}; now WaitingForToken {/// The user code... [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::qrcode::LoginWithGeneratedQrCode`  

The type no longer borrows from the Client and QR code data, so code that relied on the borrow may need updating. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::qrcode::LoginWithQrCode`  

The type no longer borrows from the Client and QR code data, so code that relied on the borrow may need updating. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::qrcode::MessageDecodeError`  

Was pub use vodozemac::ecies::MessageDecodeError; now enum MessageDecodeError. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::qrcode::QrAuthMessage::LoginFailure`  

The homeserver field changed from Option\<Url> to Option\<String>. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::qrcode::QrAuthMessage::LoginProtocol`  

The variant now carries a LoginProtocolData value. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::qrcode::QrAuthMessage::LoginProtocols`  

Was LoginProtocols {/// The login protocols the existing device supports. protocols: Vec\<LoginProtocolType>, /// The homeserver we're going to log in to. homeserver: Url}; now LoginProtocols(LoginProtocolsMessage). [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::authentication::oauth::qrcode::QRCodeLoginError::LoginFailure`  

Was LoginFailure {/// The reason, as signaled by the other device, for the login failure. reason: LoginFailureReason, /// The homeserver that we attempted to log in to. homeserver: Option\<Url>}; now LoginFailure {/// The reason, as... [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::Client::event_cache`  

It returns Option<&EventCache> because the cache can be disabled. [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)
- **Signature changed** `matrix_sdk::Client::fetch_thread_subscriptions`  

Was async fn fetch_thread_subscriptions(&self, from: Option\<String>, to: Option\<String>, limit: Option\<UInt>) -> Result\<get_thread_subscriptions_changes::unstable::Response>; now async fn fetch_thread_subscriptions(&self, from... [crates.io](https://crates.io/crates/matrix-sdk/0.20.0)

And 50 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [matrix-sdk-base](https://since.dev/packages/crates/matrix-sdk-base.md)
- [matrix-sdk-crypto](https://since.dev/packages/crates/matrix-sdk-crypto.md)
- [matrix-sdk-test](https://since.dev/packages/crates/matrix-sdk-test.md)
- [matrix-sdk-common](https://since.dev/packages/crates/matrix-sdk-common.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
