eventstore v0.16.0 Release Notes
Release Date: 2019-01-23 // about 5 years ago-
โจ Enhancements
- โ Add
:socket
and:socket_dir
config options (#132). - ๐ Rename
uuid
dependency toelixir_uuid
(#135). - Subscription concurrency (#134).
- Send
:subscribed
message to all subscribers connected to a subscription (#136). - โก๏ธ Update to
postgrex
v0.14 (#143).
๐ฅ Breaking changes
- ๐ Replace
:poison
with:jason
for JSON event data & metadata serialization (#144).
To support this change you will need to derive the
Jason.Encoder
protocol for all of your events.This can be done by adding
@derive Jason.Encoder
before defining the struct in every event module.defmodule Event1 do @derive Jason.Encoder defstruct [:id, :data] end
Or using
Protocol.derive/2
for each event, as shown below.require Protocol for event <- [Event1, Event2, Event3] do Protocol.derive(Jason.Encoder, event) end
- โ Add