11 Commits

Author SHA1 Message Date
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