1.4.15 January 19 2021
Maintenance Release for Akka.NET 1.4
Akka.NET v1.4.15 introduces a new module, Akka.DependencyInjection, which will replace Akka.DI.Core and all of the libraries which depend on it. This seemed like the easiest way to preserve backwards compatibility - simple deprecate the old package and replace it with a new one.
So what does Akka.DependencyInjection do differently than Akka.DI.Core?
- Allows users to pass in an
IServiceProvider
into theActorSystem
before the latter is created, via a new kind of programmatic configurationSetup
that was introduced in Akka.NET v1.4. This ensures that theIServiceProvider
is immutable within anActorSystem
, a problem that we have currently with Akka.DI.Core. - Makes it easy to access the
IServiceProvider
via theAkka.DependencyInjection.ServiceProvider.For(ActorSystem)
method, which is what we can use to get access to the service provider in order to consume required services inside our actors. - Makes it possible to dependency inject some parameters will dynamically specifying some others, something that users have been asking for since 2015.
To see a full example of how to use Akka.DependencyInjection in concert with Microsoft.Extensions.DependencyInjection, please see https://getakka.net/articles/actors/dependency-injection.html
Other changes:
- Akka: Add
WithConfigFallback
quality of life helper method toBootstrapSetup
- Akka.MultiNodeTestRunner: Provide .NET 5.0 support for MultiNode TestKit
To see the full set of fixes in Akka.NET v1.4.15, please see the milestone on Github.
COMMITS | LOC+ | LOC- | AUTHOR |
---|---|---|---|
8 | 5351 | 4004 | Aaron Stannard |
3 | 5 | 5 | dependabot-preview[bot] |
2 | 369 | 170 | Ebere Abanonu |
1 | 7 | 0 | Gregorius Soedharmo |
Changes:
- 7c9b58f Merge pull request #4732 from akkadotnet/dev
- e513a8e set the metadata for the Akka.DependencyInjection package to point at https://getakka.net/articles/actors/dependency-injection.html (#4731)
- cb54b55 Updated Akka.DependencyInjection documentation (#4730)
- f219828 added Akka.NET v1.4.15 release notes (#4729)
- b76b98a added 2021 copyright headers (#4728)
- 466d7fc close #4454 - added full ASP.NET Core + DI sample (#4727)
- b11c095 Bump Microsoft.Data.SQLite from 5.0.1 to 5.0.2 (#4719)
- 3d8f843 harden Bugfix4360Spec.Should_recover_persistentactor_sqlite (#4726)
- ba6619a updated Akka.Cluster samples (#4725)
- 7f045af [Akka.DependencyInjection] Microsoft.Extensions.DependencyInjection support (#4708)
See More
- 232aac6 Add WithConfigFallback quality of life helper method to BootstrapSetup (#4714)
- 5c49980 upgraded test target for .NET framework to .NET 4.7.2 (#4715)
- 8da890e remove .NET install scripts from build.sh (#4716)
- 9465934 Bump System.Collections.Immutable from 1.7.1 to 5.0.0 (#4615)
- 880ffa9 Bump Microsoft.Extensions.DependencyModel from 3.1.6 to 5.0.0 (#4613)
- abe36b9 FSharp Quotations Evaluator to 2.1.0 (#4696)
- 365989b Add Support for NET 5 to Build (#4683)
- b7e80a6 Update RELEASE_NOTES.md (#4706)
This list of changes was auto generated.