Skip to content

Commit

Permalink
add more context
Browse files Browse the repository at this point in the history
  • Loading branch information
reyang committed Jun 7, 2023
1 parent cce9a7a commit 26727bf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@
<PackageVersion Include="OpenTracing" Version="[0.12.1,0.13)" />
<PackageVersion Include="StyleCop.Analyzers" Version="[1.2.0-beta.435,2.0)" />

<!-- The latest stable version of System.Diagnostics.DiagnosticSource should be used here since the .NET runtime team provides extra backward compatibility guarantee even during major version bumps. -->
<!--
Typically, the latest stable version of System.Diagnostics.DiagnosticSource should be used here because:
1) Each major version bump will have some new OpenTelemetry API capabilities (e.g. .NET 6 introduced Meter
API, .NET 7 added UpDownCounter, .NET 8 is improving dependency injection support for Meter/Instrument,
.NET 9 might add Advice/Hint API) that the OpenTelemetry components rely on.
2) Each minor version bump is normally security hotfixes or critical bug fixes.
3) The .NET runtime team provides extra backward compatibility guarantee to System.Diagnostics.DiagnosticSource
even during major version bumps, so compatibility is not a concern here.
-->
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="7.0.0" />

<!-- A conservative version of System.Reflection.Emit.Lightweight must be used here since there is no backward compatibility guarantee during major version bumps. -->
Expand Down

0 comments on commit 26727bf

Please sign in to comment.