Skip to content

Commit a4d2712

Browse files
github-actions[bot]pierotibouandrewlock
authored
[Version Bump] 2.1.0 (DataDog#2278)
* [Version Bump] 2.1.0 * Update docs/CHANGELOG.md Co-authored-by: Andrew Lock <andrew.lock@datadoghq.com> Co-authored-by: pierotibou <pierotibou@users.noreply.github.com> Co-authored-by: Pierre Bonet <pierre.bonet@datadoghq.com> Co-authored-by: Andrew Lock <andrew.lock@datadoghq.com>
1 parent fad0ac5 commit a4d2712

File tree

28 files changed

+80
-33
lines changed

28 files changed

+80
-33
lines changed

docs/CHANGELOG.md

+47
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,52 @@
11
# Datadog .NET Tracer (`dd-trace-dotnet`) Release Notes
22

3+
## [Release 2.1.0](https://github.com/DataDog/dd-trace-dotnet/releases/tag/v2.1.0)
4+
5+
## Changes
6+
* Added support for instrumenting abstract methods (#2120, #2169)
7+
* Enables support for generic ADO.NET libraries, for example IBM.Data.Db2(#1494)
8+
* Ignore ping commands in MongoDB (#2216)
9+
* [CiApp] Include .NET 6.0 in dd-trace tool (#2206)
10+
* Add additional constructor to TracerSettings for discoverability (#2266)
11+
* Performance improvements and refactoring
12+
* Expand usage of StringBuilderCache (#2214)
13+
* Code clean up in `SpanContextPropagator` (#2180, #2261)
14+
* Add more attributes from `System.Diagnostics.CodeAnalysis` namespace (#2181)
15+
* Move logs-injection related classes to sub-folder (#2238)
16+
* Explicitly state contentType when calling IApiRequest.PostAsync() (#2237)
17+
* Remove unused `ITraceContext` (#2225)
18+
19+
## Fixes
20+
* Support child actions in aspnet (#2139)
21+
* Do not normalize periods in header tags if specified by the customer (#2205)
22+
* Replace MongoDB/WCF reflection lookups with DuckTyping (#2183)
23+
* Remove all LibLog code and simplify ScopeManager code (#2184)
24+
* Fix shared installer version (#2277, #2209)
25+
26+
## Build / Test
27+
* Add Exploration Tests on Linux (#2193)
28+
* Remove unused test case for calltarget abstract (#2215)
29+
* Consolidate mock span implementations (#2119)
30+
* Add DuckType Best Practices documentation in Readme.md (#2223)
31+
* Add Source Generator for TagsList (#2076, #2258, #2262)
32+
* [Test Package Versions Bump] Updating package versions (#2145, #2219, #2231, #2246, #2276)
33+
* Pipeline reliability updates (#2149, #2226)
34+
* Fix flaky test in AspNetVersionConflictTests (#2189)
35+
* Fix Datadog.Trace.sln build issues (#2192)
36+
* Add more tests around public API (#2202)
37+
* Rewrite logs injection benchmarks (#2204)
38+
* Disable parallelization in runtime metrics tests (#2227)
39+
* Remove ConcurrentDictionary in SpanStatisticalTests (#2229)
40+
* Add a Nuke target to update snapshots (#2232)
41+
* Fix benchmark allocation comparison (#2236, #2207)
42+
* [AppSec] Improve testing (#2239)
43+
* Add regression tests for the tool command line arguments (#2243, #2253, #2263)
44+
* Add workaround to support VS2022 with Nuke (#2252)
45+
* Run GraphQL tests against latest package versions (#2264)
46+
* [Test Package Versions Bump] Updating package versions ()
47+
48+
[Changes since 1.31.1](https://github.com/DataDog/dd-trace-dotnet/compare/v1.31.1...v2.1.0)
49+
350
## [Release 2.0.1](https://github.com/DataDog/dd-trace-dotnet/releases/tag/v2.0.1)
451

552
## Changes

shared/src/msi-installer/WindowsInstaller.wixproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
<IntermediateOutputPath>obj\$(Configuration)\$(Platform)\</IntermediateOutputPath>
1818
<SuppressPdbOutput>True</SuppressPdbOutput>
1919
<DefineSolutionProperties>false</DefineSolutionProperties>
20-
<OutputName>datadog-dotnet-apm-2.0.1-$(Platform)</OutputName> <!-- -The regex recognizes this line -->
20+
<OutputName>datadog-dotnet-apm-2.1.0-$(Platform)</OutputName> <!-- -The regex recognizes this line -->
2121
<OutputName>$(OutputName)-profiler-beta</OutputName>
2222
<OutputName Condition=" '$(BetaMsiSuffix)' != '' ">$(OutputName)-$(BetaMsiSuffix)</OutputName>
2323
<MonitoringHomeDirectory Condition="'$(MonitoringHomeDirectory)' == ''">$(MSBuildThisFileDirectory)..\..\bin\monitoring-home</MonitoringHomeDirectory>
2424
<TracerHomeDirectory Condition="'$(TracerHomeDirectory)' == ''">$(MSBuildThisFileDirectory)..\bin\windows-tracer-home</TracerHomeDirectory>
2525
<ProfilerHomeDirectory Condition="'$(ProfilerHomeDirectory)' == ''">$(MSBuildThisFileDirectory)..\bin\DDProf-Deploy</ProfilerHomeDirectory>
26-
<DefineConstants>InstallerVersion=2.0.1;MonitoringHomeDirectory=$(MonitoringHomeDirectory);TracerHomeDirectory=$(TracerHomeDirectory);LibDdwafDirectory=$(LibDdwafDirectory);ProfilerHomeDirectory=$(ProfilerHomeDirectory)</DefineConstants>
26+
<DefineConstants>InstallerVersion=2.1.0;MonitoringHomeDirectory=$(MonitoringHomeDirectory);TracerHomeDirectory=$(TracerHomeDirectory);LibDdwafDirectory=$(LibDdwafDirectory);ProfilerHomeDirectory=$(ProfilerHomeDirectory)</DefineConstants>
2727
<LibDdwafDirectory Condition="'$(LibDdwafDirectory)' == ''">$(LibDdwafDirectory)..\..\packages\libddwaf.1.0.14</LibDdwafDirectory>
2828
</PropertyGroup>
2929
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">

tracer/build/_build/Build.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ partial class Build : NukeBuild
6565
readonly bool IsAlpine = false;
6666

6767
[Parameter("The build version. Default is latest")]
68-
readonly string Version = "2.0.1";
68+
readonly string Version = "2.1.0";
6969

7070
[Parameter("Whether the build version is a prerelease(for packaging purposes). Default is latest")]
7171
readonly bool IsPrerelease = false;

tracer/samples/AutomaticTraceIdInjection/Log4NetExample/Log4NetExample.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Datadog.Trace" Version="2.0.1" />
9+
<PackageReference Include="Datadog.Trace" Version="2.1.0" />
1010
<PackageReference Include="log4net" Version="2.0.12" />
1111
<PackageReference Include="log4net.Ext.Json" Version="2.0.8.3" />
1212
</ItemGroup>

tracer/samples/AutomaticTraceIdInjection/MicrosoftExtensionsExample/MicrosoftExtensionsExample.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<ItemGroup>
88
<PackageReference Include="Datadog.Monitoring.Distribution" Version="1.28.6-beta01" />
9-
<PackageReference Include="Datadog.Trace" Version="2.0.1" />
9+
<PackageReference Include="Datadog.Trace" Version="2.1.0" />
1010
<PackageReference Include="Microsoft.Extensions.Hosting" Version="3.1.18" />
1111
<PackageReference Include="NetEscapades.Extensions.Logging.RollingFile" Version="2.5.0-beta01" />
1212
<PackageReference Include="Serilog.Extensions.Logging" Version="3.0.1" />

tracer/samples/AutomaticTraceIdInjection/NLog40Example/NLog40Example.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Datadog.Trace" Version="2.0.1" />
9+
<PackageReference Include="Datadog.Trace" Version="2.1.0" />
1010
<PackageReference Include="NLog" Version="4.0.0" />
1111
</ItemGroup>
1212

tracer/samples/AutomaticTraceIdInjection/NLog45Example/NLog45Example.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Datadog.Trace" Version="2.0.1" />
9+
<PackageReference Include="Datadog.Trace" Version="2.1.0" />
1010
<PackageReference Include="NLog" Version="4.5.11" />
1111
</ItemGroup>
1212

tracer/samples/AutomaticTraceIdInjection/NLog46Example/NLog46Example.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Datadog.Trace" Version="2.0.1" />
9+
<PackageReference Include="Datadog.Trace" Version="2.1.0" />
1010
<PackageReference Include="NLog" Version="4.6.7" />
1111
</ItemGroup>
1212

tracer/samples/AutomaticTraceIdInjection/SerilogExample/SerilogExample.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Datadog.Trace" Version="2.0.1" />
9+
<PackageReference Include="Datadog.Trace" Version="2.1.0" />
1010
<PackageReference Include="Serilog" Version="2.9.0" />
1111
<PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" />
1212
<PackageReference Include="Serilog.Sinks.File" Version="4.1.0" />

tracer/samples/ConsoleApp/Alpine3.10.dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ COPY --from=build /app/out .
1616

1717
# Set up Datadog APM
1818
RUN apk --no-cache update && apk add curl
19-
ARG TRACER_VERSION=2.0.1
19+
ARG TRACER_VERSION=2.1.0
2020
RUN mkdir -p /var/log/datadog
2121
RUN mkdir -p /opt/datadog
2222
RUN curl -L https://github.com/DataDog/dd-trace-dotnet/releases/download/v${TRACER_VERSION}/datadog-dotnet-apm-${TRACER_VERSION}-musl.tar.gz \

tracer/samples/ConsoleApp/Alpine3.9.dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ COPY --from=build /app/out .
1616

1717
# Set up Datadog APM
1818
RUN apk --no-cache update && apk add curl
19-
ARG TRACER_VERSION=2.0.1
19+
ARG TRACER_VERSION=2.1.0
2020
RUN mkdir -p /var/log/datadog
2121
RUN mkdir -p /opt/datadog
2222
RUN curl -L https://github.com/DataDog/dd-trace-dotnet/releases/download/v${TRACER_VERSION}/datadog-dotnet-apm-${TRACER_VERSION}-musl.tar.gz \

tracer/samples/ConsoleApp/Debian.dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ WORKDIR /app
1515
COPY --from=build /app/out .
1616

1717
# Set up Datadog APM
18-
ARG TRACER_VERSION=2.0.1
18+
ARG TRACER_VERSION=2.1.0
1919
RUN mkdir -p /var/log/datadog
2020
RUN mkdir -p /opt/datadog
2121
RUN curl -LO https://github.com/DataDog/dd-trace-dotnet/releases/download/v${TRACER_VERSION}/datadog-dotnet-apm_${TRACER_VERSION}_amd64.deb

tracer/samples/WindowsContainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
FROM mcr.microsoft.com/dotnet/aspnet:5.0-windowsservercore-ltsc2019 AS base
77
WORKDIR /app
88

9-
ARG TRACER_VERSION=2.0.1
9+
ARG TRACER_VERSION=2.1.0
1010
ENV DD_TRACER_VERSION=$TRACER_VERSION
1111
ENV ASPNETCORE_URLS=http://*.80
1212

tracer/src/Datadog.Monitoring.Distribution/Datadog.Monitoring.Distribution.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>2.0.1</Version>
4+
<Version>2.1.0</Version>
55
<Version>$(Version)-beta01</Version> <!-- Unconditionally add a beta suffix to the package, but keep the rest of the name so we can associate it with the rest of the release -->
66
<Title>Datadog APM Auto-instrumentation Assets</Title>
77
<Description>Auto-instrumentation assets for Datadog APM</Description>

tracer/src/Datadog.Trace.AspNet/Datadog.Trace.AspNet.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>net461</TargetFrameworks>
5-
<Version>2.0.1</Version>
5+
<Version>2.1.0</Version>
66
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
77
</PropertyGroup>
88

tracer/src/Datadog.Trace.ClrProfiler.Managed.Loader/Datadog.Trace.ClrProfiler.Managed.Loader.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<OutputPath>..\bin\ProfilerResources\</OutputPath>
77

88
<!-- NuGet -->
9-
<Version>2.0.1</Version>
9+
<Version>2.1.0</Version>
1010

1111
<!-- Hide warnings for EOL .NET Core targets (e.g. netcoreapp2.0) -->
1212
<CheckEolTargetFramework>false</CheckEolTargetFramework>

tracer/src/Datadog.Trace.ClrProfiler.Managed.Loader/Startup.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Datadog.Trace.ClrProfiler.Managed.Loader
1313
/// </summary>
1414
public partial class Startup
1515
{
16-
private const string AssemblyName = "Datadog.Trace, Version=2.0.1.0, Culture=neutral, PublicKeyToken=def86d061d0d2eeb";
16+
private const string AssemblyName = "Datadog.Trace, Version=2.1.0.0, Culture=neutral, PublicKeyToken=def86d061d0d2eeb";
1717

1818
/// <summary>
1919
/// Initializes static members of the <see cref="Startup"/> class.

tracer/src/Datadog.Trace.ClrProfiler.Native/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cmake_policy(SET CMP0015 NEW)
55
# Project definition
66
# ******************************************************
77

8-
project("Datadog.Trace.ClrProfiler.Native" VERSION 2.0.1)
8+
project("Datadog.Trace.ClrProfiler.Native" VERSION 2.1.0)
99

1010
# ******************************************************
1111
# Environment detection

tracer/src/Datadog.Trace.ClrProfiler.Native/Resource.rc

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ END
5050
//
5151

5252
VS_VERSION_INFO VERSIONINFO
53-
FILEVERSION 2,0,1,0
54-
PRODUCTVERSION 2,0,1,0
53+
FILEVERSION 2,1,0,0
54+
PRODUCTVERSION 2,1,0,0
5555
FILEFLAGSMASK 0x3fL
5656
#ifdef _DEBUG
5757
FILEFLAGS 0x1L
@@ -68,12 +68,12 @@ BEGIN
6868
BEGIN
6969
VALUE "CompanyName", "Datadog, Inc."
7070
VALUE "FileDescription", "Datadog CLR Profiler"
71-
VALUE "FileVersion", "2.0.1.0"
71+
VALUE "FileVersion", "2.1.0.0"
7272
VALUE "InternalName", "Datadog.Trace.ClrProfiler.Native.DLL"
7373
VALUE "LegalCopyright", "Copyright 2017 Datadog, Inc."
7474
VALUE "OriginalFilename", "Datadog.Trace.ClrProfiler.Native.DLL"
7575
VALUE "ProductName", "Datadog .NET Tracer"
76-
VALUE "ProductVersion", "2.0.1"
76+
VALUE "ProductVersion", "2.1.0"
7777
END
7878
END
7979
BLOCK "VarFileInfo"

tracer/src/Datadog.Trace.ClrProfiler.Native/dd_profiler_constants.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const WSTRING system_private_corelib_assemblyName = WStr("System.Private.CoreLib
8080
const WSTRING datadog_trace_clrprofiler_managed_loader_assemblyName = WStr("Datadog.Trace.ClrProfiler.Managed.Loader");
8181

8282
const WSTRING managed_profiler_full_assembly_version =
83-
WStr("Datadog.Trace, Version=2.0.1.0, Culture=neutral, PublicKeyToken=def86d061d0d2eeb");
83+
WStr("Datadog.Trace, Version=2.1.0.0, Culture=neutral, PublicKeyToken=def86d061d0d2eeb");
8484

8585
const WSTRING managed_profiler_name = WStr("Datadog.Trace");
8686

@@ -111,7 +111,7 @@ const AssemblyProperty managed_profiler_assembly_property = AssemblyProperty(
111111
49, 105, 236, 40, 21, 176, 12, 238, 238, 204, 141, 90, 27, 244, 61, 182, 125, 41, 97, 163,
112112
233, 190, 161, 57, 127, 4, 62, 192, 116, 145, 112, 150, 73, 37, 47, 85, 101, 183, 86, 197},
113113
160, 32772, 1)
114-
.WithVersion(2, 0, 1, 0);
114+
.WithVersion(2, 1, 0, 0);
115115

116116
} // namespace trace
117117

Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#pragma once
22

3-
constexpr auto PROFILER_VERSION = "2.0.1";
3+
constexpr auto PROFILER_VERSION = "2.1.0";

tracer/src/Datadog.Trace.MSBuild/Datadog.Trace.MSBuild.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>2.0.1</Version>
4+
<Version>2.1.0</Version>
55
</PropertyGroup>
66

77
<!-- For VS testing purposes only, copy all implementation assemblies to the

tracer/src/Datadog.Trace.OpenTracing/Datadog.Trace.OpenTracing.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<!-- NuGet -->
5-
<Version>2.0.1</Version>
5+
<Version>2.1.0</Version>
66
<Title>Datadog APM - OpenTracing</Title>
77
<Description>Provides OpenTracing support for Datadog APM</Description>
88
<PackageTags>$(PackageTags);OpenTracing</PackageTags>

tracer/src/Datadog.Trace.Tools.Runner/Datadog.Trace.Tools.Runner.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<Version>2.0.1</Version>
4+
<Version>2.1.0</Version>
55
<Title>Datadog APM Auto-instrumentation Runner</Title>
66
<Copyright>Copyright 2020 Datadog, Inc.</Copyright>
77
<Description>Auto-instrumentation dotnet global tool for Datadog APM</Description>

tracer/src/Datadog.Trace/Datadog.Trace.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<!-- NuGet -->
5-
<Version>2.0.1</Version>
5+
<Version>2.1.0</Version>
66
<Title>Datadog APM</Title>
77
<Description>Instrumentation library for Datadog APM.</Description>
88
<PublishRepositoryUrl>true</PublishRepositoryUrl>

tracer/src/Datadog.Trace/TracerConstants.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ internal static class TracerConstants
1414
/// </summary>
1515
public const ulong MaxTraceId = 9_223_372_036_854_775_807;
1616

17-
public static readonly string AssemblyVersion = "2.0.1.0";
17+
public static readonly string AssemblyVersion = "2.1.0.0";
1818
}
1919
}

tracer/src/WindowsInstaller/WindowsInstaller.wixproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<IntermediateOutputPath>obj\$(Configuration)\$(Platform)\</IntermediateOutputPath>
1818
<SuppressPdbOutput>True</SuppressPdbOutput>
1919
<DefineSolutionProperties>false</DefineSolutionProperties>
20-
<OutputName>datadog-dotnet-apm-2.0.1-$(Platform)</OutputName>
20+
<OutputName>datadog-dotnet-apm-2.1.0-$(Platform)</OutputName>
2121
<TracerHomeDirectory Condition="'$(TracerHomeDirectory)' == ''">$(MSBuildThisFileDirectory)..\bin\windows-tracer-home</TracerHomeDirectory>
22-
<DefineConstants>InstallerVersion=2.0.1;TracerHomeDirectory=$(TracerHomeDirectory);LibDdwafDirectory=$(LibDdwafDirectory)</DefineConstants>
22+
<DefineConstants>InstallerVersion=2.1.0;TracerHomeDirectory=$(TracerHomeDirectory);LibDdwafDirectory=$(LibDdwafDirectory)</DefineConstants>
2323
<LibDdwafDirectory Condition="'$(LibDdwafDirectory)' == ''">$(LibDdwafDirectory)..\..\packages\libddwaf.1.0.7</LibDdwafDirectory>
2424
</PropertyGroup>
2525
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">

tracer/test/test-applications/regression/AutomapperTest/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM mcr.microsoft.com/dotnet/core/runtime:2.1-stretch-slim AS base
2-
ARG TRACER_VERSION=2.0.1
2+
ARG TRACER_VERSION=2.1.0
33
RUN mkdir -p /opt/datadog
44
RUN mkdir -p /var/log/datadog/dotnet
55
RUN curl -L https://github.com/DataDog/dd-trace-dotnet/releases/download/v$TRACER_VERSION/datadog-dotnet-apm-$TRACER_VERSION.tar.gz | tar xzf - -C /opt/datadog

0 commit comments

Comments
 (0)