Breaking changes:
register_users::shared_secret_register::v1now mirrors the full Synapse/_synapse/admin/v1/registersurface. On the request,displaynameis now optional anduser_type,inhibit_login,refresh_token,device_idandinitial_device_display_namewere added. On the response,access_tokenanddevice_idare now optional andrefresh_tokenandexpires_in_mswere added.Request::newandResponse::newnow take only the required fields.- The optional
hmachelper takes auser_typeargument and folds it into the MAC, matching Synapse.
Improvements:
- Add a
masmodule covering the twelve unversioned/_synapse/mas/*provisioning endpoints the Matrix Authentication Service calls on its homeserver (query_user,provision_user,is_localpart_available,delete_user,reactivate_user,set_displayname,unset_displayname,allow_cross_signing_reset,upsert_device,delete_device,update_device_display_name,sync_devices). The bearer is MAS's shared secret, validated in the handler layer, so every endpoint carriesNoAuthentication.provision_userandupsert_deviceanswer201on create and200on update, anddelete_deviceanswers204; the#[response]macro always emits200, so those three responses hand-rollOutgoingResponseandIncomingResponseto carry the status.
Breaking changes:
- Upgrade Ruma to 0.16.0
Breaking changes:
- Upgrade Ruma to 0.15.0
- Bump MSRV to 1.89.
Breaking changes:
- Upgrade Ruma to 0.14.1
- All endpoints use
SinglePathrather thanVersionHistoryasPathBuilder. - Bump MSRV to 1.88.
- All endpoints use
Breaking changes:
- The list_room response changes the fields
version,join_rules,guest_accessandhistory_visibilityto be an option - The list_room response changes the
join_rulesfield to beOption<SpaceRoomJoinRule> background_update::run::v1::JobNameis now non-exhaustive.RoomSortOrderandRoomDirectioninrooms::list_rooms::v1are now non- exhaustive. TheirPartialOrdandOrdimplementations now use their string representation instead of the order in which they are defined in the enum.UserDetails,ExternalId,CurrentUpdate,ExperimentalFeatures,RoomDetailsandUserMinorDetailsare now non-exhaustive. To keep using them as if they were exhaustive, use theruma_unstable_exhaustive_typescompile-timecfgsetting.- Changed
users::create_or_modify::v2third party id parsing by adding a new type withoutvalidated_atandadded_atfields (which are not sent according to the API documentation) - Upgrade ruma to 0.13.0
Improvement:
- The list_room response now includes the
room_typefield - Add room_details api
- Add room_members api
- Upgrade to ruma 0.12.0
- Add room_membership api
- Update v1/server_version endpoint response data with optional python_version key
- Upgrade to ruma 0.9.4
- Add background updates endpoints
- Upgrade ruma dependency to 0.7.2
- Work around a Synapse issue affecting sqlite configurations
- Upgrade ruma dependency to 0.6.4
- Upgrade ruma dependency to 0.5.0
Improvements:
- Upgrade ruma dependency to 0.4.0