-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Remove support for MSC3575 #4531
base: main
Are you sure you want to change the base?
Conversation
013c7d7
to
c8a3d71
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4531 +/- ##
==========================================
- Coverage 85.70% 85.69% -0.02%
==========================================
Files 292 292
Lines 33406 33291 -115
==========================================
- Hits 28632 28530 -102
+ Misses 4774 4761 -13 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exciting! I'd really like the Ruma update to happen separately, because it involves non-trivial changes related to reply fallbacks that I'd like to review without other changes, pretty please 🥺 🙏
Yup, sure, ruma update has been extracted in #4532. |
4453a79
to
04ee9ee
Compare
This patch inlines `sliding_sync::http` inside `sliding_sync`. Then, the `sliding_sync/mod.rs` file is renamed to `sliding_sync.rs`.
04ee9ee
to
5f4e046
Compare
07f4176
to
b7ba81e
Compare
This patch removes the `pub use ruma::api::client::sync::sync_events::v5 as http` re-export in `matrix_sdk_base::sliding_sync`.
b7ba81e
to
a1a3d95
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yay 🔥 🔥 🔥
(I'll trust you'll fix the Complement Crypto API mismatch before landing 🙏)
MSC3575 is the “first” and “old” version of sliding sync, implemented by the sliding sync proxy and probably other homeservers. MSC4186 is the “next” and “new” version of sliding sync, being implemented inside Synapse and probably other homeservers.
The Matrix Rust SDK was supporting both versions, aiming at giving time to homeservers to transition from the experimental MSC3575 to the stable, production ready MSC4186.
It is time to say good bye to MSC3575.
This is what the first patch does.This patch also needs to update ruma (to include ruma/ruma#1995). Updating ruma involves a bit of breaking changes, it's addressed in a standalone second patch.