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

# matrix-sdk-crypto breaking changes

matrix-sdk-crypto 0.20.0 (November 25, 2026) is its newest release with breaking changes, 5 of them. The first: Enforces size limits on the rendezvous ID and base homeserver URL in the MSC4388 QR code in matrix-sdk-crypto 0.20.0. Every breaking API change we have recorded in matrix-sdk-crypto on crates.io: 5 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-crypto 0.20.0 breaking changes

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

- **Behavior changed**  

QR codes using the MSC4388 variant now enforce size limits on the rendezvous ID and base homeserver URL. Callers must keep these values within the limits. [github.com](https://github.com/matrix-org/matrix-rust-sdk/blob/matrix-sdk-crypto-0.20.0/crates/matrix-sdk-crypto/CHANGELOG.md)
- **Behavior changed**  

The shared_history flag in room key contents, exported room keys and backed-up room keys is now written as shared_history instead of m.shared_history. Older SDK versions read data written by this version as not shareable. [github.com](https://github.com/matrix-org/matrix-rust-sdk/blob/matrix-sdk-crypto-0.20.0/crates/matrix-sdk-crypto/CHANGELOG.md)
- **Signature changed** `matrix_sdk_crypto::dehydrated_devices::DehydratedDevice::keys_for_upload`  

Was async fn keys_for_upload(&self, initial_device_display_name: String, pickle_key: &DehydratedDeviceKey) -> Result\<put_dehydrated_device::unstable::Request, DehydrationError>; now async fn keys_for_upload(&self... [crates.io](https://crates.io/crates/matrix-sdk-crypto/0.20.0)
- **Signature changed** `matrix_sdk_crypto::types::qr_login::QrCodeData::new_msc4388`  

Was fn new_msc4388(public_key: Curve25519PublicKey, rendezvous_id: String, base_url: Url, intent: QrCodeIntent) -> Self; now fn new_msc4388(public_key: Curve25519PublicKey, rendezvous_id: String, base_url: Url, intent: QrCodeIntent) ->... [crates.io](https://crates.io/crates/matrix-sdk-crypto/0.20.0)
- **Signature changed** `matrix_sdk_crypto::types::qr_login::QrCodeIntentData::Msc4388`  

Was Msc4388 {/// The ID of the rendezvous session, can be used to exchange messages /// with the other device. rendezvous_id: &'a str, /// The base URL of the homeserver that the device generating the QR is /// using. base_url: &'a Url}... [crates.io](https://crates.io/crates/matrix-sdk-crypto/0.20.0)

## Related packages

- [matrix-sdk](https://since.dev/packages/crates/matrix-sdk.md)
- [matrix-sdk-base](https://since.dev/packages/crates/matrix-sdk-base.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.
