|
2 | 2 |
|
3 | 3 | All notable changes to this project will be documented in this file.
|
4 | 4 |
|
5 |
| -# unreleased |
| 5 | +## [0.8.0] - 2024-11-19 |
6 | 6 |
|
| 7 | +### Bug Fixes |
| 8 | + |
| 9 | +- Add more invalid characters for room aliases. |
| 10 | + |
| 11 | +- Use the `DisplayName` struct to protect against homoglyph attacks. |
| 12 | + |
| 13 | + |
| 14 | +### Features |
7 | 15 | - Add `BaseClient::room_key_recipient_strategy` field
|
8 |
| -- Replace the `Notification` type from Ruma in `SyncResponse` and `StateChanges` by a custom one |
9 |
| -- The ambiguity maps in `SyncResponse` are moved to `JoinedRoom` and `LeftRoom` |
10 |
| -- `AmbiguityCache` contains the room member's user ID |
| 16 | + |
| 17 | +- `AmbiguityCache` contains the room member's user ID. |
| 18 | + |
| 19 | +- [**breaking**] `Media::get_thumbnail` and `MediaFormat::Thumbnail` allow to |
| 20 | + request an animated thumbnail They both take a `MediaThumbnailSettings` |
| 21 | + instead of `MediaThumbnailSize`. |
| 22 | + |
| 23 | +- Consider knocked members to be part of the room for display name |
| 24 | + disambiguation. |
| 25 | + |
| 26 | +- `Client::cross_process_store_locks_holder_name` is used everywhere: |
| 27 | + - `StoreConfig::new()` now takes a |
| 28 | + `cross_process_store_locks_holder_name` argument. |
| 29 | + - `StoreConfig` no longer implements `Default`. |
| 30 | + - `BaseClient::new()` has been removed. |
| 31 | + - `BaseClient::clone_with_in_memory_state_store()` now takes a |
| 32 | + `cross_process_store_locks_holder_name` argument. |
| 33 | + - `BaseClient` no longer implements `Default`. |
| 34 | + - `EventCacheStoreLock::new()` no longer takes a `key` argument. |
| 35 | + - `BuilderStoreConfig` no longer has |
| 36 | + `cross_process_store_locks_holder_name` field for `Sqlite` and |
| 37 | + `IndexedDb`. |
| 38 | + |
| 39 | +- Make `ObservableMap::stream` works on `wasm32-unknown-unknown`. |
| 40 | + |
| 41 | +- Allow aborting media uploads. |
| 42 | + |
| 43 | +- Replace the `Notification` type from Ruma in `SyncResponse` and `StateChanges` |
| 44 | + by a custom one. |
| 45 | + |
| 46 | +- Introduce a `DisplayName` struct which normalizes and sanitizes |
| 47 | +display names. |
| 48 | + |
| 49 | + |
| 50 | +### Refactor |
| 51 | + |
| 52 | +- [**breaking**] Rename `DisplayName` to `RoomDisplayName`. |
| 53 | + |
| 54 | +- Rename `AmbiguityMap` to `DisplayNameUsers`. |
| 55 | + |
| 56 | +- Move `event_cache_store/` to `event_cache/store/` in `matrix-sdk-base`. |
| 57 | + |
| 58 | +- Move `linked_chunk` from `matrix-sdk` to `matrix-sdk-common`. |
| 59 | + |
| 60 | +- Move `Event` and `Gap` into `matrix_sdk_base::event_cache`. |
| 61 | + |
| 62 | +- The ambiguity maps in `SyncResponse` are moved to `JoinedRoom` and `LeftRoom`. |
| 63 | + |
11 | 64 | - `Store::get_rooms` and `Store::get_rooms_filtered` are way faster because they
|
12 | 65 | don't acquire the lock for every room they read.
|
| 66 | + |
13 | 67 | - `Store::get_rooms`, `Store::get_rooms_filtered` and `Store::get_room` are
|
14 | 68 | renamed `Store::rooms`, `Store::rooms_filtered` and `Store::room`.
|
15 |
| -- `Client::get_rooms` and `Client::get_rooms_filtered` are renamed |
| 69 | + |
| 70 | +- [**breaking**] `Client::get_rooms` and `Client::get_rooms_filtered` are renamed |
16 | 71 | `Client::rooms` and `Client::rooms_filtered`.
|
17 |
| -- `Client::get_stripped_rooms` has finally been removed. |
18 |
| -- `Media::get_thumbnail` and `MediaFormat::Thumbnail` allow to request an animated thumbnail |
19 |
| - - They both take a `MediaThumbnailSettings` instead of `MediaThumbnailSize`. |
20 |
| -- The `StateStore` methods to access data in the media cache where moved to a separate |
21 |
| - `EventCacheStore` trait. |
22 |
| -- The `instant` module was removed, use the `ruma::time` module instead. |
| 72 | + |
| 73 | +- [**breaking**] `Client::get_stripped_rooms` has finally been removed. |
| 74 | + |
| 75 | +- [**breaking**] The `StateStore` methods to access data in the media cache |
| 76 | + where moved to a separate `EventCacheStore` trait. |
| 77 | + |
| 78 | +- [**breaking**] The `instant` module was removed, use the `ruma::time` module instead. |
23 | 79 |
|
24 | 80 | # 0.7.0
|
25 | 81 |
|
|
0 commit comments