Skip to content
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

[Meta-issue] Document supported matrix versions, and introduce compatibility modes for older ones. #19674

Closed
5 tasks
ShadowJonathan opened this issue Nov 10, 2021 · 3 comments
Labels
T-Enhancement X-Needs-Info This issue is blocked awaiting information from the reporter

Comments

@ShadowJonathan
Copy link
Contributor

ShadowJonathan commented Nov 10, 2021

Your use case

What would you like to do?

  • Document the matrix versions supported ("Compatible with matrix vX" badges/shields#7245)
    • Document this within the client (for if users are running versions on their own servers)
  • Introduce compatibility probing (call /versions)
    • Show user-facing error when server and client supported versions mismatch
      ("Cannot communicate with server, your client supports versions v1.1 and v1.2, but the server only supports v1.0")
  • Introduce compatibility modes based off of the /versions response for older versions

Why would you like to do it?

Matrix now has a quarterly release cadence, it'd be nice to make element compatible with older matrix versions in a easily understandable way. (So that users may check compatibility for themselves)

Have you considered any alternatives?

No response

Additional context

Android and iOS versions of this enhancement: element-hq/element-ios#5115, element-hq/element-android#4441

@dbkr
Copy link
Member

dbkr commented Nov 10, 2021

This is quite broad and might be better off being several issues. That said, we already have a /versions call and the 'compatibility mode' you describe is effectively what we've already done for server that don't support spaces, for example.

@dbkr dbkr added the X-Needs-Info This issue is blocked awaiting information from the reporter label Nov 10, 2021
@ShadowJonathan
Copy link
Contributor Author

It might be better to expand that into matrix-js-sdk and such, with matrix versions in mind to merge compatibility for broader things.

I do agree it is quite broad, those action items should be individual issues, but i just wanted to throw this in here for now to branch it off later into seperate issues when the need arises. So this is a meta-issue, of sorts.

@ShadowJonathan ShadowJonathan changed the title Document supported matrix versions, and introduce compatibility modes for older ones. [Meta-issue] Document supported matrix versions, and introduce compatibility modes for older ones. Nov 10, 2021
@turt2live
Copy link
Member

Duplicate of #22346

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Enhancement X-Needs-Info This issue is blocked awaiting information from the reporter
Projects
None yet
Development

No branches or pull requests

3 participants