Skip to content

v13.0.4

Latest

Choose a tag to compare

@niemyjski niemyjski released this 28 Aug 16:10

Foundatio v13.0.4

Maintenance and documentation release building on v13.0.2.

Highlights

  • xUnit v4 support in Foundatio.Xunit.v3 and the test harness packages
  • Redis documentation improvements for connection lifetime, graceful shutdown, and Pub/Sub timeout behavior
  • Dependency updates across OpenTelemetry, ASP.NET Core, MessagePack, and Microsoft.Extensions
  • Security fix — pinned System.Security.Cryptography.Xml to 8.0.4 to resolve transitive vulnerability advisories
  • Expanded cache test coverage for RemoveIfEqualAsync / ReplaceIfEqualAsync when keys do not exist

Documentation

  • Clarified recommended Redis IConnectionMultiplexer registration patterns in DI (factory-owned instances vs. pre-built singletons that are never disposed)
  • Added Connection Lifetime & Graceful Shutdown guidance for Redis, including app-side disposal and server-side timeout/keepalive considerations
  • Updated Redis Pub/Sub timeout behavior documentation
  • Improved dependency injection and getting-started examples

Testing

  • Upgraded test projects to xUnit v4 (xunit.v3.mtp-v2 4.0.0, xunit.runner.visualstudio 4.0.0)
  • Updated Foundatio.Xunit.v3 retry test execution to align with xUnit v4 APIs
  • Added test coverage ensuring RemoveIfEqualAsync and ReplaceIfEqualAsync return false and do not create keys when the target key does not exist

Note for consumers: If you reference Foundatio.TestHarness, Foundatio.Xunit.v3, or other Foundatio test packages, upgrade them together with your xUnit packages to 4.0.0 to avoid test discovery/runtime mismatches.

Dependency Updates

  • OpenTelemetry packages: 1.16.x / 1.15.x → 1.18.0
  • Microsoft.AspNetCore.DataProtection: 8.0.28 → 8.0.30
  • MessagePack: 3.1.7 → 3.1.8
  • Microsoft.Extensions.* / Microsoft.AspNetCore.TestHost: 10.0.11
  • Microsoft.NET.Test.Sdk: 18.7.0 → 18.9.0
  • Aspire.Hosting.Redis (sample): 13.4.6 → 13.5.3

Packages

This release publishes the usual Foundatio packages, including:

  • Foundatio
  • Foundatio.Extensions.Hosting
  • Foundatio.TestHarness
  • Foundatio.Xunit.v3
  • Foundatio.MessagePack
  • Foundatio.DataProtection

Install via NuGet:

dotnet add package Foundatio --version 13.0.4

Full Changelog

v13.0.2...v13.0.4