Skip to content

Releases: onyxframework/eda

v0.4.0

13 Aug 11:20
v0.4.0
Compare
Choose a tag to compare

Dependency Updates 📦

  • a8a7bc4 ⚠️ breaking crystal → 0.30.1

v0.3.0

16 Apr 14:18
v0.3.0
Compare
Choose a tag to compare

Overhaul! 💥

  • ⚠️ breaking Channel is an abstract class now, use Channel::Memory and Channel::Redis.
  • ⚠️ breaking No need to pass a subscribing object to Channel#subscribe anymore. It returns Channel::Subscription instance which has #unsubscribe method.
  • ⚠️ breaking Channel#subscribe accepts filter or consumer_id arguments. The former enables event filtering and the latter enables consuming instead of subscribing. Closes #3 and also closes #4.
  • ⚠️ breaking Channel#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 and Consumer modules.
  • Fixed requiring logic of events when using Channel::Redis, the requiring order should not matter anymore.
  • Also added triggering dependant Travis CI builds.