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

Broaden spec version support #4014

Merged
merged 1 commit into from
Jan 18, 2024
Merged

Broaden spec version support #4014

merged 1 commit into from
Jan 18, 2024

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 18, 2024

This PR 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 Bump minimum spec version to v1.5 #3970. (Partial, because we don't need to update the tests.)

    We're doing this largely because Bump minimum spec version to v1.5 #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 Check for version is not allowing newer versions than the minimum version #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.


Here's what your changelog entry will look like:

✨ Features

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.
@richvdh richvdh requested a review from a team as a code owner January 18, 2024 11:59
@richvdh richvdh requested review from dbkr and t3chguy January 18, 2024 11:59
richvdh added a commit to matrix-org/matrix-react-sdk that referenced this pull request Jan 18, 2024
Something of a compainion to
matrix-org/matrix-js-sdk#4014, but also covering the
issues discussed at
matrix-org/matrix-js-sdk#3915 (comment).

In short: we should not reject servers which only implement recent versions of
the spec. Doing so holds back the ecosystem by requiring all new servers to
implement features that nobody actually uses any more.
@richvdh richvdh added the backport staging Label to automatically backport PR to staging branch label Jan 18, 2024
@richvdh richvdh enabled auto-merge January 18, 2024 15:20
@richvdh richvdh added this pull request to the merge queue Jan 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 18, 2024
@richvdh richvdh added this pull request to the merge queue Jan 18, 2024
Merged via the queue into develop with commit c885542 Jan 18, 2024
33 checks passed
@richvdh richvdh deleted the rav/wider_spec_support branch January 18, 2024 16:56
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)
github-merge-queue bot pushed a commit to matrix-org/matrix-react-sdk that referenced this pull request Jan 19, 2024
Something of a compainion to
matrix-org/matrix-js-sdk#4014, but also covering the
issues discussed at
matrix-org/matrix-js-sdk#3915 (comment).

In short: we should not reject servers which only implement recent versions of
the spec. Doing so holds back the ecosystem by requiring all new servers to
implement features that nobody actually uses any more.
RiotRobot pushed a commit to matrix-org/matrix-react-sdk that referenced this pull request Jan 19, 2024
Something of a compainion to
matrix-org/matrix-js-sdk#4014, but also covering the
issues discussed at
matrix-org/matrix-js-sdk#3915 (comment).

In short: we should not reject servers which only implement recent versions of
the spec. Doing so holds back the ecosystem by requiring all new servers to
implement features that nobody actually uses any more.

(cherry picked from commit a8cc6cc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport staging Label to automatically backport PR to staging branch T-Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check for version is not allowing newer versions than the minimum version
2 participants