1.5.68 May 17th, 2026
Akka.NET v1.5.68 is a maintenance release with bug fixes for Akka.IO TCP connection handling, Akka.Streams stream materialized task faults, and Akka.TestKit xUnit 3 parallel context management.
Akka.IO Bug Fixes
- Fix: report
Tcp.CommandFailedwhen a scheduled connect retry throws - Fixes #8195: On Linux, a dropped TCP connection could permanently stall the user actor — it never receivedTcp.ConnectedorTcp.CommandFailedbecause aPlatformNotSupportedExceptionthrown during a scheduled connect retry was swallowed by theHashedWheelTimerScheduler. The retry is now scheduled as aRetryConnectself-message viaIWithTimers, ensuring any exception is surfaced to the commander asTcp.CommandFailedand the connection actor stops cleanly. The pending timer is also canceled automatically when the actor stops, removing a latent use-after-dispose bug.
Akka.Streams Bug Fixes
- Fix: observe discarded stream task faults - Fixes #8209 and #8210:
IgnoreSink,QueueSource, andLazySinknow observe their internal materializedTaskfaults, preventing them from surfacing later asUnobservedTaskExceptionevents on the thread pool.
Akka.TestKit Bug Fixes
- Fix: wrap outer
SynchronizationContextinActorCellKeepingSynchronizationContext-ActorCellKeepingSynchronizationContextnow accepts an optional innerSynchronizationContextand delegates scheduling to it while wrapping callbacks with the cell-pinning window. This prevents test hangs in downstream consumers such asAkka.Hosting.TestKitwhose asyncIHostlifecycle depends on xUnit v3'sMaxConcurrencySyncContextscheduling.
1 contributor since release 1.5.67
| COMMITS | LOC+ | LOC- | AUTHOR |
|---|---|---|---|
| 3 | 476 | 119 | Aaron Stannard |
To see the full set of changes in Akka.NET v1.5.68, click here.
Changes:
- 9a00eff Update RELEASE_NOTES.md for 1.5.68 release (#8216)
- e5afb74 fix: report Tcp.CommandFailed when a scheduled connect retry throws (#8195) (#8214)
- 2ab48f5 fix: observe discarded stream task faults (#8212)
- e608054 fix: wrap outer SynchronizationContext in ActorCellKeepingSynchronizationContext (#8182) [ akkadotnet/Akka.Hosting#735, akkadotnet/Akka.Hosting#733 ]
This list of changes was auto generated.