Jonas Platte
38881dd6af
Release ruma-serde 0.6.0
2022-02-19 01:01:17 +01:00
Jonathan de Jong
936bb64e84
Update links to spec.matrix.org/v1.2
2022-02-18 19:45:04 +01:00
Kévin Commaille
c5a6cf033f
client-api: Rename UserIdentifier::MatrixId to UserIdOrLocalpart
2022-02-18 14:58:38 +00:00
Jonas Platte
48da0a1a12
client-api: Remove UIAA types m.login.oauth2 and m.login.token
...
Removed from the specification in v1.1.
2022-02-18 15:50:33 +01:00
Jonas Platte
fa2e3662a4
client-api: Add a borrowing iterator for SignedKeys
2022-02-18 14:56:00 +01:00
Jonas Platte
65e9259a80
client-api: Prefix self-imports / re-exports by 'self::'
2022-02-18 11:08:21 +01:00
Jonathan de Jong
4787bab6ac
client-api: Transition from r0 to versioned endpoints
2022-02-18 11:03:55 +01:00
Jonas Platte
c4d2eacc38
client-api: Update upload_signatures endpoint
2022-02-17 22:28:51 +01:00
Jonas Platte
7a70d96235
Remove PrivOwnedStr() from Debug formatting
2022-02-15 17:46:27 +01:00
Jonas Platte
ee99486978
client-api: Use new path metadata fields
2022-02-13 11:21:49 +01:00
Jonas Platte
ebb09589f9
Remove authors field from Cargo manifests
...
It's no longer necessary and authorship is much better tracked with git.
2022-02-12 13:46:44 +01:00
Jonathan de Jong
397727726e
api: Add multiple path support to OutgoingRequest
2022-02-12 13:44:11 +01:00
Jonas Platte
dad84ac1a0
client-api: Clean up invalid r0 paths
...
These routes never existed under r0.
2022-02-12 12:46:03 +01:00
Jonas Platte
d107e04096
client-api: Use Raw for knock_state.events
2022-02-12 01:07:57 +01:00
Kévin Commaille
b9f32bc632
client-api: Move blurhash to unstable-msc2448
2022-02-11 11:29:21 +00:00
Kévin Commaille
695b0c9ef4
client-api: Finalize moving knocking support out of unstable-pre-spec
2022-02-11 10:59:58 +00:00
Kévin Commaille
739c3d5b16
client-api: Move support for fallback keys out unstable-pre-spec
2022-02-11 10:42:48 +00:00
Kévin Commaille
7a82fc0330
client-api: Move support for room type out of unstable-pre-spec
2022-02-11 10:28:51 +00:00
Kévin Commaille
203e5136fd
client-api: Move reason in membership requests out of unstable-pre-spec
2022-02-11 11:10:38 +01:00
Jonas Platte
e93511e993
client-api: Sort versions in get_supported_versions::Response::known_versions
2022-02-10 14:18:05 +01:00
Jonas Platte
2de652049d
client-api: Remove Option around RoomEventFilter
2022-02-04 13:46:28 +01:00
Jonathan de Jong
19fd35d066
api: Add MatrixVersion enum
...
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
2022-02-04 12:32:12 +01:00
Jonas Platte
9c4bf00f79
Remove remaining unstable-spec features
...
Everything that was gated behind it was stabilized with Matrix v1.2.
2022-02-02 23:32:27 +01:00
Jonas Platte
62f3d4a649
client-api: Move keys route changes out of unstable-pre-spec
2022-02-02 21:10:11 +01:00
Jonas Platte
39041286b9
Move from_raw_json_value to ruma-serde
...
… and remove unnecessary copies of it.
2022-02-02 20:58:47 +01:00
Jonas Platte
cbd4457f64
client-api: Move backup out of unstable-pre-spec
2022-02-02 19:45:17 +01:00
Jonas Platte
e6f025e037
client-api: Update spec links for backup endpoints
2022-02-02 19:45:01 +01:00
Jonas Platte
bfb6dc14d9
client-api: Update get_login_types tests
2022-02-02 16:52:22 +01:00
Jonas Platte
5668ebde5a
client-api: Fix serialized form of IdentityProviderBrand and improve its docs
2022-02-02 16:36:47 +01:00
Jonathan de Jong
abd702cfbc
api: Don't extract request path arguments in IncomingRequest impls
...
… instead requiring callers to pass them as a list of strings.
Parsing is still done within the trait implementations though.
2022-02-02 11:57:29 +01:00
Jonas Platte
f4a8ef6306
client-api: Fix todo comment formatting
2022-01-31 20:42:15 +01:00
Jonathan de Jong
f631685389
client-api: Move token registration to new unstable-spec feature
2022-01-31 20:10:19 +01:00
Jonas Platte
b8396b9cc0
client-api: Fix response serde for get[_latest]_backup
2022-01-28 23:52:40 +01:00
Jonas Platte
82becb86c8
client-api: Remove Raw nesting
...
… should be unnecessary.
2022-01-27 16:16:35 +01:00
Jonas Platte
fab5c9128f
client-api: Fix broken update_backup::Request deserialization
2022-01-27 15:41:33 +01:00
Jonas Platte
e906de7eee
client-api: Fix broken create_backup::Request deserialization
2022-01-27 15:39:48 +01:00
Jonas Platte
14de5dad29
client-api: Add missing import
2022-01-27 15:30:28 +01:00
Jonas Platte
16e18bdebf
client-api: Be consistent about Raw usage for backup key routes
2022-01-27 15:19:27 +01:00
Jonas Platte
a39bee9949
client-api: Fix wrong HTTP methods on backup delete routes
2022-01-22 14:36:41 +01:00
Kévin Commaille
b8a741cb30
client-api: Move MSC2858 out of unstable-pre-spec
2022-01-20 13:29:22 +00:00
Andrej Kacian
e4a21580a2
Add M_WEAK_PASSWORD error code to ruma-client-api
2022-01-17 15:57:22 +01:00
Jonas Platte
ef6728abde
Add a TransactionId type
2022-01-16 23:17:23 +01:00
Jonas Platte
4c859c5aeb
Introduce a Base64 type and use it where applicable
2022-01-13 16:22:21 +01:00
Jonas Platte
ee977b48f0
Make the inner type of _Custom enum variants unusable
...
The variant itself would be private if possible, this is the solution
closest to that.
2022-01-13 11:38:48 +01:00
plustik
b3f7d0ed52
client-api: Update get_message_events for v1.1
...
* Remove serde(skip_serializing_if = ...) attribute from chunk response field
* Make the start response field required by changing its type from
Option<String> to String
2022-01-11 16:28:11 +01:00
Jonas Platte
9621b83d49
Use doc_auto_cfg for automatic cfg documentation
2022-01-02 19:22:42 +01:00
Kévin Commaille
fac7d53134
client-api: Fix get_login_types::CustomLoginType
...
Add test for it.
2022-01-01 12:54:59 +01:00
Jonas Platte
57e84f862b
client-api: Fix unnecessary allocation in URL construction
2021-12-18 20:05:28 +01:00
Jonas Platte
28371945de
client-api: Remove unused PublicRoomsChunk type
...
There's a copy of this type in ruma-common which is actually being used.
2021-12-09 12:37:56 +01:00
Damir Jelić
fdbc4d6d1d
ruma-client-api: Use just a BTreeMap for the /keys/upload fields
2021-12-06 11:26:14 +01:00