Skip to content

Releases: DataDog/dd-trace-js

0.16.0

11 Nov 21:48
34ad5f7
Compare
Choose a tag to compare

Bug Fixes

  • core: update runtime metrics binaries to run on all glibc versions supported by Node (#743)
  • core: fix scope being lost when using async/await with non-native promises (#664), fixes #654
  • mysql2: fix prepared statement support for mysql2 (#736), fixes #735
  • tedious: fix tedious support now that exported classes are read-only (#726)

Features

  • core: add support for Tracing without Limits using priority sampling rules (#732)
  • core: add support for customizing tracer log level (#727)
  • core: add app analytics config by span name (#678)

Improvements

  • core: add global tags to runtime metrics (#739)

Breaking Changes

We have implemented a workaround for the issue in Node where the asynchronous context is lost when using async/await with a non-native promise. This comes with a slight performance impact. If your services are not using non-native promises at all and you want to avoid the additional cost, the feature can be disabled when initializing the tracer by using tracer.init({ trackAsyncScope: false }).

0.15.5

25 Oct 19:43
c9c575c
Compare
Choose a tag to compare

Bug Fixes

  • core: fix service name when tracer is imported by a dependency (#724), fixes #710
  • core: fix native addon for Node 13 and older versions of glibc (#720)
  • core: fix priority sampling not using the rates provided by the agent (#722), fixes #712
  • core: fix error message being swallowed in the agent exporter (#716), thanks @sgeisbacher
  • tooling: fix missing configuration options in typescript definitions (#721)

0.15.4

08 Oct 12:54
0bfcfcb
Compare
Choose a tag to compare

Bug Fixes

  • core: fix missing stack trace when logging non-errors as errors (#707)
  • mongodb-core: fix support for mongodb after mongodb-core merge (#700), fixes #697

0.15.3

26 Sep 02:26
155c94e
Compare
Choose a tag to compare

Bug Fixes

  • core: fix tracer.wrap() swallowing the return value of the wrapped function (#693), thanks @sabrehagen!

0.15.2

23 Sep 14:51
a88563f
Compare
Choose a tag to compare

Bug Fixes

  • plugins: fix web framework plugins error with http2 requests (#688), fixes #684

0.15.1

18 Sep 16:54
ce466c1
Compare
Choose a tag to compare

Bug Fixes

  • core: fix missing gc type for runtime metrics (#681), fixes #680
  • core: fix incorrect type definitions for app analytics (#677)
  • graphql: fix errors when field properties are missing (#676), fixes #672
  • grpc: fix race condition causing the plugin to be disabled (#679)
  • hapi: fix scope for extensions and add missing error tags (#669)

0.15.0

04 Sep 16:50
c7772ef
Compare
Choose a tag to compare

Bug Fixes

  • dns: fix dns plugin not properly binding the callback to the parent scope (#666)
  • hapi: fix hapi plugin losing the scope when a payload is sent (#667)
  • tedious: fix error for stored procedure calls in tedious requests (#662), fixes #661

Features

  • core: add circular references handling when adding object tags (#659)
  • couchbase: add couchbase plugin (#632)
  • grpc: add grpc client and server plugin (#547), closes #311, thanks @nunofgs!

0.14.1

26 Aug 17:08
eef9951
Compare
Choose a tag to compare

Bug Fixes

  • express: fix broken routing with Loopback (#643)
  • graphql: fix exception because of utility exported from a different file in newer versions (#658), fixes (#660)
  • limitd-client: fix scope propagation (#646)
  • net: fix net.Socket listeners scope and allow to bind prototypes (#644)
  • redis: fix connection tags for older versions of redis (#651)

0.14.0

31 Jul 20:54
9f7ed69
Compare
Choose a tag to compare

Bug Fixes

core: handle null/undefined references gracefully without an error (#639)
core: fix error when addTags is called with an empty parameter (#638)
fastify: fix fastify not validating the status code for errors (#630)
hapi: fix hapi plugin for hapi namespace change (#634), thanks @CNManning!

Features

core: add a header to the agent request with the container ID (#612)
paperplane: Inject trace ids into paperplane logs (#633), thanks @flintinatux!

0.13.1

16 Jul 15:59
0751750
Compare
Choose a tag to compare

Bug Fixes

core: fix support for passing tags as types other than object (#626)
express: fix missing spans for express built-in middleware (#627)
express: fix incorrect middleware name when wrapped using express-async-errors (#625)
koa: update the koa plugin to capture the entire framework duration (#628)