synapse/changelog.d
Eric Eastwood 3fef535ff2
Add `rooms.bump_stamp` to Sliding Sync `/sync` for easier client-side sorting (#17395)
`bump_stamp` corresponds to the `stream_ordering` of the latest `DEFAULT_BUMP_EVENT_TYPES` in the room. This helps clients sort more readily without them needing to pull in a bunch of the timeline to determine the last activity. `bump_event_types` is a thing because for example, we don't want display name changes to mark the room as unread and bump it to the top. For encrypted rooms, we just have to consider any activity as a bump because we can't see the content and the client has to figure it out for themselves.

Outside of Synapse, `bump_stamp` is just a free-form counter so other implementations could use `received_ts`or `origin_server_ts` (see the [*Security considerations* section in MSC3575 about the potential pitfalls of using `origin_server_ts`](https://github.com/matrix-org/matrix-spec-proposals/blob/kegan/sync-v3/proposals/3575-sync.md#security-considerations)). It doesn't have any guarantee about always going up. In the Synapse case, it could go down if an event was redacted/removed (or purged in cases of retention policies).

In the future, we could add `bump_event_types` as [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) mentions if people need to customize the event types.

---

In the Sliding Sync proxy, a similar [`timestamp` field was added](https://github.com/matrix-org/sliding-sync/pull/247) for the same purpose but the name is not obvious what it pertains to or what it's for.

The `timestamp` field was also added to Ruma in https://github.com/ruma/ruma/pull/1622
2024-07-08 13:17:08 -05:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
17318.misc Make the release script create a release branch for Complement as well (#17318) 2024-07-05 09:07:45 +02:00
17320.feature Return some room data in Sliding Sync `/sync` (#17320) 2024-07-02 11:07:05 -05:00
17337.feature Add `room_types`/`not_room_types` filtering to Sliding Sync `/sync` (#17337) 2024-07-02 12:46:27 -05:00
17342.feature Add `rooms.required_state` to Sliding Sync `/sync` (#17342) 2024-07-04 12:25:36 -05:00
17356.doc Clarify `url_preview_url_blacklist` is a usability feature (#17356) 2024-06-28 14:39:54 +01:00
17362.bugfix Handle multiple rows device inbox (#17362) 2024-06-27 11:04:31 +01:00
17363.misc 1.110.0rc2 2024-06-26 18:14:57 +02:00
17365.feature Fix links to MSC3916 (#17397) 2024-07-05 12:00:19 +01:00
17367.misc Use rstcheck to "lint" the README (#17367) 2024-06-27 13:36:08 +02:00
17379.doc Fix links in README (#17379) 2024-07-05 10:34:02 +00:00
17381.misc Bump ruff from 0.3.7 to 0.5.0 (#17381) 2024-07-05 12:35:57 +00:00
17388.feature Support MSC3916 by adding a federation /thumbnail endpoint and authenticated `_matrix/client/v1/media/thumbnail` endpoint (#17388) 2024-07-08 10:11:20 +01:00
17390.misc Fix building debian packages on non-clean checkouts (#17390) 2024-07-02 12:39:32 +01:00
17392.misc Finish up work to allow per-user feature flags (#17392) 2024-07-05 13:02:35 +01:00
17393.misc Allow enabling sliding sync per-user (#17393) 2024-07-05 13:04:27 +01:00
17395.feature Add `rooms.bump_stamp` to Sliding Sync `/sync` for easier client-side sorting (#17395) 2024-07-08 13:17:08 -05:00
17399.doc Changelog entries only get merged if they have the same content and extension (#17399) 2024-07-04 17:21:25 +01:00
17400.feature Upon deactivation, forget all of the user's rooms (#17400) 2024-07-05 11:56:52 +01:00
17403.feature Declare support for Matrix 1.11 (#17403) 2024-07-08 07:37:28 -06:00
17406.misc MSC3861: allow overriding the introspection endpoint (#17406) 2024-07-08 14:08:11 +02:00