github DataDog/dd-trace-dotnet v2.30.0
2.30.0

latest releases: v3.39.0, v3.38.0, v3.37.0...
2 years ago

⚠️ This release contains a known issue with DD_DBM_PROPAGATION_MODE. The issue is resolved in version 2.35.0.
Enabling DD_DBM_PROPAGATION_MODE may cause runtime errors in your application if you set the CommandType property on DbCommand to CommandType.StoredProcedure. If you suspect your application or a dependent library is using stored procedures, and you are currently using this release, don't enable DD_DBM_PROPAGATION_MODE until upgrading to 2.35.0+.

Summary

  • [Tracer] Adds support for 128-bit Trace IDs
  • [ASM] Adds custom rules support
  • [Continuous Profiler] Enables timestamps and GC events by default for timeline view

Note
The Datadog .NET Tracer does not support application running in partial trust.

Changes

Tracer

  • [Tracing] add support for 128-bit trace ids (#3744)
  • Change the ownership of the RuntimeMetrics statsd instance (#4060)
  • Make ModuleMetadata thread-safe (#4061)
  • Update MessagePack to 1.9.11 (#4078)
  • Reduce allocations in sampling mechanism tagging (#4085)
  • [Tracer] Add interfaces to standardize operation name and service name calculations across schema versions (#4088)
  • Add support for MySql.Data 8.0.33 (#4109)

CI Visibility

  • [CI Visibility] Rename Intelligent Test Runner tag names (#3909)
  • [CI Visibility] Update ci specs and add codefresh support (#4049)
  • [CI Visibility] Add support for importing code coverage from cobertura and opencover format to the test session. (#4069)

ASM

  • [ASM] Update waf and custom rules (#4053)
  • [ASM] Add methods to location json (#4063)
  • [ASM] Fix ip resolution: some local ips weren't seen as local (#4067)
  • [ASM] Add custom rules support (#4077)
  • [ASM] Add IAST instrumented tests ownership to ASM (#4087)
  • [ASM] Update WAF (#4112)

Continuous Profiler

  • [Profiler] Enable timestamps and GC events by default for timeline view (#3982)
  • [Profiler] Make sure the memory dump is copied when a profiler test failed (#4047)
  • Fix rare and random crash on linux (#4055)
  • Investigate failing test on alpine (#4073)
  • [Profiler] Fix race for endpoint profiling (#4079)
  • [Profiler/Windows] Release HANDLE when Managed thread dies (#4089)

Fixes

  • Remove support for partial trust environment (#4083)
  • Add EditorBrowsableState.Never to types that should never be invoked (#4091)

Build / Test

  • [IAST] Enable deduplication tests on net7 (#3973)
  • Enable crash dumps on Windows (#3975)
  • [Tracer] Update samples for log collection, agentless logging, and logs trace ID correlation (#3994)
  • Update Nuke build to latest (#4000)
  • [Test Package Versions Bump] Updating package versions (#4013)
  • [Tracer] Attribute Schema configuration: Create distinct v0 and v1 span metadata rules (#4031)
  • Update dockerfile to build native code with clang-16 (#4036)
  • Add checksums for release artifacts (#4041)
  • Replace Datadog.Trace.OSX.sln with a solution filter (#4048)
  • [Tracer] Comprehensive package version testing fixes (#4057)
  • Fix CI Visibility source root in Docker based test (#4059)
  • InstrumentationVerification should override the log folder only if enabled (#4066)
  • Setup python3.9 for system tests (#4070)
  • Add obj as a folder exception in the static analysis workflow. (#4071)
  • Add debuglink to linux native lib to ease debugging experience (#4072)
  • Add jetbrains diagnoser to Benchmark tests (#4074)
  • Reduce the pressure on threadpool in the tests (#4086)
  • Option to add Datadog Profiler to the BenchmarkDotNet tests (#4094)
  • [Test Package Versions Bump] Updating package versions (#4096)
  • Fix BenchmarkDotNet tests build warnings (#4110)
  • Allow forcing code coverage in CI (#4113)
  • Stop the flake (#4114)

Miscellaneous

  • RCM refactoring from event model to subscriptions (#3983)
  • [Tracer] Improvement: Make the ServiceNames immutable (#4043)
  • Bump spdlog version (#4044)
  • Exclude more high-cardinality dependencies from telemetry (#4050)
  • Update Minimum required SDK version in Readme (#4092)
  • Skip injecting loader on partial trust (#4108)
  • Add trace::profiler null check (#4116)

Changes since 2.29.0

Don't miss a new dd-trace-dotnet release

NewReleases is sending notifications on new releases.