Update RELEASE_NOTES.md for 1.5.42 release #7668
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.42 May 21st, 2025
Akka.NET v1.5.42 contains several bug fixes and also adds new quality of life features to
Akka.IO.Tcp,Akka.Persistence,Akka.Pattern, andAkka.Cluster.Tools.DistributedPubSub.TcpListenerconnection queue problemCircuitBreakerAPI to signal timed out operationsCircuitBreakerprotected method API to use cancellation tokenTcpListenerStatisticsand subscription methodsDistributedPubSubcodeDistributedPubSubmemory allocationDistributedPubSubDeadLetterlog messageCreateBuilderpatternTcpConnectionPublishWithAckfeature toDistributedPubSubWarning
This release contains several public API breaking changes to Akka.IO.Tcp and Akka.Persistence
Akka.Pattern.CircuitBreaker
Backward compatible API changes:
.WithCircuitBreaker()APIs were added that changes the protected function delegate to accept a newCancellationTokenargument..WithCircuitBreaker()APIs were marked as obsolete.Akka.Cluster.Tools.DistributedPubSub
The documentation for the new
PublishWithAckfeature can be read hereBackward compatible API changes:
DistributedPubSubSettingsconstructor that leverages the newPublishWithAckfeature. The old constructor is marked as obsolete.Akka.Persistence
The documentation for the new supervision strategy for journal and snapshot-store feature can be read here
Breaking API changes:
Due to changes in
CircuitBreaker.WithCircuitBreaker()APIs, severalAkka.Persistencejournal and snapshot-store were changed in a breaking manner. You will need to consider these changes if you have your own specificAkka.Persistenceplugin implementation and needed to upgrade to this version of Akka.DeleteMessagesToAsync()ReadHighestSequenceNrAsync()WriteMessagesAsyncDeleteAsync()methodsLoadAsync()SaveAsync()Akka.IO.Tcp
The Akka.IO.Tcp has been redesigned to improve its reliability, visibility, and performance. This, unfortunately, requires some breaking changes to be introduced into the code base.
New features:
TcpListeneractor now accepts a newSubscribeToTcpListenerStatsmessage. Subscribers will receive regularTcpListenerStatisticsmetrics report from theTcpListener.UnsubscribeFromTcpListenerStatsmessage can be used to unsubscribe from theTcpListenerBackward compatible changes:
Akka.IO.Tcp.Bindcommand now contain a new settableTcpSettingsproperty.Akka.IO.Tcp.Connectcommand now contain a new settableTcpSettingsproperty.Akka.IO.TcpSettingsclass have several of its unused properties deprecated and/or changed:ReceivedMessageSizeLimitproperty has been deprecated, replaced with the newMaxFrameSizeBytesproperty.ReceiveBufferSizeproperty added.SendBufferSizeproperty added.Breaking API changes:
Akka.IO.Tcp.Instancestatic field has been removed.Akka.IO.TcpExt.BufferPoolstatic property has been removed.To see the full set of changes in Akka.NET v1.5.42, click here.
5 contributors since release 1.5.41