7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 1 | # Changelog |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 2 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 3 | All notable changes to this project will be documented in this file. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 4 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 5 | <!-- changelog start --> |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 6 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 7 | ## [0.18.0](https://github.com/matrix-org/matrix-rust-sdk/tree/0.18.0) - 2026-06-02 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 8 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 9 | No significant changes. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 10 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 11 | ## [0.17.0] - 2026-05-08 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 12 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 13 | ### Features |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 14 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 15 | - Implement `CryptoStore::get_pending_key_bundle_details_for_room` and |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 16 | `CryptoStore::get_all_rooms_pending_key_bundle`, and process |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 17 | `rooms_pending_key_bundle` field in `Changes`. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 18 | ([#6199](https://github.com/matrix-org/matrix-rust-sdk/pull/6199)), |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 19 | ([#6233](https://github.com/matrix-org/matrix-rust-sdk/pull/6233)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 20 | - Implement new method `CryptoStore::has_downloaded_all_room_keys`, and process |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 21 | `room_key_backups_fully_downloaded` field in `Changes`. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 22 | ([#6017](https://github.com/matrix-org/matrix-rust-sdk/pull/6017)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 23 | ([#6044](https://github.com/matrix-org/matrix-rust-sdk/pull/6044)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 24 | - [**breaking**] In `EventCacheStore::handle_linked_chunk_updates`, new chunks |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 25 | may no longer reference chunk identifiers which do not yet exist in the store |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 26 | ([#6061](https://github.com/matrix-org/matrix-rust-sdk/pull/6061)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 27 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 28 | ### Bug fixes |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 29 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 30 | - Fix a panic when the SQLite connection is aborted. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 31 | ([#6091](https://github.com/matrix-org/matrix-rust-sdk/pull/6091)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 32 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 33 | ### Refactor |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 34 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 35 | - Add migration to `SqliteCryptoStore` that removes cross-process lock |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 36 | generation key from `kv` table, as this is tracked in `lease_locks` table. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 37 | ([#6326](https://github.com/matrix-org/matrix-rust-sdk/pull/6326)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 38 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 39 | ## [0.16.1] - 2026-05-08 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 40 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 41 | No notable changes in this release. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 42 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 43 | ## [0.16.0] - 2025-12-04 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 44 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 45 | ### Features |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 46 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 47 | - Implement new method `CryptoStore::get_withheld_sessions_by_room_id`. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 48 | ([#5819](https://github.com/matrix-org/matrix-rust-sdk/pull/5819)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 49 | - [**breaking**] `SqliteCryptoStore::get_withheld_info` now returns |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 50 | `Result<Option<RoomKeyWithheldEntry>>`. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 51 | ([#5737](https://github.com/matrix-org/matrix-rust-sdk/pull/5737)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 52 | - Implement a new constructor that allows to open `SqliteCryptoStore` with a |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 53 | cryptographic key |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 54 | ([#5472](https://github.com/matrix-org/matrix-rust-sdk/pull/5472)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 55 | - Implement `StateStore::upsert_thread_subscriptions()` method for bulk upserts. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 56 | ([#5848](https://github.com/matrix-org/matrix-rust-sdk/pull/5848)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 57 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 58 | ### Refactor |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 59 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 60 | - [breaking] Change the logic for opening a store so as to use a `Secret` enum |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 61 | in the function `open_with_pool` instead of a `passphrase` |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 62 | ([#5472](https://github.com/matrix-org/matrix-rust-sdk/pull/5472)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 63 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 64 | ## [0.14.0] - 2025-09-04 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 65 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 66 | No notable changes in this release. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 67 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 68 | ## [0.13.0] - 2025-07-10 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 69 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 70 | ### Security fixes |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 71 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 72 | - Fix SQL injection vulnerability in `find_event_relations()`. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 73 | ([d0c0100](https://github.com/matrix-org/matrix-rust-sdk/commit/d0c01006e4808db5eb96ad5c496416f284d8bd3c), |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 74 | Moderate, [CVE-2025-53549](https://www.cve.org/CVERecord?id=CVE-2025-53549), |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 75 | [GHSA-275g-g844-73jh](https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-275g-g844-73jh)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 76 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 77 | ## [0.12.0] - 2025-06-10 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 78 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 79 | ### Bug fixes |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 80 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 81 | - Fix a `UNIQUE` constraint violation in the event cache store |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 82 | ([#5001](https://github.com/matrix-org/matrix-rust-sdk/pull/5001)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 83 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 84 | ## [0.11.0] - 2025-04-11 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 85 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 86 | ### Features |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 87 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 88 | - Implement the new method of `EventCacheStoreMedia` for |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 89 | `SqliteEventCacheStore`. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 90 | ([#4603](https://github.com/matrix-org/matrix-rust-sdk/pull/4603)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 91 | - Defragment an sqlite state store after removing a room. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 92 | ([#4651](https://github.com/matrix-org/matrix-rust-sdk/pull/4651)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 93 | - Add `SqliteStoreConfig` and the `open_with_config` constructor on all the |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 94 | stores, it allows to control the maximum size of the pool of connections to |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 95 | SQLite for example. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 96 | ([#4826](https://github.com/matrix-org/matrix-rust-sdk/pull/4826)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 97 | - Add `SqliteStoreConfig::path()` to override the path given to the constructor |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 98 | ([#4870](https://github.com/matrix-org/matrix-rust-sdk/pull/4870/)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 99 | - Implement `Clone` and `Debug` on `SqliteStoreConfig` |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 100 | ([#4870](https://github.com/matrix-org/matrix-rust-sdk/pull/4870/)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 101 | - Add `SqliteStoreConfig::with_low_memory_config` constructor |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 102 | ([#4894](https://github.com/matrix-org/matrix-rust-sdk/pull/4894)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 103 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 104 | ## [0.10.0] - 2025-02-04 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 105 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 106 | ### Features |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 107 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 108 | - [**breaking**] `SqliteEventCacheStore` implements the new APIs of |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 109 | `EventCacheStore` for `MediaRetentionPolicy`. See the changelog of |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 110 | `matrix-sdk-base` for more details. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 111 | ([#4571](https://github.com/matrix-org/matrix-rust-sdk/pull/4571)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 112 | - The SQLite databases are optimized during the construction of the stores. It |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 113 | should improve the performance of the queries. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 114 | ([#4602](https://github.com/matrix-org/matrix-rust-sdk/pull/4602)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 115 | - The size of the WAL files is now limited to 10MB. This avoids cases where the |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 116 | WAL file takes as much space as the database. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 117 | ([#4602](https://github.com/matrix-org/matrix-rust-sdk/pull/4602)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 118 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 119 | ## [0.9.0] - 2024-12-18 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 120 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 121 | ### Features |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 122 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 123 | - Add support for persisting LinkedChunks in the SQLite store. This is a step |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 124 | towards implementing event cache support, enabling a persisted cache of |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 125 | events. ([#4340](https://github.com/matrix-org/matrix-rust-sdk/pull/4340)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 126 | ([#4362](https://github.com/matrix-org/matrix-rust-sdk/pull/4362)) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 127 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 128 | ## [0.8.0] - 2024-11-19 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 129 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 130 | ### Bug fixes |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 131 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 132 | - Use the `DisplayName` struct to protect against homoglyph attacks. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 133 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 134 | ### Refactor |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 135 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 136 | - Move `event_cache_store/` to `event_cache/store/` in `matrix-sdk-base`. |