diff --git a/csharp/Directory.Packages.props b/csharp/Directory.Packages.props index 2e32f899c0..0d2e41c3f1 100644 --- a/csharp/Directory.Packages.props +++ b/csharp/Directory.Packages.props @@ -44,7 +44,7 @@ - + diff --git a/csharp/README.md b/csharp/README.md index 31c3575833..2c44f50f45 100644 --- a/csharp/README.md +++ b/csharp/README.md @@ -20,3 +20,18 @@ # Apache Arrow ADBC An implementation of Arrow ADBC targeting .NET Standard 2.0 and .NET 6 or later. + +## Telemetry dependencies + +The core and trace-listener packages retain a minimum dependency on +`System.Diagnostics.DiagnosticSource` 9.0.6. The published Testing helper uses +OpenTelemetry 1.15.3 or later and overrides its DiagnosticSource minimum to +10.0.0. This avoids OpenTelemetry.Api versions affected +by [CVE-2026-40894](https://github.com/advisories/GHSA-g94r-2vxg-569j) without +raising the core driver's shared-contract minimum. + +Hosts that load managed drivers into the default assembly load context must +provide a single DiagnosticSource assembly satisfying all loaded components. +Consumers of `Apache.Arrow.Adbc.Testing` must update to a release containing +these dependency requirements; updating the core driver alone does not update +the Testing helper. diff --git a/csharp/test/Apache.Arrow.Adbc.Tests/Apache.Arrow.Adbc.Testing.csproj b/csharp/test/Apache.Arrow.Adbc.Tests/Apache.Arrow.Adbc.Testing.csproj index ea39d273bb..bcd90b8cfa 100644 --- a/csharp/test/Apache.Arrow.Adbc.Tests/Apache.Arrow.Adbc.Testing.csproj +++ b/csharp/test/Apache.Arrow.Adbc.Tests/Apache.Arrow.Adbc.Testing.csproj @@ -7,15 +7,6 @@ true true $([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant()) - - $(NoWarn);NU1902 @@ -23,7 +14,8 @@ - + +