-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.4.15 Release #4732
Merged
Merged
v1.4.15 Release #4732
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add .NET 5 support to build system Co-authored-by: Aaron Stannard <aaron@petabridge.com>
* FSharp Quotations Evaluator to 2.1.0 * ConstantExpression * tweak constant expression * use built-in expression traversal * add support for evaluating non-constant constructor parameters in quoted expressions Co-authored-by: Chet Husk <chusk3@gmail.com> Co-authored-by: Aaron Stannard <aaron@petabridge.com>
* remove .NET install scripts from build.sh * force full build
* upgraded test framework to .NET 4.7.2 * fixed .NET 4.6.1 references in other areas of build system
#4714) * Add WithConfigFallback quality of life helper method to BootstrapSetup
…upport (#4708) * added new Akka.DependencyInjection project * added first very simple proof of concept for DI management * added some initial specs * added specs to validate actor restarts / recreates * added ability to mix scopes inside actor * switched DI implementation to use ActivatorUtilities * Revert "switched DI implementation to use ActivatorUtilities" This reverts commit 02a155f. * fixed up Props to use ActivatorUtilities * added test to demonstate mix of DI / non-DI'd actor constructor arguments * added API approval
resolves minor race condition in unit test where Terminated message can be delivered before UserGuardian has updated its ChildContainer collection.
* completed Akka.DependencyInjection documentation * finalized DI documentation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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?
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.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.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:
WithConfigFallback
quality of life helper method toBootstrapSetup
To see the full set of fixes in Akka.NET v1.4.15, please see the milestone on Github.