Skip to content
Merged
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
1 change: 1 addition & 0 deletions OpenTelemetryExtension.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<File Path="release-notes/v2.1.3.md" />
<File Path="release-notes/v2.1.4.md" />
<File Path="release-notes/v2.1.5.md" />
<File Path="release-notes/v2.1.6.md" />
</Folder>
<Folder Name="/.github/workflows/">
<File Path=".github/workflows/ci.yml" />
Expand Down
18 changes: 18 additions & 0 deletions release-notes/v2.1.6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# v2.1.6

_Released: 2026-10-31_

## Changed
- Updated the bundled OpenTelemetry packages (`Exporter.OpenTelemetryProtocol`,
`Extensions.Hosting`, `Instrumentation.Http`, `Instrumentation.AspNetCore` and
`Instrumentation.Runtime`) to 1.20.1. No public API or runtime behavior change.
- Updated the sample and test project dependencies (EF Core, ASP.NET Core OpenAPI,
`Microsoft.Extensions.Hosting`, HTTP resilience, service discovery, NLog,
Swashbuckle, `Microsoft.Data.SqlClient`, `OpenTelemetry.Instrumentation.SqlClient`,
test SDK and xUnit runner). These are not part of the shipped package.

## Fixed
- Pinned `System.Security.Cryptography.Pkcs` to 10.0.14 in the sample Web API and
the integration tests to override a vulnerable transitive version
(GHSA-2fmv-rv2c-59x7, GHSA-846f-f764-76mx) pulled in by `Microsoft.Data.SqlClient`.
The shipped package was not affected.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Data.SqlClient" Version="7.1.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.12" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.10.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.SqlClient" Version="1.19.0" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="7.1.1" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.14" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.11.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.SqlClient" Version="1.20.1" />
<!-- Overrides the vulnerable transitive version pulled in by Microsoft.Data.SqlClient -->
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="10.0.14" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="4.0.0">
<PackageReference Include="xunit.runner.visualstudio" Version="4.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,25 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.12" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.12" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.12" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="10.0.12">
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.14" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.14" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.14" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="10.0.14">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="10.10.0" />
<PackageReference Include="Microsoft.Extensions.ServiceDiscovery" Version="10.10.0" />
<PackageReference Include="NLog.Web.AspNetCore" Version="6.2.1" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.19.1" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.19.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.19.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.19.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.19.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.SqlClient" Version="1.19.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.2.3" />
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="10.11.0" />
<PackageReference Include="Microsoft.Extensions.ServiceDiscovery" Version="10.11.0" />
<PackageReference Include="NLog.Web.AspNetCore" Version="6.2.2" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.20.1" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.20.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.20.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.20.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.20.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.SqlClient" Version="1.20.1" />
<!-- Overrides the vulnerable transitive version pulled in by Microsoft.Data.SqlClient -->
<PackageReference Include="System.Security.Cryptography.Pkcs" Version="10.0.14" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.3.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.12" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.14" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.10.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.11.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="4.0.0">
<PackageReference Include="xunit.runner.visualstudio" Version="4.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net8.0;net10.0</TargetFrameworks>
<Version>2.1.5</Version>
<Version>2.1.6</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>

Expand All @@ -26,16 +26,16 @@

<!-- Cross-platform packages: usable from any .NET app (ASP.NET Core, WPF, console, ...). -->
<ItemGroup>
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.19.1" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.19.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.19.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.19.0" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.20.1" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.20.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.20.1" />
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.20.1" />
</ItemGroup>

<!-- ASP.NET Core instrumentation is only pulled in for web-capable targets,
so non-web clients (WPF, console) using the netstandard2.0 build stay lean. -->
<ItemGroup Condition="'$(TargetFramework)' != 'netstandard2.0'">
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.19.0" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.20.1" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading