Skip to content

Commit 6c5973d

Browse files
[Version Bump] 2.3.0 (DataDog#2385)
Co-authored-by: pierotibou <pierotibou@users.noreply.github.com>
1 parent 46efd8d commit 6c5973d

File tree

28 files changed

+90
-33
lines changed

28 files changed

+90
-33
lines changed

docs/CHANGELOG.md

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

3+
4+
## [Release 2.2.0](https://github.com/DataDog/dd-trace-dotnet/releases/tag/v2.2.0)
5+
6+
## Changes
7+
* Add support for direct log submission (#2240, #2332)
8+
* Add UDS Transport (#2142)
9+
* [AppSec] Prepare the public beta of the product
10+
* Rate Limiter for appsec traces (#2350)
11+
* Conform to new standard logs docs and remove some spammy logs (#2129)
12+
* Refactoring of instrumentation gateway, call security at end request for 404 rules (#2251)
13+
* [Serverless] auto instrument lambda handler (#2233)
14+
* [AAS] Allow using custom metrics or tracing without automatic tracing (#2186)
15+
* [AAS] Azure functions enabled by default, but still unpluggable (#2326)
16+
* [AAS] Default debug logs to false (#2314)
17+
* [CLI] Invest in our CLI tool to ease onboarding
18+
* Add process checks to the CLI (#2323)
19+
* Add a test to detect when the CLI home folder is missing (#2320)
20+
* Add new command line arguments (#2295)
21+
* Migrate CLI to Spectre.Console (#2254)
22+
* Add artifact tests for the dd-trace tool artifacts (#2280)
23+
* Add SpanContext.None (#2309)
24+
* Add initial support for x-datadog-tags propagation header (horizontal propagation) (#2178)
25+
* Move some static readonly fields to const (#2292)
26+
* Documentation
27+
* Add documentation for new InstrumentationDefinitions generator (#2317, #2310)
28+
* Delete outdated blog entry (#2304)
29+
* Add TryParse function from WSTRING to int (#2369)
30+
31+
## Fixes
32+
* Fix recording for `405 Method Not Allowed` in ASP.NET Core integration (#2333)
33+
* Add `#if NETFRAMEWORK` to System.Web integrations #2294
34+
* Avoid potential exception in Security constructor #2235
35+
36+
## Build / Test
37+
* [DEPENDABOT] Ignore Patches (#2315)
38+
* [Build] Add a no-op pipeline for PRs without code changes (#2378, #2347, 2334, 2303, #2296, #2342, 2287)
39+
* [Release] Make the rellease process faster (#2377, #2375, #2351, #2346, #2335, #2279)
40+
* Make releases instant(ish) (#2324)
41+
* Automatic upload of MSIs and Nugets (#2340)
42+
* [Build] Add env variable in CI builds to select a specific ref for the continuous profiler build (#2345)
43+
* Don't install the .NET tool in the CI build (#2363)
44+
* Add retry to cosmosdb initialization (#2348)
45+
* Fix some test data (#2329)
46+
* Bump the version of SourceLink (#2319)
47+
* Use a source generator to build InstrumentationDefinitions (#2288, #2305)
48+
* Update Verify files and version (#2301)
49+
* CI Improvements (#2306)
50+
* Update TagsList generation output and add verification action (#2285)
51+
* Run adhoc throughput test (#2248)
52+
* [Test Package Versions Bump] Updating package versions (#2284)
53+
* SpanContextPropagator unit tests (#2273)
54+
55+
56+
[Changes since 2.1.1](https://github.com/DataDog/dd-trace-dotnet/compare/v2.1.1...v2.2.0)
57+
58+
59+
360
## [Release 2.1.0](https://github.com/DataDog/dd-trace-dotnet/releases/tag/v2.1.0)
461

562
## 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.2.0-$(Platform)</OutputName> <!-- -The regex recognizes this line -->
20+
<OutputName>datadog-dotnet-apm-2.3.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.2.0;MonitoringHomeDirectory=$(MonitoringHomeDirectory);TracerHomeDirectory=$(TracerHomeDirectory);LibDdwafDirectory=$(LibDdwafDirectory);ProfilerHomeDirectory=$(ProfilerHomeDirectory)</DefineConstants>
26+
<DefineConstants>InstallerVersion=2.3.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.2.0";
68+
readonly string Version = "2.3.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.2.0" />
9+
<PackageReference Include="Datadog.Trace" Version="2.3.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.2.0" />
9+
<PackageReference Include="Datadog.Trace" Version="2.3.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.2.0" />
9+
<PackageReference Include="Datadog.Trace" Version="2.3.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.2.0" />
9+
<PackageReference Include="Datadog.Trace" Version="2.3.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.2.0" />
9+
<PackageReference Include="Datadog.Trace" Version="2.3.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.2.0" />
9+
<PackageReference Include="Datadog.Trace" Version="2.3.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.2.0
19+
ARG TRACER_VERSION=2.3.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.2.0
19+
ARG TRACER_VERSION=2.3.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.2.0
18+
ARG TRACER_VERSION=2.3.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.2.0
9+
ARG TRACER_VERSION=2.3.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.2.0</Version>
4+
<Version>2.3.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.2.0</Version>
5+
<Version>2.3.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.2.0</Version>
9+
<Version>2.3.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.2.0.0, Culture=neutral, PublicKeyToken=def86d061d0d2eeb";
16+
private const string AssemblyName = "Datadog.Trace, Version=2.3.0.0, Culture=neutral, PublicKeyToken=def86d061d0d2eeb";
1717
private const string AzureAppServicesKey = "DD_AZURE_APP_SERVICES";
1818
private const string AasCustomTracingKey = "DD_AAS_ENABLE_CUSTOM_TRACING";
1919
private const string AasCustomMetricsKey = "DD_AAS_ENABLE_CUSTOM_METRICS";

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.2.0)
8+
project("Datadog.Trace.ClrProfiler.Native" VERSION 2.3.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,2,0,0
54-
PRODUCTVERSION 2,2,0,0
53+
FILEVERSION 2,3,0,0
54+
PRODUCTVERSION 2,3,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.2.0.0"
71+
VALUE "FileVersion", "2.3.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.2.0"
76+
VALUE "ProductVersion", "2.3.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.2.0.0, Culture=neutral, PublicKeyToken=def86d061d0d2eeb");
83+
WStr("Datadog.Trace, Version=2.3.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, 2, 0, 0);
114+
.WithVersion(2, 3, 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.2.0";
3+
constexpr auto PROFILER_VERSION = "2.3.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.2.0</Version>
4+
<Version>2.3.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.2.0</Version>
5+
<Version>2.3.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.2.0</Version>
4+
<Version>2.3.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.2.0</Version>
5+
<Version>2.3.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 const string AssemblyVersion = "2.2.0.0";
17+
public const string AssemblyVersion = "2.3.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.2.0-$(Platform)</OutputName>
20+
<OutputName>datadog-dotnet-apm-2.3.0-$(Platform)</OutputName>
2121
<TracerHomeDirectory Condition="'$(TracerHomeDirectory)' == ''">$(MSBuildThisFileDirectory)..\bin\windows-tracer-home</TracerHomeDirectory>
22-
<DefineConstants>InstallerVersion=2.2.0;TracerHomeDirectory=$(TracerHomeDirectory);LibDdwafDirectory=$(LibDdwafDirectory)</DefineConstants>
22+
<DefineConstants>InstallerVersion=2.3.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.2.0
2+
ARG TRACER_VERSION=2.3.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)