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

Bump minimum spec version to v1.5 #3970

Merged
merged 3 commits into from
Jan 8, 2024
Merged

Bump minimum spec version to v1.5 #3970

merged 3 commits into from
Jan 8, 2024

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Dec 20, 2023

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

  • Bump minimum spec version to v1.5 (#3970).

@richvdh richvdh requested a review from a team as a code owner December 20, 2023 18:54
@turt2live
Copy link
Member

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.

@richvdh
Copy link
Member Author

richvdh commented Dec 20, 2023

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.)

@turt2live
Copy link
Member

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.

Copy link
Member

@t3chguy t3chguy left a 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

@richvdh
Copy link
Member Author

richvdh commented Dec 21, 2023

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.

@richvdh richvdh requested a review from t3chguy December 21, 2023 10:26
Copy link
Member

@t3chguy t3chguy left a 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 :)

@richvdh
Copy link
Member Author

richvdh commented Dec 21, 2023

Issue filed at #3972

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 21, 2023
@richvdh
Copy link
Member Author

richvdh commented Dec 21, 2023

This will need matrix-org/matrix-react-sdk#12081 and element-hq/element-web#26796 to land first.

@t3chguy
Copy link
Member

t3chguy commented Dec 21, 2023

And probably wants to be a major version bump

@richvdh richvdh added this pull request to the merge queue Jan 8, 2024
Merged via the queue into develop with commit 070a89d Jan 8, 2024
30 checks passed
@richvdh richvdh deleted the rav/minimum-spec branch January 8, 2024 13:01
richvdh added a commit that referenced this pull request Jan 18, 2024
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.
github-merge-queue bot pushed a commit that referenced this pull request Jan 18, 2024
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.
RiotRobot pushed a commit that referenced this pull request Jan 18, 2024
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)
@richvdh
Copy link
Member Author

richvdh commented Jan 19, 2024

For the record: this got reverted in #4014.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants