Skip to content

Releases: an-dr/pubsub-bus

v3.1.0

20 Feb 23:29
2f3f10c

Choose a tag to compare

  • 📫Subscriber
    • Replace get_subscribed_topics with is_subscribed_to for simplicity

v3.0.0

18 Feb 21:04
f75f3cb

Choose a tag to compare

  • 🚌 EventBus

    • Add topics, so subscribers can receive only events they subscribed.
    • Hide thread-safety related details
    • Huge refactoring and clean up
    • Add EventBus::add_subscriber_shared to add subscriber without move
  • 📤 Publisher

    • Expose Publisher::publish()
    • Add unique publisher ID to event header as source_id

v2.0.0

04 Feb 19:14
732fc43

Choose a tag to compare

  • 🚌 EventBus
    • Hide mutexes inside the struct
    • Add marking events with unique event IDs
    • Not both subs and pubs are connected using add_publisher/add_subscriber methods
  • 📤 Publisher:
    • Rename Publisher->EventEmitter
    • Add Publisher trait
    • EventEmitter (ex Publisher) now accept bare type without an Event wrapper (done internally)
    • Replace new(bus) method with new(), set_bus(bus) and with_bus(bus)

v1.1.1

02 Feb 20:54

Choose a tag to compare

Add bus argument to Publisher::new()

v1.1.0

29 Jan 23:05

Choose a tag to compare

Fix tests

v1.0.0

29 Jan 19:22

Choose a tag to compare

Update metadata and readme