Skip to content

Releases: dogmatiq/minibus

Version 0.3.0

13 Aug 23:55
v0.3.0
f3d8d35
Compare
Choose a tag to compare
Version 0.3.0 Pre-release
Pre-release

Changed

  • [BC] Run() now accepts a list of functions, instead of options.
  • There is no longer any buffering on inbox channels.
  • There is no longer a central "bus" channel. Instead, each function delivers the messages it publishes directly to the inbox channels of the functions that subscribe to them. This prevents deadlocks from unrelated functions saturating the buffers.

Removed

  • [BC] Removed Option, WithFunc() and WithInboxSize().

Version 0.2.1

31 Jul 22:36
v0.2.1
8730d13
Compare
Choose a tag to compare
Version 0.2.1 Pre-release
Pre-release

Added

  • Subscribe() now supports subscribing to interface types. The function will receive any messages that implement the interface.
  • Added runtime/trace task and log annotations.

Version 0.2.0

30 Jul 21:12
v0.2.0
6b073e7
Compare
Choose a tag to compare
Version 0.2.0 Pre-release
Pre-release

This release abandons the "component" terminology and simply refers to the functions executed by Run() as "functions".

Changed

  • [BC] Renamed Start() to Ready()
  • [BC] Renamed WithComponent() to WithFunc()
  • [BC] Renamed WithBuffer() to WithInboxSize()
  • [BC] Renamed RunOption to Option

Version 0.1.1

30 Jul 05:34
v0.1.1
7672324
Compare
Choose a tag to compare
Version 0.1.1 Pre-release
Pre-release

Fixed

  • Run() now exits immediately when there are no components, instead of blocking until the context is canceled.
  • Messages are no longer delivered back to the component that sent them.

Version 0.1.0

30 Jul 00:34
v0.1.0
ccfad7c
Compare
Choose a tag to compare
Version 0.1.0 Pre-release
Pre-release
  • Initial release