v2.10.0 #558
Tochemey
announced in
Announcements
v2.10.0
#558
Replies: 1 comment 4 replies
-
👀 I see you added Were you able to run any benchmarks around this? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's Changed
Send
signature to enforce that testing remains in the probe context by using the actor name instead of the PIDSendSync
to assert Ask-pattern messages has been added.BREAKING CHANGE
The main breaking in this release is how the supervisor strategy work now. The developer can easily create mappings between error types and supervisor strategy directives via the
NewSupervisorStrategy
method andSpawnOption
. This allows fine-grained error handling during message processing by actor. In that regard the same actor can have one more ways of dealing with error types. Supervisor strategies are defined during the creation of actors. Therefore a faulty actor can be handled differently depending upon the error type. For instance with this new enhancement one canrestart
an actor with the following error type&runtime.PanicNilError{}
and the same actor to be stopped on a different error type. More information on the readme.The following methods are removed:
WithSupervisorDirective
: removed from the actor system optionWithSupervisor
: removed from the SpawnOptionPull requests
Full Changelog: v2.9.1...v2.10.0
This discussion was created from the release v2.10.0.
Beta Was this translation helpful? Give feedback.
All reactions