Skip to content

Releases: DataDog/dd-trace-dotnet

3.18.0

02 Jun 11:05
efc7196
Compare
Choose a tag to compare

Summary

  • Add support for async Oracle DB commands
  • Add support for Microsoft.Extensions.Telemetry v9.5.0
  • Various bug fixes

Changes

Tracer

  • Differentiate between error states in logs (#7030)

ASM

  • [AAP] Update waf value obfuscation default regex value (#7004)
  • [AAP] Update waf to v1.25.0 (#7005)

Fixes

  • Ensure that there is an ActiveScope for AWS SDK Http integration (#7013)
  • Fix Microsoft.Extensions.Telemetry logging integration for 9.5.0 (#6989)
  • Fix a NullReferenceException in AWS SDK RuntimePipelineInvokeAsyncIntegration (#7019)
  • fix: enable retries on failure due to script error (#7022)
  • Fix support for async Oracle DB commands (#7034)
  • [Code Origin] DEBUG-3935 Fix type handle mismatch when resolving attribute type (#6994)

Miscellaneous

  • Add net8.0 and net9.0 to trimming nuspec (#6983)
  • Add ILogger.ErrorSkipTelemetry() to exclude certain logs from telemetry (#7028)

Build / Test

  • Update Microsoft.Azure.Functions.Worker.Sdk to 2.0.3 (#6996)
  • Pre-install the .NET SDK in Windows CI runners (#7001)
  • Fix timeout exception (#7007)
  • Add timeouts and retries to LiveDebuggerTests when debugger is disabled (#7010)
  • Allow specifying SampleName filter and comprehensive version testing (#7015)
  • Revert "Benchmarks: Update microbenchmarks to customize BenchmarkDotNet command line arguments" (#7016)
  • Update Microsoft.Azure.Functions.Worker.Sdk to 2.0.4 (#7018)
  • Replace DownloadPipelineArtifact by a pipeline step (#7021)
  • Skip flaky debugger tests on x86 (#7023)
  • Streamline release process by not explicitly creating a tag in create_draft_release.yml (#7024)
  • Mark a couple of tests as flaky (#7026)

Changes since 3.17.0

3.17.0

27 May 09:54
8b1a9ff
Compare
Choose a tag to compare

Summary

  • [Tracer] Add support for AWS SDK v4.0
  • [Tracer] Fix resource-based sampling for ASP.NET spans in IIS
  • [Tracer] Automatically disable Kafka header injection for unsupported brokers
  • [Test Optimization] Fixes for Impacted Tests and Attempt To Fix
  • [ASM/IAST] Improve sampling behaviour for vulnerability detection and schema extraction

Changes

Tracer

  • Add support for AWS SDK v4.0 (#6929)
  • [Tracer] Fix resource-based sampling for ASP.NET spans in IIS (#6936)
  • Fix: change cmd.component to component for process spans (#6969)

CI Visibility

  • [Test Optimization] Add missing provider's environment variables. (#6956)
  • [Test Optimization] Attempt to fix from v2 to v4 (#6963)
  • [dd-trace] Improved GAC commands (#6995)
  • Fix exit code from GacUninstallCommand when the assembly is not in the GAC (#7003)

ASM

  • [ASM] Disabled sampling in API Sec schema extractor in Standalone mode (#6957)
  • [IAST] New sampling mechanism (#6971)

Continuous Profiler

  • [Profiler] Provide exact minor.build version information for .NET Framework applications (#6974)
  • [Profiler] Refactor sample transformation (#6975)

Dynamic Instrumentation

  • [Dynamic Instrumentation] DEBUG-3796 Fix rate limiting for probes that don't have limit (#6921)

Fixes

  • Protect against null ref in W3CTraceContextPropagator.cs (#6991)
  • Add tests for manual injection/extraction and guard invalid implementations (#6998)
  • Disable Kafka header injection when brokers return unknown error (#6945)

Build / Test

  • Fix Debugger Windows integration tests not running (#6754)
  • Remove throughput tests (#6790)
  • Speed up Serilog, Grpc, and RabbitMq tests (#6894)
  • Remove Benchmark stages (#6895)
  • Remove isBenchmarksOnlyBuild from the pipeline (#6897)
  • Remove package_linux as a dependency of integration_tests_linux (#6911)
  • Avoid SystemDataSqlClientTests flaky tests (#6912)
  • Delete pipeline monitor (#6913)
  • Bump the gh-actions-packages group across 3 directories with 10 updates (#6915)
  • Remove deprecated field in datadog-static-analyzer-github-action (#6916)
  • [Test Package Versions Bump] Updating package versions (#6917)
  • Update test projects and samples to target .NET Framework 4.8 (#6922)
  • Fayssal/update bp infra (#6924)
  • Include ASM integration tests only when ASM files or critical files have changed (#6927)
  • Use DataDog/ensure-ci-success instead of wechuli/allcheckspassed (#6931)
  • Make various tweaks to pipeline (#6932)
  • Set CI variables to increase performance (#6933)
  • rewrite GenerateSpanDocumentation using roslyn to parse the files (#6937)
  • Update Windows Gitlab Runner AMI to v2 fleet (#6940)
  • Bump the gh-actions-packages group across 3 directories with 6 updates (#6944)
  • arm64 coredump debugging using docker (#6946)
  • Fix arm64 SQL server not found flaky tests (#6948)
  • Use a curled version of the dotnet-install script (#6949)
  • Update Microsoft.Azure.Functions.Worker.Sdk to 2.0.2 (#6950)
  • [Test Package Versions Bump] Updating package versions (#6953)
  • use 2 hours for "all green" check (#6954)
  • Explicitly end crashtracking job that hangs (#6955)
  • Update Windows to hosted managed DevOps pool (#6960)
  • Update Linux x64 to hosted managed DevOps pool (#6966)
  • Auto-delete hotfix branches (#6970)
  • Improve batching of system tests (#6976)
  • Try to work around crash tracking errors (#6977)
  • Switch remaining scale sets to the managed devops pools (#6978)
  • Fix typo in universal build definition (#6979)
  • Benchmarks: Disable Benchmarks.OpenTelemetry.Api from running in the RunBenchmarks Nuke build target (#6980)
  • Avoid gitlab jobs failing due to timeouts or interruptions (#6981)
  • Fix a couple of bugs on the instrumentation generator (#6985)
  • Benchmarks: Update microbenchmarks to customize BenchmarkDotNet command line arguments (#6990)
  • Remove scheduled SSI run (#6999)
  • Skip LineProbeUnboundProbeBecomesBoundTest because is too flaky (#7000)
  • Use custom test framework in the debugger integration tests (#7002)
  • Add new benchmark projects to microbenchmark OpenTelemetry Tracing APIs (#6968)

Miscellaneous

  • Product mask support for DSM (#6961)
  • [DBM] Do not log a debug message when setting context_info (#6967)
  • chore: update libdatadog to version 18.0.0 and hash values (#6941)
  • Revert "Revert Load the tracer/profiler after guardrails checks" (#6959)
  • Revert 'Reapply "Revert Load the tracer/profiler after guardrails checks" (#6959)' (#6986)
  • Add debug output to crashtracking (#6973)
  • Allow disabling remote config management explicitly (#6942)

Changes since 3.16.0

3.16.0

06 May 10:10
e96e542
Compare
Choose a tag to compare

Summary

  • [IAST] Add support for .NET 9 ReadOnlySpan<T> overloads for string manipulation
  • [IAST] Change cookie filter default value to avoid flooding
  • [Continuous Profiler] Add WaitHandle wait duration profiling
  • [Continuous Profiler] Fix possible shut down crash scenarios
  • [Exception Replay] Added support for top-most failing local root span

Changes

Tracer

  • [Tracer] update sampling formula (#6866)

ASM

  • [ASM] Removed unneeded rewrite PInvoke call for ASM (#6914)
  • [IAST] Add support for Dotnet 9 ReadOnlySpan String overloads (#6846)
  • [IAST] Change cookie filter default value (#6889)
  • [IAST] Iast Aspects logs refactor (#6888)

Continuous Profiler

  • [Profiler] Implement WaitHandle wait duration profiling (#6426)
  • [Profiler] Bump libdatadog to v17.0.0 (#6805)
  • [Profiler] Fix timer_create bug (#6811)
  • [Profiler] Fix short lived threads scenario (#6864)
  • [Profiler] Fix missing http profiler in profiler_list tag (#6865)
  • [Profiler] Remove logs in buggybits if needed (#6898)
  • [Profiler] Fix IpcServer for .NET Framework (#6903)
  • [Tracer] Fix possible crash in ContextTracker on shutdown (#6893)

Debugger

  • [Exception Replay] Added support for top-most failing local root span + Communicating failure to capture errors (#6859)

Fixes

  • Remove not required samples (#6862)

Miscellaneous

  • Add readme for MacOS development (#6018)
  • Add documentation around Xunit.Combinatorial (#6880)
  • [Dynamic Instrumentation] DEBUG-3492 Remove duration from non method snapshots (#6735)
  • Revert "[Dynamic Instrumentation] DEBUG-3492 Remove duration from non… (#6902)

Build / Test

  • Bump Microsoft.Azure.Functions.Worker.Extensions.Http from 3.2.0 to 3.3.0 in /tracer/test/test-applications/azure-functions/Samples.AzureFunctions.V4Isolated (#6605)
  • Add Xunit.Combinatorial for Combinatorial/Pairwise testing (#6847)
  • Add traits to exclude tests that will not run anyway (#6858)
  • Fix build warnings in debugger and ASM samples (#6867)
  • [Test Package Versions Bump] Updating package versions (#6874)
  • Expand ownership of Version Bump related files (#6877)
  • Add "all-green" job to enfore green CI policy (#6879)
  • [CI] Use public symbol org API KEY (#6881)
  • Update to use 9.0.203 of the .NET SDK (#6883)
  • Don't run throughput tests on PRs (#6884)
  • Dump the docker compose logs to try to see what's going on (#6886)
  • Adds a "flaky" attribute, that we can use to automatically retry flaky tests (#6891)
  • Fix Couchbase flaky tests (#6892)
  • Use code owners in build variable generation (#6896)
  • [Test Package Versions Bump] Updating package versions (#6900)
  • Try to fix flake in building runner tool (#6905)
  • Use mirrored, latest, image in GitLab build (#6906)
  • Update Serverless teams in CODEOWNERS (#6918)

Changes since 3.15.0

3.15.0

21 Apr 13:38
235f296
Compare
Choose a tag to compare

Summary

  • Add an inferred span to represent AWS API Gateway (#6624)
  • Add V2 of the Event Tracking SDK for ASM (#6760)
  • Add support for Datadog SpanEvents (#6769)
  • Add support for DynamoDB Span Pointers for Update Item and Delete Item (#6775)
  • Collect detected endpoints in Kestrel for API Security (#6733)
  • Add code.origin for entry spans in Dynamic Instrumentation
  • Restore Google.Protobuf instrumentation (#6826)
  • Fix edge case with loading instrumentations (#6815)
  • Disable instrumentations when an integration throws a MissingMethodException (#6807)

Changes

Changes since 3.14.3

3.14.3

10 Apr 08:17
c75cf09
Compare
Choose a tag to compare

Summary

Updates for initial Windows IIS OCI image preview release

Changes

Miscellaneous

  • Update .gitlab/one-pipeline.locked.yaml (#6818)

Changes since 3.14.2

3.14.2

03 Apr 12:35
69d701b
Compare
Choose a tag to compare

Summary

Updates for initial Windows IIS OCI image preview release

Changes

Miscellaneous

  • Update initial Windows IIS OCI image preview release

Changes since 3.14.1

3.14.1

03 Apr 09:42
226cf26
Compare
Choose a tag to compare

Summary

Initial preview release of Windows IIS OCI images

Changes

Misc

  • Initial Windows IIS OCI image preview release

Changes since 3.14.0

3.14.0

02 Apr 12:43
32e9252
Compare
Choose a tag to compare

Summary

  • [Database Monitoring] Propagate context for some stored procedures

Changes

Misc

  • [Database Monitoring] Propagate context for some stored procedures (#6799)

Build / Test

  • [R&D Week Profiling] Add tests for sync over async scenarios (#6763)
  • Download and Copy libdatadog binaries for Data-Pipeline integration (#6777)

Changes since 3.13.0

3.13.0

24 Mar 14:13
8e98459
Compare
Choose a tag to compare

Summary

  • Fix RabbitMQ V7+ headers being overwritten (thanks @johang88)!
  • Update the default value of DD_TRACE_128_BIT_TRACEID_LOGGING_ENABLED to true
  • Fix Microsoft.Extensions.Telemetry logging integration in 9.3.0
  • [Test Optimization] Flaky Test Management feature
  • Temporarily remove instrumentation for Protobuf Schema tagging

Changes

Tracer

  • [Tracing] Update the default value of DD_TRACE_128_BIT_TRACEID_LOGGING_ENABLED to true (#6751)
  • [Tracer] Fix Rabbitmq7 header injection overwrites user supplied basic properties [from external PR #6730] (#6753)
  • Fix Microsoft.Extensions.Telemetry logging integration in 9.3.0 (#6773)
  • Refactor RabbitMQ test sample (#6778)
  • Clarify doc comment for DD_TRACE_128_BIT_TRACEID_LOGGING_ENABLED (#6791)
  • fix: container ID prefix in metadata and related tests (#6793)

CI Visibility

  • [Test Optimization] Flaky Test Management feature (#6740)
  • [Test Optimization] Add missing test_session metric (#6776)

ASM

  • [ASM] Fix IAST Grpc DotNet flaky test (#6772)

Continuous Profiler

  • [Profiler] Change profiler to use the libdatadog dynamic library instead (#6301)

Debugger

  • Skip the failing debugger tests (#6755)

Serverless

  • Add AWS Lamda testing for .NET 9 (#6779)

Fixes

  • [BUG]: RabbitMQ Basic Properties overwritten to default values (#6723)
  • Fix: Rabbitmq7 header injection overwrites user supplied basic properties (#6730)
  • Remove instrumentation for Protobuf Schema tagging (#6792)

Build / Test

  • Fix dependabot configuration for gh-actions-packages group (#6696)
  • [IAST] LDAP flakiness fix (#6706)
  • [fleet installer] Add some integration tests (#6714)
  • [Test Package Versions Bump] Updating package versions (#6732)
  • [CI] Stop running windows throughput tests (#6752)
  • Remove profiler throughput tests and bump timeouts (#6757)
  • feat: add dev container for consistent development environment (#6761)
  • [Benchmarks] Migrate linux throughput tests (#6765)
  • ssi tests onepipeline (#6767)
  • Remove graphql scenarios from CI system tests (#6768)
  • Pin github actions to sha (#6774)
  • Disable the merge queue (#6780)
  • Update dependabot to scan composite actions (#6784)

Miscellaneous

  • [fleet installer] Try to fix Gac Installer issue when older versions are already installed (#6715)
  • add kafka topic to messaging.destination.name tag (#6758)
  • [fleet installer] Split the install command in two (#6766)
  • [fleet installer] Update logging for fleet installer (#6782)

Changes since 3.12.0

3.12.0

11 Mar 12:59
3e0a933
Compare
Choose a tag to compare

Summary

  • Fix NoWarn overriding in Datadog.Trace and Datadog.Trace.Trimming NuGet packages
  • [Tracer] Add support for S3 tracing using span links
  • [Test Optimization] Add support to xUnit v3 2.x.x
  • [ASM] Add support for standalone billing
  • [ASM] Add support for email injection detection in MimeKit and SimpleEmail
  • [Continuous Profiler] Enable ETW support by default for .NET Framework

Changes

Tracer

  • Adding datadog.json filepath to tracer startup logs (#6307)
  • [tracing] add null checks when iterating headers in propagators (#6460)
  • S3 Span Pointers (#6655)
  • don't propagate baggage when http client integration is disabled (#6692)
  • Fix: Ensure baggage properties are not interpreted as baggage values (#6693)
  • HTTP over streams: use vendored Utf8Parser.TryParse() (#6720)
  • [Tracing] Add configuration key DD_TRACE_EXPERIMENTAL_FEATURES_ENABLED (#6727)
  • [Tracing] Update DD_TAGS behavior through a feature flag to better align with Datadog Agent tags parsing logic (#6728)
  • Ignore entire baggage header if malformed (#6743)

CI Visibility

  • [Test Optimization] - Code refactor (#6709)
  • [Test Optimization] Add missing impacted test code in runner (#6722)
  • [Test Optimization] Add known tests feature (#6725)
  • [Test Optimization] Add support to xUnit v3 2.0.0 (#6738)

ASM

  • [ASM] Standalone billing V2 migration (#6663)
  • [ASM] Dont store additive context in httpcontext (#6609)
  • [ASM] Email injection: MimeKit and SimpleEmail (#6614)
  • [ASM] Add new RASP telemetry tags (#6685)
  • [ASM][ATO]Add business logic event address to the waf (#6701)
  • [ASM] Add new WAF events success telemetry tags. (#6707)
  • [ASM] WAF error span tags (#6729)
  • [ASM][ATO] Fix : remove ISession for trimming file, and ducktype (#6737)

Continuous Profiler

  • [Profiler] Properly initialize appDomainId (#6630)
  • [Profiler] Add Export project in Demo for datadog-ci tests (#6708)
  • [Profiler] Enable ETW support by default for .NET Framework (#6724)
  • [Profiler] Add logs for the different profilers configuration (#6739)
  • [Profiler] Add tag GC CPU samples (#6746)

Dynamic Instrumentation

  • [Dynamic Instrumentation] DEBUG-3572 Check for valid gzip content (#6687)

Serverless

  • Send sampling priority to lambda extension (#6719)

Data Streams Monitoring

  • [Data Streams Monitoring] Perf optimization for protobuf instrumentation (#6694)
  • [Data Streams Monitoring] use full name for protobuf schema.name tag (#6721)

Miscellaneous

  • [Crashtracking] Fix crashtracking in single-file apps (#6677)

  • Add DD_INSTRUMENTATION_INSTALL_TYPE variables for known install methods (#6695)

  • [Fleet installer] Add additional pre-verification check for IIS variables (#6697)

  • [Fleet installer] Don't fail uninstall if the GAC lib has additional references (#6698)

  • [fleet installer] Add additional logging for app pool modifications (#6700)

  • [fleet installer] Update (and fix) return code (#6712)

Build / Test

  • [Test Package Versions Bump] Updating package versions (#6703)
  • Add fixes for release process (#6704)
  • [Test Package Versions Bump] Updating package versions (#6711)
  • Fix "auto bump test package versions" workflow (#6713)
  • Add notification channel for build pipeline (#6717)
  • Fix HttpListener.GetContext leak in tests (#6750)

Changes since 3.11.1