78 Commits

Author SHA1 Message Date
Jonas Platte
457726017b
api: Make metadata path field optional 2022-02-13 11:13:29 +01:00
Jonathan de Jong
4ccf79cb67
api: Add _path suffix to new path metadata keywords 2022-02-13 11:13:29 +01:00
Jonathan de Jong
9000567a70
api: Remove incorrect attribute on compile test 2022-02-13 09:59:42 +01:00
Jonathan de Jong
f72d6601fc
ruma-api-macros: Fix argument ordering 2022-02-12 20:51:59 +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
1e94c3cd39
api: Add impl FromStr for MatrixVersion
Enables `str.parse::<MatrixVersion>()`.
2022-02-10 14:18:05 +01:00
Jonas Platte
ae4c9243cb
api: Move Metadata and MatrixVersion into new metadata module 2022-02-10 14:18:05 +01:00
Jonas Platte
f365f21ca8
api: Further simplify MatrixVersion::is_superset_of
… and make (major, minor) representation public.
2022-02-10 14:18:05 +01:00
Jonas Platte
af1ae46521
api: Fix a typo 2022-02-10 14:18:05 +01:00
Jonas Platte
08fb612fed
api: Inline PartialOrd for VersionRepr impl 2022-02-08 19:22:11 +01:00
Jonathan de Jong
fe337f8d5b
api: Move UnknownVersionError into error module 2022-02-08 15:38:24 +00:00
Jonathan de Jong
1e900ab58c
api: Add stable_path, r0_path and unstable_path metadata fields 2022-02-08 14:29:21 +01:00
Jonathan de Jong
0dcdb57c29
api: Add added, deprecated, and removed metadata fields 2022-02-08 10:52:43 +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
96b879eb2a
api: Fix inconsistent formatting 2022-02-02 12:06:57 +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
ftilde
6b78988d39
ruma-api-macros: Avoid empty POST/PUT request bodys 2021-12-18 20:06:37 +01:00
Damir Jelić
ee3c8f3335 ruma: Fix a bunch of typos 2021-12-06 11:26:14 +01:00
Jonas Platte
3ce578f384
identifiers: Make UserId a DST 2021-11-26 00:40:40 +01:00
Jonas Platte
2d4dbfe42f
identifiers: Make RoomId a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
b0db5e94e1
identifiers: Make RoomAliasId a DST 2021-11-26 00:04:28 +01:00
Jonas Platte
bccbde6f83
api: Remove {Request,Response}DeserializationError 2021-10-29 22:44:15 +02:00
Jonas Platte
aa5fdf9d22
Merge serde attributes and improve docs 2021-10-08 12:49:13 +02:00
Jonas Platte
237b423996
Release ruma-api 0.18.5 2021-09-21 18:55:29 +02:00
Jonas Platte
7df5a0f09d
api: Fix inverse condition for sending application/json content-type 2021-09-21 18:54:10 +02:00
Jonas Platte
8079e1c155
Release ruma-api 0.18.4 2021-09-21 11:33:18 +02:00
Jonas Platte
d16db420e3
api: Stop adding Content-Type to requests without any fields 2021-09-21 11:32:18 +02:00
Jonas Platte
e2d9bf5eba ruma-events 0.24.6
Improvements:
 
 * Add (unstable) support for [MSC3083](https://github.com/matrix-org/matrix-doc/blob/main/proposals/3083-restricted-rooms.md)
 -----BEGIN PGP SIGNATURE-----
 
 iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUjgYBYcanBsYXR0ZStn
 aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnvF8A/0s7gcm4pijTII7wrIOxB0eWSUgc
 TSxXIOYpsiDcswnUAP9+PLx+ziy0oxtbPcWK5bil7JBcYwM1tlqIM+d9qlgiCQ==
 =W1O9
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUjgkBYcanBsYXR0ZStn
 aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnrOkBALaAq5RRXvD2xdBD2Q6H9xEPsd/x
 KSknkjMjqgCJq2g8AQCql0S5QpH8PsmOKDmMO9X6lIHnnaqUxpSOOHIm83VKAA==
 =9Aii
 -----END PGP SIGNATURE-----

Merge tag 'ruma-events-0.24.6'

ruma-events 0.24.6

Improvements:

* Add (unstable) support for [MSC3083](https://github.com/matrix-org/matrix-doc/blob/main/proposals/3083-restricted-rooms.md)
2021-09-20 21:27:12 +02:00
Jonas Platte
d07cacb61d
Release ruma-events 0.24.6 2021-09-20 21:25:27 +02:00
Jonathan de Jong
c33920d8ae
Use thiserror in id-validation, add more detail to mxc-uri errors 2021-09-15 20:36:20 +02:00
Jonas Platte
35a231e20c
api: Rewrap doc comment 2021-08-22 22:14:32 +02:00
Jonas Platte
b85e452aec
Release ruma-events 0.24.5 2021-08-21 15:58:54 +02:00
Jonas Platte
7a581038e3
Release ruma-api 0.18.3 2021-08-18 19:29:40 +02:00
Jonas Platte
90683f0faa
Release ruma-events 0.24.4 2021-08-16 23:12:35 +02:00
Jonas Platte
42fda7c89f
api: Rename newtype raw body => raw body 2021-08-16 22:23:30 +02:00
Jonas Platte
7ac3c369cc
Release ruma-api 0.18.2 2021-08-16 22:22:19 +02:00
Jonas Platte
af9247c604
events: Remove comment on ruma_api_lifetime tests
This change was never meant to be committed.
2021-08-15 22:26:18 +02:00
Jonas Platte
7e6fcab676
Release ruma-events 0.24.3 2021-08-13 17:16:08 +02:00
Jonas Platte
e396092ac0
Release ruma-events 0.24.2 2021-08-11 21:08:46 +02:00
Jonas Platte
f4d60f1ecb
Release ruma-events 0.24.1 2021-08-11 20:31:23 +02:00
Jonas Platte
1c5067a916
Release ruma-events 0.24.0 2021-08-11 17:38:10 +02:00
Jonas Platte
7f457d6463
Release ruma-api 0.18.1 2021-08-11 17:34:45 +02:00
Jonas Platte
e6b48fb564
Release ruma-identifiers 0.20.0 2021-08-11 17:16:28 +02:00
Jonas Platte
12ee10b2c6
Release ruma-serde 0.5.0 2021-08-11 17:10:51 +02:00
Devin Ragotzy
ab3d48b576
client-api: Make all pub enums non_exhaustive 2021-08-10 15:22:26 +02:00
Jonas Platte
0f1c52aaab
Update changelogs 2021-08-10 15:21:47 +02:00
Jonas Platte
cff68ad05a
api: Update changelog 2021-08-10 12:50:13 +02:00
Jonas Platte
f83849f942
Release ruma-api 0.17.2
This is the same as the previously-released ruma-api 0.18.0; releasing
it with that version number was an error and it has been yanked.
2021-08-10 12:42:26 +02:00
Jonas Platte
65195cad0d
Release ruma-api 0.18.0 2021-08-10 12:38:12 +02:00