github DataDog/dd-trace-py v3.8.0rc1
3.8.0rc1

latest releases: v3.13.0, v3.12.6, v3.12.5...
pre-release3 months ago

New Features

  • CI Visibility

    • Introduces the ability to gzip the payload when using the evp proxy setup, incurring in less network bandwidth consumption.
  • Code Security

    • IAST support for langchain v0.1.0 and above.
  • Error Tracking

    • Introduces automatic reporting of handled exceptions. Enabling the feature will report handled exceptions to Error Tracking from the user code, the third party packages code, some specified modules or everything based on configuration. This feature can be controlled using two environment variables:
      • DD_ERROR_TRACKING_HANDLED_ERRORS=user|third_party|all
      • DD_ERROR_TRACKING_HANDLED_ERRORS_INCLUDE=module1, module2, module3.submodule
  • LLM Observability

    • openai: Introduces tracing support for the OpenAI Responses endpoint.

Bug Fixes

  • CI Visibility

    • Resolves an issue where pytest-xdist would not exit with the proper status code if ATR was enabled.
    • Resolves an issue where ddtrace pytest plugin used with xdist would report test suites as failing even when all tests pass.
  • Code Origin

    • Fixes a performance issue with exit spans.
  • Code Security (IAST)

    • Avoids excessive filtering of stacktrace locations when finding vulnerabilities. After this change, vulnerabilities that were previously discarded will now be reported. In particular, if they were found within code in site-packages or outside of the working directory.
  • Dynamic Instrumentation

    • Prevents an exception when trying to remove a probe that did not resolve to a valid source code location.
  • LLM Observability

    • Resolves an issue where spans and evaluation metrics were not being sent via Unix sockets.
  • Profiling

    • Fixes an issue in the SynchronizedSamplePool where pool could be null when calling into ddog_ArrayQueue_ functions, leading to segfaults in the uWSGI shutdown
    • Improves performance of the memory profiler for large heaps. The memory profiler previously did a linear search of tracked allocations for every free, which scaled very poorly with large heaps. Switch to a fast hash map.
  • Tracing

    • kafka: Resolves an issue where message headers were sent to Kafka brokers that do not support them. Message headers are turned off when the Kafka server responds with UNKNOWN_SERVER_ERROR (-1).

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

NewReleases is sending notifications on new releases.