From 9c6e0e3350321da88f52df5f1109995bc873ce2c Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 11 Aug 2025 15:48:05 +0000 Subject: [PATCH] Stabilize room version 12. (#126) Bless complement. Signed-off-by: Jason Volk --- docker/Dockerfile.complement | 2 +- src/core/info/room_version.rs | 3 +- .../complement/test_results.jsonl | 31 +++++++++++++++++++ 3 files changed, 34 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.complement b/docker/Dockerfile.complement index 9b53d216..33a71666 100644 --- a/docker/Dockerfile.complement +++ b/docker/Dockerfile.complement @@ -167,7 +167,7 @@ RUN \ EOF WORKDIR /usr/src -ADD https://github.com/matrix-construct/complement.git#f4bad90836317110be743ec9431de3e62582f8be complement +ADD https://github.com/matrix-construct/complement.git#403840348f6bcc9cc8ed1671dc2f638c2b1ce4ac complement WORKDIR /usr/src/complement ENV COMPLEMENT_BASE_IMAGE="complement-testee" diff --git a/src/core/info/room_version.rs b/src/core/info/room_version.rs index 3bf60b1a..9af815f2 100644 --- a/src/core/info/room_version.rs +++ b/src/core/info/room_version.rs @@ -23,10 +23,11 @@ pub const STABLE_ROOM_VERSIONS: &[RoomVersionId] = &[ RoomVersionId::V9, RoomVersionId::V10, RoomVersionId::V11, + RoomVersionId::V12, ]; /// Experimental and prototype room versions under development. -pub const EXPERIMENTAL_ROOM_VERSIONS: &[RoomVersionId] = &[RoomVersionId::V12]; +pub const EXPERIMENTAL_ROOM_VERSIONS: &[RoomVersionId] = &[]; type RoomVersion = (RoomVersionId, RoomVersionStability); diff --git a/tests/test_results/complement/test_results.jsonl b/tests/test_results/complement/test_results.jsonl index 476bac17..16640c19 100644 --- a/tests/test_results/complement/test_results.jsonl +++ b/tests/test_results/complement/test_results.jsonl @@ -82,6 +82,7 @@ {"Action":"pass","Test":"TestContent"} {"Action":"pass","Test":"TestContentCSAPIMediaV1"} {"Action":"pass","Test":"TestContentMediaV1"} +{"Action":"fail","Test":"TestCorruptedAuthChain"} {"Action":"pass","Test":"TestCumulativeJoinLeaveJoinSync"} {"Action":"pass","Test":"TestDeactivateAccount"} {"Action":"pass","Test":"TestDeactivateAccount/After_deactivating_account,_can't_log_in_with_password"} @@ -300,6 +301,36 @@ {"Action":"pass","Test":"TestLogout/Request_to_logout_without_an_access_token_is_rejected"} {"Action":"fail","Test":"TestMSC3757OwnedState"} {"Action":"pass","Test":"TestMSC3967"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators/PL_event_is_missing_creator_in_users_map"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators/admin_with_>PL100_cannot_kick_creator"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators/admin_with_>PL100_sorts_after_the_room_creator_for_state_resolution"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators/creator_can_kick_admin"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators/creator_can_kick_admin_above_PL100"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators/creator_can_kick_admin_at_JSON_max_value"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators/creator_cannot_set_self_in_PL_event"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators/m.room.tombstone_needs_PL150_in_the_PL_event"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators/power_level_cannot_be_set_beyond_max_canonical_JSON_int"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators/power_level_content_override_can_be_set"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators/power_level_content_override_cannot_set_the_room_creator"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators_Additional"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators_AdditionalCreatorsAndInvited"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators_AdditionalValidation"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators_AdditionalValidation/additional_creators_are_valid"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators_AdditionalValidation/additional_creators_elements_aren't_strings"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators_AdditionalValidation/additional_creators_elements_aren't_user_ID_strings"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators_AdditionalValidation/additional_creators_elements_aren't_valid_user_ID_strings_(domain)"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators_AdditionalValidation/additional_creators_isn't_an_array"} +{"Action":"pass","Test":"TestMSC4289PrivilegedRoomCreators_InvitedAreCreators"} +{"Action":"fail","Test":"TestMSC4289PrivilegedRoomCreators_Upgrades"} +{"Action":"pass","Test":"TestMSC4291RoomIDAsHashOfCreateEvent"} +{"Action":"pass","Test":"TestMSC4291RoomIDAsHashOfCreateEvent_AuthEventsOmitsCreateEvent"} +{"Action":"pass","Test":"TestMSC4291RoomIDAsHashOfCreateEvent_CannotSendCreateEvent"} +{"Action":"pass","Test":"TestMSC4291RoomIDAsHashOfCreateEvent_RoomIDIsOnCreateEvent"} +{"Action":"fail","Test":"TestMSC4291RoomIDAsHashOfCreateEvent_UpgradedRooms"} +{"Action":"fail","Test":"TestMSC4297StateResolutionV2_1_includes_conflicted_subgraph"} +{"Action":"fail","Test":"TestMSC4297StateResolutionV2_1_starts_from_empty_set"} +{"Action":"fail","Test":"TestMSC4311FullCreateEventOnStrippedState"} {"Action":"pass","Test":"TestMediaConfig"} {"Action":"pass","Test":"TestMediaFilenames"} {"Action":"pass","Test":"TestMediaFilenames/Parallel"}