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

Remove unstable support for m.room_key.withheld #2512

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

turt2live
Copy link
Member

@turt2live turt2live commented Jul 11, 2022

We no longer send or receive the unstable type.

The MSC was merged to the spec about 2 years ago, so we should be more than safe to remove this sort of support. It was formally released in v1.1 of the spec in November of 2021, well beyond the 2 month window the spec requests of implementation for a grace period.

The only implementation I can see which hasn't changed over is Element Android: https://github.com/matrix-org/matrix-android-sdk2/blob/3adfe4d01c8ff5189ada1373015501256e2a2d57/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/events/model/EventType.kt#L90

Given the massive time scale and spec process here, I'm keen to land this without waiting for Android to fix their event type usage. Otherwise, we risk having to put org.matrix.room_key.withheld into the spec, which I am absolutely not going to be happy about :)

Fixes #2233


Here's what your changelog entry will look like:

🦖 Deprecations

We no longer send or receive the unstable type.
@turt2live turt2live requested a review from a team as a code owner July 11, 2022 22:17
@turt2live turt2live added the T-Deprecation A pull request that makes something deprecated label Jul 11, 2022
Copy link
Member

@robintown robintown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't seen that changelog section before 👀

@turt2live
Copy link
Member Author

(leaving open so this doesn't go into the RC, giving the crypto team a chance to at least protest my decisions here 😇 )

@BillCarsonFr
Copy link
Member

Android Matching PR element-hq/element-android#6520

For now will support receiving both unstable and stable, but only send stable. will clear after more clients have updated

@turt2live
Copy link
Member Author

release scheduling appears to work out on this - discussed oob.

@turt2live turt2live enabled auto-merge (squash) July 13, 2022 14:56
@turt2live turt2live merged commit 08ab51e into develop Jul 13, 2022
@turt2live turt2live deleted the travis/fix-unstable/room-key-withheld branch July 13, 2022 14:56
su-ex added a commit to SchildiChat/matrix-js-sdk that referenced this pull request Aug 22, 2022
* Remove unstable support for `m.room_key.withheld` ([\matrix-org#2512](matrix-org#2512)). Fixes matrix-org#2233.
* Sliding sync: add missing filters from latest MSC ([\matrix-org#2555](matrix-org#2555)).
* Use stable prefixes for MSC3827 ([\matrix-org#2537](matrix-org#2537)).
* Add support for MSC3575: Sliding Sync ([\matrix-org#2242](matrix-org#2242)).
* Correct the units in TURN servers expiry documentation ([\matrix-org#2520](matrix-org#2520)).
* Re-insert room IDs when decrypting bundled redaction events returned by `/sync` ([\matrix-org#2531](matrix-org#2531)). Contributed by @duxovni.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Deprecation A pull request that makes something deprecated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop using unstable names for withheld codes
3 participants