Releases: slawlor/ractor
v0.10.4
Ractor v0.10.4 is released!
This release primarily includes a fix for post_stop
where we were not waiting the proper time in the actor lifecycle before notifying listeners that the actor had exited. It should only be notified after post_stop is completed.
Issue: #254
Edit: re-publishing this tag with a small cargo tweak with valid category slugs
v0.10.3
v0.10.2
v0.10.1
Ractor v0.10.1 is released
- Updates defunct docs that were missed with the 0.10.0 release
Changelog
Full changelog: v0.10.0...v0.10.1
v0.10.0
Ractor Version 0.10.0 is now released!
This is a significant API break with a few points in ractor
.
Code cleanup
First is the resolution of #164 which required renaming a few enumeration variants in (SpawnErr
, ActorErr
, and SupervisionEvent
). These are to better match current functionality (instead of Panic
variants they're now Failed
variants) as actors can't only fail on panic (which was the original design).
Factories
Secondly is a major rewrite of Factory
s to support trait-based insertion of routing and queuing logic. This
- minimizes dependence on non-used generics (i.e. requiring a priority implementation even though no priority used)
- Adds functionality (dynamic worker pool, dynamic queueing depth, more discard functionality for shedding newest or oldest jobs, factory lifecycle hooks, etc)
- Increases performance by minimizing clones for some types (since
Box
'd types aren't needed forSync
safe structures, so they've been moved toArc
.
See the full details and changes in #237
Changelog
Full changelog: v0.9.8...v0.10.0
v0.9.8
Ractor 0.9.8 is released!
This is a minor update with
- A lot of docs and doctest additions for more example code #216
- A better OutputPortSubscriber implementation #223
- [bug] Fix calling post_stop on killed actors #230
- A serde blanket implementation for serialization in clusters. #229
Full changelog: v0.9.7...v0.9.8
Special thanks to new contributors! @George-Miao @simonsan @romac @dcadenas @stalkopat
v0.9.7 Release
Ractor 0.9.7 is released! This is mostly just a docs and examples update to provide other basic usage examples.
Full changelog: v0.9.6...v0.9.7
v0.9.6
Ractor version 0.9.6 released.
In this release we've updated rustls
dependencies in ractor_cluster
as well as adds support for the new natively stabilized async fn
support in traits, removing the need for async-trait
and boxing of the futures. However this should be considered experimental for the time being until proper benchmarking and understanding of the implications of not boxing the futures is understood across a range of usecases.
v0.9.5
What's New in ractor
v0.9.5
- Stabilization of the
async-std
based runtime, as well as minimization of thetokio
dependencies if choosingasync-std
as the executor (#179, #200) - Introduction of process group scopes (big thanks to @leonqadirie)
- Documentation updates
Full changelog: v0.9.3...v0.9.5
v0.9.3
Adding support for async-std
!
Ractor v0.9.3 is released and with this release we're adding support for async-std
as a runtime apart from Tokio. Something to keep in mind however is that tokio
is still a dependency because we use some primitives from the sync
module are usable outside of just a tokio
runtime. Eventually this could be refactored away, but the channel primitives are clean, efficient, and development friendly that it's not worth the effort to migrate to a less efficient crate. The only things that continue to be used from tokio in an async-std
runtime are the communication channels.
Full changelog: v0.9.2...v0.9.3