Jonas Platte
54eb9ef7a8
Release ruma-client-api 0.10.0-alpha.3
2021-04-17 19:57:34 +02:00
Jonas Platte
de949815af
Release ruma-api 0.17.0-alpha.4
2021-04-17 19:39:02 +02:00
Jonas Platte
b3c646a2b7
Release ruma-events 0.22.0-alpha.3
2021-04-17 19:33:51 +02:00
Jonas Platte
6581eb8606
Release ruma-common 0.5.0
2021-04-17 19:03:42 +02:00
Jonas Platte
24e2f3996a
client-api: Fix tests for unstable-pre-spec
2021-04-16 13:57:25 +02:00
Jonas Platte
47d6b45857
client-api: Remove PartialEq and Eq for most types in get_login_types
2021-04-16 12:18:49 +02:00
Abhik Jain
f16d7b67c3
serde-macros: Add M_MATRIX_ERROR_CASE casing rename rule
2021-04-15 13:45:05 +02:00
Kévin Commaille
51951082d5
client-api: Implement MSC2858 - Multiple SSO Identity Providers
2021-04-14 17:17:55 +02:00
Jonas Platte
c1693569f1
api: Replace bytes::Buf by AsRef<u8> for reading
...
This allows us to switch back to serde_json::from_slice instead of
serde_json::from_reader, because the latter is significantly slower.
See https://github.com/serde-rs/json/issues/160
2021-04-13 22:12:16 +02:00
Jonas Platte
10fb4c9910
Release ruma-common 0.4.0
2021-04-13 21:29:26 +02:00
Jonas Platte
2a8b4a0478
Release ruma-identifiers 0.19.0
2021-04-13 21:12:24 +02:00
Jonas Platte
12b2d65e45
client-api: Fix recently broken test
2021-04-13 15:07:26 +02:00
Jonas Platte
a774771fc9
Remove verbose error types from tests
2021-04-13 14:14:27 +02:00
Jonas Platte
19806cc9d1
client-api: Fix recently broken test
2021-04-13 13:57:28 +02:00
Jonas Platte
6585aeb628
api: Make OutgoingResponse a supertrait of EndpointError
2021-04-13 13:15:57 +02:00
Jonas Platte
0e197aae0b
api: Update try_from_http_request to be generic like try_from_http_response
2021-04-12 20:38:22 +02:00
Jonas Platte
6f5c1ee953
api: Stop storing the http::Request in RequestDeserializationError
2021-04-12 20:38:22 +02:00
Jonas Platte
2ac020173b
api: Introduce IncomingResponse trait
2021-04-12 20:38:22 +02:00
Jonas Platte
effb53444d
api: Stop storing the http::Response in ResponseDeserializationError
2021-04-12 20:38:22 +02:00
Kévin Commaille
b89a18fa16
client-api: Fix check warnings and tests with no feature enabled
2021-04-12 18:57:04 +02:00
Kévin Commaille
19e849a82a
docs: Document uses of the unstable-pre-spec feature flag
2021-04-12 11:31:01 +02:00
Kévin Commaille
e2728a7081
identifiers: Make MxcUri less strict
2021-04-11 10:15:37 +02:00
Kévin Commaille
154f9b2d58
docs: Document compat feature uses
2021-04-07 12:47:44 +02:00
Kévin Commaille
963400979b
docs: Harmonize ruma modules descriptions
2021-04-07 12:14:49 +02:00
Jonas Platte
a310ccc318
client-api: Move some tests behind feature flags
2021-04-06 17:20:47 +02:00
Jonas Platte
c523fa0f74
Use ruma_api::try_deserialize in manual endpoint implementations
2021-04-05 22:33:05 +02:00
Jonas Platte
a07eb4ecff
client-api: Fix deserialization of recently changed state endpoint requests
2021-04-05 19:37:45 +02:00
Jonas Platte
2f1b9f0979
client-api: Merge _for_empty_key endpoints into their more general siblings
2021-04-05 16:04:28 +02:00
Jonas Platte
4b05ee5f0a
client-api: Use ruma_api! for endpoints with special request types
2021-04-05 15:11:59 +02:00
Jonas Platte
1bf4157a89
Add favicon and logo URLs for rustdoc
2021-04-05 11:42:07 +02:00
Kévin Commaille
20fb7c3c82
client-api: Add constructors with MxcUri in media::get_content*::Request
2021-04-05 11:40:27 +02:00
Kévin Commaille
62929ce5d1
client-api: Replace String with MxcUri for avatar_url
2021-04-05 08:10:21 +02:00
Kévin Commaille
f67f44c8aa
client-api: Change AnyEvent to AnySyncRoomEvent in push::get_notifications::Notification
2021-04-04 18:51:24 +02:00
Jonas Platte
39a8c26263
Release ruma-identifiers 0.18.1
2021-04-03 17:56:01 +02:00
Jonas Platte
83ee0e72e2
Release ruma-common 0.3.1
2021-04-03 17:21:55 +02:00
Jonas Platte
4ff8f751e0
client-api: Update changelog
2021-03-31 14:18:05 +02:00
Jonas Platte
36df3e341a
Release ruma-common 0.3.0
2021-03-31 13:47:24 +02:00
Jonas Platte
12686fe6e3
Clean up std::fmt imports
...
We were pretty inconsistent about them before.
2021-03-25 16:32:08 +01:00
Julian Sparber
f053200462
ruma-client-api: Use Mxc type
...
This also fixes the wrong mxc url in the test for joined_members. Mxc
urls don't use a ":" as seperator between server name and media id.
2021-03-25 13:04:23 +01:00
Jonas Platte
b79fd0c3aa
Release ruma-identifiers 0.18.0
2021-03-23 21:08:44 +01:00
Jonas Platte
c910d57b14
Release ruma-serde 0.3.1
2021-03-23 20:58:53 +01:00
Jonas Platte
a891d1c615
client-api: Make types in r0::keys non-exhaustive
2021-03-23 11:10:28 +01:00
Kévin Commaille
b79ef0303a
Move common::push::AnyPushRule to client_api::r0::push::PushRule
2021-03-22 20:42:25 +01:00
Jonas Platte
a0e8bb416b
Increase MSRV from 1.43 to 1.45
2021-03-21 20:32:46 +01:00
Takayuki Maeda
a071df7638
deserialize empty string to none for submit_url
2021-03-15 16:46:15 +01:00
Takayuki Maeda
eb3763b301
add test for deserializing room_member
2021-03-15 16:46:15 +01:00
Takayuki Maeda
9cfa3b075c
deserialize empty string to none for avatar_url
2021-03-15 16:46:15 +01:00
Kévin Commaille
92ee92ad7e
client-api: Fix sso_login query param serialization
2021-03-15 12:15:43 +01:00
Kévin Commaille
02e6c935b3
client-api: Move user in login::Request to identifier in login::LoginInfo::Password
2021-03-15 10:36:54 +01:00
Jonas Platte
341869c83c
client-api: Support custom login types
2021-03-13 20:06:18 +01:00