507 Commits

Author SHA1 Message Date
Kévin Commaille
c1d10b1061 client-api: Split some test assertions 2022-06-07 15:30:49 +02:00
Jonas Platte
a8e7c47bbe
Remove RoomName type 2022-06-03 11:40:33 +02:00
Jonas Platte
8912182c56
Increase usage of implicit named arguments in format strings 2022-06-03 10:06:28 +02:00
Jonas Platte
73c2963ebd
Enforce consistent semicolons after ()-typed expressions in blocks 2022-06-03 08:40:16 +02:00
Jonas Platte
07af61d784
Bump MSRV to 1.60 2022-06-01 14:52:02 +02:00
Kévin Commaille
0c67c6b3db docs: Reword docs for StringEnum 2022-05-30 17:17:06 +02:00
Kévin Commaille
240c8bc4b8 macros: Derive as_str() for types that derive StringEnum 2022-05-30 17:17:06 +02:00
Kévin Commaille
7f164b3173 doc: Add doc link to as_str implementations 2022-05-30 17:17:06 +02:00
Kévin Commaille
4d89c7cc08 doc: Use markdown doc for types deriving StringEnum 2022-05-30 17:17:06 +02:00
Charlotte
ddc5279b6e
client-api: Implement asynchronous uploads (MSC2246)
https://github.com/matrix-org/matrix-spec-proposals/pull/2246
2022-05-28 20:49:05 +00:00
Jonas Platte
62c4d7ab72
Merge branch 'ruma-0.6' 2022-05-27 13:29:43 +02:00
Jonas Platte
e1ebff0047
Set rust-version for crates/* (excl. ruma-signatures) 2022-05-27 12:05:41 +02:00
Jonas Platte
5f902851af
Upgrade to Rust 2021 2022-05-27 12:04:23 +02:00
Jonas Platte
e50d59f7a4
Split up some test assertions 2022-05-25 09:08:48 +02:00
Jonas Platte
b34bfaf1f6
Replace matches crate with assert_matches 2022-05-24 18:07:29 +02:00
Kévin Commaille
07c6074b8a client-api: Add missing unstable msc2676 and msc2677 features 2022-05-24 15:28:43 +02:00
Jonas Platte
9cc1e20362
client-api: Remove more PartialEq impls 2022-05-23 18:53:21 +02:00
Jonas Platte
20fec821a2
Release ruma-client-api 0.14.1 2022-05-12 12:21:04 +02:00
Jonas Platte
24c0a08b2c client-api: Add UserIdentifier::email 2022-05-12 11:47:17 +02:00
Jonas Platte
0661078c17 client-api: Add From impls for UserIdentifier 2022-05-12 11:47:17 +02:00
Jonas Platte
e1c35b3d7f
Release ruma-common 0.9.2 2022-05-09 12:51:17 +02:00
Jonas Platte
a36da216ec
Release ruma-common 0.9.1 2022-05-06 17:19:57 +02:00
Jonas Platte
e5388254bb
Release ruma-client-api 0.14.0 2022-04-28 16:40:25 +02:00
Jonas Platte
4e8d88617d
Release ruma-common 0.9.0 2022-04-28 16:38:08 +02:00
Jonas Platte
4014e6959f
Replace Box<MxcUri> with OwnedMxcUri 2022-04-25 15:16:55 +02:00
Jonas Platte
aa2c152aa2 client-api: Update type of get_member_events::Response::chunk 2022-04-21 21:36:31 +02:00
Jonas Platte
a5f1c9145c
client-api: Fix missing stable endpoint paths 2022-04-21 18:37:19 +02:00
Jonas Platte
efe48af207 Replace remaining uses of boxed IDs with dedicated owned ones 2022-04-20 10:39:36 +02:00
Jonas Platte
efc869ce9d client-api: Use new owned ID types 2022-04-20 10:39:36 +02:00
Jonas Platte
d855ec33d6 identifiers: Update ToOwned implementations to use new types
… and a lot of changes that cascaded from that.
2022-04-20 10:39:36 +02:00
Jonas Platte
ab94bed1dc api: Change Incoming derive to use owned ID types
… except for a few ID types that don't have an owned variant yet.
2022-04-20 10:39:36 +02:00
Kévin Commaille
688d5bf47a
docs: Improve string enums documentation
Mention the conversion from string.
2022-04-10 14:48:09 +02:00
Jonas Platte
7de3b4b649
events: Rework the event enum hierarchy 2022-04-05 14:29:17 +02:00
Jonas Platte
d87874314b
events: Add 'Original' prefix to unredacted types with a redacted form 2022-04-05 14:29:17 +02:00
Kévin Commaille
2cdb27cab0 client-api: Update CHANGELOG 2022-04-05 14:25:50 +02:00
Jonas Platte
5ec3ad2290
events: Reintroduce *EventContent as trait aliases 2022-03-31 18:42:27 +02:00
Jonas Platte
9f56e6e497
events: Rename HierarchySpaceChildStateEvent => HierarchySpaceChildEvent 2022-03-31 18:42:27 +02:00
Kévin Commaille
36aa0cb3cf client-api: Implement MSC2654: Unread counts 2022-03-30 22:20:54 +02:00
Jonas Platte
0a53fdb391
client-api: Create SpaceRoomJoinRule and use it 2022-03-28 14:35:19 +02:00
Jonas Platte
9de00ae348
client-api: Link to spaces spec section 2022-03-28 14:31:47 +02:00
Jonas Platte
571fa90b8d
identifiers: Rename Error to IdParseError
… because it's now exported from the ruma-common crate root.
2022-03-28 12:22:28 +02:00
Jonas Platte
3d17529d2e
client-api: Make from param optional in get_message_events
… and provide some additional convenience constructors.
2022-03-25 11:01:16 +01:00
Jonas Platte
c32e074383
client-api: Clean up get_message_events docs 2022-03-25 10:14:29 +01:00
Jonas Platte
7fbb28f223
macros: Finish support for variable event types 2022-03-23 21:17:18 +01:00
Jonas Platte
a6a530dcc8 serde: Rename derive macro Outgoing to Incoming
All it does now is generate `Incoming{Self}` types.
2022-03-22 13:19:03 +01:00
Jonas Platte
5cf42f3a86 serde: Remove the Outgoing trait 2022-03-22 13:19:03 +01:00
Jonas Platte
4e7eeb8aa4 macros: Slightly simplify generated API trait impls 2022-03-22 13:19:03 +01:00
Kévin Commaille
5c2c13145d client-api: Deserialize stable names for unstable features 2022-03-21 14:46:13 +01:00
Kévin Commaille
44f8192e3c client-api: Add new fields to RoomEventFilter
related_by_rel_types and related_by_senders according to MSC3440
2022-03-16 12:58:24 +01:00
Jonas Platte
26ffa5e5c8
client-api: Use fine-grained event type enums 2022-03-16 12:20:17 +01:00