@@ -25,6 +25,12 @@ All notable changes to this project will be documented in this file.
25
25
26
26
### Refactor
27
27
28
+ - [ ** breaking** ] Add an ` IsPrefix = False ` bound to the ` account_data() ` and
29
+ ` fetch_account_data_static() ` methods of ` Account ` . These methods only worked
30
+ for events where the full event type is statically-known, and this is now
31
+ enforced at compile-time. ` account_data_raw() ` and ` fetch_account_data() `
32
+ respectively can be used instead for event types with a variable suffix.
33
+ ([ #5444 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5444 ) )
28
34
- [ ** breaking** ] ` RoomMemberRole::suggested_role_for_power_level() ` and
29
35
` RoomMemberRole::suggested_power_level() ` now use ` UserPowerLevel ` to represent
30
36
power levels instead of ` i64 ` to differentiate the infinite power level of
@@ -42,9 +48,12 @@ All notable changes to this project will be documented in this file.
42
48
43
49
### Bugfix
44
50
51
+ - The event handlers APIs now properly support events whose type is not fully
52
+ statically-known. Before, those events would never trigger an event handler.
53
+ ([ #5444 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5444 ) )
45
54
- All HTTP requests now have a default ` read_timeout ` of 60s, which means they'll disconnect if the connection stalls.
46
55
` RequestConfig::timeout ` is now optional and can be disabled on a per-request basis. This will be done for
47
- the requests used to download media, so they don't get cancelled after the default 30s timeout for no good reason.
56
+ the requests used to download media, so they don't get cancelled after the default 30s timeout for no good reason.
48
57
([ #5437 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5437 ) )
49
58
50
59
## [ 0.13.0] - 2025-07-10
@@ -56,7 +65,7 @@ All notable changes to this project will be documented in this file.
56
65
57
66
### Bug fixes
58
67
59
- - ` Room.leave() ` will now attempt to leave all reachable predecessors too.
68
+ - ` Room.leave() ` will now attempt to leave all reachable predecessors too.
60
69
([ #5381 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/5381 ) )
61
70
- When joining a room via ` Client::join_room_by_id() ` , if the client has ` enable_share_history_on_invite ` enabled,
62
71
we will correctly check for received room key bundles. Previously this was only done when calling ` Room::join ` .
0 commit comments