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

# matrix-sdk-test breaking changes

matrix-sdk-test 0.20.0 (November 25, 2026) is its newest release with breaking changes, 73 of them. The first: Removed matrix_sdk_test::ALICE. Every breaking API change we have recorded in matrix-sdk-test on crates.io: 73 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-test 0.20.0 breaking changes

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

- **Removed** `matrix_sdk_test::ALICE`  

matrix_sdk_test::ALICE was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::BOB`  

matrix_sdk_test::BOB was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::CAROL`  

matrix_sdk_test::CAROL was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::event_factory::EventFactory::default_power_levels`  

matrix_sdk_test::event_factory::EventFactory::default_power_levels was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::mocks`  

matrix_sdk_test::mocks was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::api_responses::DEVICE`  

matrix_sdk_test::test_json::api_responses::DEVICE was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::api_responses::DEVICES`  

matrix_sdk_test::test_json::api_responses::DEVICES was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::api_responses::GET_ALIAS`  

matrix_sdk_test::test_json::api_responses::GET_ALIAS was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::api_responses::WELL_KNOWN`  

matrix_sdk_test::test_json::api_responses::WELL_KNOWN was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::DEVICE`  

matrix_sdk_test::test_json::DEVICE was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::DEVICES`  

matrix_sdk_test::test_json::DEVICES was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::EVENT_ID`  

matrix_sdk_test::test_json::EVENT_ID was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::GET_ALIAS`  

matrix_sdk_test::test_json::GET_ALIAS was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::JOIN_SPACE_SYNC`  

matrix_sdk_test::test_json::JOIN_SPACE_SYNC was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::LEAVE_SYNC_EVENT`  

matrix_sdk_test::test_json::LEAVE_SYNC_EVENT was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::ROOM_ID`  

matrix_sdk_test::test_json::ROOM_ID was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::search_users`  

matrix_sdk_test::test_json::search_users was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::sync::CUSTOM_ROOM_POWER_LEVELS`  

matrix_sdk_test::test_json::sync::CUSTOM_ROOM_POWER_LEVELS was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::sync::JOIN_SPACE_SYNC`  

matrix_sdk_test::test_json::sync::JOIN_SPACE_SYNC was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::sync::LEAVE_SYNC_EVENT`  

matrix_sdk_test::test_json::sync::LEAVE_SYNC_EVENT was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::sync::MIXED_INVITED_ROOM_ID`  

matrix_sdk_test::test_json::sync::MIXED_INVITED_ROOM_ID was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::sync::MIXED_JOINED_ROOM_ID`  

matrix_sdk_test::test_json::sync::MIXED_JOINED_ROOM_ID was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::sync::MIXED_KNOCKED_ROOM_ID`  

matrix_sdk_test::test_json::sync::MIXED_KNOCKED_ROOM_ID was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::sync::MIXED_LEFT_ROOM_ID`  

matrix_sdk_test::test_json::sync::MIXED_LEFT_ROOM_ID was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::sync::MIXED_SYNC`  

matrix_sdk_test::test_json::sync::MIXED_SYNC was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::sync::SYNC_ADMIN_AND_MOD`  

matrix_sdk_test::test_json::sync::SYNC_ADMIN_AND_MOD was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Removed** `matrix_sdk_test::test_json::WELL_KNOWN`  

matrix_sdk_test::test_json::WELL_KNOWN was removed in matrix-sdk-test 0.20.0 [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::add_user`  

Was fn add_user(mut self, user_id: OwnedDirectUserIdentifier, room_id: &RoomId) -> Self; now fn add_user(mut self, user_id: impl Into\<OwnedDirectUserIdentifier>, room_id: impl Into\<OwnedRoomId>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::avatar_url`  

Was fn avatar_url(mut self, url: &MxcUri) -> Self; now fn avatar_url(mut self, url: impl Into\<OwnedMxcUri>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::banned`  

Was fn banned(mut self, banned_user: &UserId) -> Self; now fn banned(mut self, banned_user: impl Into\<OwnedUserId> + Into\<String>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::edit`  

Was fn edit(mut self, edited_event_id: &EventId, new_content: RoomMessageEventContentWithoutRelation) -> Self; now fn edit(mut self, edited_event_id: impl Into\<OwnedEventId>, new_content: RoomMessageEventContentWithoutRelation) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::event_id`  

Was fn event_id(mut self, event_id: &EventId) -> Self; now fn event_id(mut self, event_id: impl Into\<OwnedEventId>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::in_thread`  

Was fn in_thread(mut self, root: &EventId, latest_thread_event: &EventId) -> Self fn in_thread(mut self, root: &EventId, reply_to_event_id: &EventId) -> Self; now fn in_thread(mut self, root: impl Into\<OwnedEventId>, latest_thread_event... [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::in_thread_reply`  

Was fn in_thread_reply(mut self, root: &EventId, replied_to: &EventId) -> Self; now fn in_thread_reply(mut self, root: impl Into\<OwnedEventId>, replied_to: impl Into\<OwnedEventId>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::into_content`  

Was fn into_content(self) -> serde_json::Value; now fn into_content(self) -> E. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::invited`  

Was fn invited(mut self, invited_user: &UserId) -> Self; now fn invited(mut self, invited_user: impl Into\<OwnedUserId> + Into\<String>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::kicked`  

Was fn kicked(mut self, kicked_user: &UserId) -> Self; now fn kicked(mut self, kicked_user: impl Into\<OwnedUserId> + Into\<String>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::predecessor`  

Was fn predecessor(mut self, room_id: &RoomId) -> Self; now fn predecessor(mut self, room_id: impl Into\<OwnedRoomId>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::reason`  

Was fn reason(mut self, reason: impl Into\<String>) -> Self; now fn reason(mut self, reason: impl Into\<String>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::reply_thread`  

Was fn reply_thread(mut self, root: &EventId, reply_to_event: &EventId) -> Self; now fn reply_thread(mut self, root: impl Into\<OwnedEventId>, reply_to_event: impl Into\<OwnedEventId>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::reply_to`  

Was fn reply_to(mut self, event_id: &EventId) -> Self; now fn reply_to(mut self, event_id: impl Into\<OwnedEventId>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::room`  

Was fn room(mut self, room_id: &RoomId) -> Self; now fn room(mut self, room_id: impl Into\<OwnedRoomId>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::sender`  

Was fn sender(mut self, sender: &UserId) -> Self; now fn sender(mut self, sender: impl Into\<OwnedUserId>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::set_livekit_focus`  

Was fn set_livekit_focus(mut self, alias: String, service_url: String) -> Self; now fn set_livekit_focus(mut self, alias: Option\<String>, url: Option\<String>, server_name: Option\<OwnedServerName>, service_url: Option\<String>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventBuilder::url`  

Was fn url(mut self, url: &MxcUri) -> Self; now fn url(mut self, url: impl Into\<OwnedMxcUri>) -> Self. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventFactory::call_decline`  

Was fn call_decline(&self, notification_event_id: &EventId) -> EventBuilder\<RtcDeclineEventContent>; now fn call_decline(&self, notification_event_id: impl Into\<OwnedEventId>) -> EventBuilder\<RtcDeclineEventContent>. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventFactory::call_membership_state`  

Was fn call_membership_state(&self, user_id: OwnedUserId, device_id: String) -> EventBuilder\<CallMemberEventContent>; now fn call_membership_state(&self, user_id: impl Into\<OwnedUserId>, device_id: String) ->... [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventFactory::create`  

Was fn create(&self, creator_user_id: &UserId, room_version: RoomVersionId) -> EventBuilder\<RoomCreateEventContent>; now fn create(&self, creator: impl Into\<OwnedUserId>, room_version: RoomVersionId) -> EventBuilder\<RoomCreateEventContent>. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventFactory::fully_read`  

Was fn fully_read(&self, event_id: &EventId) -> EventBuilder\<FullyReadEventContent>; now fn fully_read(&self, event_id: impl Into\<OwnedEventId>) -> EventBuilder\<FullyReadEventContent>. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)
- **Signature changed** `matrix_sdk_test::event_factory::EventFactory::member`  

Was fn member(&self, member: &UserId) -> EventBuilder\<RoomMemberEventContent>; now fn member(&self, member: impl Into\<OwnedUserId>) -> EventBuilder\<RoomMemberEventContent>. [crates.io](https://crates.io/crates/matrix-sdk-test/0.20.0)

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

## 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-crypto](https://since.dev/packages/crates/matrix-sdk-crypto.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.
