Jonas Platte
8e8be284fa
Release ruma-api 0.20.0
2022-02-19 14:54:57 +01:00
Jonas Platte
c1ce58b461
Release ruma-api 0.19.0
2022-02-19 01:43:01 +01:00
Damir Jelić
ee3c8f3335
ruma: Fix a bunch of typos
2021-12-06 11:26:14 +01:00
Jonas Platte
bccbde6f83
api: Remove {Request,Response}DeserializationError
2021-10-29 22:44:15 +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
7a581038e3
Release ruma-api 0.18.3
2021-08-18 19:29:40 +02:00
Jonas Platte
7ac3c369cc
Release ruma-api 0.18.2
2021-08-16 22:22:19 +02:00
Jonas Platte
7f457d6463
Release ruma-api 0.18.1
2021-08-11 17:34:45 +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
Jonas Platte
4200d6e387
Release ruma-api 0.17.1
2021-06-24 15:02:31 +02:00
Jonas Platte
e705fd9246
Release ruma-api 0.17.0
2021-05-17 00:56:47 +02:00
gnieto
e2eb92b8ed
Prevent panic on requests with invalid URIs
...
When `try_into_http_request` was used with an invalid base URI the code
was panicking. Acording to `http::request::Builder` documentation,
`headers_mut` returns `None` if the builder contains errors, which was
the case when an invalid URI was provided.
The new version only sets the additional headers in case that there are
no errors on the builder, preventing the panic. The conversion will
return an error when the builder is consumed on `body`.
2021-05-08 18:12:56 +02:00
Jonas Platte
a0f7e1b771
api: Replace error::Void by error::MatrixError
2021-05-08 14:33:12 +02:00
Jonas Platte
3db0ea7026
Move all crates into a new crates directory
2021-05-03 15:50:27 +02:00