Skip to content

storyteller v0.5.0

Compare
Choose a tag to compare
@foresterre foresterre released this 16 Jun 17:43
· 88 commits to main since this release

What's Changed

  • Put the channel reporter in its own feature by @foresterre in #6
  • ⚠ Breaking: Remove Disconnect Channel in ChannelReporter by @foresterre implementation #7
    • Removed all disconnect related types, such as: Disconnect, DisconnectSender, DisconnectReceiver, disconnect_channel()
    • Split process of disconnecting channel and waiting for unfinished events to be processed. The former can be done via Reporter::disconnect(), the latter via the new FinishProcessing::finish_processing(). As a result, if FinishProcessing::finish_processing() is not called after Reporter::disconnect(), events may go unprocessed.
      • Caution: if FinishProcessing::finish_processing() is called before ChannelReporter::disconnect() (in case the included ChannelReporter/ChannelListener implementation is used), the program will hang since the event handling thread will never finish.
    • A FinishProcessing implementation is now returned by EventListener::run_handler

Full Changelog: v0.4.2...v0.5.0