-
-
Notifications
You must be signed in to change notification settings - Fork 608
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
Bump minimum spec version to v1.5 #3970
Conversation
ftr, the js-sdk could probably go as far as v1.6 if it wanted to. By supporting v1.5, there's already a few servers out there which would no longer be supported - going to v1.6 doesn't appear to change that. |
So the reason I went with 1.5 is that 1.6 wasn't released until 14 February 2023. So if we went with 1.6, we wouldn't actually be supporting the spec from a year ago. (We could bump to 1.6 as soon as 14 February 2024 arrives.) |
Ah, the readme says "last 4", which is meant to be roughly 1 year. Considering 1.9 just came out though, it's hard to consider it one of the 4 indeed. |
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.
We should also drop any (now dead) code which specifically handles pre-v1.5 - hopefully that includes a lot of the threads workarounds
Agreed, but that can be done later. It's just tech debt. There's no need to block this change on that work. |
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.
Sure assuming an issue to say such materialises :)
Issue filed at #3972 |
This will need matrix-org/matrix-react-sdk#12081 and element-hq/element-web#26796 to land first. |
And probably wants to be a major version bump |
This commit does two things: * It puts the "minimum supported matrix version" from v1.5 back down to v1.1. In other words, it is a partial revert of #3970. (Partial, because we don't need to update the tests.) We're doing this largely because #3970 was introduced without a suitable announcement and deprecation policy. We haven't yet decided if the js-sdk's spec support policy needs to change, or if we will re-introduce this change in future in a more graceful manner. * It increases the "maximum supported matrix version" from v1.5 up to v1.9. Previously, the two concepts were tied together, but as discussed at length in #3915 (comment), this is incorrect. Unfortunately, we have no real way of testing whether it is true that the js-sdk actually works with a server which supports *only* v1.9, but as per the comment above, we can't do much about that. Fixes #3915.
This commit does two things: * It puts the "minimum supported matrix version" from v1.5 back down to v1.1. In other words, it is a partial revert of #3970. (Partial, because we don't need to update the tests.) We're doing this largely because #3970 was introduced without a suitable announcement and deprecation policy. We haven't yet decided if the js-sdk's spec support policy needs to change, or if we will re-introduce this change in future in a more graceful manner. * It increases the "maximum supported matrix version" from v1.5 up to v1.9. Previously, the two concepts were tied together, but as discussed at length in #3915 (comment), this is incorrect. Unfortunately, we have no real way of testing whether it is true that the js-sdk actually works with a server which supports *only* v1.9, but as per the comment above, we can't do much about that. Fixes #3915.
This commit does two things: * It puts the "minimum supported matrix version" from v1.5 back down to v1.1. In other words, it is a partial revert of #3970. (Partial, because we don't need to update the tests.) We're doing this largely because #3970 was introduced without a suitable announcement and deprecation policy. We haven't yet decided if the js-sdk's spec support policy needs to change, or if we will re-introduce this change in future in a more graceful manner. * It increases the "maximum supported matrix version" from v1.5 up to v1.9. Previously, the two concepts were tied together, but as discussed at length in #3915 (comment), this is incorrect. Unfortunately, we have no real way of testing whether it is true that the js-sdk actually works with a server which supports *only* v1.9, but as per the comment above, we can't do much about that. Fixes #3915. (cherry picked from commit c885542)
For the record: this got reverted in #4014. |
We only claim to support a year of spec releases, so this should be fine.
Part of: #3915
Here's what your changelog entry will look like:
🚨 BREAKING CHANGES