docs-matrix-spec/content/rooms
Kévin Commaille 60339adb2d
Refactor PDU definitions to reduce duplication (#2070)
First of all, all PDU definitions were based on the v1 PDU definition with a few fields overwritten to change the format with needed.
While that works when rendering the spec, this is semantically incorrect because it means that the objects must match both schemas, which is impossible.

So now we make a base with only the common fields, and we add the others as needed by the room version.
Note that there is no more "unsigned PDU" definition since it is not used directly, and hashes and signatures are the same across all versions.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2025-03-04 17:08:42 +00:00
..
fragments Fix typo in room versions 1 through 5 (#2066) 2025-01-25 07:09:49 -05:00
_index.md Add room version 11 (#1604) 2023-08-15 00:18:45 -06:00
v1.md Refactor PDU definitions to reduce duplication (#2070) 2025-03-04 17:08:42 +00:00
v2.md Refactor PDU definitions to reduce duplication (#2070) 2025-03-04 17:08:42 +00:00
v3.md Always use % delimiter for added-in and changed-in shortcodes (#1975) 2024-10-30 10:09:38 +00:00
v4.md Fix the table of content for room versions (#1884) 2024-06-20 15:47:09 +00:00
v5.md Fix the table of content for room versions (#1884) 2024-06-20 15:47:09 +00:00
v6.md For room versions 6 and 7, clarify that events with rejected auth eve… (#2065) 2025-02-25 21:00:32 +00:00
v7.md For room versions 6 and 7, clarify that events with rejected auth eve… (#2065) 2025-02-25 21:00:32 +00:00
v8.md Always use % delimiter for added-in and changed-in shortcodes (#1975) 2024-10-30 10:09:38 +00:00
v9.md Always use % delimiter for added-in and changed-in shortcodes (#1975) 2024-10-30 10:09:38 +00:00
v10.md Always use % delimiter for added-in and changed-in shortcodes (#1975) 2024-10-30 10:09:38 +00:00
v11.md Clarify rule 4.3.1 of the auth rules in room version 11 (#2024) 2024-12-04 11:40:27 -05:00