Skip to content

Bump ddtrace from 0.48.2 to 0.50.0 #143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps ddtrace from 0.48.2 to 0.50.0.

Release notes

Sourced from ddtrace's releases.

0.50.0

Release Notes

v0.50.0

Prelude

Major changes to context management. See the upgrade section for the specifics. Note that only advanced users of the library should be affected by these changes. For the details please refer to the Context section of the docs: https://ddtrace.readthedocs.io/en/v0.50.0/advanced_usage.html

Upgrade Notes

  • ddtrace.contrib.asyncio

    • AsyncioContextProvider can now return and activate None, Span or Context objects.
  • ddtrace.contrib.gevent

    • GeventContextProvider can now return and activate None, Span or Context objects.
  • ddtrace.contrib.tornado

    • TracerStackContext can now return and activate None, Span or Context objects.
  • ddtrace.context.Context no longer maintains the active/current span state.

    • get_current_root_span() has been removed. Use tracer.current_root_span() instead.

    • get_current_span() has been removed. Use tracer.current_span() instead.

    • add_span() has been removed. To activate a span in an execution use tracer.context_provider.activate() instead.

    • close_span() has been removed. To deactivate a span in an execution use tracer.context_provider.activate() instead.

  • ddtrace.provider.BaseContextProvider

    • active() now returns None, Span or Context objects.
    • activate() now accepts None, Span or Context objects.
  • ddtrace.tracer.Tracer

    • tracer.get_call_context() will now return a one-off Context reference. This is to maintain backwards compatibility with the API but the functionality differs slightly.
    • tracer.start_span() passing a span.context for child_of no longer adds the strong _parent reference to the new span.
  • Support for MySQL-python has been removed.

  • Support for psycopg < 2.7 has been removed.

Bug Fixes

  • Fixes an issue with enabling the runtime worker introduced in v0.49.0 where no runtime metrics were sent to the agent.

  • Fixed the handling of the Django template name tag causing type errors.

  • Fixes an issue when trying to manually start the runtime metrics worker:

    AttributeError: module 'ddtrace.internal.runtime' has no attribute 'runtime_metrics'
    

... (truncated)

Commits
  • 9ee8ef7 fix(runtime): set default interval when enabling (#2613) (#2620)
  • e95cdf1 fix(gevent): don't forget to call activate hooks on span activation (#2605) (...
  • 72e00b3 profiling: store trace endpoint in profiling events (#2573)
  • 513acc9 chore(psycopg2): update integration implementation (#2591)
  • 527fa21 perf(botocore): avoid creating interim dicts (#2589)
  • dae36ec Add a scheduled job to produce nightly builds (#2598)
  • 1698d17 refactor(perf): pull out common jq helper (#2587)
  • dd79a0f feat(profiling): add DD_PROFILING_HEAP_ENABLED env var to enable heap profile...
  • 7f11feb Context copy improvements (#2585)
  • 8969b51 fix(requests): ensure http metadata (#2592)
  • 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 12, 2021
@dependabot-preview
Copy link
Contributor Author

Superseded by #148.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/ddtrace-0.50.0 branch July 20, 2021 10:56
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants