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 with IActorGrain (#148)
    • ๐Ÿ“š StorageProviderFacet and [UseStorageProvider] attribute were removed in favor of native PersistentStateFactory (get it from container) and PersistentState attribute respectively (doc)
    • Less strict signature for actor ref middleware (object instead of TResult)
    • Naming symmetry between ActorRefMiddleware and ActorMiddleware (ie Receive instead of Send-Receive pair)
    • Unified design of Next handling between ActorRefMiddleware and ActorMiddleware. Now subclasses need to call base.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:

    • ๐Ÿ”ฆ Exposed function to get actor grain interface from actor class
    • โž• Additional method overload for extracting messages from InvokeMethodRequest to simplify matching in F#