v2.6.0
What's Changed
- Convert
ReceiveContext
interface into pure go struct. Small breaking change in https://github.com/Tochemey/goakt/blob/main/actors/actor.go#L45 instead of an interface now accept a pointer ofReceiveContext
- Convert
PID
interface to a pure go struct - Rewrote the mailbox with concrete type instead of generics
- Rewrote the behavior stack implementation
- Refactor the Ask implementations
- Simplify the receive loop
- Reimplement how processing panic is recovered
- Fix latest message received metric recording poor implementation
- Reimplement how error are thrown during message processing. Use
ctx.Error
instead of panicking which is the recommended way. - Remove unused code
- Remove deprecated NATs methods
Pull requests
- refactor: cleaning up code from unecessary code by @Tochemey in #423
- refactor: simplify receive loop by @Tochemey in #424
- refactor: migrate to buff v2 by @Tochemey in #426
- perf: refactor processing error handling by @Tochemey in #431
- refactor: add some local bench test by @Tochemey in #432
- refactor: cleanup by @Tochemey in #435
- refactor: refactor PID to a concrete struct instead of interface by @Tochemey in #436
- chore(deps): upgrade OpenTelemetry to 1.29.0 by @Tochemey in #438
- fix: fix wrong metric recording and cleanup code base by @Tochemey in #440
- refactor: remove NATs deprecated features by @Tochemey in #441
Full Changelog: v2.5.1...v2.6.0