Skip to content

Releases: DataDog/dd-trace-py

2.8.3

29 Apr 14:28
cfcc77a

Choose a tag to compare

Bug Fixes

  • Code Security: This fix solves an issue with fstrings where formatting was not applied to int parameters.
  • logging: This fix resolves an issue where tracer.get_log_correlation_context() incorrectly returned a 128-bit trace_id even with DD_TRACE_128_BIT_TRACEID_LOGGING_ENABLED set to False (the default), breaking log correlation. It now returns a 64-bit trace_id.
  • profiling: Fixes a defect where the deprecated path to the Datadog span type was used by the profiler.

2.7.10

29 Apr 15:47
92079bc

Choose a tag to compare

Bug Fixes

  • Code Security: This fix solves an issue with fstrings where formatting was not applied to int parameters.
  • logging: This fix resolves an issue where tracer.get_log_correlation_context() incorrectly returned a 128-bit trace_id even with DD_TRACE_128_BIT_TRACEID_LOGGING_ENABLED set to False (the default), breaking log correlation. It now returns a 64-bit trace_id.
  • profiling: Fixes a defect where the deprecated path to the Datadog span type was used by the profiler.

2.6.12

29 Apr 14:28
0de2373

Choose a tag to compare

Bug Fixes

  • Code Security: This fix solves an issue with fstrings where formatting was not applied to int parameters.

2.8.2

22 Apr 17:07
7de9217

Choose a tag to compare

Bug Fixes

  • tracing: This fix resolves an issue where sampling rules were not matching correctly on float values that had a 0 decimal value. Sampling rules now evaluate such values as integers.

  • langchain: This fix resolves an issue where the LangChain integration always attempted to patch LangChain partner
    libraries, even if they were not available.

  • langchain: This fix resolves an issue where tracing Chain.invoke() instead of Chain.__call__() resulted in the an ArgumentError due to an argument name change for inputs between the two methods.

  • langchain: This fix adds error handling for checking if a traced LLM or chat model is an OpenAI instance, as the langchain_community package does not allow automatic submodule importing.

  • internal: This fix resolves an error regarding the remote config module with payloads missing a lib_config entry

  • profiling: fix a bug that caused the HTTP exporter to crash when attempting to serialize tags.

  • grpc: Resolves segfaults raised when grpc.aio interceptors are registered

  • Code Security: Ensure that when tainting the headers of a Flask application, iterating over the headers (i.e., with headers.items()) does not duplicate them.

  • pymongo: this resolves an issue where the library raised an error in pymongo.pool.validate_session

2.7.9

22 Apr 17:07
5819f49

Choose a tag to compare

Bug Fixes

  • internal: This fix resolves an error regarding the remote config module with payloads missing a lib_config entry
  • grpc: Resolves segfaults raised when grpc.aio interceptors are registered
  • Code Security: Ensure that when tainting the headers of a Flask application, iterating over the headers (i.e., with headers.items()) does not duplicate them.
  • pymongo: this resolves an issue where the library raised an error in pymongo.pool.validate_session

2.6.11

22 Apr 17:07
9531184

Choose a tag to compare

Bug Fixes

  • internal: This fix resolves an error regarding the remote config module with payloads missing a lib_config entry
  • Code Security: Ensure that when tainting the headers of a Flask application, iterating over the headers (i.e., with headers.items()) does not duplicate them.
  • pymongo: this resolves an issue where the library raised an error in pymongo.pool.validate_session

2.8.1

15 Apr 13:52
3d4927f

Choose a tag to compare

New Features

  • Code Security: to enable IAST in the application, you had to start it with the command ddtrace-run [your-application-run-command] so far. Now, you can also activate IAST with the patch_all function.

Bug Fixes

  • Code Security: fix setting the wrong source on map elements tainted from taint_structure.
  • Code Security: Fixes an issue where the AST patching process fails when the origin of a module is reported as None, raising a FileNotFoundError.
  • CI Visibility: fixes an issue where tests were less likely to be skipped due to ITR skippable tests requests timing out earlier than they should
  • Code Security: Fixed an issue with AES functions from the pycryptodome package that caused the application to crash and stop.
  • kafka: This fix resolves an issue where an empty message list returned from consume calls could cause crashes in the Kafka integration. Empty lists from consume can occur when the call times out.
  • ASM: This fix removes unrequired API security metrics.
  • instrumentation: fixes crashes that could occur in certain integrations with packages that use non-integer components in their version specifiers

2.7.8

15 Apr 13:59
83ca60b

Choose a tag to compare

Bug Fixes

  • Code Security: fix setting the wrong source on map elements tainted from taint_structure.
  • Code Security: Fixes an issue where the AST patching process fails when the origin of a module is reported as None, raising a FileNotFoundError.
  • CI Visibility: fixes an issue where tests were less likely to be skipped due to ITR skippable tests requests timing out earlier than they should
  • Code Security: Fixed an issue with AES functions from the pycryptodome package that caused the application to crash and stop.
  • ASM: This fix removes unrequired API security metrics.
  • instrumentation: fixes crashes that could occur in certain integrations with packages that use non-integer components in their version specifiers

2.6.10

15 Apr 14:19
bafd608

Choose a tag to compare

Bug Fixes

  • ASM: This fix resolves an issue where django login failure events may send wrong information of user existence.
  • Code Security: fix setting the wrong source on map elements tainted from taint_structure.
  • datastreams: Changed DSM processor error logs to debug logs for a statement which is retried. If all retries fail, the stack trace is included
  • Code Security: Fixes an issue where the AST patching process fails when the origin of a module is reported as None, raising a FileNotFoundError.
  • CI Visibility: fixes an issue where tests were less likely to be skipped due to ITR skippable tests requests timing out earlier than they should
  • internal: This fix resolves an issue where importing the ddtrace.contrib.botocore.services module would fail raising an ImportError
  • starlette: Fix a bug that crashed background tasks started from functions without a __name__ attribute
  • Code Security: Fixed an issue with AES functions from the pycryptodome package that caused the application to crash and stop.
  • Code Security: This fix addresses an issue where tainting objects may fail due to context not being created in the current span.
  • Code Security: Some native exceptions were not being caught correctly by the python tracer. This fix remove those exceptions to avoid fatal error executions.
  • ASM: This fix removes unrequired API security metrics.
  • structlog: Fixes error where multiple loggers would duplicate processors. Also adds processors injection when resetting to defaults.

2.7.7

05 Apr 19:53
ad6d1b9

Choose a tag to compare

Bug Fixes

  • ASM: This fix resolves an issue where django login failure events may send wrong information of user existence.
  • datastreams: Changed DSM processor error logs to debug logs for a statement which is retried. If all retries fail, the stack trace is included
  • internal: This fix resolves an issue where importing the ddtrace.internal.peer_service module would fail raising an ImportError
  • starlette: Fix a bug that crashed background tasks started from functions without a __name__ attribute
  • Vulnerability Management for Code-level (IAST): This fix addresses an issue where tainting objects may fail due to context not being created in the current span.
  • Vulnerability Management for Code-level (IAST): Some native exceptions were not being caught correctly by the python tracer.
    This fix removes those exceptions to avoid fatal error executions.
  • kafka: This fix resolves an issue where an empty message list returned from consume calls could cause crashes in the Kafka integration.
    Empty lists from consume can occur when the call times out.