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
.TcpListener
connection queue problemCircuitBreaker
API to signal timed out operationsCircuitBreaker
protected method API to use cancellation tokenTcpListenerStatistics
and subscription methodsDistributedPubSub
codeDistributedPubSub
memory allocationDistributedPubSub
DeadLetter
log messageCreateBuilder
patternTcpConnection
PublishWithAck
feature toDistributedPubSub
Warning
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 newCancellationToken
argument..WithCircuitBreaker()
APIs were marked as obsolete.Akka.Cluster.Tools.DistributedPubSub
The documentation for the new
PublishWithAck
feature can be read hereBackward compatible API changes:
DistributedPubSubSettings
constructor that leverages the newPublishWithAck
feature. 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.Persistence
journal and snapshot-store were changed in a breaking manner. You will need to consider these changes if you have your own specificAkka.Persistence
plugin implementation and needed to upgrade to this version of Akka.DeleteMessagesToAsync()
ReadHighestSequenceNrAsync()
WriteMessagesAsync
DeleteAsync()
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:
TcpListener
actor now accepts a newSubscribeToTcpListenerStats
message. Subscribers will receive regularTcpListenerStatistics
metrics report from theTcpListener
.UnsubscribeFromTcpListenerStats
message can be used to unsubscribe from theTcpListener
Backward compatible changes:
Akka.IO.Tcp.Bind
command now contain a new settableTcpSettings
property.Akka.IO.Tcp.Connect
command now contain a new settableTcpSettings
property.Akka.IO.TcpSettings
class have several of its unused properties deprecated and/or changed:ReceivedMessageSizeLimit
property has been deprecated, replaced with the newMaxFrameSizeBytes
property.ReceiveBufferSize
property added.SendBufferSize
property added.Breaking API changes:
Akka.IO.Tcp.Instance
static field has been removed.Akka.IO.TcpExt.BufferPool
static 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