Skip to content

Releases: vladopajic/go-actor

v0.9.0

09 Feb 12:58
b18ff4a
Compare
Choose a tag to compare

Changes:

  • go version bump to v1.22
  • simplify mailbox capacity options (#72)

Braking changes:

  • simplify mailbox capacity options (#72) - was a breaking change.
    OptMinCapacity and OptMailbox where removed in favor of single option for setting capacity OptCapacity.

Full Changelog: v0.8.4...v0.9.0

v0.8.4

20 Jan 10:14
8c04049
Compare
Choose a tag to compare

Changes:

  • Add new option OptOnStartCombined(func (Context)) that can be used as option for combined actor

Full Changelog: v0.8.3...v0.8.4

v0.8.3

15 Nov 10:29
58821e9
Compare
Choose a tag to compare

Changes:

  • Mailbox receiveC and sendC are created with small buffer to allow better asynchronicity
  • Mailbox worker writes directly to receiveC if there is space in buffer
  • Panic will be raised when Mailbox.Send(...) is called for non-running mailbox

v0.8.2

11 Nov 14:11
329821f
Compare
Choose a tag to compare

Changes:

  • add new option OptStopAfterReceivingAll() that will stop mailbox only after all messages have been received.

release to retract releases with v1.x.x

03 Nov 12:42
Compare
Choose a tag to compare
Pre-release
v1.0.6

retract update

v0.8.1

29 Oct 18:08
7a4cb1c
Compare
Choose a tag to compare

Changes:

  • add new option OptOnStopCombined(func ()) that can be used as option for combined actor

v0.8.0

24 Oct 18:14
200a727
Compare
Choose a tag to compare

Changes:

  • Combine function now returns builder that builds combined actor
  • New options is added OptStopTogether that stops all combined actors when any actor stops

v0.7.1

06 Oct 08:37
Compare
Choose a tag to compare
  • License changed to permissive license (MIT).
  • Added TestSuite - basic tests for actors
  • Removed option OptUsingChan in favor of new option OptAsChan
  • MailboxSender interface changed to improve comparability for remote communication.
    Interface changed from:
 type MailboxSender[T any] interface {
     SendC() chan<- T
 }

to:

 type MailboxSender[T any] interface {
     Send(ctx Context, msg T) error
 }

v0.7.0

30 Mar 06:25
a4a539c
Compare
Choose a tag to compare
  • FanOut changed to accept receive channel
  • interfaces StartableWorker and StoppableWorker are now exported
  • OnStart and OnStop callbacks order execution changed: first these are executed from worker (if any), then from options (if any)
  • test improvements (more test, more coverage)
  • repo CI now executes go-test-coverage action

v0.6.0

17 Mar 08:34
99f8d1e
Compare
Choose a tag to compare
  • Composed Mailbox interface using MailboxSender and MailboxReceiver interfaces
  • FanOut utility refactored to use new MailboxSender and MailboxReceiver interfaces
  • Added NewMailboxes constructor for creating multiple mailboxes