Jonas Platte
cda6119224
client-api: Fix unused import
2021-10-15 21:04:31 +02:00
Jonas Platte
58cdcae1f9
client-api: Fix login request deserialization
2021-10-15 17:09:02 +02:00
Jonas Platte
b3af33f1fc
client-api: Consistently use outer attributes for cfg-conditional modules
2021-10-08 12:50:41 +02:00
Jonas Platte
aa5fdf9d22
Merge serde attributes and improve docs
2021-10-08 12:49:13 +02:00
Jonas Platte
271491732e
Remove now-redundant doc(cfg) attributes
...
They are now implied:
https://github.com/rust-lang/rust/pull/89596
2021-10-08 11:52:18 +02:00
Devin Ragotzy
bdcfc12ac7
Update client-server spec links
2021-10-06 10:48:08 +02:00
Jonas Platte
04080085f9
events: Include all event type segments in Rust type names
2021-10-02 21:25:21 +02:00
Jonas Platte
678d3cd4ee
events: Small documentation improvements
2021-10-01 19:37:52 +02:00
Johannes Becker
e2386b7b64
client-api: Add custom variant to LoginInfo
2021-09-28 11:23:11 +02:00
Jonas Platte
031dedebc9
client-api: Fix small mistakes in IncomingAuthData::new docs
2021-09-27 19:51:10 +02:00
Jonas Platte
d92e7b4ca7
client-api: Remove no-op attribute
2021-09-27 19:49:47 +02:00
Johannes Becker
224d8a18e8
client-api: Add IncomingAuthData::new and IncomingAuthData::to_outgoing
2021-09-27 16:57:34 +00:00
Jonas Platte
5d36a97b59
client-api: Make fields of doc(hidden) structs private
2021-09-27 13:30:17 +02:00
Jonas Platte
8f88386125
client-api: Add data accessor to [Incoming]AuthData
2021-09-27 13:26:56 +02:00
Jonas Platte
6353e06bd5
client-api: make ThirdpartyIdCredentials an owned type
2021-09-27 13:25:16 +02:00
Jonas Platte
af250cf108
Merge JsonObject type aliases
2021-09-27 12:55:31 +02:00
Jonas Platte
79cbce00cc
client-api: Update change log
2021-09-23 18:20:51 +02:00
Niklas Kunz
efd5ad52fa
client-api: Add the reason field for remaining endpoints (MSC2367)
2021-09-23 16:18:49 +00:00
Jonas Platte
a7be60d9eb
client-api: Use an enum for user-interactive auth stage type
2021-09-23 18:04:30 +02:00
Jonas Platte
36462694e6
client-api: Fix a spec link
2021-09-23 17:55:50 +02:00
Callum Brown
898ec65e77
client-api: Add registration token UIAA type (from MSC3231)
2021-09-22 12:18:03 +00:00
Jonas Platte
237b423996
Release ruma-api 0.18.5
2021-09-21 18:55:29 +02:00
Jonas Platte
4eb5783474
client-api: Move conditionally-used import so it's always used
2021-09-21 18:54:33 +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
21e4c90cfa
Revert "client-api: Allow testing sync_events structs for exhaustiveness"
...
This reverts commit c816630058ab625d93ebab294e9e6c02dd9d866c.
Checking match exhaustiveness can now be done through the new
non_exhaustive_omitted_patterns lint.
2021-09-21 15:08:47 +02:00
Jonas Platte
9b8e6e8d96
ruma-client-api 0.12.3
...
* Add a `feature = "compat"` workaround for Element failing on `GET /_matrix/client/r0/account/3pid`
response if the optional `threepids` field is missing
-----BEGIN PGP SIGNATURE-----
iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUnGGxYcanBsYXR0ZStn
aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnXEAA/jR+Jn+XK1TFLY4OhLym8VN+4mxb
YLTg0p5mAsyqSXB8AQCXGpCjyYzV1bBFYRx8J2KMTTt0zWwqYRbsCsrUyP2vDQ==
=LUOM
-----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
iIwEABYIADQWIQSYRl0lv78dXawPPq7MFU3g4wt8ZwUCYUnHmxYcanBsYXR0ZStn
aXRAcG9zdGVvLmRlAAoJEMwVTeDjC3xnn00A/04e0hPc/cnl5Lzb8Tvy6Xmzc/6W
hmRfZdcABHGX0eV7AP4xO/LAeS5qVMfwCo8X0ypPLul+PK9faWgeR0O337ZjAw==
=Skqn
-----END PGP SIGNATURE-----
Merge tag 'ruma-client-api-0.12.3'
ruma-client-api 0.12.3
* Add a `feature = "compat"` workaround for Element failing on `GET /_matrix/client/r0/account/3pid`
response if the optional `threepids` field is missing
2021-09-21 13:52:58 +02:00
Jonas Platte
2f9081cd81
Release ruma-client-api 0.12.3
2021-09-21 13:46:01 +02:00
Jonas Platte
630c1b1d01
client-api: Fix compat workaround for Element
2021-09-21 13:40:52 +02:00
Jonas Platte
1350f65dcb
client-api: Fix compat workaround for Element
2021-09-21 13:40:44 +02:00
Jonas Platte
8079e1c155
Release ruma-api 0.18.4
2021-09-21 11:33: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
Jonas Platte
0126a7223a
client-api: Use generics for content in send_{message,state}_event::Request::new
2021-09-15 20:36:20 +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
989c25a541
client-api: Remove redundant dev-dependency
2021-09-14 09:31:20 +02:00
Jonas Platte
dc842f028f
Add missing commas
2021-08-30 17:34:20 +02:00
Jonas Platte
46c7e3f811
Clean up and rewrap documentation comments
2021-08-27 21:32:02 +02:00
Jonas Platte
b85e452aec
Release ruma-events 0.24.5
2021-08-21 15:58:54 +02:00
Jonas Platte
06f8b81ace
client-api: Remove unnecessary attribute
2021-08-21 14:28:52 +02:00
Jonas Platte
f5ab038e22
Release ruma-client-api 0.12.2
2021-08-18 20:33:43 +02:00
Jonas Platte
31a0845b66
client-api: Add auth_type and session accessors to IncomingAuthData
2021-08-18 20:33:26 +02:00
Jonas Platte
7a581038e3
Release ruma-api 0.18.3
2021-08-18 19:29:40 +02:00
Jonas Platte
64aea4f04c
Release ruma-client-api 0.12.1
2021-08-18 18:57:43 +02:00
Jonas Platte
7c654dc0b0
client-api: Appease clippy
2021-08-18 18:39:51 +02:00
Jonas Platte
cfb1b9de04
client-api: Add auth_type and session accessors to AuthData
2021-08-18 18:30:02 +02:00
Jonas Platte
90683f0faa
Release ruma-events 0.24.4
2021-08-16 23:12:35 +02:00
Jonas Platte
7ac3c369cc
Release ruma-api 0.18.2
2021-08-16 22:22:19 +02:00
Jonas Platte
9e7f7c884a
client-api: Add a test for create_filter request (de)serialization
2021-08-16 22:19:16 +02:00
Jonas Platte
1541f2957b
client-api: Fix previously introduced test
2021-08-15 23:42:31 +02:00
Jonas Platte
dd1516f5ed
client-api: Add a test for get_filter response (de)serialization
2021-08-15 23:38:56 +02:00