releases.shpreview

Datadog dd-trace-py

Mon
Wed
Fri
JulAugSepOctNovDecJanFebMarAprMayJunJul
Less
More
Releases51Avg16/moVersionsv3.19.8 to v4.11.1
v4.8.13

Fixed an IAST false positive vulnerability where tainted data from a concurrent request could leak into another request's checks — queries are now scoped to the calling request's slot. Also fixed a crash in PyYAML consumers like Airflow by keeping yaml/_yaml loaded during module cleanup.

Read more →
v4.10.9

Fixed IAST false positive vulnerabilities caused by taint leaking between requests, and a crash in the Python process when taint tracking handled %-formatting with IAST marker delimiters. Also fixed a profiling crash from conflicting SIGSEGV/SIGBUS handlers and a PyYAML module cleanup issue affecting Airflow.

Read more →
v4.9.6

Fixed a bug that broke PyYAML consumers like Airflow when modules are cleaned up. Resolved IAST false positive vulnerabilities caused by taint data leaking between concurrent requests, and a weak-hash false positive when IAST and the live debugger are both enabled.

Read more →
v4.11.0

LLM span data can now be exported to the Datadog Agent over the APM trace and reliably delivered even when the APM trace is not sampled. AI Guard evaluation support added to Anthropic SDK Messages instrumentation. Data Streams Monitoring context propagation introduced for Google Cloud Pub/Sub producer and subscriber operations. Additionally, new span tags now expose client-hit resources for Flask under non-empty WSGI SCRIPT_NAME, normalized routes for FastAPI and Starlette via RFC-1103, DBM propagation supports dynamic_service mode, and fast stack profiler optimization is now enabled by default.

Read more →
v4.12.0rc2

AI Guard now operates in standalone mode when APM tracing is disabled, sending traces to Datadog with USER_KEEP sampling priority and attributed to AI Guard without triggering APM host billing. Ray Serve instrumentation is added for versions 2.47.1+, tracing HTTP and gRPC requests, deployment routing, and distributed trace context propagation. The APM trace writer downgrades from v0.5 to v0.4 when LLM Observability is enabled, with no user action required.

Read more →
v4.10.8

Fixed a rare issue that could cause an application to hang after forking a child process. LLM Observability: fixed the google_adk integration dropping agent spans and orphaning child spans when a Gemini response part failed to parse; the span kind is now set before input/output extraction. Also fixed quarantined tests not being retried by Auto Test Retry, and improved Gemini response part rendering in the GenAI integrations.

Read more →
v4.11.0rc7

Resolved a memory leak in database monitoring that grew with query volume when DD_DBM_PROPAGATION_MODE was set to full, service, or dynamic_service. Fixed a Data Streams Monitoring bug where SQS message pathway context was not extracted for non-SNS messages with JSON payloads by reading the _datadog attribute from MessageAttributes first. Also fixed async Django middleware attributes not being preserved under ASGI, an application hang after child process forking, and quarantined test retry behavior in CI Visibility.

Read more →
v4.10.7

Resolved a memory leak in database monitoring that grew with query volume when DD_DBM_PROPAGATION_MODE was set to full, service, or dynamic_service. Fixed a Data Streams Monitoring bug where SQS message pathway context was not extracted for JSON payloads, and corrected async Django middleware attribute preservation under ASGI.

Read more →
v4.12.0rc1

AI Guard now operates in standalone mode when APM tracing is disabled, sending traces with USER_KEEP sampling priority so decisions are visible without triggering APM host billing. Ray Serve instrumentation is added for versions 2.47.1+, tracing HTTP/gRPC requests, deployment routing, and method execution across deployments. Also includes AI Guard stream response evaluation for OpenAI and Anthropic, normalized HTTP route tags for Tornado, PyTorch distributed training spans, LLMObs audio support, and mistralai client tracing.

Read more →
v4.10.6

Fixes a TypeError when wrapping async generators on Python 3.11–3.14, and corrects under-reported output_tokens and total_tokens for OpenAI-compatible providers in LLM Observability. Also fixes sent values being dropped and try/finally cleanup skipped on early generator close, prevents periodic thread restarts from blocking forked children, and fixes a rare crash on CPython before 3.12.

Read more →
v4.11.0rc4

Traces buffered before os.fork() could be sent twice — this fix resolves duplication. Applying @tracer.wrap() to an async generator now correctly forwards sent values, thrown exceptions, and close requests. Also fixes Celery spans ignoring global service name configuration, LLM Observability metadata dropped for non-string keys, and rare post-fork profiling crashes on CPython before 3.12.

Read more →
Last Checked
2h ago
Latest
v4.8.13
Tracking since Sep 4, 2025