Skip to content

Commit a0c87cf

Browse files
zecakehpoljar
authored andcommitted
Add changelog
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
1 parent 9ddc892 commit a0c87cf

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

crates/matrix-sdk-base/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ All notable changes to this project will be documented in this file.
2020
([#5390](https://github.com/matrix-org/matrix-rust-sdk/pull/5390))
2121

2222
### Refactor
23+
- [**breaking**] Add an `IsPrefix = False` bound to the
24+
`get_state_event_static()`, `get_state_event_static_for_key()` and
25+
`get_state_events_static()`, `get_account_data_event_static()` and
26+
`get_room_account_data_event_static` methods of `StateStoreExt`. These methods
27+
only worked for events where the full event type is statically-known, and this
28+
is now enforced at compile-time. The matching non-`static` methods of
29+
`StateStore` can be used instead for event types with a variable suffix.
30+
([#5444](https://github.com/matrix-org/matrix-rust-sdk/pull/5444))
2331
- [**breaking**] `SyncOrStrippedState<RoomPowerLevelsEventContent>::power_levels()`
2432
takes `AuthorizationRules` and a list of creators, because creators can have
2533
infinite power levels, as introduced in room version 12.

crates/matrix-sdk/CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ All notable changes to this project will be documented in this file.
2525

2626
### Refactor
2727

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))
2834
- [**breaking**] `RoomMemberRole::suggested_role_for_power_level()` and
2935
`RoomMemberRole::suggested_power_level()` now use `UserPowerLevel` to represent
3036
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.
4248

4349
### Bugfix
4450

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))
4554
- All HTTP requests now have a default `read_timeout` of 60s, which means they'll disconnect if the connection stalls.
4655
`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.
4857
([#5437](https://github.com/matrix-org/matrix-rust-sdk/pull/5437))
4958

5059
## [0.13.0] - 2025-07-10
@@ -56,7 +65,7 @@ All notable changes to this project will be documented in this file.
5665

5766
### Bug fixes
5867

59-
- `Room.leave()` will now attempt to leave all reachable predecessors too.
68+
- `Room.leave()` will now attempt to leave all reachable predecessors too.
6069
([#5381](https://github.com/matrix-org/matrix-rust-sdk/pull/5381))
6170
- When joining a room via `Client::join_room_by_id()`, if the client has `enable_share_history_on_invite` enabled,
6271
we will correctly check for received room key bundles. Previously this was only done when calling `Room::join`.

0 commit comments

Comments
 (0)