108 Commits

Author SHA1 Message Date
Kévin Commaille
2bf33def5c client-api: Remove token from keys::get_keys::Request
According to a spec clarification.
2023-04-17 16:11:38 +02:00
Kévin Commaille
8a3bccaef1 client-api: Fix type of rank in search::search_events::v3::SearchResult
It is defined in the spec as a number, not an integer.
2023-03-10 11:19:32 +01:00
Kévin Commaille
ba237a9cfd client-api: Add convenience constructors for enabling lazy-loading in filters 2023-02-27 20:20:07 +01:00
Jonas Platte
145356217d
Release ruma-client-api 0.16.2 2023-02-16 19:37:28 +01:00
Jonas Platte
b50ef4864c
client-api: Don't serialize None as null in report_content 2023-02-16 19:25:07 +01:00
Kévin Commaille
5fae3ff34e
Release ruma-client-api 0.16.1 2023-02-15 12:59:01 +01:00
Kévin Commaille
9f92794294 client-api: Move get_event_by_timestamp out of unstable-msc3030
According to Matrix 1.6
2023-02-14 22:05:37 +01:00
Jonas Platte
a6c8a4eddd
Release ruma-client-api 0.16.0 2023-02-01 14:02:40 +01:00
Doug
47450cecc9
Add unstable support for discovering a sliding sync proxy (MSC3575) 2023-01-24 20:53:22 +01:00
Kévin Commaille
89e06adecf client-api: Use ToDeviceEventType in send_event_to_device 2023-01-04 15:58:34 +01:00
Kévin Commaille
6b31f66afc client-api: Use RoomAccountDataEventType in get_room_account_data 2023-01-04 15:58:34 +01:00
Kévin Commaille
423c03f5d2 client-api: Use GlobalAccountDataEventType in get_global_account_data 2023-01-04 15:58:34 +01:00
Kévin Commaille
74c6e38a6b client-api: Move Direction to ruma-common::api 2023-01-03 11:24:47 +01:00
Kévin Commaille
d0b2ed3609 client-api: Add support to get an event by timestamp
According to MSC3030
2023-01-03 11:24:47 +01:00
Jonas Platte
a8ba82d585 api: Make EndpointError construction infallible
Simplifies error matching and preserves more information for
non-spec-compliant server errors.
2022-11-10 13:10:57 +01:00
Kévin Commaille
aa2e905ce3 client-api: Use an enum to construct set_pushrule's Request 2022-11-09 14:45:12 +01:00
Kévin Commaille
f31530e02c client-api: Use an enum for the scope of the push rule endpoints 2022-11-09 14:45:12 +01:00
Kévin Commaille
2bd5c131f4 client-api: Make PusherKind contain the pusher data
Since it depends on the kind
2022-11-07 10:21:48 +01:00
Kévin Commaille
801d9bf212 client-api: Use an enum to differentiate when deleting a pusher 2022-11-07 10:21:48 +01:00
Jonas Platte
3c3c6f388f
Merge branch 'ruma-0.7' 2022-10-18 09:14:16 +02:00
Jonas Platte
bc67b9aae3
Release ruma-client-api 0.15.3 2022-10-18 09:12:14 +02:00
Jonas Platte
6ec7fc09ea
Merge branch 'ruma-0.7' 2022-10-17 18:05:42 +02:00
Jonas Platte
c8dacdbbab
Release ruma-client-api 0.15.2 2022-10-17 18:03:29 +02:00
Kévin Commaille
f9958ae2e3 client-api: Add support for read receipts for threads
According to MSC3771
2022-10-10 20:49:04 +02:00
Kévin Commaille
e6e7e52034 client-api: Send CORP headers by default for media responses
According to MSC3828.
2022-10-10 19:09:39 +02:00
Kévin Commaille
b57338c1cf client-api: Add support for notifications for threads
According to MSC 3773
2022-10-10 18:39:55 +02:00
Kévin Commaille
b695dee787 client-api: Add support for dir parameter to /relations
According to MSC3715
2022-10-10 18:04:04 +02:00
Kévin Commaille
e2e123dd89 client-api: Move Direction to the root of the crate 2022-10-10 18:04:04 +02:00
Kévin Commaille
489820303e client-api: Stabilize support for private read receipts 2022-10-01 11:21:18 +02:00
Kévin Commaille
fa64b36c11 client-api: Add support for the threads list API
According to MSC3856
2022-09-30 21:17:20 +02:00
Kévin Commaille
a091faa7d2 client-api: Remove thread event filters
According to MSC3856
2022-09-30 17:27:28 +02:00
gnieto
a4a14aa9dc
client-api: Add M_BAD_ALIAS to ErrorKind 2022-09-29 14:37:30 +02:00
Jonas Platte
289821aa07
client-api: Remove DeviceLists re-export 2022-09-22 13:21:55 +02:00
Jonas Platte
8f2aca8859
Release ruma-client-api 0.15.1 2022-09-21 18:20:49 +02:00
Benjamin Kampmann
c7975dbea7
client-api: Update sliding sync to latest 2022-09-21 18:19:52 +02:00
Jonas Platte
f64a4bfc48
Release ruma-client-api 0.15.0 2022-09-12 20:52:11 +02:00
Jonas Platte
9dd4014750
client-api: Export nothing with neither client nor server feature active
… to work around a build failure in that configuration.
This configuration is useful either way.
2022-09-12 20:51:50 +02:00
Jonas Platte
661f6e60bd
client-api: Reorder fields and ctor parameters for account data endpoints 2022-08-18 18:43:47 +02:00
Benjamin Kampmann
23a608788b
client-api: Add sliding-sync endpoint
Co-authored-by: Matthew Hodgson <matthew@matrix.org>
2022-08-17 16:16:02 +02:00
Kévin Commaille
f5000cb52f client-api: Add support for API scope restriction
According to MSC2967
2022-07-28 18:39:35 +02:00
Jonas Platte
c97f5507b9
client-api: Simplify message::get_message_events::v3::Requests constructors 2022-07-19 17:48:14 +02:00
Jonas Platte
da5def6731
client-api: Update message::get_message_events::v3::Request's constructors 2022-07-18 19:04:37 +02:00
Jonas Platte
f4a8a66bde
client-api: Remove get_message_events::Request::new's from parameter 2022-07-18 18:50:28 +02:00
Kévin Commaille
7ec599e83d client-api: Add support for private read receipts
According to MSC2285
2022-07-18 11:18:55 +02:00
Johannes Becker
d80e7c9c32
client-api: Make from optional for get_message_events::Request::new 2022-07-15 18:37:28 +02:00
Kévin Commaille
28d0d90ab5 client-api: Add knock_restricted join rule
According to MSC3787
2022-06-20 19:02:32 +02:00
Kévin Commaille
fdb45296c5 client-api: Stabilize MSC3316 2022-06-20 17:57:12 +02:00
Kévin Commaille
a077c4ea77 client-api: Stabilize MSC2675 2022-06-20 17:44:18 +02:00
Kévin Commaille
0d71ce17da client-api: Stabilize MSC2918 2022-06-20 17:16:12 +02:00
Doug
aae6fa2843
client-api: Add MSC2965 feature and m.authentication discovery 2022-06-16 18:56:16 +00:00