Orleankka v2.5.0 Release Notes
Release Date: 2019-12-12 // over 4 years ago-
๐ฅ Breaking changes:
- All actor interfaces are now required to inherit
IGrainWithStringKey
together withIActorGrain
(#148) - ๐
StorageProviderFacet
and[UseStorageProvider]
attribute were removed in favor of nativePersistentStateFactory
(get it from container) andPersistentState
attribute respectively (doc) - Less strict signature for actor ref middleware (object instead of
TResult
) - Naming symmetry between
ActorRefMiddleware
andActorMiddleware
(ieReceive
instead ofSend
-Receive
pair) - Unified design of
Next
handling betweenActorRefMiddleware
andActorMiddleware
. Now subclasses need to callbase.Receive
to call next handler in a chain - ๐ Per-type middlewares were removed as a feature to avoid confusion. Use global pipeline and type filtering inside the middleware
- ๐ง Direct client middleware configuration was removed. Now single actor ref middleware is used for all clients
๐ New api:
- All actor interfaces are now required to inherit