0.3.0 - 2022-07-01
- BREAKING: Update thespis to 0.2.0.
- BREAKING: Change the
ActorBuilder::channel
signature so you don't have to manually convert the error type on theSink
.
- BREAKING: Names have become mandatory on
Mailbox
andActorBuilder
. - BREAKING: Improved ergonomics of using custom channels.
- switch to edition 2021
- more examples and tests
0.2.1 - 2022-05-26
- Fix an issue with tracing. We were adding the actor name as a "name" field on the span, but this is already used by tracing, which causes issues on json output.
0.2.0 - 2022-05-22
- BREAKING: Update async_executors and async_nursery.
- Change ActorBuilder::name to take an impl
AsRef<str>
. This should be more flexible than before so it shouldn't be breaking.
0.1.0 - 2021-06-20
- Depend on thespis 0.1.
- Improve error messages and logging.
- switch to
oneshot
crate for better performance.
ActorInfo
: a type that represents information about an actor like name, id and spans for tracing.src
property onThesErr
and implementError::source
, so we return error causes.
- BREAKING: The spawning function from
Mailbox
. Now you just havestart_
functions which return a future. TheActorBuilder
still has the spawn functions for convenience. They used to be calledstart
, but are now renamed tospawn
.
0.1.0-alpha.3 - 2021-05-28
- Add
WeakAddr
, which will not keep the mailbox alive if allAddr
are dropped. - When the mailbox closes normally, it now returns the actor from the
JoinHandle
.
- tracing log output is now correct and has spans identifying the actor for all messages from Addr and Mailbox. Spans also mention the type of the actor.
- BREAKING: to simplify the API, the name for an actor is now taken as
Option<&str>
rather thanOption<Arc<str>>
. - Move CI to github.
- Add tests on Wasm.
- BREAKING: Removed tokio channels. This means we don't have to depend on async_chanx. Users can still use tokio channels if they have a Sink implementation for the sender.
- BREAKING:
Receiver
was removed as you can actually downcastBox< dyn Any >
toBox< dyn Address<_>
, so there shouldn't be a need forReceiver
.
- update dependencies.
- fix docs.rs
- initial release, not for production.