From 238e4e8a87baad51bcfd44c619f0caa985472cc3 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Fri, 5 Dec 2025 08:41:07 +0100 Subject: [PATCH] doc: Mention #5624 in `CHANGELOG.md`s. --- bindings/matrix-sdk-ffi/CHANGELOG.md | 7 +++++++ crates/matrix-sdk-ui/CHANGELOG.md | 8 ++++++++ crates/matrix-sdk/CHANGELOG.md | 12 ++++++++++++ 3 files changed, 27 insertions(+) diff --git a/bindings/matrix-sdk-ffi/CHANGELOG.md b/bindings/matrix-sdk-ffi/CHANGELOG.md index a9a359c34..cdcff0e5d 100644 --- a/bindings/matrix-sdk-ffi/CHANGELOG.md +++ b/bindings/matrix-sdk-ffi/CHANGELOG.md @@ -6,6 +6,13 @@ All notable changes to this project will be documented in this file. ## [Unreleased] - ReleaseDate +### Features + +- [**breaking**]: The new Latest Event API replaces the old API. + `Room::new_latest_event` overwrites the `Room::latest_event` method. See the + documentation of `matrix_sdk::latest_event` to learn about the new API. + [#5624](https://github.com/matrix-org/matrix-rust-sdk/pull/5624/) + ## [0.16.0] - 2025-12-04 ### Breaking changes diff --git a/crates/matrix-sdk-ui/CHANGELOG.md b/crates/matrix-sdk-ui/CHANGELOG.md index 6bb93efb8..c66d45f20 100644 --- a/crates/matrix-sdk-ui/CHANGELOG.md +++ b/crates/matrix-sdk-ui/CHANGELOG.md @@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file. ## [Unreleased] - ReleaseDate +### Features + +- [**breaking**]: The new Latest Event API replaces the old API. All the + `new_` prefixes have been removed. The following methods are removed: + `EventTimelineItem::from_latest_event`, and `Timeline::latest_event`. See the + documentation of `matrix_sdk::latest_event` to learn about the new API. + [#5624](https://github.com/matrix-org/matrix-rust-sdk/pull/5624/) + ## [0.16.0] - 2025-12-04 ### Features diff --git a/crates/matrix-sdk/CHANGELOG.md b/crates/matrix-sdk/CHANGELOG.md index 5fca98aab..7e92a85a5 100644 --- a/crates/matrix-sdk/CHANGELOG.md +++ b/crates/matrix-sdk/CHANGELOG.md @@ -6,6 +6,18 @@ All notable changes to this project will be documented in this file. ## [Unreleased] - ReleaseDate +### Features + +- [**breaking**]: The new Latest Event API replaces the old API. All the + `new_` prefixes have been removed, thus `Room::new_latest_event` becomes + and overwrites the `Room::latest_event` value. The new Latest Event values + stored in `RoomInfo` are also erased once during the first update of the + SDK. The new values will be re-calculated. The following types or functions + are removed: `PossibleLatestEvent`, `is_suitable_for_latest_event`, and + `LatestEvent` (replaced by `LatestEventValue`). See the documentation of + `matrix_sdk::latest_event` to learn about the new API. + [#5624](https://github.com/matrix-org/matrix-rust-sdk/pull/5624/) + ## [0.16.0] - 2025-12-04 ### Features