Skip to content

Releases: DataDog/dd-trace-py

2.1.7

14 Nov 17:04
275d37b

Choose a tag to compare

Bug Fixes

  • Vulnerability Management for Code-level (IAST): This fix addresses AST patching issues where custom functions or methods could be replaced by aspects with differing argument numbers, causing runtime errors as a result. Furthermore, it addresses a case during patching where the module is inadvertently passed as the first argument to the aspect.

2.0.9

14 Nov 17:04
2bde90e

Choose a tag to compare

Bug Fixes

  • Vulnerability Management for Code-level (IAST): This fix addresses AST patching issues where custom functions or methods could be replaced by aspects with differing argument numbers, causing runtime errors as a result. Furthermore, it addresses a case during patching where the module is inadvertently passed as the first argument to the aspect.

1.20.12

14 Nov 17:04
c1f3e99

Choose a tag to compare

Bug Fixes

  • Vulnerability Management for Code-level (IAST): This fix addresses AST patching issues where custom functions or methods could be replaced by aspects with differing argument numbers, causing runtime errors as a result. Furthermore, it addresses a case during patching where the module is inadvertently passed as the first argument to the aspect.

2.1.6

13 Nov 15:24
b3a97bf

Choose a tag to compare

Bug Fixes

  • ASM: add support for psycopg2 adapt mechanism to LazyTaintList, preventing a ProgrammingError when using psycopg2 with IAST.
  • langchain: This fix resolves an issue with tagging pydantic SecretStr type api keys.
  • lib injection: Fix permissions error raised when non-root users copy single step instrumentation files.
  • This fix resolves an issue where type-checking would fail on valid application code due to a type hint on Span.set_tags that was too restrictive.

2.0.8

13 Nov 15:24
8860fd6

Choose a tag to compare

Bug Fixes

  • ASM: add support for psycopg2 adapt mechanism to LazyTaintList, preventing a ProgrammingError when using psycopg2 with IAST.
  • langchain: This fix resolves an issue with tagging pydantic SecretStr type api keys.
  • lib injection: Fix permissions error raised when non-root users copy single step instrumentation files.

1.20.11

13 Nov 15:23
fcf5dbb

Choose a tag to compare

New Features

  • wsgi: This change introduces the keyword argument app_is_iterator to the DDWSGIMiddleware constructor. It's provided as a workaround for an issue where the Datadog WSGI middleware would fail to handle WSGI apps that are not their own iterators. This condition can arise when a Django app attempts to send its "request finished" signal, in which case it may cause connection leaks. Standard methods of distinguishing an iterable from its iterator, such as checking for the presence of iter and next dunder methods, don't work in this case for unknown reasons. Instead of adding brittle special-case detection logic to the middleware, this new argument allows users to indicate when this is the case.

Bug Fixes

  • CI: fixes an issue which prevented the library from filtering user credentials for SSH Git repository URLs
  • tracing: Fixes a msgpack import error when DD_TRACE_API is set to v0.5
  • remote config: Add git metadata to configuration requests to ensure Source Code Integration (SCI) works as expected with services that require it.
  • ASM: add support for psycopg2 adapt mechanism to LazyTaintList, preventing a ProgrammingError when using psycopg2 with IAST.
  • langchain: This fix resolves an issue with tagging pydantic SecretStr type api keys.
  • lib injection: Fix permissions error raised when non-root users copy single step instrumentation files.

1.19.7

03 Nov 12:47
337c726

Choose a tag to compare

Bug Fixes

  • CI: fixes an issue which prevented the library from filtering user credentials for SSH Git repository URLs
  • Vulnerability Management for Code-level (IAST): This fix resolves an issue where SimpleJSON encoder would throw an exception while encoding a tainted dict or list.

Other Changes

  • remote config: change log levels of messages about agent down or request config to debug level.

2.1.5

03 Nov 12:47
9469acb

Choose a tag to compare

Upgrade Notes

  • The wrapt and psutil packages are vendored to help users avoid building these packages if wheels were not available for a given platform. This reverses a change released in v2.0.0.

Bug Fixes

  • CI: fixes an issue which prevented the library from filtering user credentials for SSH Git repository URLs
  • Use a unique default service name across all the products provided by the library when one is not given via the configuration interface.
  • CI Visibility: fixes unittest data not being initialized properly
  • Vulnerability Management for Code-level (IAST): This fix resolves an issue where SimpleJSON encoder would throw an exception while encoding a tainted dict or list.

2.0.7

03 Nov 12:47
f33cc46

Choose a tag to compare

Upgrade Notes

  • The wrapt and psutil packages are vendored to help users avoid building these packages if wheels were not available for a given platform. This reverses a change released in v2.0.0.

Bug Fixes

  • CI: fixes an issue which prevented the library from filtering user credentials for SSH Git repository URLs
  • Use a unique default service name across all the products provided by the library when one is not given via the configuration interface.
  • remote config: Add git metadata to configuration requests to ensure Source Code Integration (SCI) works as expected with services that require it.
  • Vulnerability Management for Code-level (IAST): This fix resolves an issue where SimpleJSON encoder would throw an exception while encoding a tainted dict or list.

1.20.10

03 Nov 12:47
bed157a

Choose a tag to compare

Bug Fixes

  • Use a unique default service name across all the products provided by the library when one is not given via the configuration interface.
  • Vulnerability Management for Code-level (IAST): This fix resolves an issue where SimpleJSON encoder would throw an exception while encoding a tainted dict or list.