Releases Index

Datadog dd-trace-py

$npx @buildinternet/releases get datadog-dd-trace-py
Mon
Wed
Fri
NovDecJanFebMarAprMayJunJulAugSepOctNov
Less
More
Releases37Avg11/moVersionsv3.19.9 to v4.17.0
v4.16.5

Fixed a memory leak where a contextvars copy made inside a @tracer.wrap function kept the local variables of the finished call in memory. Baggage headers that are oversized or malformed are now handled consistently, and an exception raised from a tracer.wrap-decorated async generator on Python 3.10 no longer surfaces as TypeError.

Read more ↗
v4.17.0

dd-trace-py 4.17.0 adds support for Python 3.15, though some products and integrations are not yet validated on it. The legacy CI Visibility pytest plugin is removed, so DD_PYTEST_USE_NEW_PLUGIN and DD_PYTEST_USE_NEW_PLUGIN_BETA no longer have any effect.

Read more ↗
v4.16.4

The Python tracer no longer hangs uWSGI workers at startup when ddtrace is imported in the master process without lazy-apps or py-call-uwsgi-fork-hooks set. The stack profiler no longer crashes when a uWSGI process exits mid-profile or when the process runs out of memory during export, dropping the profile instead.

Read more ↗
v4.17.0rc2

The legacy pytest plugin is removed and the DD_PYTEST_USE_NEW_PLUGIN environment variables no longer have any effect, so the pytest plugin is always used. dd-trace-py 4.17 adds Python 3.15 support, alongside aiohttp threat detection and blocking, SQL injection protection for byte queries, and MCP 2.x tracing.

Read more ↗
v4.16.3

CI Visibility no longer refetches Git history on every pytest command in the same shallow checkout, retrying fetches only when the checked-out commit or shallow history changes. It also skips the git fetch --shallow-since unshallow when the backend already knows all local commits and the pull request merge-base is not needed, since shallow-graph merge-bases are treated as untrusted and recomputed.

Read more ↗
v4.16.2

Updating or deleting one remote configuration for a service no longer discards tracing settings applied by other remote configurations, and forked workers no longer reapply a remote configuration removed while they were starting. Falcon ASGI apps now start normally with the integration enabled but must be wrapped with ddtrace.contrib.asgi.TraceMiddleware to be traced, and Falcon middleware handling and duplicate falcon.request spans on Falcon 3 are fixed.

Read more ↗
v4.17.0rc1

The legacy CI Visibility pytest plugin is removed — DD_PYTEST_USE_NEW_PLUGIN and DD_PYTEST_USE_NEW_PLUGIN_BETA no longer have any effect and must be removed to silence deprecation warnings — and Python 3.15 is now supported across most of the library. Also adds aiohttp SSRF exploit prevention and request blocking, byte-query SQL injection protection, mcp 2.x tracing, gRPC OTLP trace export, and OpenTelemetry HTTP semantic conventions behind DD_TRACE_OTEL_SEMANTICS_ENABLED.

Read more ↗
v4.16.1

Forked child processes no longer hang and grow memory when several threads fork at once, and application threads no longer hang indefinitely when probes, Exception Replay, or Code Origin outpace uploads. The release also fixes google-adk 2.12.0 startup failures with LLM Observability enabled, OTLP HTTP export requests being incorrectly traced, and a case where OTEL_PROPAGATORS baggage was reported as unsupported.

Read more ↗
v4.15.7

Applications using google-adk 2.9.0 and later no longer fail to start with tracing enabled, and tool call and code execution spans are traced on all supported versions. Fixed a 4.15.2 regression that force-finished still-open LLM Observability spans at ASGI request teardown, plus a vLLM 0.20.0 AttributeError that stopped all requests and aiohttp callback errors on keep-alive close.

Read more ↗
v4.16.0

Fixes a security vulnerability in tracing described in GHSA-3633-r77q-h3v3, and an AI Guard issue where LangChain model responses were never evaluated for unsafe output, leaving them neither reported nor blocked. Also adds tracing stats cardinality limits, Trio trace-context support, and LLM Observability agent manifests and sampling rules.

Read more ↗
v4.16.0rc2

Fixed a security vulnerability in tracing described in GHSA-3633-r77q-h3v3, and stopped AI Guard credentials embedded in DD_AI_GUARD_ENDPOINT from leaking into debug logs, exception messages, and span error tags. Also adds LLM Observability tag-based head sampling via DD_LLMOBS_SAMPLING_RULES and Azure Durable Functions tracing.

Read more ↗
v3.19.9

Fixes a security vulnerability in tracing, documented in GHSA-3633-r77q-h3v3. The advisory does not state severity or affected versions, so operators should review it directly to judge urgency.

Read more ↗
v4.16.0rc1

Fixes a security vulnerability described in GHSA-3633-r77q-h3v3 and adds native trace-context support for Trio tasks and worker threads on Linux, enabled by default and disableable with DD_TRACE_TRIO_ENABLED=false. New tracing stats cardinality-limit environment variables bound trace metrics aggregation keys, and LLM Observability adds tag-based head sampling via DD_LLMOBS_SAMPLING_RULES.

Read more ↗
v4.15.3

Fixed an issue where the Python garbage collector stops and memory grows without limit when DD_RUNTIME_METRICS_ENABLED is true, along with a profiling crash in applications that use signal handlers to recover from crashes. Cancelled or failed OpenAI and Bedrock streamed requests now produce LLM Observability spans with the input messages, partial output, and estimated token metrics instead of being dropped or left unmarked.

Read more ↗
v4.15.2

DD_TRACE_OTEL_CTX_ENABLED now defaults to false until a Linux-native memory leak caused by enabling it is fixed. Fixed abandoned or disconnected streamed LLM requests leaving spans unfinished and growing memory in long-running workers, plus Auto Test Retries not retrying tests that use pytest-timeout thread mode and terminate a pytest-xdist worker.

Read more ↗
v4.14.2

DD_TRACE_OTEL_CTX_ENABLED now defaults to false again until a Linux-native memory leak caused by enabling it is fixed. Also fixed LLM Observability discarding every trace when combined with DD_APM_TRACING_ENABLED=false, and standalone-mode traces being sent without the one-trace-per-minute sampling limit or the _dd.apm.enabled=0 billing opt-out metric.

Read more ↗
v4.13.3

DD_TRACE_OTEL_CTX_ENABLED now defaults to false until a Linux-native memory leak caused by setting it to true is fixed. Also fixes pytest-xdist test sessions on shallow Git checkouts spending excessive time unshallowing and failing or timing out during collection.

Read more ↗
Last Checked
1h ago
Latest
v4.16.5
Tracking since Sep 4, 2025