Skip to content

Commit

Permalink
doc(changelog): Add entries for the performance improvement patches.
Browse files Browse the repository at this point in the history
This patch adds matrix-org#4601, matrix-org#4608, matrix-org#4612 and matrix-org#4616 in their respective
`CHANGELOG.md`s.
+
  • Loading branch information
Hywan committed Feb 4, 2025
1 parent 77a67de commit 2eaeffe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions crates/matrix-sdk-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ All notable changes to this project will be documented in this file.
introduced due to the introduction of the banned state for rooms, and the
non-left room filter did not take the new room stat into account.
([#4448](https://github.com/matrix-org/matrix-rust-sdk/pull/4448))

- Fix `EventTimelineItem::latest_edit_json()` when it is populated by a live
edit. ([#4552](https://github.com/matrix-org/matrix-rust-sdk/pull/4552))

- Fix our own explicit read receipt being ignored when loading it from the
state store, which resulted in our own read receipt being wrong sometimes.
([#4600](https://github.com/matrix-org/matrix-rust-sdk/pull/4600))
Expand All @@ -35,10 +37,17 @@ All notable changes to this project will be documented in this file.

### Refactor

- Drastically improve the performance of the `Timeline` when it receives
hundreds and hundreds of events (approximately 10 times faster).
([#4601](https://github.com/matrix-org/matrix-rust-sdk/pull/4601),
[#4608](https://github.com/matrix-org/matrix-rust-sdk/pull/4608),
[#4612](https://github.com/matrix-org/matrix-rust-sdk/pull/4612))

- [**breaking**] `Timeline::paginate_forwards` and `Timeline::paginate_backwards`
are unified to work on a live or focused timeline.
`Timeline::live_paginate_*` and `Timeline::focused_paginate_*` have been
removed ([#4584](https://github.com/matrix-org/matrix-rust-sdk/pull/4584)).

- [**breaking**] `Timeline::subscribe_batched` replaces
`Timeline::subscribe`. `subscribe` has been removed in
[#4567](https://github.com/matrix-org/matrix-rust-sdk/pull/4567),
Expand Down
3 changes: 3 additions & 0 deletions crates/matrix-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ All notable changes to this project will be documented in this file.

### Refactor

- Improve the performance of `EventCache` (approximately 4.5 times faster).
([#4616](https://github.com/matrix-org/matrix-rust-sdk/pull/4616))

- [**breaking**]: The reexported types `SyncTimelineEvent` and `TimelineEvent` have been fused into a single type
`TimelineEvent`, and its field `push_actions` has been made `Option`al (it is set to `None` when
we couldn't compute the push actions, because we lacked some information).
Expand Down

0 comments on commit 2eaeffe

Please sign in to comment.