You're looking at an unstable version of this specification. Unstable specifications may change at any time without notice.
Changes since last release
| Git commit | https://github.com/matrix-org/matrix-spec/tree/4d744e1 |
|---|---|
| Checklist | checklist.md |
Client-Server API
Breaking Changes
- Clients are now supposed to follow 30x redirects from
/.well-known/matrix/clientas per MSC4402. (#2404) - Providing access tokens via query string parameters is no longer supported. (#2408)
New Endpoints
- Add
POST /_matrix/client/v1/delayed_events/{delayId}/cancelas per MSC4140. (#2462) - Add
GET /_matrix/client/v1/delayed_events/{delayId}as per MSC4140. (#2462) - Add
PUT /_matrix/client/v3/rooms/{roomId}/delayed_event/{eventType}/{txnId}as per MSC4140. (#2462) - Add
POST /_matrix/client/v1/delayed_events/{delayId}/sendas per MSC4140. (#2462) - Add
POST /_matrix/client/v1/delayed_events/{delayId}/restartas per MSC4140. (#2462) - Add
GET /_matrix/client/v1/rtc/transportsas per MSC4143. (#2480)
Backwards Compatible Changes
- Introduce room type
m.policyto indicate rooms likely to contain policy lists, as per MSC3784. (#2411) - Specify
unsigned.prev_senderin client-formatted events. Contributed by @timedoutuk. (#2427) - Introduce module “Media preview configuration”, as per MSC4278. (#2440)
- Add the
m.preview_urlcapability to indicate whether URL previews are available, as per MSC4452. (#2451) - Add the
m.delayed_eventscapability as per MSC4140. (#2462) - Add “Sticky Events”, as per MSC4354, including the
sticky_duration_msquery parameter inPUT /rooms/{roomId}/send/{eventType}/{txnId}, thesticky_duration_msbody property inPUT /rooms/{roomId}/delayed_event/{eventType}/{txnId}, thestickysection for joined rooms in/syncresponses and theunsigned.sticky_duration_remaining_msproperty on message events. (#2475) - Add “MatrixRTC” including the
m.rtc.slotstate event, them.rtc.membermessage event and them.rtc.encryption_keyto-device message, as per MSC4143. (#2480)
Spec Clarifications
- Correct some errors in the description of the validation process for incoming Olm-encrypted messages. (#2394)
- Add further normative language in mutual rooms server behaviour. (#2407)
- Clarify history key sharing requirements. Contributed by @HarHarLinks and Matrix Stammtisch Aachen. (#2410)
- Use the User ID type in OlmPayload and DeviceKeys. (#2412)
- Improve the format description of
m.room.encrypted(Olm/Megolm) events. (#2413) - Wording improvements and spelling fixes. Contributed by @HarHarLinks. (#2417)
- Rename OlmPayload to OlmPlaintext to avoid confusion with Olm message Payload Bytes. (#2418)
- Use MXC URI type for all user
avatar_urlfields. Contributed by @networkException. (#2422) - Add cross-references between the OpenID endpoints of the Client-Server API, Server-Server API and Identity-Service API. (#2426)
- Disambiguate parts of the UIA specification. (#2428)
- Restore the legacy singular anchor for the well-known URI section. (#2429, #2433)
- Link to the relevant OAuth 2.0 RFCs for the structure of error responses on the OAuth 2.0 API endpoints. (#2432)
- Update community-provided translations for SAS Emojis. (#2438)
- Fix various typos throughout the specification. (#2454)
- Fix the security scheme of
GET /_matrix/client/v1/room_summary/{roomIdOrAlias}to reflect that authentication is an optional access token, not a federation signed request. (#2455) - Remove
methodfrom the required properties and example ofm.key.verification.accept, as it is not part of the event. (#2457) - Fix the Policy Server public key examples to use standard unpadded base64 rather than URL-safe base64. (#2459)
- Fix relative links in OpenAPI descriptions. (#2466)
- Clarify that
data-mx-emoticonis a permitted attribute onimgtags in HTML message bodies. (#2467) - Clarify where
/relationsstarts whenfromis omitted withdir=f. (#2469) - Consistently apply distinctive wording for ‘custom emoticons’. Contributed by @HarHarLinks. (#2472)
Server-Server API
Backwards Compatible Changes
Spec Clarifications
- Add cross-references between the OpenID endpoints of the Client-Server API, Server-Server API and Identity-Service API. (#2426)
- Fix the name of the
sigparameter in theX-MatrixAuthorizationheader. (#2450) - Fix verb for /3pid/onbind endpoint (PUT -> POST) (#2452)
Application Service API
Spec Clarifications
- Fix various typos throughout the specification. (#2435)
Identity Service API
Breaking Changes
- Providing access tokens via query string parameters is no longer supported. (#2408)
Spec Clarifications
- Add cross-references between the OpenID endpoints of the Client-Server API, Server-Server API and Identity-Service API. (#2426)
Push Gateway API
No significant changes.
Room Versions
Backwards Compatible Changes
- Add the
stickyproperty to the federation event format of all room versions, as per MSC4354. (#2475)
Spec Clarifications
- Explicitly define that PDU depth cannot be negative. Contributed by @timedoutuk. (#2448)
Olm & Megolm
Spec Clarifications
- Fix typesetting of some symbols in the Olm/Megolm spec. (#2421)
Appendices
Spec Clarifications
- Clarify that clients must avoid producing ambiguous matrix.to URIs. Contributed by @HarHarLinks. (#2396)
- Fix various typos throughout the specification. (#2454)
Internal Changes/Tooling
Spec Clarifications
- Fix incorrect unstable prefix example for error codes. (#2446)
- Verify that Markdown links in OpenAPI definitions are absolute in CI. (#2466)
- Use a GitHub token if available when fetching proposals and retain the error body if fetching fails. (#2468)
- Tolerate changelog entries with numeric suffixes. (#2470)