fix(ds msg serializer): handle missing properties when deserializing
@@ -371,6 +371,7 @@ asn1_deserialize_misc(MiscData, Message0) ->
fun(Props) ->
maps:put(binary_to_term(Key), binary_to_term(Val), Props)
end,
+ #{binary_to_term(Key) => binary_to_term(Val)},
Headers0
),
Acc#message{headers = Headers};
@@ -381,6 +382,7 @@ asn1_deserialize_misc(MiscData, Message0) ->
maps:put(Key, Val, Props)
+ #{Key => Val},
@@ -2,7 +2,7 @@
{application, emqx_durable_storage, [
{description, "Message persistence and subscription replays for EMQX"},
% strict semver, bump manually!
- {vsn, "0.4.2"},
+ {vsn, "0.4.3"},
{modules, []},
{registered, []},
{applications, [kernel, stdlib, rocksdb, gproc, mria, emqx_utils, gen_rpc]},