Akka.NET v1.5.0-beta1 Release notes #6416
Merged
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.5.0-beta1 February 20th 2023
Version 1.5.0-beta1 contains breaking API changes and new API changes for Akka.NET.
Breaking Changes: Logging
In #6408 the entire
ILoggingAdapter
interface was rewritten in order to improve extensibility and performance (logging is now 30-40% faster in all cases and allocates ~50% fewer objects for large format strings).All of the changes made here are source compatible, but not binary compatible - meaning that users and package authors will need to do the following:
using Akka.Event
in all files that used theILoggingAdapter
andIn addition to improving the performance of the
ILoggingAdapter
system, we've also made it more extensible - for instance, you can now globally configure theILogMessageFormatter
via the following HOCON:That will allow users to use the
SerilogLogMessageFormatter
globally throughout their applications - no more annoying calls like this inside individual actors that want to use semantic logging:Breaking Changes: Akka.Persistence.Sql.Common
This is a breaking change that should effect almost no users, but we deleted some old, bad ideas from the API surface and it might require all Akka.Persistence.Sql* plugins to be recompiled.
For what it's worth, Akka.Persistence.Sql.Common's performance has been improved significantly and we'll continue working on that with some additional API changes this week.
Other Changes and Additions
IActorRef.WatchAsync
- adds a new extension method toIActorRef
which allows users to subscribe to actor lifecycle notifications outside of theActorSystem
.System.Object
warning for serializer configuration changesIf you want to see the full set of changes made in Akka.NET v1.5.0 so far, click here.