github DataDog/dd-trace-py v2.15.0rc1
2.15.0rc1

latest releases: v2.16.3, v2.15.3, v2.16.2...
pre-releaseone month ago

Deprecation Notes

  • Tracing
    • The following attributes are now private and should not be accessed directly. The corresponding environment variables should be used instead.
      • Use DD_TRACE_HTTP_CLIENT_TAG_QUERY_STRING instead of ddtrace.config.http_tag_query_string
      • Use DD_TRACE_HEADER_TAGS instead of ddtrace.config.trace_http_header_tags
      • Use DD_TRACE_REPORT_HOSTNAME instead of ddtrace.config.report_hostname
      • Use DD_TRACE_HEALTH_METRICS_ENABLED instead of ddtrace.config.health_metrics_enabled
      • Use DD_TRACE_ANALYTICS_ENABLED instead of ddtrace.config.analytics_enabled
      • Use DD_TRACE_CLIENT_IP_HEADER instead of ddtrace.config.client_ip_header
      • Use DD_TRACE_CLIENT_IP_ENABLED instead of ddtrace.config.retrieve_client_ip
      • Use DD_TRACE_PROPAGATION_HTTP_BAGGAGE_ENABLED instead of ddtrace.config.propagation_http_baggage_enabled
      • Set DD_TRACE_OBFUSCATION_QUERY_STRING_REGEXP to an empty string instead of setting ddtrace.config.global_query_string_obfuscation_disabled to True (default value is False)
      • Use DD_TRACE_METHODS instead of ddtrace.config.trace_methods
      • Use DD_CIVISIBILITY_LOG_LEVEL instead of ddtrace.config.ci_visibility_log_level

New Features

  • Tracing
    • botocore: Adds span pointers for successful DynamoDB DeleteItem spans.
    • botocore: Adds span pointers for successful DynamoDB PutItem spans. Table Primary Keys need to be provided with the ddtrace.config.botocore.dynamodb_primary_key_names_for_tables option or the DD_BOTOCORE_DYNAMODB_TABLE_PRIMARY_KEYS environment variable.
    • botocore: Adds span pointers for successful DynamoDB UpdateItem spans.

Bug Fixes

  • Code Security
    • Resolves an issue where partial matches on function names we aimed to patch were being patched instead of full matches on them.
    • Ensures IAST propagation does not raise side effects related to re.finditer.
  • Profiling
    • Fixes an issue where stack v2 couldn't be enabled as pthread was not properly linked on some debian based images for aarch64 architecture.
  • Tracing
    • botocore: Fixes bedrock model and model provider interpretation from modelId when using cross-region inference.
    • Ensures that http.url span tag contains the full query string when DD_TRACE_OBFUSCATION_QUERY_STRING_REGEXP is set to an empty string.

Other Changes

  • Code Security
    • Update default security rules to 1.13.1. This enable Exploit Prevention powered by RASP for LFI and Command Injection by default when ASM is enabled.

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

NewReleases is sending notifications on new releases.