Commit 8019667 1 parent 3388a16 commit 8019667 Copy full SHA for 8019667
File tree 2 files changed +20
-1
lines changed
2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ All notable changes to this project will be documented in this file.
15
15
- ` EventCacheStoreMedia ` has a new method ` last_media_cleanup_time_inner `
16
16
- There are new ` 'static ` bounds in ` MediaService ` for the media cache stores
17
17
- ` 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 ) )
18
23
19
24
## [ 0.10.0] - 2025-02-04
20
25
Original file line number Diff line number Diff line change @@ -21,14 +21,28 @@ simpler methods:
21
21
this URI is not desirable, the ` Oidc::fetch_account_management_url ` method
22
22
can be used.
23
23
([ #4663 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/4663 ) )
24
-
25
24
- The ` MediaRetentionPolicy ` can now trigger regular cleanups with its new
26
25
` cleanup_frequency ` setting.
27
26
([ #4603 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/4603 ) )
28
27
- [ ** breaking** ] The HTTP client only allows TLS 1.2 or newer, as recommended by
29
28
[ BCP 195] ( https://datatracker.ietf.org/doc/bcp195/ ) .
30
29
([ #4647 ] ( https://github.com/matrix-org/matrix-rust-sdk/pull/4647 ) )
31
30
- 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
+
32
46
33
47
### Bug Fixes
34
48
You can’t perform that action at this time.
0 commit comments