Releases: onyxframework/eda
Releases · onyxframework/eda
v0.4.0
v0.3.0
Overhaul! 💥
⚠️ breakingChannel
is an abstract class now, useChannel::Memory
andChannel::Redis
.⚠️ breaking No need to pass a subscribing object toChannel#subscribe
anymore. It returnsChannel::Subscription
instance which has#unsubscribe
method.⚠️ breakingChannel#subscribe
acceptsfilter
orconsumer_id
arguments. The former enables event filtering and the latter enables consuming instead of subscribing. Closes #3 and also closes #4.⚠️ breakingChannel#emit
returns the events themselves.- Added
Channel#await
method, which closes #5. - Events have an
#event_id
getter with random UUID by default, which closes #6. - Added
Subscriber
andConsumer
modules. - Fixed requiring logic of events when using
Channel::Redis
, the requiring order should not matter anymore. - Also added triggering dependant Travis CI builds.