Skip to content

Bump Akka.Cluster.Hosting from 1.5.73 to 1.5.75 - #642

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

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/Akka.Cluster.Hosting-1.5.75

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 19, 2026

Copy link
Copy Markdown
Contributor

Updated Akka.Cluster.Hosting from 1.5.73 to 1.5.75.

Release notes

Sourced from Akka.Cluster.Hosting's releases.

1.5.75

1.5.75 November 16th, 2026

Akka.NET v1.5.75 adds restart-free TLS certificate rotation for the DotNetty transport, fixes two certificate-validation gaps that silently disabled security checks, backports two Akka.Persistence ordering fixes, and brings Akka.Reminders to the 1.5 line as Akka.Reminders.* packages.

Upgrading from Aaron.Akka.Reminders? The package IDs are now Akka.Reminders, Akka.Reminders.Sql, Akka.Reminders.SqlServer, Akka.Reminders.PostgreSql and Akka.Reminders.Sqlite, and the module shares the Akka.NET version number. Change your package references; stored data is read-compatible, proven by a golden-database spec against data written by the released Aaron.Akka.Reminders 1.5.73 packages.

Two behavior changes to check before upgrading. CertificateValidation.ValidateHostname(expectedHostname) and SslOptions.CustomValidator now actually enforce what they were configured to enforce. Both were silently no-ops in earlier versions, so a peer that used to connect may now fail the TLS handshake. See the Akka.Remote / TLS section below.

Akka.Remote / TLS

  • Rotate DotNetty TLS certificates without a restart - A node can now pick up a renewed TLS certificate with no restart. Set akka.remote.dot-netty.tcp.ssl.certificate.common-name to find the certificate in a store by name, or point ssl.certificate.path at a folder of PKCS#​12/PEM files, and place the renewed certificate beside the old one. New connections use it within about 10 seconds; open connections keep the certificate they started with. In code, use DotNettySslSetup.FromSource with TlsCertificateSource, or SslOptions.CertificateSource in Akka.Hosting. Existing TLS setups are unchanged. Behavior change: a certificate source checks that the certificate is allowed for the role. With require-mutual-authentication = true (the default) the certificate must allow both client and server authentication. X509Certificate, a single-file Path and a Thumbprint are not checked this way, so a certificate that worked before may be skipped with a warning when moved to a source, and a node with no other usable certificate does not start.
  • Add TlsCertificateSource for TLS certificate rotation - The new Akka.IO.TlsCertificateSource resolves a certificate from a store common name, a thumbprint, a single file, or a folder of files, and re-checks it once a minute. A certificate that cannot be used is judged again at the next look-up, so granting access to a private key later is picked up. The source never disposes a certificate it has published. PEM files need the net6.0 target; the netstandard2.0 build skips them and logs why.
  • Security fix: CertificateValidation.ValidateHostname(expectedHostname) now enforces the expected hostname - In v1.5.74 and earlier this validator logged a warning and did not compare expectedHostname with the certificate, so a node that used it to check inbound client certificates accepted every client certificate. It now rejects any certificate that does not match the name, by the rules of .NET's X509Certificate2.MatchesHostname. Behavior change: a certificate that does not match now fails the TLS handshake, and on the dialing side that shuts the ActorSystem down with exit code 79. Only nodes that opt in are affected: validate-certificate-hostname defaults to false. A certificate whose subject alternative name extension holds a malformed entry is rejected, as in 1.6. ValidateHostname() without an argument is unchanged.
  • Security fix: SslOptions.CustomValidator in Akka.Remote.Hosting now applies when the certificate is set by file path or thumbprint - In earlier versions the validator only ran when SslOptions.X509Certificate was set, and was otherwise ignored without a warning. Behavior change: the validator now runs, so a peer it rejects fails the TLS handshake. A CustomValidator with no certificate in the options now fails at startup with a ConfigurationException, and the certificate loads when WithRemoting runs rather than when the ActorSystem starts.
  • Log an unexpected failure of the once-a-minute TLS certificate check - The check's catch block swallowed any unexpected exception without a trace. The source already logs every failure it expects, so anything reaching this catch is a bug, and it now logs a warning. The node keeps its current certificate, as before.

Akka.Reminders

  • Port Akka.Reminders to v1.5 - Akka.Reminders now ships on the 1.5 line, dual-targeted at netstandard2.0 and net10.0 so it reaches .NET Framework 4.8 through .NET 10. This is a port rather than a backport: the module is new to 1.5, so the whole thing was re-targeted onto the branch. It ships five packages — Akka.Reminders, Akka.Reminders.Sql, Akka.Reminders.SqlServer, Akka.Reminders.PostgreSql and Akka.Reminders.Sqlite — renamed from Aaron.Akka.Reminders* and now sharing the Akka.NET version number. A golden-database spec proves the new packages read data written by the released Aaron.Akka.Reminders 1.5.73 packages. AOT is not supported on Akka.NET 1.5, so the module carries no AOT annotations here. The module ships no reference.conf and no MultiNode specs; serializer registration goes through the Akka.Hosting API, so HOCON-only users have no configuration surface for it.
  • End every older live occurrence when a newer one is sent - A recurring reminder could deliver an older occurrence after a newer one when its interval was well below MaxSlippage and its shard region was missing for a while and then came back. The recipient got the newer occurrence and then the older one, and both acknowledgements succeeded. When the newest occurrence of a series moves to AwaitingAck, every older live occurrence of that series now expires in the same storage commit. Fixes #​8965.
  • Cap the older occurrences one send ends at 256 - The fix above expires ceil(earliness / interval) older occurrences per early send with no upper bound, and Reminders accepts any interval above zero. A 1 ms interval put about 5,000 expiries in one commit, and a sub-millisecond interval could put millions into the scheduler's memory. The cap is 256 per send, nearest first. No interval of about 20 ms or more at the default 5 s MaxSlippage can reach it. Below that, during a shard region outage, an older occurrence more than 256 intervals back can still be sent after a newer one; failure-modes.md documents the limit.

Akka.Persistence

Docs

  • TLS certificate rotation article - New article covering how a node picks its certificate and when a renewed one is used, how to rotate, changing an existing setup, trust by CA and name, loading from Azure Key Vault, rotating with a rolling restart, and troubleshooting. It leads with Akka.Hosting, then HOCON, then code. security.md now says which certificate options can rotate without a restart, and no longer claims that revocation is checked, which the DotNetty transport does not do. A follow-up (#​8970) corrected the article's note about CustomValidator, which does apply to thumbprint and single-file certificates since #​8963.

Build and tests

  • Skip the simultaneous-disassociate graceful-close spec on .NET Framework - On net48 the tests load Akka.Remote's netstandard2.0 build, where HalfClose falls back to a full close. When both sides disassociate at once, one side can close while the other's frames are still unread and its kernel sends an RST, so the spec failed intermittently. The two sibling "no reset" tests in the class already skip on .NET Framework for the same reason. This changes no product code.
  • Akka.Reminders CI lane - The new module adds a Linux-only net_tests_reminders_linux lane with its own Incrementalist config, because Akka.Reminders.Migration.Tests starts SQL Server and PostgreSQL containers unconditionally and the Windows agents have no Docker. src/contrib/reminders/** is excluded from the Windows test configs.

1 contributor since release 1.5.74

COMMITS LOC+ LOC- AUTHOR
13 40157 552 Aaron Stannard

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

1.5.74

1.5.74 November 5th, 2026

Akka.NET v1.5.74 backports a batch of Akka.Streams, Cluster.Sharding, Cluster.Tools, Persistence and Hosting bug fixes from dev, plus a large set of de-flaked tests. It also moves NuGet publishing to GitHub Actions.

Akka.Streams

  • Ignore Dispose() on the ActorSystem's shared default materializer - system.Materializer() and ActorMaterializer.Create(system) with no custom settings return one materializer that the ActorSystem owns. Disposing it, for example in a using block, through a scoped DI registration, or in an actor's PostStop, shut it down for every caller until the system restarted. Dispose() on that shared instance is now ignored. The ActorSystem still shuts it down on termination, and an explicit Shutdown() still stops it. Materializers created with custom settings or on an IActorContext behave as before.
  • Fix Flow.Setup input forwarding - Flow.Setup grabbed upstream elements but never pushed them into the flow it built, so they were lost.
  • Fix inherited attributes in deferred stream operators - LazyFlow, LazySink and Source.FromTaskSource now materialize their inner graph with the attributes of the enclosing graph, so dispatcher, supervision and other attributes apply to it.
  • Honor StreamRefAttributes on SourceRef - The FinalTerminationSignalDeadline, BufferCapacity and DemandRedeliveryInterval attributes now take effect on a SourceRef. Before, only SubscriptionTimeout did. Fixes #​8878.
  • Read final-termination-signal-deadline from HOCON - StreamRefSettings.FinalTerminationSignalDeadline was never loaded from configuration and was always zero.
  • Stage correctness fixes:
    • UnfoldFlow no longer hangs on its initial seed (#​7867, #​7906).
    • KeepAlive (IdleInject) no longer injects over an element that upstream already has ready, and its idle deadline starts at the first pull instead of at materialization (#​7863, #​7881).
    • MergePrioritized keeps the configured priority ratios (#​7872).
    • RestartWithBackoff sets its reset deadline before starting the inner graph, so a synchronous completion doesn't see a stale deadline (#​7861).
    • Source.Lazily fails its materialized task with the factory's exception instead of a misleading "stopped without completing" error (#​8843).
    • PartitionHub consumers report the real failure when a hub callback task is cancelled, instead of failing with a null exception (#​8064).
    • The outgoing TCP stage completes cleanly when upstream finishes before the connection is established, instead of logging a NullReferenceException (#​8628).

Akka.Cluster.Sharding

Akka.Cluster.Tools

Akka.Persistence

Akka

Akka.Hosting

Build and tests

  • Publish to NuGet via GitHub Actions trusted publishing - Release packages are now pushed from GitHub Actions using NuGet trusted publishing (OIDC) instead of from Azure DevOps with a long-lived API key. Package contents are unchanged.
  • De-flaked Remote, Hosting, core, Streams, Persistence, DI, Cluster.Sharding, Cluster.Tools, DistributedData and multi-node specs (#​8881, #​8882, #​8883, #​8884). These change tests only.

4 contributors since release 1.5.73

COMMITS LOC+ LOC- AUTHOR
65 3030 1265 Aaron Stannard
4 229 87 Gregorius Soedharmo
3 317 12 Ariel Fischer
2 48 9 Matt Kotsenas

To see the full set of changes in Akka.NET v1.5.74, click here.
... (truncated)

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.Hosting
  dependency-version: 1.5.75
  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 Nov 19, 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