Foundatio v13.0.4
Maintenance and documentation release building on v13.0.2.
Highlights
- xUnit v4 support in
Foundatio.Xunit.v3and 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.Xmlto 8.0.4 to resolve transitive vulnerability advisories - Expanded cache test coverage for
RemoveIfEqualAsync/ReplaceIfEqualAsyncwhen keys do not exist
Documentation
- Clarified recommended Redis
IConnectionMultiplexerregistration 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-v24.0.0,xunit.runner.visualstudio4.0.0) - Updated
Foundatio.Xunit.v3retry test execution to align with xUnit v4 APIs - Added test coverage ensuring
RemoveIfEqualAsyncandReplaceIfEqualAsyncreturnfalseand 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.30MessagePack: 3.1.7 → 3.1.8Microsoft.Extensions.*/Microsoft.AspNetCore.TestHost: 10.0.11Microsoft.NET.Test.Sdk: 18.7.0 → 18.9.0Aspire.Hosting.Redis(sample): 13.4.6 → 13.5.3
Packages
This release publishes the usual Foundatio packages, including:
FoundatioFoundatio.Extensions.HostingFoundatio.TestHarnessFoundatio.Xunit.v3Foundatio.MessagePackFoundatio.DataProtection
Install via NuGet:
dotnet add package Foundatio --version 13.0.4