v3.4.0 #713
Tochemey
announced in
Announcements
v3.4.0
#713
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 v3.4.0 Release
This release includes breaking changes, new features, and critical improvements around actor lifecycle, dependency injection, and distributed behavior.
Lifecycle Methods Updated
PreStart
andPostStop
now receive a customContext
object (notcontext.Context
), giving access to theActorSystem
at runtime.Actor
interface.Global Stashing Removed
WithStash
has been removed fromActorSystem
configuration options.SpawnOption
, not globally.✨ New Features
Per-Actor Stashing
WithStashing
toSpawnOption
to enable stashing per actor.Dependency Injection Support
WithDependencies
toSpawnOption
to declare dependencies needed by an actor.Dependency
interface from theextension
package.Access to Actor Dependencies
Dependencies()
andDependency(name string)
added toPID
for accessing actor-specific dependencies.Central Dependency Registration
Inject
method onActorSystem
to register shared dependencies' types.Testkit
Watch
method toProbe
to any other actor for terminationWatchNamed
method toProbe
to watch an actor created by theProbe
for terminationExpectTerminated
method toProbe
to assert Termination messageActorSystem
method toTestkit
to return the testkit actor systemSpawnChild
method toTestKit
to create a child actor🛠️ Improvements
Cluster Behavior Fixes
Pull Requests
Full Changelog: v3.3.1...v3.4.0
This discussion was created from the release v3.4.0.
Beta Was this translation helpful? Give feedback.
All reactions