github matrix-org/sliding-sync v0.2.0

latest releases: v0.99.16, v0.99.15, v0.99.14...
16 months ago

This version is backwards incompatible with previous database schemas. In addition, this version has changed the CLI args in a backwards incompatible way.

Docker images available at: https://github.com/matrix-org/sliding-sync/pkgs/container/sliding-sync

Features:

Improvements:

  • The CLI no longer takes flags, and now expects env vars instead for consistency with running in Docker.
  • Sync v2 access tokens are now stored encrypted in the database. This improves reliability by allowing the proxy to start poll loops on restarts, rather than waiting for a client.
  • The proxy will no longer treat state events (from the v2 response) as live events, as they should never appear in the timeline. This improves performance when performing an initial sync.

Bugfixes:

  • The room delta algorithm now correctly handles complex swap operations down a list, not just up.
  • The room delta algorithm now correctly returns multiple swap operations when a room moves over multiple window ranges.
  • Several issues which could cause corrupt state snapshots has been fixed.
  • Fixed an issue when dynamically changing room list filters where room filters would use the previous request data not the current request data to calculate a response.
  • Fixed a bug where room history (as provided by timeline_limit) would be incorrect and include events in the state section of the v2 sync response.
  • Fixed a bug where room history (as provided by timeline_limit) would not always return a prev_batch token. The proxy will always include one now if there is history, but as a result the proxy may not always return timeline_limit events if there are that many.

Don't miss a new sliding-sync release

NewReleases is sending notifications on new releases.