docs-matrix-spec/content
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
..
changelog Generate changelog release info with Hugo rather than when generating changelog (#2033) 2024-12-23 17:46:52 +00:00
client-server-api Clarify that applying redactions is a SHOULD for clients (#2055) 2025-01-15 10:07:37 +00:00
rooms Refactor PDU definitions to reduce duplication (#2070) 2025-03-04 17:08:42 +00:00
_index.md Fix the version of the Identity Service API at Matrix 1.0 (#2061) 2025-02-11 18:04:25 +00:00
appendices.md MSC4213: Remove server_name parameter (#2059) 2025-02-11 18:03:25 +00:00
application-service-api.md Allow sending ephemeral data to application services (#2018) 2024-12-11 22:38:59 +00:00
identity-service-api.md Deprecate authentication via a query string (#1808) 2024-04-30 17:07:59 +01:00
proposals.md Add some clarifications around implementation requirements for MSCs (#1718) 2024-03-13 11:28:30 -04:00
push-gateway-api.md Add standard error responses (MSC3743). (#1347) 2022-11-22 15:51:29 +00:00
server-server-api.md Clarify that join rules must be in auth events for knock events (#2063) 2025-02-25 20:34:23 +00:00