Ddtrace

Latest version: v2.8.5

Safety actively analyzes 630026 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 34

0.58.5

Bug Fixes

- tracing/internal: fix encoding of propagated internal tags.

---

0.58.4

Bug Fixes

- Set correct service in logs correlation attributes when a span override the service.

---

0.58.3

Bug Fixes

- Fixes build issues on older MacOS versions by updating `libddwaf` to 1.0.18

---

0.58.2

Bug Fixes

- flask: fix resource naming of request span when errors occur in middleware.
- pytest: fix unsafe access to xfail reason.

---

0.58.1

Bug Fixes

- Fix internal import of deprecated `ddtrace.utils` module.
- Fixes import path to not reference `__init__`. This could otherwise be a problem for `mypy`.

---

0.58.0

Deprecation Notes

- HttpServerConfig is no longer part of the public API.
- `ddtrace.Span.meta` has been deprecated. Use `ddtrace.Span.get_tag` and `ddtrace.Span.set_tag` instead.
- `ddtrace.Span.pprint` is deprecated and will be removed in v1.0.
- `ddtrace.Tracer.writer` is deprecated. To force flushing of buffered traces to the agent, use `ddtrace.Tracer.flush` instead.

New Features

- botocore: add distributed tracing support for AWS EventBridge, AWS SNS & AWS Kinesis.
- Add `ddtrace.Tracer.agent_trace_url` and `ddtrace.Tracer.flush`.
- Only for CI Visibility (`pytest` integration): remove traces whose root span is not a test.

Bug Fixes

- Fix application crash on startup when using `channels >= 3.0`.
- Fix parenting of Redis command spans when using aioredis 1.3. Redis spans should now be correctly attributed as child of any active parent spans.
- Fixes incompatibility of wrapped aioredis pipelines in `async with` statements.
- Fixes issue with aioredis when empty pool is not available and execute returns a coroutine instead of a future. When patch tries to add callback for the span using add_done_callback function it crashes because this function is only for futures.
- Escape non-Unicode bytes when decoding aioredis args. This fixes a `UnicodeDecodeError` that can be thrown from the aioredis integration when interacting with binary-encoded data, as is done in channels-redis.
- Ensure `gevent` is automatically patched.
- grpc: ensure grpc.intercept_channel is unpatched properly
- Fix JSON encoding error when a `bytes` string is used for span metadata.
- Profiler raises a typing error when `Span.resource` is unicode on Python 2.7.
- Fix a bug in the heap profiler that could be triggered if more than 2^16 memory items were freed during heap data collection.
- Fix a possible bug in the heap memory profiler that could trigger an overflow when too many allocations were being tracked.
- Fix an issue in the heap profiler where it would iterate on the wrong heap allocation tracker.
- Pymongo instrumentation raises an AttributeError when `tracer.enabled == False`

---

Page 10 of 34

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.