Skip to content

Commit

Permalink
[Version Bump] 2.52.0 (#5534)
Browse files Browse the repository at this point in the history
Co-authored-by: daniel-romano-DD <daniel-romano-DD@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and daniel-romano-DD authored May 6, 2024
1 parent 0bd8d72 commit 5ec7bff
Show file tree
Hide file tree
Showing 39 changed files with 148 additions and 51 deletions.
97 changes: 97 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,103 @@





## [Release 2.51.0](https://github.com/DataDog/dd-trace-dotnet/releases/tag/v2.51.0)

## Summary

- [APM] Fix rare `TypeLoadException` when running instrumented code
- [APM] Fix issue with runtime metrics that could cause memory usage to be reported as negative on x86
- [IAST] Directory listing leak vulnerability detection (Kestrel)
- [ASM] RASP: SSRF blocking. LFi reporting.
- [CI Visibility] Early Flake Detection
- [CI Visibility] Selenium + RUM support
- [Dynamic Instrumentation] Support pointer and pinned local
- [Profiler] Several fixes

## Changes

### Tracer
* Encode the last seen Datadog span ID within `tracestate` (#5176)
* Check to ignore Activity when creating TraceID (#5318)
* read variable responsible for enabling SCA (#5432)
* Fix sending `Content-Length: 0` when using chunked-encoding (#5445)
* Add full support for multipart form requests (#5448)
* Avoid batching updates in runtime metrics (#5469)
* Update `RegexBuilder` to accept a `Timeout` so we can reduce flake (#5471)
* [Tracing] sampling code cleanup (#5477)
* Switch memory mapped counters to unsigned (#5480)
* [Dynamic Instrumentation] Add 'connectionString' to the list of redacted values (#5487)
* [Dynamic Instrumentation] Do not create probe processor and rate limiting for unbound line probes (#5503)
* [Dynamic Instrumentation] Consolidate PII redaction keys for all libraries. (#5522)

### CI Visibility
* [CI Visibility] Early Flake Detection (#5320)
* [CI Visibility] - Improvements to the `dd-trace ci ...` commands (#5468)
* [CI Visibility] - Selenium + RUM support (#5505)
* [CI Visibility] - Ensure continuous profiler flush on CI Visibility close method (#5513)
* [CI Visibility] - Fix force Evp proxy environment variable (#5526)
* [CI Visibility] Add linux `whereis` command as a fallback to locate the target binary. (#5532)

### ASM
* [ASM][IAST] Add Directory listing leak vulnerability (kestrel) (#5475)
* [ASM] change env variable name to remove experimental keyword (#5478)
* [ASM][IAST] Add exception for Vary: Origin (#5486)
* Send Rasp settings. Change codeowner file for snapshots. (#5490)
* [ASM] RASP: Lfi reporting (#5491)
* [ASM] Rasp: Block SSRF attacks (#5507)
* [ASM] Add stack traces to the span for RASP vulnerabilities (#5515)
* [ASM] Add RASP telemetry (#5527)

### Continuous Profiler
* [Profiler] Fix crash in Sampler at shutdown (#5483)
* [Profiler] Fix various thing in the profiler testing infrastructure (#5495)
* [Profiler] Fix bug debug info store & line of code (Code viewer) (#5496)

### Debugger
* [Dynamic Instrumentation] Fix `System.ArgumentNullException` while processing span decoration probes with empty tags (#5444)
* [Debugger][Test] skip some tests that fail in `DEBUG` mode (#5452)
* [Dynamic Instrumentation] DEBUG-2320 Support pointer and pinned local (#5464)
* [Dynamic Instrumentation] DEBUG-2321 Add local pinned and pointer for instrumentation verification (#5465)
* [Dynamic Instrumentation] DEBUG-2322 Find correct member ref based on best candidate (#5467)
* [Dynamic Instrumentation] Fix PinnedLocalTest (#5511)

### Serverless
* [Serverless] add `CI_COMMIT_TAG` to be sent downstream (#5460)

### Fixes
* Fix nullable reference bugs in Kinesis integration (#5528)

### Build / Test
* Avoid more flake in smoke tests (#5413)
* Try again to fix dd-trace build (#5429)
* Refactor test infrastructure to support chunked encoding/gzip correctly (#5446)
* Add testing of `IMultipartApiRequest` for UDS, streams and gzip (#5447)
* [CI] Minor cleanup (#5450)
* Fix dotnet_tool build (#5470)
* Fix some flaky tests in IAST and sampling (#5472)
* Ignore expected CI Visibility error (#5482)
* [CLI Tool] Updated COMPlus_EnableDiagnostics Message (#5485)
* Simplify CI Visibility snapshot names (#5488)
* [CI] Fix flake in Git Telemetry (#5497)
* Remove direct references to Datadog.Trace from Security samples (#5500)
* Fix DSM SQS tests (#5530)

### Miscellaneous
* Calltarget `ref struct` support (#5442)
* [APM] Add git reference to application telemetry (#5459)
* Update WAF to version 1.17 (#5463)
* Don't send errors from Exceptions during requests to RCM (#5466)
* Fix RegisterIastAspects signature (#5474)
* Fix git metadata collection (#5489)
* Fix race condition when initializing metadata (#5508)
* Remove some write flags from GetModuleMetaData calls (#5517)
* Prefix dynamic assemblies with "Datadog." (#5523)
* Include inner exceptions in the telemetry logs (#5529)


[Changes since 2.50.0](https://github.com/DataDog/dd-trace-dotnet/compare/v2.50.0...v2.51.0)

## [Release 2.50.0](https://github.com/DataDog/dd-trace-dotnet/releases/tag/v2.50.0)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Project definition
# ******************************************************

project("Datadog.Linux.ApiWrapper" VERSION 2.51.0)
project("Datadog.Linux.ApiWrapper" VERSION 2.52.0)

# ******************************************************
# Compiler options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Project definition
# ******************************************************

project("Datadog.Profiler.Native.Linux" VERSION 2.51.0)
project("Datadog.Profiler.Native.Linux" VERSION 2.52.0)

option(RUN_ASAN "Build with Clang Undefined-Behavior Sanitizer" OFF)
option(RUN_UBSAN "Build with Clang Undefined-Behavior Sanitizer" OFF)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ END

// ------- version info -------------------------------------------------------
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,51,0,0
PRODUCTVERSION 2,51,0,0
FILEVERSION 2,52,0,0
PRODUCTVERSION 2,52,0,0
FILEFLAGSMASK VS_FF_PRERELEASE
FILEOS VOS_NT
FILETYPE VFT_DLL
Expand All @@ -74,12 +74,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Datadog"
VALUE "FileDescription", "Continuous Profiler for .NET Applications"
VALUE "FileVersion", "2.51.0.0"
VALUE "FileVersion", "2.52.0.0"
VALUE "InternalName", "Native Profiler Engine"
VALUE "LegalCopyright", "(c) Datadog 2020-2022"
VALUE "OriginalFilename", "Datadog.Profiler.Native.dll"
VALUE "ProductName", "Continuous Profiler for .NET Applications"
VALUE "ProductVersion", "2.51.0.0"
VALUE "ProductVersion", "2.52.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

#pragma once

constexpr auto PROFILER_VERSION = "2.51.0";
constexpr auto PROFILER_VERSION = "2.52.0";
2 changes: 1 addition & 1 deletion profiler/src/ProfilerEngine/ProductVersion.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<!-- * * * * * * * * * * * INPUTS. Update this section EVERY time the component is shipped/released! * * * * * * * * * * * -->
<PropertyGroup>
<ProductVersion>2.51.0</ProductVersion>
<ProductVersion>2.52.0</ProductVersion>
</PropertyGroup>
<!-- * * * * * * * * * * * END OF INPUTS. * * * * * * * * * * * -->

Expand Down
2 changes: 1 addition & 1 deletion shared/src/Datadog.Trace.ClrProfiler.Native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cmake_policy(SET CMP0015 NEW)
# Project definition
# ******************************************************

project("Datadog.Trace.ClrProfiler.Native" VERSION 2.51.0)
project("Datadog.Trace.ClrProfiler.Native" VERSION 2.52.0)

# ******************************************************
# Environment detection
Expand Down
8 changes: 4 additions & 4 deletions shared/src/Datadog.Trace.ClrProfiler.Native/Resource.rc
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ VS_VERSION_INFO VERSIONINFO
#else
FILEFLAGS 0x0L
#endif
FILEVERSION 2,51,0,0
PRODUCTVERSION 2,51,0,0
FILEVERSION 2,52,0,0
PRODUCTVERSION 2,52,0,0
FILEOS VOS_NT
FILETYPE VFT_DLL
BEGIN
Expand All @@ -68,12 +68,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Datadog"
VALUE "FileDescription", "Native loader for Datadog .NET APM"
VALUE "FileVersion", "2.51.0.0"
VALUE "FileVersion", "2.52.0.0"
VALUE "InternalName", "Native loader"
VALUE "LegalCopyright", "(c) Datadog 2020-2022"
VALUE "OriginalFilename", "Datadog.Trace.ClrProfiler.Native.dll"
VALUE "ProductName", "Native loader for Datadog .NET APM"
VALUE "ProductVersion", "2.51.0.0"
VALUE "ProductVersion", "2.52.0.0"
END
END
BLOCK "VarFileInfo"
Expand Down
4 changes: 2 additions & 2 deletions shared/src/msi-installer/WindowsInstaller.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<IntermediateOutputPath>obj\$(Configuration)\$(Platform)\</IntermediateOutputPath>
<SuppressPdbOutput>True</SuppressPdbOutput>
<DefineSolutionProperties>false</DefineSolutionProperties>
<OutputName>datadog-dotnet-apm-2.51.0-$(Platform)</OutputName> <!-- -The regex recognizes this line -->
<OutputName>datadog-dotnet-apm-2.52.0-$(Platform)</OutputName> <!-- -The regex recognizes this line -->
<MonitoringHomeDirectory Condition="'$(MonitoringHomeDirectory)' == ''">$(MSBuildThisFileDirectory)..\..\bin\monitoring-home</MonitoringHomeDirectory>
<DefineConstants>InstallerVersion=2.51.0;MonitoringHomeDirectory=$(MonitoringHomeDirectory);</DefineConstants>
<DefineConstants>InstallerVersion=2.52.0;MonitoringHomeDirectory=$(MonitoringHomeDirectory);</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DefineConstants>$(DefineConstants);Debug</DefineConstants>
Expand Down
2 changes: 1 addition & 1 deletion tracer/build/_build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ partial class Build : NukeBuild
readonly bool IsAlpine = false;

[Parameter("The current version of the source and build")]
readonly string Version = "2.51.0";
readonly string Version = "2.52.0";

[Parameter("Whether the current build version is a prerelease(for packaging purposes)")]
readonly bool IsPrerelease = false;
Expand Down
2 changes: 1 addition & 1 deletion tracer/build/artifacts/dd-dotnet.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

TRACER_VERSION="2.51.0"
TRACER_VERSION="2.52.0"

# Get the directory of the script
DIR=$(dirname "$(readlink -f "$0")")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Datadog.Trace.Bundle" Version="2.50.0" />
<PackageReference Include="Datadog.Trace.Bundle" Version="2.51.0" />
<PackageReference Include="log4net" Version="2.0.12" />
<PackageReference Include="log4net.Ext.Json" Version="2.0.8.3" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Datadog.Trace.Bundle" Version="2.50.0" />
<PackageReference Include="Datadog.Trace.Bundle" Version="2.51.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" />
<PackageReference Include="NetEscapades.Extensions.Logging.RollingFile" Version="2.5.0" />
<PackageReference Include="Serilog.Extensions.Logging" Version="3.1.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Datadog.Trace.Bundle" Version="2.50.0" />
<PackageReference Include="Datadog.Trace.Bundle" Version="2.51.0" />
<PackageReference Include="NLog" Version="4.0.0" />
</ItemGroup>

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

<ItemGroup>
<PackageReference Include="Datadog.Trace.Bundle" Version="2.50.0" />
<PackageReference Include="Datadog.Trace.Bundle" Version="2.51.0" />
<PackageReference Include="NLog" Version="4.5.11" />
</ItemGroup>

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

<ItemGroup>
<PackageReference Include="Datadog.Trace.Bundle" Version="2.50.0" />
<PackageReference Include="Datadog.Trace.Bundle" Version="2.51.0" />
<PackageReference Include="NLog" Version="4.6.7" />
</ItemGroup>

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

<ItemGroup>
<PackageReference Include="Datadog.Trace.Bundle" Version="2.50.0" />
<PackageReference Include="Datadog.Trace.Bundle" Version="2.51.0" />
<PackageReference Include="Serilog" Version="2.9.0" />
<PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" />
<PackageReference Include="Serilog.Sinks.File" Version="4.1.0" />
Expand Down
2 changes: 1 addition & 1 deletion tracer/samples/ConsoleApp/Alpine3.10.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ COPY --from=build /app/out .

# Set up Datadog APM
RUN apk --no-cache update && apk add curl
ARG TRACER_VERSION=2.50.0
ARG TRACER_VERSION=2.51.0
RUN mkdir -p /var/log/datadog
RUN mkdir -p /opt/datadog
RUN curl -L https://github.com/DataDog/dd-trace-dotnet/releases/download/v${TRACER_VERSION}/datadog-dotnet-apm-${TRACER_VERSION}-musl.tar.gz \
Expand Down
2 changes: 1 addition & 1 deletion tracer/samples/ConsoleApp/Alpine3.9.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ COPY --from=build /app/out .

# Set up Datadog APM
RUN apk --no-cache update && apk add curl
ARG TRACER_VERSION=2.50.0
ARG TRACER_VERSION=2.51.0
RUN mkdir -p /var/log/datadog
RUN mkdir -p /opt/datadog
RUN curl -L https://github.com/DataDog/dd-trace-dotnet/releases/download/v${TRACER_VERSION}/datadog-dotnet-apm-${TRACER_VERSION}-musl.tar.gz \
Expand Down
2 changes: 1 addition & 1 deletion tracer/samples/ConsoleApp/Debian.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ WORKDIR /app
COPY --from=build /app/out .

# Set up Datadog APM
ARG TRACER_VERSION=2.50.0
ARG TRACER_VERSION=2.51.0
RUN mkdir -p /var/log/datadog
RUN mkdir -p /opt/datadog
RUN curl -LO https://github.com/DataDog/dd-trace-dotnet/releases/download/v${TRACER_VERSION}/datadog-dotnet-apm_${TRACER_VERSION}_amd64.deb
Expand Down
2 changes: 1 addition & 1 deletion tracer/samples/OpenTelemetry/Debian.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ WORKDIR /app
COPY --from=build /app/out .

# Download the Datadog .NET Tracer
ARG TRACER_VERSION=2.50.0
ARG TRACER_VERSION=2.51.0
RUN mkdir -p /var/log/datadog
RUN mkdir -p /opt/datadog
RUN curl -LO https://github.com/DataDog/dd-trace-dotnet/releases/download/v${TRACER_VERSION}/datadog-dotnet-apm_${TRACER_VERSION}_amd64.deb
Expand Down
2 changes: 1 addition & 1 deletion tracer/samples/WindowsContainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
FROM mcr.microsoft.com/dotnet/aspnet:5.0-windowsservercore-ltsc2019 AS base
WORKDIR /app

ARG TRACER_VERSION=2.50.0
ARG TRACER_VERSION=2.51.0
ENV DD_TRACER_VERSION=$TRACER_VERSION
ENV ASPNETCORE_URLS=http://*.80

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net461</TargetFrameworks>
<Version>2.51.0</Version>
<Version>2.52.0</Version>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>2.51.0</Version>
<Version>2.52.0</Version>
<Title>Datadog CI Visibility - BenchmarkDotNet</Title>
<Description>BenchmarkDotNet exporter for Datadog CI Visibility</Description>
<Nullable>enable</Nullable>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>2.51.0</Version>
<Version>2.52.0</Version>
<Title>Datadog APM Auto-instrumentation Assets</Title>
<Description>Auto-instrumentation assets for Datadog APM</Description>
<IncludeBuildOutput>false</IncludeBuildOutput>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<OutputPath>..\bin\ProfilerResources\</OutputPath>

<!-- NuGet -->
<Version>2.51.0</Version>
<Version>2.52.0</Version>

<!-- Hide warnings for EOL .NET Core targets (e.g. netcoreapp2.0) -->
<CheckEolTargetFramework>false</CheckEolTargetFramework>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Datadog.Trace.ClrProfiler.Managed.Loader
/// </summary>
public partial class Startup
{
private const string AssemblyName = "Datadog.Trace, Version=2.51.0.0, Culture=neutral, PublicKeyToken=def86d061d0d2eeb";
private const string AssemblyName = "Datadog.Trace, Version=2.52.0.0, Culture=neutral, PublicKeyToken=def86d061d0d2eeb";
private const string AzureAppServicesKey = "DD_AZURE_APP_SERVICES";
private const string AasCustomTracingKey = "DD_AAS_ENABLE_CUSTOM_TRACING";
private const string AasCustomMetricsKey = "DD_AAS_ENABLE_CUSTOM_METRICS";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>2.51.0</Version>
<Version>2.52.0</Version>
</PropertyGroup>

<!-- For VS testing purposes only, copy all implementation assemblies to the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<!-- NuGet -->
<Version>2.51.0</Version>
<Version>2.52.0</Version>
<Title>Datadog APM - OpenTracing</Title>
<Description>Provides OpenTracing support for Datadog APM</Description>
<PackageTags>$(PackageTags);OpenTracing</PackageTags>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>2.51.0</Version>
<Version>2.52.0</Version>
<Title>Datadog APM Auto-instrumentation Runner</Title>
<Copyright>Copyright 2020 Datadog, Inc.</Copyright>
<Description>Auto-instrumentation dotnet global tool for Datadog APM</Description>
Expand Down
Loading

0 comments on commit 5ec7bff

Please sign in to comment.