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 |
|
Jonas Platte
|
bb9f95224c
|
events: Remove RedactedStrippedStateEvent
Stripped state events are never redacted.
|
2021-09-15 20:36:20 +02:00 |
|
Jonas Platte
|
46c7e3f811
|
Clean up and rewrap documentation comments
|
2021-08-27 21:32:02 +02:00 |
|
Jonas Platte
|
f3e52e4bc3
|
events: Don't serialize event_type inside content for unsupported events
|
2021-08-22 14:12:36 +02:00 |
|
Jonas Platte
|
18127be03c
|
events-macros: Revert recent addition of unneeded allow(clippy::lints)
|
2021-08-22 14:10:15 +02:00 |
|
Jonas Platte
|
77cf085ab9
|
events: Don't store extra fields for unknown events in content enums
|
2021-08-22 13:54:20 +02:00 |
|
Jonas Platte
|
1c361c2895
|
events-macros: Reduce amount of newlines
|
2021-08-22 13:29:03 +02:00 |
|
Jonas Platte
|
b85e452aec
|
Release ruma-events 0.24.5
|
2021-08-21 15:58:54 +02:00 |
|
Adam
|
d746244241
|
events: Generate From impls for event (content) enums
|
2021-08-17 15:44:33 +00:00 |
|
Jonas Platte
|
b84cc8d905
|
events-macros: Refactor expand_event
|
2021-08-17 12:39:16 +02:00 |
|
Jonas Platte
|
90683f0faa
|
Release ruma-events 0.24.4
|
2021-08-16 23:12:35 +02:00 |
|
Jonas Platte
|
098339056b
|
events: Add a compat workaround for prev_content in unsigned
|
2021-08-16 22:55:27 +02:00 |
|
Jonas Platte
|
7e6fcab676
|
Release ruma-events 0.24.3
|
2021-08-13 17:16:08 +02:00 |
|
Jonas Platte
|
c24890f82b
|
events: Refactor Event derive
|
2021-08-13 00:16:31 +02:00 |
|
Jonas Platte
|
3b0afb520a
|
events: Optimize deserialization helpers
|
2021-08-12 20:46:15 +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
|
9445e8756a
|
events: Derive / implement StaticEventContent for all relevant types
|
2021-08-11 20:31:03 +02:00 |
|
Jonas Platte
|
a30279b83f
|
events: Refactor EventContent derive code
|
2021-08-11 19:26:54 +02:00 |
|
Jonas Platte
|
11fea54173
|
events: Disallow more than one event kind attribute
… and also raise an error if there's multiple type attributes (extra
ones used to be ignored).
|
2021-08-11 19:19:16 +02:00 |
|
Jonas Platte
|
1c5067a916
|
Release ruma-events 0.24.0
|
2021-08-11 17:38:10 +02:00 |
|
Devin Ragotzy
|
db755f994e
|
events: Make all pub enums non_exhaustive
|
2021-08-10 15:22:26 +02:00 |
|
Jonas Platte
|
2bd2d18db9
|
Release ruma-events 0.23.3
|
2021-07-26 15:06:13 +02:00 |
|
Jonas Platte
|
64fc1c794c
|
Revert "Stop special-casing zero fields in macro code" for ruma-events
This partially reverts commit 9b2602649f9e0fcb875404fc86d9c6fdbedd287d.
|
2021-07-26 15:01:47 +02:00 |
|
Devin Ragotzy
|
3101be1f99
|
Add macro-braces, disallowed-type and import-rename clippy lints
|
2021-07-22 14:34:30 +02:00 |
|
Jonas Platte
|
9b2602649f
|
Stop special-casing zero fields in macro code
|
2021-07-09 15:10:22 +02:00 |
|
Jonas Platte
|
752c4808fd
|
Release ruma-events 0.23.2
|
2021-06-29 10:37:09 +02:00 |
|
Jonas Platte
|
b5f963229c
|
Release ruma-events 0.23.1
|
2021-06-24 13:43:04 +02:00 |
|
Jonas Platte
|
7708deda4e
|
Allow our proc-macros to be used when re-exported from matrix-sdk
|
2021-06-23 16:17:53 +02:00 |
|
Jonas Platte
|
55a7dd4828
|
Release ruma-events 0.23.0
|
2021-06-21 16:53:46 +02:00 |
|
Jonas Platte
|
05e28f7422
|
events: Add types for decrypted event payloads
|
2021-06-20 09:39:48 +02:00 |
|
Devin Ragotzy
|
e05aad184e
|
events: Make all pub structs non_exhaustive
|
2021-06-18 20:53:06 +02:00 |
|
Jonas Platte
|
349a57ffc7
|
events: Rename & hide event enum Custom variant
|
2021-06-17 19:43:23 +02:00 |
|
Jonas Platte
|
de737f30e7
|
events: Refactor macro code
Use Option::zip which was not possible with the previous MSRV.
|
2021-06-17 19:43:22 +02:00 |
|
Jonas Platte
|
e622803679
|
Use bool::then to simplify some code
|
2021-06-17 19:43:22 +02:00 |
|
Jonas Platte
|
105bb9cf67
|
Use format_ident! in import helper functions
|
2021-06-06 15:59:22 +02:00 |
|
Devin Ragotzy
|
1f84de4c7f
|
ci: Add the --order flag to cargo sort
|
2021-06-04 20:20:36 +00:00 |
|
Jonas Platte
|
0ea3fee8a0
|
events: Remove elaborate no-op
|
2021-05-20 20:57:52 +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
|
68250ae726
|
Release ruma-events 0.22.0
|
2021-05-17 00:51:09 +02:00 |
|
Jonas Platte
|
6667a841b9
|
events: Add missing syn cargo feature
`cargo check --workspace` worked without it because it was activated from elsewhere
|
2021-05-17 00:50:45 +02:00 |
|
Jonas Platte
|
ed9138796a
|
events: Refactor marker trait code generation
|
2021-05-15 15:18:22 +02:00 |
|
Jonas Platte
|
ab850d8237
|
events: Remove marker trait
It was not used anywhere.
|
2021-05-15 15:06:31 +02:00 |
|
Jonas Platte
|
37899db3c5
|
events: Borrow raw JSON in EventContent::from_parts
|
2021-05-15 15:02:27 +02:00 |
|
Jonas Platte
|
60d4ea027f
|
Use serde_json::Result alias
|
2021-05-15 15:02:02 +02:00 |
|
Devin Ragotzy
|
34134267c6
|
events: Generate redact method for content enums
… and remove redacted content structs non-room events
|
2021-05-15 12:51:20 +00:00 |
|
Jonas Platte
|
702b619417
|
events: Introduce Redact trait
|
2021-05-15 13:26:05 +02:00 |
|
Jonas Platte
|
c07c3fa6d5
|
events: Introduce RedactContent trait
|
2021-05-15 13:23:20 +02:00 |
|