Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion csharp/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.11.0" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="10.0.402" />
<PackageVersion Include="Moq" Version="4.21.0" />
<PackageVersion Include="OpenTelemetry" Version="1.12.0" />
<PackageVersion Include="OpenTelemetry" Version="1.15.3" />
<PackageVersion Include="OpenTelemetry.Exporter.Console" Version="1.12.0" />
<PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.15.3" />
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="9.0.6" />
Expand Down
15 changes: 15 additions & 0 deletions csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,15 @@
<IsTestProject>true</IsTestProject>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ProcessArchitecture>$([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant())</ProcessArchitecture>
<!--
NU1902: OpenTelemetry.Api 1.12.0 has a known moderate-severity advisory
(https://github.com/advisories/GHSA-g94r-2vxg-569j). The OpenTelemetry/
System.Diagnostics.DiagnosticSource versions used by this repo are
treated as "shared contract" assemblies for managed ADBC drivers, so
bumping them is intentionally handled in a separate PR. Suppress only
this specific advisory in the test project.
-->
<NoWarn>$(NoWarn);NU1902</NoWarn>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Apache.Arrow.Operations" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Moq" />
<PackageReference Include="OpenTelemetry" />
<PackageReference Include="System.Diagnostics.DiagnosticSource" />
<!-- OpenTelemetry requires 10.0.0; keep the core and listener contract minimum unchanged. -->
<PackageReference Include="System.Diagnostics.DiagnosticSource" VersionOverride="10.0.0" />
<PackageReference Include="System.Text.Json" />
<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.visualstudio">
Expand Down
Loading