Skip to content

Bump Akka.Hosting.TestKit from 1.5.59 to 1.5.68#39

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/nuget/Akka.Hosting.TestKit-1.5.68
Open

Bump Akka.Hosting.TestKit from 1.5.59 to 1.5.68#39
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/nuget/Akka.Hosting.TestKit-1.5.68

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Updated Akka.Hosting.TestKit from 1.5.59 to 1.5.68.

Release notes

Sourced from Akka.Hosting.TestKit's releases.

1.5.68

1.5.68 May 18th 2026

Security Fixes

  • Resolve GHSA-g94r-2vxg-569j by bumping OpenTelemetry minimum to 1.10.0 - OpenTelemetry.Api 1.9.0 has a known moderate severity vulnerability. The minimum OpenTelemetry version floor has been raised from 1.9.0 to 1.10.0, and the Microsoft.Extensions.Logging floor has been raised to 9.0.0. Downstream consumers that previously resolved to the vulnerable OpenTelemetry.Api 1.9.0 will now pull the safe 1.10.0 release.

Bug Fixes

  • Fix implicit-sender leak under xUnit v3 parallel execution in Akka.Hosting.TestKit - Under xUnit v3's default parallel-class scheduling, await continuations could resume on ThreadPool threads where a sibling test had pinned its actor cell, causing Tell() to use the wrong implicit sender and replies to land in the wrong TestActor's mailbox. A new wrapping SynchronizationContext preserves xUnit's scheduler while pinning the ambient actor cell across await continuations.
  • Fix SynchronizationContext leak and TestActor startup race in Akka.Hosting.TestKit - Two compounding sources of flakiness in sequential xUnit v3 suites: (1) the ActorCellKeepingSynchronizationContext installed during host startup leaked out of the initialization callback and was inherited by subsequent tests, pinning continuations onto disposed ActorCells; (2) the TestActor created during host startup was intermittently terminated by a race with other /system actors starting concurrently. Fixed by bracketing the context installation with a save/restore and adding post-startup TestActor liveness verification with automatic re-creation.
  • Fix cached TestProbe refs becoming stale after TestActor recovery in Akka.Hosting.TestKit - Actors created during WithActors could cache IRequiredActor<TestProbe>.ActorRef before recovery ran. Re-registering a new raw TestActor in ActorRegistry did not update those cached refs. TestProbe is now registered via a stable forwarding actor whose target is swapped atomically after recovery, ensuring all cached references remain valid.

1.5.67

1.5.67 April 26th 2026

New Features

  • Add WithStrictSerialization helperresolves issue #​734. Adds WithStrictSerialization(bool enabled = true) extension on AkkaConfigurationBuilder that sets akka.actor.serialization-settings.allow-unregistered-types = off, disabling the Newtonsoft.Json fallback and throwing SerializationException for unregistered types.

Updates

1.5.65

1.5.65 April 10th 2026

Updates

1.5.64

1.5.64 March 31st 2026

Bug Fixes

  • Fix LoggerFactoryLogger metadata regression for non-semantic logs - PR #​706 (trace correlation) accidentally gated ActorPath, LogSource, Timestamp, and Thread emission on _hasSemanticProperties, which was false for plain-string logs. Non-semantic logs lost all structured metadata, breaking downstream consumers such as Datadog pipelines and custom ConsoleFormatters. All log paths now emit the full set of Akka metadata as structured attributes regardless of whether the message uses named placeholders.

Breaking Changes

  • Convert Akka.Hosting.TestKit to xUnit 3 - Akka.Hosting.TestKit now targets xUnit v3. Users who need to remain on xUnit v2 can switch to the new Akka.Hosting.TestKit.Xunit2 package, which preserves the previous xUnit v2-based TestKit API.

Updates

1.5.63

1.5.63 March 24th 2026

Bug Fixes

Updates

1.5.62

1.5.62 March 4th 2026

Updates

1.5.61 February 26th 2026

Updates

1.5.60 February 10th 2026

New Features

  • Add OpenTelemetry trace correlation support for LoggerFactoryLogger - enables proper trace correlation for logs emitted from actor code. Solves the problem that Activity.Current doesn't flow across actor mailbox boundaries because it uses AsyncLocal<T>. When using Akka.NET 1.5.59+, LogEvent.ActivityContext captures trace context at log creation time and flows it through to OpenTelemetry LogRecords via the new AkkaTraceContextProcessor. Register with options.AddAkkaTraceCorrelation() in your OpenTelemetry logging configuration.
  • Add WithContext() integration tests for MEL logger - confirmed that Akka.NET 1.5.60's WithContext() logging context enrichment works automatically with LoggerFactoryLogger. Context properties set via the core WithContext() API flow through to Microsoft.Extensions.Logging state dictionaries via TryGetProperties() without any code changes needed.

Bug Fixes

Deprecations

  • WithDefaultLogMessageFormatter<T>() is now marked [Obsolete]SemanticLogMessageFormatter is the default as of Akka.NET 1.5.58 and no longer needs to be set explicitly. The method still works for custom ILogMessageFormatter implementations.

Updates

1.5.60-beta1 January 29th 2026

Beta Release

This is a beta release for testing the OpenTelemetry trace correlation feature that was merged after 1.5.59.

New Features

  • Add OpenTelemetry trace correlation support for LoggerFactoryLogger - enables proper trace correlation for logs emitted from actor code. Solves the problem that Activity.Current doesn't flow across actor mailbox boundaries because it uses AsyncLocal<T>. When using Akka.NET 1.5.59+, LogEvent.ActivityContext captures trace context at log creation time and flows it through to OpenTelemetry LogRecords via the new AkkaTraceContextProcessor. Register with options.AddAkkaTraceCorrelation() in your OpenTelemetry logging configuration.

1.5.59 January 2026

New Features

  • Add OpenTelemetry trace correlation support for LoggerFactoryLogger - enables proper trace correlation for logs emitted from actor code. Solves the problem that Activity.Current doesn't flow across actor mailbox boundaries because it uses AsyncLocal<T>. When using Akka.NET 1.5.59+, LogEvent.ActivityContext captures trace context at log creation time and flows it through to OpenTelemetry LogRecords via the new AkkaTraceContextProcessor. Register with options.AddAkkaTraceCorrelation() in your OpenTelemetry logging configuration.

Bug Fixes

Updates

1.5.58 January 9th 2026

Updates
... (truncated)

1.5.61

1.5.61 February 26th 2026

Updates

1.5.60 February 10th 2026

New Features

  • Add OpenTelemetry trace correlation support for LoggerFactoryLogger - enables proper trace correlation for logs emitted from actor code. Solves the problem that Activity.Current doesn't flow across actor mailbox boundaries because it uses AsyncLocal<T>. When using Akka.NET 1.5.59+, LogEvent.ActivityContext captures trace context at log creation time and flows it through to OpenTelemetry LogRecords via the new AkkaTraceContextProcessor. Register with options.AddAkkaTraceCorrelation() in your OpenTelemetry logging configuration.
  • Add WithContext() integration tests for MEL logger - confirmed that Akka.NET 1.5.60's WithContext() logging context enrichment works automatically with LoggerFactoryLogger. Context properties set via the core WithContext() API flow through to Microsoft.Extensions.Logging state dictionaries via TryGetProperties() without any code changes needed.

Bug Fixes

Deprecations

  • WithDefaultLogMessageFormatter<T>() is now marked [Obsolete]SemanticLogMessageFormatter is the default as of Akka.NET 1.5.58 and no longer needs to be set explicitly. The method still works for custom ILogMessageFormatter implementations.

Updates

1.5.60-beta1 January 29th 2026

Beta Release

This is a beta release for testing the OpenTelemetry trace correlation feature that was merged after 1.5.59.

New Features

  • Add OpenTelemetry trace correlation support for LoggerFactoryLogger - enables proper trace correlation for logs emitted from actor code. Solves the problem that Activity.Current doesn't flow across actor mailbox boundaries because it uses AsyncLocal<T>. When using Akka.NET 1.5.59+, LogEvent.ActivityContext captures trace context at log creation time and flows it through to OpenTelemetry LogRecords via the new AkkaTraceContextProcessor. Register with options.AddAkkaTraceCorrelation() in your OpenTelemetry logging configuration.

1.5.59 January 2026

New Features

  • Add OpenTelemetry trace correlation support for LoggerFactoryLogger - enables proper trace correlation for logs emitted from actor code. Solves the problem that Activity.Current doesn't flow across actor mailbox boundaries because it uses AsyncLocal<T>. When using Akka.NET 1.5.59+, LogEvent.ActivityContext captures trace context at log creation time and flows it through to OpenTelemetry LogRecords via the new AkkaTraceContextProcessor. Register with options.AddAkkaTraceCorrelation() in your OpenTelemetry logging configuration.

Bug Fixes

Updates

1.5.58 January 9th 2026

Updates

1.5.57 December 16th 2025

New Features
... (truncated)

1.5.60

1.5.60 February 10th 2026

New Features

  • Add OpenTelemetry trace correlation support for LoggerFactoryLogger - enables proper trace correlation for logs emitted from actor code. Solves the problem that Activity.Current doesn't flow across actor mailbox boundaries because it uses AsyncLocal<T>. When using Akka.NET 1.5.59+, LogEvent.ActivityContext captures trace context at log creation time and flows it through to OpenTelemetry LogRecords via the new AkkaTraceContextProcessor. Register with options.AddAkkaTraceCorrelation() in your OpenTelemetry logging configuration.
  • Add WithContext() integration tests for MEL logger - confirmed that Akka.NET 1.5.60's WithContext() logging context enrichment works automatically with LoggerFactoryLogger. Context properties set via the core WithContext() API flow through to Microsoft.Extensions.Logging state dictionaries via TryGetProperties() without any code changes needed.

Bug Fixes

Deprecations

  • WithDefaultLogMessageFormatter<T>() is now marked [Obsolete]SemanticLogMessageFormatter is the default as of Akka.NET 1.5.58 and no longer needs to be set explicitly. The method still works for custom ILogMessageFormatter implementations.

Updates

1.5.60-beta1 January 29th 2026

Beta Release

This is a beta release for testing the OpenTelemetry trace correlation feature that was merged after 1.5.59.

New Features

  • Add OpenTelemetry trace correlation support for LoggerFactoryLogger - enables proper trace correlation for logs emitted from actor code. Solves the problem that Activity.Current doesn't flow across actor mailbox boundaries because it uses AsyncLocal<T>. When using Akka.NET 1.5.59+, LogEvent.ActivityContext captures trace context at log creation time and flows it through to OpenTelemetry LogRecords via the new AkkaTraceContextProcessor. Register with options.AddAkkaTraceCorrelation() in your OpenTelemetry logging configuration.

1.5.59 January 2026

New Features

  • Add OpenTelemetry trace correlation support for LoggerFactoryLogger - enables proper trace correlation for logs emitted from actor code. Solves the problem that Activity.Current doesn't flow across actor mailbox boundaries because it uses AsyncLocal<T>. When using Akka.NET 1.5.59+, LogEvent.ActivityContext captures trace context at log creation time and flows it through to OpenTelemetry LogRecords via the new AkkaTraceContextProcessor. Register with options.AddAkkaTraceCorrelation() in your OpenTelemetry logging configuration.

Bug Fixes

Updates

1.5.58 January 9th 2026

Updates

1.5.57 December 16th 2025

New Features

  • Add semantic logging support for Akka.NET 1.5.56+ - enables Microsoft.Extensions.Logging to receive properly structured state dictionaries instead of pre-formatted strings. When using Akka.NET 1.5.56+, log messages now include structured properties from the semantic logging API along with Akka metadata (ActorPath, Timestamp, Thread, LogSource). Fully backwards compatible with older Akka.NET versions.

Updates

... (truncated)

1.5.60-beta1

1.5.60-beta1 January 29th 2026

Beta Release

This is a beta release for testing the OpenTelemetry trace correlation feature that was merged after 1.5.59.

New Features

  • Add OpenTelemetry trace correlation support for LoggerFactoryLogger - enables proper trace correlation for logs emitted from actor code. Solves the problem that Activity.Current doesn't flow across actor mailbox boundaries because it uses AsyncLocal<T>. When using Akka.NET 1.5.59+, LogEvent.ActivityContext captures trace context at log creation time and flows it through to OpenTelemetry LogRecords via the new AkkaTraceContextProcessor. Register with options.AddAkkaTraceCorrelation() in your OpenTelemetry logging configuration.

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.Hosting.TestKit
  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 2, 2026
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

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add WithStrictSerialization helper to disable System.Object serialization fallback Semantic logging isn't working in Akka.Hosting

0 participants