Skip to content

Commit 8019667

Browse files
committed
doc: Update the CHANGELOG.mds.
1 parent 3388a16 commit 8019667

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

crates/matrix-sdk-base/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ All notable changes to this project will be documented in this file.
1515
- `EventCacheStoreMedia` has a new method `last_media_cleanup_time_inner`
1616
- There are new `'static` bounds in `MediaService` for the media cache stores
1717
- `event_cache::store::MemoryStore` implements `Clone`.
18+
- [**breaking**] `Room::is_encryption_state_synced` has been removed
19+
([#4777](https://github.com/matrix-org/matrix-rust-sdk/pull/4777))
20+
- [**breaking**] `Room::is_encrypted` is replaced by `Room::encryption_state`
21+
which returns a value of the new `EncryptionState` enum
22+
([#4777](https://github.com/matrix-org/matrix-rust-sdk/pull/4777))
1823

1924
## [0.10.0] - 2025-02-04
2025

crates/matrix-sdk/CHANGELOG.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,28 @@ simpler methods:
2121
this URI is not desirable, the `Oidc::fetch_account_management_url` method
2222
can be used.
2323
([#4663](https://github.com/matrix-org/matrix-rust-sdk/pull/4663))
24-
2524
- The `MediaRetentionPolicy` can now trigger regular cleanups with its new
2625
`cleanup_frequency` setting.
2726
([#4603](https://github.com/matrix-org/matrix-rust-sdk/pull/4603))
2827
- [**breaking**] The HTTP client only allows TLS 1.2 or newer, as recommended by
2928
[BCP 195](https://datatracker.ietf.org/doc/bcp195/).
3029
([#4647](https://github.com/matrix-org/matrix-rust-sdk/pull/4647))
3130
- Add `Room::report_room` api. ([#4713](https://github.com/matrix-org/matrix-rust-sdk/pull/4713))
31+
- [**breaking**] `Room::is_encrypted` is replaced by
32+
`Room::latest_encryption_state` which returns a value of the new
33+
`EncryptionState` enum; another `Room::encryption_state` non-async and
34+
infallible method is added to get the `EncryptionState` without calling
35+
`Room::request_encryption_state`. This latter method is also now public.
36+
([#4777](https://github.com/matrix-org/matrix-rust-sdk/pull/4777)). One can
37+
safely replace:
38+
```rust
39+
room.is_encrypted().await?
40+
```
41+
by
42+
```rust
43+
room.latest_encryption_state().await?.is_encrypted()
44+
```
45+
3246

3347
### Bug Fixes
3448

0 commit comments

Comments
 (0)