1.7 KiB
1.7 KiB
Changelog
simple-actors 0.4.1 (2024-07-29)
🛠 Fixes
- Remove the unused
ToEnvelope
trait from theenvelope
module.
simple-actors 0.4.0 (2024-05-13)
🚨 Breaking Changes
- The
Actor::started
method has been replaced by anActor::create
method, and the newcreate
method is used to create the actor from a new associatedActor::Args
type. This allows actors to be created in their task, rather than externally. This also allows an actor to be constructed with it'sWeakHandle
andContext
, rather than using intermediate values.
simple-actors 0.3.0 (2024-04-16)
🚨 Breaking Changes
- Added a Rust version constraint of 1.75.
- Removed the use of async_trait crate.
simple-actors 0.2.0 (2024-04-08)
🚨 Breaking Changes
- Spawning actors is now done using a
Context
, and is no longer optional. This was mostly to combat issues where actors spawned other actors, which resulted inJoinHandle
s that were not easily tracked. Making theContext
mandatory to spawn actors helps mitigate the issue. - The
get_actor_type_name
on aRecipient
orWeakRecipient
is no longer available, and theDebug
trait implementations for those types no longer include the actor type name.
🛠 Fixes
- Changed the
tokio
dependency from1.33
to1.0
- Updated the
env_logger
dev dependency from0.10
to0.11
⚡️ Features
- The
WeakRecipient
type was brought further into parity with theWeakHandle
type, including theDefault
andClone
trait implementations and aWeakRecipient::clear()
method.