129 Commits

Author SHA1 Message Date
Jonas Platte
7f18e1c32e Replace serde_derive by re-exports in serde 2019-02-06 20:12:30 +01:00
Jimmy Cuadra
9d5449b219
Merge pull request #23 from ruma/rust-2018
Update to Rust 2018
2019-01-16 08:02:50 -08:00
Jonas Platte
1b2cd339cb Update to Rust 2018 2019-01-16 00:13:10 +01:00
Jonas Platte
6f093f70ed Use nested imports, misc. import changes
* Bring imports into a consistent order (std, crates, internal)
* Replace super::super-imports by crate-relative ones
2019-01-16 00:13:10 +01:00
Jimmy Cuadra
179a06040d
Merge pull request #22 from ruma/stripped-add-sender
StrippedStateContent: Add sender field
2019-01-09 14:51:05 -08:00
Jonas Platte
af5a8932e3 StrippedStateContent: Add sender field 2019-01-08 19:37:55 +01:00
Victor Berger
e9fc9b03fd Make room_id optional
This field can be absent in some contextes, notably in the responses
to the /sync endpoint, where the events are summarised in the initial
sync of a client.

Fixes #19
2019-01-08 18:27:33 +01:00
Jimmy Cuadra
6240c25160 Bump version to 0.11.0. 2018-12-03 20:29:08 -08:00
Jimmy Cuadra
c222c03fb1 Update dependencies. 2018-12-03 20:27:38 -08:00
Jimmy Cuadra
0696334186
Merge pull request #18 from florianjacob/fix-presence-events
Apply upcoming spec change to m.presence event representation,
2018-12-03 20:21:31 -08:00
Florian Jacob
af3a14e3b4 Apply upcoming spec change to m.presence event representation,
making ruma-client more interoperable with synapse.
See https://github.com/matrix-org/matrix-doc/pull/1137 for the details
of the spec change.
Fixes https://github.com/ruma/ruma-client-api/issues/27
2018-09-01 12:22:30 +02:00
Jimmy Cuadra
eb46147942 Bump version to 0.10.0. 2018-05-19 00:12:28 -07:00
Jimmy Cuadra
3acc5c3a93 Run rustfmt. 2018-05-18 23:54:13 -07:00
Jimmy Cuadra
601f00e820
Merge pull request #9 from mujx/matrix-events-update
Update matrix events to their latest version
2018-05-18 01:29:16 -07:00
Konstantinos Sideris
3a62aaf4c7 Add m.room.pinned_events 2017-11-27 17:08:51 +02:00
Konstantinos Sideris
0635fbae53 Add m.direct event 2017-11-16 11:22:08 +02:00
Konstantinos Sideris
a9490dbee8 Update matrix events to their latest version 2017-11-16 11:22:07 +02:00
Jimmy Cuadra
a51448e09d Merge pull request #15 from jplatte/master
More bytesize fixes
2017-08-04 03:55:23 -07:00
Jonas Platte
b741ec3028 Use more descriptive names for properties with one-character-names in the spec 2017-08-04 10:35:56 +02:00
Jonas Platte
b852b15134 Fix grammar in doc comments 2017-08-03 22:16:52 +02:00
Jonas Platte
4a91932ea8 Fix a bunch more deserialization bugs 2017-08-03 22:16:52 +02:00
Jimmy Cuadra
eca6d97690 Merge pull request #14 from jplatte/master
Fix two bytesize bugs (wrong json key, non-optional value that should be optional)
2017-08-01 10:00:05 -07:00
Jonas Platte
5a1ae50eaa Fix wrong json key in receipt event 2017-08-01 18:37:22 +02:00
Jonas Platte
491188db2b Make PresenceEventContent::currently_active optional 2017-07-12 18:28:26 +10:00
Jimmy Cuadra
c3fd65c650 Bump version to 0.9.0. 2017-06-01 17:46:05 -07:00
Jimmy Cuadra
42439ea608 Merge pull request #13 from neosam/master
Use ruma-signatures 0.4 instead of 0.3.
2017-06-01 09:25:30 -07:00
Simon Goller
03dc54d7db Use ruma-signatures 0.4 instead of 0.3. 2017-06-01 18:08:22 +02:00
Andreas Brönnimann
0c027fea5e Add default values for various power level attributes. 2017-04-27 22:11:01 +02:00
Jimmy Cuadra
c928c9bafc Remove de/serialize bounds from StrippedStateContent.
See https://github.com/serde-rs/serde/issues/890.
2017-04-23 02:43:34 -07:00
Jimmy Cuadra
edefffe220 Replace try macro with question mark. 2017-04-21 04:05:30 -07:00
Jimmy Cuadra
4cab10b2d5 Bump version to 0.8.0. 2017-04-21 03:54:02 -07:00
Jimmy Cuadra
dee5cc91bc Update serde to 1.0. 2017-04-21 03:53:11 -07:00
Jimmy Cuadra
c80d41e076 Update ruma-identifiers to 0.10 and bump version to 0.7.0. 2017-03-24 01:45:42 -07:00
Andreas Brönnimann
2834dd4632 Make the federate field optional 2017-02-26 22:37:48 +01:00
Jimmy Cuadra
3ee120973d Update ruma-identifiers to 0.9 and bump version to 0.6.0. 2017-02-16 19:46:20 -08:00
Jimmy Cuadra
751ffc707c Bump version to 0.5.0. 2017-02-03 03:22:02 -08:00
Jimmy Cuadra
4f88b596a7 Update ruma-identifiers to 0.8. 2017-02-03 03:20:52 -08:00
Jimmy Cuadra
b8439bcce8 Bump version to 0.4.1. 2017-01-27 03:16:32 -08:00
Jimmy Cuadra
d832838db3 Relax dependency restrictions to minor versions. 2017-01-27 03:15:57 -08:00
Jimmy Cuadra
f70dfbea47 Bump version to 0.4.0. 2017-01-26 01:24:40 -08:00
Jimmy Cuadra
f01b722ae2 Update serde to 0.9. 2017-01-26 01:23:38 -08:00
Jimmy Cuadra
32fb575db8 Bump version to 0.3.0. 2017-01-06 07:09:44 -08:00
Jimmy Cuadra
db08de7aec Merge pull request #8 from mujx/presence-state-impl
Add missing trait implementations for PresenceState
2017-01-05 13:35:33 -08:00
Konstantinos Sideris
968aae4230 Add missing trait implementations for PresenceState 2017-01-05 15:11:10 +02:00
Jimmy Cuadra
7db30d7f81 Bump version to 0.2.0. 2016-12-20 23:10:34 -08:00
Jimmy Cuadra
26e24311b8 Bump ruma-identifiers to 0.6.0. 2016-12-20 23:10:34 -08:00
Jimmy Cuadra
dc8bbbb5ac Provide a better explanation of stripped events. 2016-12-20 23:10:27 -08:00
Jimmy Cuadra
7a1a73c153 Merge pull request #7 from mujx/missing-stripped-state-events
Add missing stripped StateEvents
2016-12-20 15:56:08 -08:00
Konstantinos Sideris
1e9fe32d35 Add missing stripped StateEvents 2016-12-20 21:03:19 +02:00
Jimmy Cuadra
33ff610f9d Update README for docs and more stable status. [ci skip] 2016-12-13 01:37:58 -08:00