Tags: emgrav/ruma
Tags
Bug fixes: * Fix key algorithm serde (de)serialization * Fix `key_algorithms::{DeviceKeyAlgorithm, ServerKeyAlgorithm}` not implementing `Deserialize` and `Serialize` with `default-features = false` + `features = ["serde", …]`
Bug fixes: * Fix `key_algorithms::{DeviceKeyAlgorithm, ServerKeyAlgorithm}` not implementing `Deserialize` and `Serialize` with the default feature set * This bug was introduced in 0.17.2 * This problem still persists with `default-features = false` + `features = ["serde", …]`, but there was never a reason to use ruma-identifiers like that
Bug fixes: * Fix `RoomVersionId::is_version_6` actually checking for version 5 * Fix `TryFrom` implementations for `RoomVersionId`, which previously returned `RoomVersionId::Custom` for the input `6`
Breaking Changes: * Replace `RoomV3Pdu` with `ruma_events::pdu::{Pdu, PduStub}`. Improvements: * Add endpoints: ``` authorization::get_event_authorization::v1, membership::create_join_event::v2, openid::get_openid_userinfo::v1, query::get_profile_information::v1, transactions::send_transaction_message::v1, ```
Bug fixes: * Fix deserialization of `r0::room::get_room_event::Response` * More missing fields in `r0::sync::sync_events::Response` can be deserialized * Fix `get_tags::Response` serialization Breaking changes: * Make `avatar_url` in `r0::profile::set_avatar_url::Request` an `Option` * Update type of `canonical_alias` in `r0::directory::PublicRoomsChunk` from `Option<String>` to `Option<RoomAliasId>` * Update `r0::room::create_room::CreationContent` * Change `federated`s type from `Option<bool>` to `bool` * Add `predecessor` field * Update `r0::push::get_pushrules_all` and `r0::push::get_pushrules_global_scope` to use the `Ruleset` type from `ruma_common::push` (also available as `ruma::push`) * Fix event types in `r0::context::get_context` * Fix event types in `r0::sync::sync_events` * Update type of `user_id` in `r0::account::whoami` from `String` to `ruma_identifiers::UserId` * Update type of `limited` in `r0::sync::sync_events::Timeline` from `Option<bool>` to `bool` * Use `DeviceId` for `device_id` field of `r0::session::login::Response` * Use `ruma_identifiers::ServerName` instead of `String` for `server_name` fields in the following endpoints: ```rust r0::{ account::request_openid_token, media::{get_content, get_content_as_filename, get_content_thumbnail}, membership::join_room_by_id_or_alias, session::login, } ``` * Rename `r0::search::search_events::{RoomEventJsons => ResultRoomEvents}`. The previous name was an error introduced in a mass search and replace * `r0::sync::sync_events::SetPresence` has been moved and renamed. Use `presence::PresenceState` from `ruma` or `ruma-common`. * `r0::push::Action` has been moved. Import it from `ruma` or `ruma-common`. Improvements: * Add method `into_event_content` for `r0::room::create_room::CreationContent` * Add room visibility endpoints: `r0::directory::{get_room_visibility, set_room_visibility}`. * Add is_empty helpers for structs in `r0::sync::sync_events` * Add a constructor for request structs of the followign endpoints * `r0::room::create_room` * `r0::message::get_message_events` * Add `logout_devices` field to `r0::account::change_password`
Improvements: * Upgrade dependencies
PreviousNext