Releases: vladopajic/go-actor
Releases · vladopajic/go-actor
v0.9.1
What's Changed
- go 1.23 version bump by @vladopajic in #82
- add AssertWorkerEndSigAfterIterations by @vladopajic in #84
- mailbox: convert panics to errors when sending to stopped / not started by @vladopajic in #86
New Contributors
Full Changelog: v0.9.0...v0.9.1
v0.9.0
Changes:
- go version bump to v1.22
- simplify mailbox capacity options (#72)
Braking changes:
- simplify mailbox capacity options (#72) - was a breaking change.
OptMinCapacity
andOptMailbox
where removed in favor of single option for setting capacityOptCapacity
.
Full Changelog: v0.8.4...v0.9.0
v0.8.4
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
Changes:
- Mailbox
receiveC
andsendC
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
Changes:
- add new option
OptStopAfterReceivingAll()
that will stop mailbox only after all messages have been received.
release to retract releases with v1.x.x
v1.0.6 retract update
v0.8.1
Changes:
- add new option
OptOnStopCombined(func ())
that can be used as option for combined actor
v0.8.0
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
- License changed to permissive license (MIT).
- Added
TestSuite
- basic tests for actors - Removed option
OptUsingChan
in favor of new optionOptAsChan
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
FanOut
changed to accept receive channel- interfaces
StartableWorker
andStoppableWorker
are now exported OnStart
andOnStop
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