54 Commits

Author SHA1 Message Date
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
Jonas Platte
40d3b552da
Release ruma-serde 0.4.2 2021-08-09 19:43:40 +02:00
Jonas Platte
696c9fba4e
api-macros: Move ruma_api! trait impl generation into derive macros 2021-08-05 21:00:43 +02:00
Jonas Platte
2bd2d18db9
Release ruma-events 0.23.3 2021-07-26 15:06:13 +02:00
Jonas Platte
752c4808fd
Release ruma-events 0.23.2 2021-06-29 10:37:09 +02:00
Jonas Platte
4200d6e387
Release ruma-api 0.17.1 2021-06-24 15:02:31 +02:00
Jonas Platte
b5f963229c
Release ruma-events 0.23.1 2021-06-24 13:43:04 +02:00
Jonas Platte
dfd8c60b89
Release ruma-identifiers 0.19.4 2021-06-24 13:38:05 +02:00
Jonas Platte
be4584b475
Release ruma-serde 0.4.1 2021-06-24 13:17:55 +02:00
Jonas Platte
55a7dd4828
Release ruma-events 0.23.0 2021-06-21 16:53:46 +02:00
Devin Ragotzy
337b1e26ef misc: Allow exhaustive for non api related structs 2021-06-18 22:44:00 +02:00
Jonas Platte
ff03f4c805
Release ruma-identifiers 0.19.3 2021-06-18 13:42:32 +02:00
Jonas Platte
5fe1876643
Release ruma-identifiers 0.19.2 2021-06-10 15:27:09 +02:00
Devin Ragotzy
1f84de4c7f
ci: Add the --order flag to cargo sort 2021-06-04 20:20:36 +00:00
Amanda Graven
97937d384c Typo corrections
The "comforming" typo in the function name at
crates/ruma-identifiers-validation/src/user_id.rs:22:26
was not corrected as that would be a breaking change.
2021-06-01 12:45:34 +02:00
Jonas Platte
b1e6aa78c7
api: Add missing period in docs 2021-05-29 14:37:19 +02:00
Jonas Platte
958d3a5812
Release ruma-events 0.22.2 2021-05-20 18:45:52 +02:00
Jonas Platte
085f082c5b
Release ruma-events 0.22.1 2021-05-17 16:58:57 +02:00
Jonas Platte
e705fd9246
Release ruma-api 0.17.0 2021-05-17 00:56:47 +02:00
Jonas Platte
68250ae726
Release ruma-events 0.22.0 2021-05-17 00:51:09 +02:00
Jonas Platte
305b527ae9
Release ruma-identifiers 0.19.1 2021-05-16 21:54:03 +02:00
Jonas Platte
566e03abc1
Release ruma-serde 0.4.0 2021-05-15 19:26:09 +02:00
Jonas Platte
d71fa97346
Use slices for outgoing raw bodies 2021-05-10 15:16:37 +02:00
Jonas Platte
08e87ac3bf
api: Remove redundant clone 2021-05-09 00:02:44 +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