|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.39 (11/06/2020) |
| 4 | + |
| 5 | +### Deprecations |
| 6 | + |
| 7 | +- The `decode()` method on our encoders located in `ddtrace.encoders` is scheduled to be removed in 0.40. |
| 8 | + |
| 9 | +### Integrations |
| 10 | + |
| 11 | +#### Django |
| 12 | + |
| 13 | +- Add headers tracing configuration. This will enable headers on requests to be attached as tags on request spans. This can be done by using the `ddtrace.config` API like so: `config.django.http.trace_headers(["my-header-i-want-to-trace"])`. Thanks to @JoseKilo for contributing this feature! |
| 14 | +- Fix for a bug where we didn't handle all cases for a template name. Thanks @sibsibsib! |
| 15 | + |
| 16 | +#### Elasticsearch |
| 17 | + |
| 18 | +- Fix for a bug that causes the tracer to crash if params is `None`. |
| 19 | + |
| 20 | +#### grpc |
| 21 | + |
| 22 | +- Fix handling `None` RpcMethodHandlers |
| 23 | + |
| 24 | +### Tracer |
| 25 | + |
| 26 | +- core: deprecate encoder decode() |
| 27 | + |
| 28 | +### Profiling |
| 29 | + |
| 30 | +- Now included by default with the tracing package |
| 31 | +- Support for the `DD_ENV` and `DD_VERSION` environment variable configuration. |
| 32 | +- A bunch of gevent fixes. See below for the details. |
| 33 | + |
| 34 | +### OpenTracing |
| 35 | + |
| 36 | +- Support for tracer interleaving between the Datadog tracer (used in integrations) and the OpenTracing tracer provided in the library. |
| 37 | + |
| 38 | + |
| 39 | +## Full Change set |
| 40 | + |
| 41 | +### Deprecations |
| 42 | + |
| 43 | +- core: deprecate encoder decode() (#1496) |
| 44 | + |
| 45 | +### Features |
| 46 | + |
| 47 | +- docs: add changelog from github (#1503) |
| 48 | +- feat(profiling): disable trace tracking in tracer by default (#1488) |
| 49 | +- feat(profiling): allow to pass version to Profiler (#1478) |
| 50 | +- feat(profiling): allow to pass env to Profiler (#1473) |
| 51 | +- feat(profiling): install the profiling extra by default (#1463) |
| 52 | +- feat(profiling): raise an error on start if endpoint is empty (#1460) |
| 53 | +- feat(profiling): validate API key format (#1459) |
| 54 | +- feat(profiling): track gevent greenlets (#1456) |
| 55 | +- feat(profiling/pprof): export trace id as stack labels (#1454) |
| 56 | +- feat(django): Implement headers tracing (#1443 -- thanks @JoseKilo) |
| 57 | +- feat(profiling): allow to pass service_name to the Profiler object (#1440) |
| 58 | +- feat(opentracing): support for tracer interleaving (#1394) |
| 59 | + |
| 60 | +### Fixes |
| 61 | + |
| 62 | +- fix(profiling): multi-threading/gevent issues with ThreadLinkSpan (#1485) |
| 63 | +- refactor(profiling/recorder): remove filtering mechanism (#1482) |
| 64 | +- fix(profiling/stack): lock _WeakSet in ThreadSpanLinks (#1469) |
| 65 | +- span: changed finished attribute implementation (#1467) |
| 66 | +- fix(grpc): RpcMethodHandler can be None (#1465) |
| 67 | +- fix(elasticsearch): ensure params is a dict before urlencoding (#1449, #1451) |
| 68 | +- fix(profiling): identify Python main thread properly with gevent (#1445) |
| 69 | +- fix(django) handle different template view name types (#1441 -- thanks @sibsibsib) |
| 70 | +- fix(profiling/periodic): make sure that a service cannot be started twice (#1439) |
| 71 | +- fix(profiling): use gevent.monkey rather than private _threading module (#1438) |
| 72 | +- fix(profiling): fix negative CPU time (#1437) |
| 73 | +- fix(profiling/periodic): PERIODIC_THREAD_IDS race condition (#1435) |
| 74 | + |
| 75 | +### Tests |
| 76 | + |
| 77 | +- test: show 10 slowest tests (#1504) |
| 78 | +- test(profiling): fix stress test (#1500) |
| 79 | +- test(profiling): fix test_truncate random failure (#1498) |
| 80 | +- test(profiling): fix test_collect_once random failure (#1497) |
| 81 | +- test(profiling/http): fix fail cases (#1493) |
| 82 | +- test(profiling): enable verbose + no capture (#1490) |
| 83 | +- test(profiling): increase error tolerance (#1489) |
| 84 | +- test(profiling): make stack stress test gevent compatible (#1486) |
| 85 | +- tests: wait for uds server to start before using it (#1472) |
| 86 | +- ci: update Python versions (#1446) |
| 87 | + |
| 88 | +https://github.com/DataDog/dd-trace-py/compare/v0.38.2...v0.39.0 |
| 89 | + |
| 90 | +https://github.com/DataDog/dd-trace-py/milestone/57?closed=1 |
| 91 | + |
| 92 | +--- |
| 93 | + |
3 | 94 | ## 0.38.2 (11/06/2020) |
4 | 95 | This patch release disables span linkage by default in the profiler which was causing some threading lock up issues in gevent. See #1488 and #1485 for the details. |
| 96 | + |
5 | 97 | --- |
6 | 98 |
|
7 | 99 | ## 0.38.1 (28/05/2020) |
|
0 commit comments