Update change log

This commit is contained in:
Jonas Platte 2020-04-28 00:08:13 +02:00
parent 55340d18c8
commit ed9888181c
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -2,6 +2,14 @@
Breaking changes: Breaking changes:
* Replace `EventResult` with a new construct, `EventJson`
* Instead of only capturing the json value if deserialization failed, we now
now always capture it. To improve deserialization performance at the same
time, we no longer use `serde_json::Value` internally and instead
deserialize events as `Box<serde_json::value::RawValue>`. `EventJson` is
simply a wrapper around that owned value type that additionally holds a
generic argument: the type as which clients will usually want to deserialize
the raw value.
* Add `struct UnsignedData` and update all `unsigned` fields types from * Add `struct UnsignedData` and update all `unsigned` fields types from
`BTreeMap<String, Value>` to this new type. `BTreeMap<String, Value>` to this new type.
* To access any additional fields of the `unsigned` property of an event, * To access any additional fields of the `unsigned` property of an event,