Skip to content

Bump Akka.Cluster.Sharding from 1.5.64 to 1.5.68#474

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/Akka.Cluster.Sharding-1.5.68
Open

Bump Akka.Cluster.Sharding from 1.5.64 to 1.5.68#474
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/Akka.Cluster.Sharding-1.5.68

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 4, 2026

Updated Akka.Cluster.Sharding from 1.5.64 to 1.5.68.

Release notes

Sourced from Akka.Cluster.Sharding's releases.

1.5.68

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.CommandFailed when a scheduled connect retry throws - Fixes #​8195: On Linux, a dropped TCP connection could permanently stall the user actor — it never received Tcp.Connected or Tcp.CommandFailed because a PlatformNotSupportedException thrown during a scheduled connect retry was swallowed by the HashedWheelTimerScheduler. The retry is now scheduled as a RetryConnect self-message via IWithTimers, ensuring any exception is surfaced to the commander as Tcp.CommandFailed and 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

Akka.TestKit Bug Fixes

  • Fix: wrap outer SynchronizationContext in ActorCellKeepingSynchronizationContext - ActorCellKeepingSynchronizationContext now accepts an optional inner SynchronizationContext and delegates scheduling to it while wrapping callbacks with the cell-pinning window. This prevents test hangs in downstream consumers such as Akka.Hosting.TestKit whose async IHost lifecycle depends on xUnit v3's MaxConcurrencySyncContext scheduling.

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:

  • 9a00eff319f2518a7c66715ab0fbd3e0575ea879 Update RELEASE_NOTES.md for 1.5.68 release (#​8216)
  • e5afb74950d1efbd2d8f70741dd16bd50879f193 fix: report Tcp.CommandFailed when a scheduled connect retry throws (#​8195) (#​8214)
  • 2ab48f5e37d1d27b36d9fdd5ef3214bd643078a4 fix: observe discarded stream task faults (#​8212)
  • e6080542bbfb33b0f0a5908fe8e2bb45c4e56689 fix: wrap outer SynchronizationContext in ActorCellKeepingSynchronizationContext (#​8182) [ akkadotnet/Akka.Hosting#​735, akkadotnet/Akka.Hosting#​733 ]

This list of changes was auto generated.

1.5.67

1.5.67 April 25th, 2026

Akka.NET v1.5.67 is a hotfix release that reverts a breaking change to the persistence plugin contract introduced in v1.5.66.

Akka.Persistence: Revert async WriteMessagesAsync/SaveAsync dispatch (#​8163)

v1.5.66 added Task.Yield() inside AsyncWriteJournal.ExecuteBatch and SnapshotStore to move persistence plugin WriteMessagesAsync/SaveAsync calls off the actor thread. While this improved throughput in benchmarks, it silently broke the implicit contract that persistence plugins rely on — that the synchronous preamble of these methods executes in actor context.

This caused failures in plugins that:

  • Access Self inside WriteMessagesAsync (e.g. Akka.Persistence.Sql, Akka.Persistence.EventStore) — throws NotSupportedException off the actor thread
  • Use non-thread-safe collections for write tracking (e.g. Dictionary<string, Task>) — concurrent access from actor thread and thread pool causes InvalidOperationException
  • Send messages to subscribers after writes complete (e.g. Akka.Persistence.Redis) — accesses shared actor state off-thread

This release removes the Task.Yield() calls and restores the original dispatch behavior. A future version may reintroduce this optimization with a more targeted approach that preserves the plugin threading contract.

If you are on v1.5.66, upgrade to v1.5.67 immediately if you use any third-party persistence plugin.

COMMITS LOC+ LOC- AUTHOR
1 3 17 Aaron Stannard

Changes:

  • 2f057e49852313996cc196000a917b1cbaf67588 Update RELEASE_NOTES.md for 1.5.67 release
  • 46371dd4c04fc8bdd2a9eba574a5ed79e1b083b2 revert(persistence): remove Task.Yield() from AsyncWriteJournal and SnapshotStore (#​8163)

This list of changes was auto generated.

1.5.66

1.5.66 April 24th, 2026

Akka.NET v1.5.66 is a significant release with persistence bug fixes, major Akka.Streams improvements including OpenTelemetry trace propagation and non-blocking materialized values, and new serialization security controls.

Akka.Streams: OpenTelemetry Trace Context Propagation

Akka.Streams now propagates System.Diagnostics.Activity trace context end-to-end through stream graphs, including across async stage boundaries, fan-in merges, and fan-out broadcasts. This enables full distributed tracing visibility into stream pipelines when using OpenTelemetry.

For full documentation, see: https://getakka.net/articles/streams/stream-tracing.html

Akka.Streams: Non-Blocking Materialized-Value TaskCompletionSource

All TaskCompletionSource instances used for materialized values across Akka.Streams now use TaskCreationOptions.RunContinuationsAsynchronously, eliminating potential deadlocks and thread-pool starvation when continuations run synchronously on completion.

Akka.Persistence

Akka.Core

New Features

Documentation

4 contributors since release 1.5.65

COMMITS LOC+ LOC- AUTHOR
18 3962 991 Aaron Stannard
8 1627 1952 Gregorius Soedharmo
6 214 177 Matt Kotsenas
1 55 39 schdooz

To see the full set of changes in Akka.NET v1.5.66, click here.

Changes:

  • ed4bd3b22a8e936c3dc61645911a43d6a56ea651 fix(api-approval): update Net.verified.txt files to match v1.5.66 API surface [ #​8158, #​8184, #​8160 ]
  • db7d0c61403b21023ee4b1f97abe37bfabbf6090 Update RELEASE_NOTES.md for 1.5.66 release
    ... (truncated)

1.5.65

1.5.65 April 10th, 2026

Akka.NET v1.5.65 is a maintenance release with important bug fixes for Akka.Cluster.Sharding, Akka.Core configuration, and Akka.TestKit.

Akka.Cluster.Sharding Bug Fixes

  • Fix cluster sharding lease coordination bugs - Fixes three chained bugs that cause shard unavailability (~6 minutes) during rolling restarts when using distributed lease coordination (e.g. Kubernetes leases):
    • #​8146: The backup ShardStopped safety net from #​8055 fires spuriously after every successful rebalance, causing the same shard to be allocated to 2+ nodes simultaneously.
    • #​8147: AwaitingLease stashes HandOff messages indefinitely, preventing the coordinator from reclaiming stuck shards.
    • #​8148: StartShardRebalanceIfNeeded silently skips shards during graceful shutdown when a rebalance is already in progress.

Akka.Core Bug Fixes

Akka.TestKit Bug Fixes

1 contributor since release 1.5.64

COMMITS LOC+ LOC- AUTHOR
3 263 19 Aaron Stannard

To see the full set of changes in Akka.NET v1.5.65, click here.

Changes:

  • aa5ab2083865e50fa0244c5f3730c2df066e11b8 Update RELEASE_NOTES.md for 1.5.65 release (#​8157)
  • c7a8cac586962baf1c50225cb065997669b4faf0 Fix Settings.InjectTopLevelFallback race condition bug (#​8143) (#​8156)
  • 51532eeea088d3046335c5c4245765024c0d184f Fix cluster sharding lease coordination bugs (#​8150) [ #​8146, #​8147, #​8148, #​8055, #​7500 ]
  • e8309deff24090aceb11cd5ad4386ae23e4fbcfe [1.5] Port #​8145 - Fix broken xUnit 3 explicit sender (IAsyncLifetime) (#​8149)

This list of changes was auto generated.

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Akka.Cluster.Sharding
  dependency-version: 1.5.68
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jun 4, 2026
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

1 participant