Releases: akkadotnet/Akka.Hosting
Akka.Hosting 1.5.31
1.5.31 November 11th 2024
1.5.30.1
1.5.30
1.5.29
Akka.Hosting 1.5.28
Akka.Hosting 1.5.27
• Update Akka.NET to 1.5.27.1
• Fix only the last ShardOptions were applied
• Add ClusterClientDiscovery support
Note
We added support for cluster client initial contact discovery feature in this feature.
To use this feature you will need to use Akka.Management v1.5.27 or higher.
Akka.Hosting 1.5.25
• Update Akka.NET to 1.5.25%2C which resolves a critical bug: Akka.Logging: v1.5.21 appears to have truncated log source%2C timestamps%2C etc from all log messages
Akka.Hosting v1.5.24
• Update Akka.NET to 1.5.24
• Add ShardedDaemonProcess integration
You can now start ShardedDaemonProcess host and proxy using Akka.Hosting through 2 new Akka.Cluster.Hosting extension methods
public static AkkaConfigurationBuilder WithShardedDaemonProcess<TKey>(
this AkkaConfigurationBuilder builder,
string name,
int numberOfInstances,
Func<ActorSystem, IActorRegistry, IDependencyResolver, Func<int, Props>> entityPropsFactory,
ClusterDaemonOptions? options = null)
public static AkkaConfigurationBuilder WithShardedDaemonProcessProxy<TKey>(
this AkkaConfigurationBuilder builder,
string name,
int numberOfInstances,
string role)
Akka.Hosting v1.5.22
• Update Akka.NET to 1.5.22
• Add log filtering extension method
Filtering Logs In Akka.NET
In Akka.NET 1.5.21%2C we introduced log filtering for log messages based on the LogSource or the content of a log message. Depending on your coding style%2C you can use this feature in Akka.Hosting in several ways.
- Using The LoggerConfigBuilder.WithLogFilter() method.
The LoggerConfigBuilder.WithLogFilter() method lets you set up the LogFilterBuilder
builder.Services.AddAkka("MyActorSystem"%2C configurationBuilder =>
{
configurationBuilder
.ConfigureLoggers(loggerConfigBuilder =>
{
loggerConfigBuilder.WithLogFilter(filterBuilder =>
{
filterBuilder.ExcludeMessageContaining("Test")%3B
})
}
})
- Setting the loggerConfigBuilder.LogFilterBuilder property directly.
builder.Services.AddAkka("MyActorSystem"%2C configurationBuilder =>
{
configurationBuilder
.ConfigureLoggers(loggerConfigBuilder =>
{
loggerConfigBuilder.LogFilterBuilder = new LogFilterBuilder()%3B
loggerConfigBuilder.LogFilterBuilder.ExcludeMessageContaining("Test")%3B
})
})
Akka.Hosting v1.5.20
• Update Akka.NET to 1.5.20
• Added improved APIs for setting default ILogMessageFormatters • the LoggerConfigBuilder.WithDefaultLogMessageFormatter method.