Skip to content

Commit c02659c

Browse files
committed
doc: Update the CHANGELOG.mds.
1 parent ff608ba commit c02659c

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

crates/matrix-sdk-base/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ All notable changes to this project will be documented in this file.
1818
- `BaseClient` now has a `handle_verification_events` field which is `true` by
1919
default and can be negated so the `NotificationClient` won't handle received
2020
verification events too, causing errors in the `VerificationMachine`.
21+
- [**breaking**] `Room::is_encryption_state_synced` has been removed
22+
([#4777](https://github.com/matrix-org/matrix-rust-sdk/pull/4777))
23+
- [**breaking**] `Room::is_encrypted` is replaced by `Room::encryption_state`
24+
which returns a value of the new `EncryptionState` enum
25+
([#4777](https://github.com/matrix-org/matrix-rust-sdk/pull/4777))
2126

2227
## [0.10.0] - 2025-02-04
2328

crates/matrix-sdk/CHANGELOG.md

+23-4
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,36 @@ 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))
32-
- `Client::notification_client` will create a copy of the existing `Client`, but now it'll make sure
33-
it doesn't handle any verification events to avoid an issue with these events being received and
34-
processed twice if `NotificationProcessSetup` was `SingleSetup`.
31+
- `Client::notification_client` will create a copy of the existing `Client`,
32+
but now it'll make sure it doesn't handle any verification events to
33+
avoid an issue with these events being received and processed twice if
34+
`NotificationProcessSetup` was `SingleSetup`.
35+
- [**breaking**] `Room::is_encrypted` is replaced by
36+
`Room::latest_encryption_state` which returns a value of the new
37+
`EncryptionState` enum; another `Room::encryption_state` non-async and
38+
infallible method is added to get the `EncryptionState` without calling
39+
`Room::request_encryption_state`. This latter method is also now public.
40+
([#4777](https://github.com/matrix-org/matrix-rust-sdk/pull/4777)). One can
41+
safely replace:
42+
43+
```rust
44+
room.is_encrypted().await?
45+
```
46+
47+
by
48+
49+
```rust
50+
room.latest_encryption_state().await?.is_encrypted()
51+
```
52+
53+
>>>>>>> b6c5e758bd (doc: Update the `CHANGELOG.md`s.)
3554
3655
### Bug Fixes
3756

0 commit comments

Comments
 (0)