@@ -7,6 +7,10 @@ All notable changes to this project will be documented in this file.
77## [ Unreleased] - ReleaseDate
88
99### Features
10+ - [ ** breaking** ] ` RoomCreateWithCreatorEventContent ` has a new field
11+ ` additional_creators ` that allows to specify additional room creators beside
12+ the user sending the ` m.room.create ` event, introduced with room version 12.
13+ ([ #5436 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5436 ) )
1014- [ ** breaking** ] The ` RoomInfo ` method now remembers the inviter at the time
1115 when the ` BaseClient::room_joined() ` method was called. The caller is
1216 responsible to remember the inviter before a server request to join the room
@@ -16,6 +20,19 @@ All notable changes to this project will be documented in this file.
1620 ([ #5390 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5390 ) )
1721
1822### Refactor
23+ - [ ** breaking** ] ` SyncOrStrippedState<RoomPowerLevelsEventContent>::power_levels() `
24+ takes ` AuthorizationRules ` and a list of creators, because creators can have
25+ infinite power levels, as introduced in room version 12.
26+ ([ #5436 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5436 ) )
27+ - [ ** breaking** ] ` RoomMember::power_level() ` and
28+ ` RoomMember::normalized_power_level() ` now use ` UserPowerLevel ` to represent
29+ power levels instead of ` i64 ` to differentiate the infinite power level of
30+ creators, as introduced in room version 12.
31+ ([ #5436 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5436 ) )
32+ - [ ** breaking** ] The ` creator() ` methods of ` Room ` and ` RoomInfo ` have been
33+ renamed to ` creators() ` and can now return a list of user IDs, to reflect that
34+ a room can have several creators, as introduced in room version 12.
35+ ([ #5436 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5436 ) )
1936- [ ** breaking** ] ` RoomInfo::room_version_or_default() ` was replaced with
2037 ` room_version_rules_or_default() ` . The room version should only be used for
2138 display purposes. The rules contain flags for all the differences in behavior
0 commit comments