Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 30, 2023

Bumps ddtrace from 1.5.2 to 1.7.3.

Release notes

Sourced from ddtrace's releases.

1.7.3

Bug Fixes

  • profiling: This fix resolves an issue in Python 3.11 where a PyFrameObject strong reference count was not properly decremented in the stack collector.

1.7.2

Bug Fixes

  • Fix for ValueError when @ is not present in network location but other part of the url.

1.7.1

Bug Fixes

  • This fix removes unintended url parts in the http.url tag.

1.7.0

Upgrade Notes

  • The default propagation style configuration changes to DD_TRACE_PROPAGATION_STYLE=tracecontext,datadog. To only support Datadog propagation and retain the existing default behavior, set DD_TRACE_PROPAGATION_STYLE=datadog.
  • tracer: support for Datadog Agent v5 has been dropped. Datadog Agent v5 is no longer supported since ddtrace==1.0.0. See https://ddtrace.readthedocs.io/en/v1.0.0/versioning.html#release-support for the version support.
  • The configured styles in DD_TRACE_PROPAGATION_STYLE_EXTRACT are now evaluated in order to specification. To keep the previous fixed evaluation order, set: DD_TRACE_PROPAGATION_STYLE_EXTRACT=datadog,b3,b3 single header.
  • tracing: upgrades the default trace API version to v0.5 for non-Windows systems. The v0.5 trace API version generates smaller payloads, thus increasing the throughput to the Datadog agent especially with larger traces.
  • tracing: configuring the v0.5 trace API version on Windows machines will raise a RuntimeError due to known compatibility issues. Please see DataDog/dd-trace-py#4829 for more details.

Deprecation Notes

  • propagation: Configuration of propagation style with DD_TRACE_PROPAGATION_STYLE=b3 is deprecated and will be removed in version 2.0.0. Please use the newly added DD_TRACE_PROPAGATION_STYLE=b3multi instead.
  • aws: The boto, botocore and aiobotocore integrations no longer include all API parameters by default. To retain the deprecated behavior, set the environment variable DD_AWS_TAG_ALL_PARAMS=1. The deprecated behavior and environment variable will be removed in v2.0.0.

New Features

  • django: add configuration option to allow a resource format like {method}{handler}.{url_name} in projects with Django <2.2.0
  • django: Adds the DD_DJANGO_INCLUDE_USER_NAME option to toggle whether the integration sets the django.user.name tag.
  • Added environment variable DD_TRACE_PROPAGATION_STYLE to configure both injection and extraction propagation styles. The configured styles can be overridden with environment variables DD_TRACE_PROPAGATION_STYLE_INJECT and DD_TRACE_PROPAGATION_STYLE_EXTRACT.
  • tracing: This introduces none as a supported propagator for trace context extraction and injection. When none is the only propagator listed, the corresponding trace context operation is disabled. If there are other propagators in the inject or extract list, the none propagator has no effect. For example DD_TRACE_PROPAGATION_STYLE=none
  • tracing: Adds support for W3C Trace Context propagation style for distributed tracing. The traceparent and tracestate HTTP headers are enabled by default for all incoming and outgoing HTTP request headers. The Datadog propagation style continue to be enabled by default.
  • flask: Adds support for streamed responses. Note that two additional spans: flask.application and flask.response will be generated.
  • profiling: Adds support for Python 3.11.
  • celery: Enhances context tags containing dictionaries so that their contents are sent as individual tags (issue #4771).
  • ASM: One click activation enabled by default using Remote Configuration Management (RCM). Set DD_REMOTE_CONFIGURATION_ENABLED=false to disable this feature.

Bug Fixes

  • ASGI: response headers are correctly processed instead of ignored
  • ASM: Do not raise exceptions when failing to parse XML request body.
  • ASM: fix a body read problem on some corner case where don't passing the content length makes wsgi.input.read() blocks.
  • aws: We are reducing the number of API parameters that the boto, botocore and aiobotocore integrations collect as span tags by default. This change limits span tags to a narrow set of parameters for specific AWS APIs using standard tag names. To opt out of the new default behavior and collect no API parameters, set the environment variable DD_AWS_TAG_NO_PARAMS=1. To retain the deprecated behavior and collect all API parameters, set the environment variable DD_AWS_TAG_ALL_PARAMS=1.
  • Remove forbiddenfruit as dependency and rollback wrapt changes where forbiddenfruit was called. IAST: Patch builtins only when IAST is enabled.
  • httpx: Fixes an incompatibility from httpx==0.23.1 when the URL.raw property is not available.
  • Fix error in patching functions. forbiddenfruit package has conflicts with some libraries such as asynctest. This conflict raises AttributeError exception. See issue #4484.

... (truncated)

Commits
  • 99e5f4d fix(profiler): decrement refcount given strong reference of frame object in p...
  • ef7ee6c chore(ci): pin mysql-connector-python to 8.0.31 for Python 3.6 [backport #492...
  • 637bd68 chore(test): avoid ValueErorr when @ not in netloc [backport #4914 to 1.7] ...
  • 86484fa fix: remove url parts from http.url tag [backport #4904 to 1.7] (#4905)
  • 04da476 chore(sanic): ensure sanic tests ignore the http.useragent tag in snapshots [...
  • 87b1aee fix(internal): properly convert PEP 440 version to SemVer for RCM client [bac...
  • ced65df fix(profiler): revert code provenance enabled by default [backport #4876 to 1...
  • 938f786 fix: parse datetime isoformat in python2 [backport #4874 to 1.7] (#4879)
  • b63f2b8 chore(w3c): replace ~ with _ and = with ~ (#4822) [backport #4822 to 1.7] (#4...
  • 6829075 ci(snowflake): pin cryptography [backport #4857 to 1.7] (#4862)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ddtrace](https://github.com/DataDog/dd-trace-py) from 1.5.2 to 1.7.3.
- [Release notes](https://github.com/DataDog/dd-trace-py/releases)
- [Changelog](https://github.com/DataDog/dd-trace-py/blob/1.x/CHANGELOG.md)
- [Commits](DataDog/dd-trace-py@v1.5.2...v1.7.3)

---
updated-dependencies:
- dependency-name: ddtrace
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 30, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 13, 2023

Superseded by #67.

@dependabot dependabot bot closed this Feb 13, 2023
@dependabot dependabot bot deleted the dependabot/pip/emmet-api/ddtrace-1.7.3 branch February 13, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant