Skip to content

Releases: DataDog/dd-trace-js

0.8.0

06 Feb 15:35
c8c49dc
Compare
Choose a tag to compare

Bug Fixes

  • core: fix baggage items at the span level instead of trace level (#398)

Features

  • bunyan: add automatic log injection of tracer identifiers for bunyan (#410)
  • core: add log propagator and trace identifiers for log correlation (#396)
  • express: add middleware and stack trace support for express (#399)
  • pino: add automatic log injection of tracer identifiers for pino (#414)
  • winston: add automatic log injection of tracer identifiers for winston (#408)

Breaking Changes

  • All properties of span.context() are now private. They were technically always private, but it was not clear since they were not prefixed with an underscore. If you were using any of these values, please contact us so we can provide an alternative.

0.7.3

22 Jan 20:14
9626425
Compare
Choose a tag to compare

Bug Fixes

  • redis: fix error in redis plugin for commands without a callback (#404)

0.7.2

13 Dec 18:02
7af7f29
Compare
Choose a tag to compare

Bug Fixes

  • graphql: fix support for wrapped types (#392), thanks @kurayama!
  • koa: fix koa integration returning 404 with legacy middleware (#393)
  • plugins: fix integrations returning the wrong promise implementation (#390)

0.7.1

23 Nov 18:10
6d7d149
Compare
Choose a tag to compare

Bug Fixes

  • core: fix errors caused by plugins even when the tracer is disabled (#381), fixes #378
  • mongodb-core: fix wrong quantization when using BSON in the query (#387)
  • mongodb-core: fix missing out.host and out.port tags when using a replica set (#388)
  • router: fix lost context when multiple middleware are used on a route (#384), fixed #383

0.7.0

16 Nov 16:01
94870e1
Compare
Choose a tag to compare

Bug Fixes

  • core: fix windows support (#374)
  • core: fix wrong operation name used by the formatter when overriden (#359)
  • memcached fix wrong name for memcached.command tag (#357)
  • mongodb-core fix operation name and add missing query tag (#353)
  • node: fix default service name from the platform (#358)

Features

  • bluebird: add support for bluebird (#372)
  • core: add DD_AGENT_HOST environment variable to set the agent globally (#373)
  • core: add span hooks for web framework integrations (#351)
  • elasticsearch: add support for elasticsearch >=10 <=14 (#331)
  • http: add the http.route tag which allows overriding the route (#348)
  • http: add support for http servers without any framework (#338)
  • http: add blacklist and whiltelist options to the http plugin (#330)
  • http: add validateStatus option to HTTP plugin (#301), closes #297, thanks @timrogers!
  • graphql: add option to configure variables to record as an array (#336)
  • graphql: add metadata (#335)
  • graphql: enable collapse option by default in graphql plugin (#329)
  • graphql: add support for graphql 0.10, 0.11, 0.12 and 14 (#326), closes #324
  • graphql: add collapse option (#316)
  • ioredis: add support for ioredis 2 - 3 (#377)
  • mongodb-core: add support for mongodb-core 2.x (#327)
  • mysql2: add support for mysql2 >=1 <=1.4 (#332)
  • pg: add support for pg 4.x and 5.x (#328)
  • q: add support for Q (#375)
  • redis: add redis.raw_command tag (#356)
  • redis: add support for redis >=0.12 <2.6 (#314)
  • restify: add support for restify >=3 <=6 (#321)
  • router: add support for the router module (#342)
  • when: add support for when (#376)

Breaking Changes

This release contains 2 very minor breaking changes:

  • The new collapse option is now enabled by default for graphql, meaning list fields will be collapsed into a single span. Set to false to restore the previous behavior.
  • The memcached.query tag was renamed to memcached.command for consistency.

0.6.2

05 Nov 17:46
77ccd7a
Compare
Choose a tag to compare

Bug Fixes

  • koa: fix koa-websocket not working when the koa plugin is enabled (#346), fixes #341
  • package: add npmignore to only include relevant files (#345), fixes #343

0.6.1

26 Oct 19:25
1e874ca
Compare
Choose a tag to compare

Bug Fixes

  • graphql: fix graphql integration not working when using schema stitching (#323), fixes #235, #307
  • graphql: fix resolver scope when configured with the depth option (#319)
  • graphql: fix error when field depth is higher than the configured depth (#318)
  • hapi: fix support for older versions (#296)
  • koa: fix incorrect route (#303)

Improvements

  • core: add logging for parent spans finished before their children (#320)
  • core: add logging to the text map propagator (#305)

0.6.0

25 Sep 22:59
6e2be9b
Compare
Choose a tag to compare

Bug Fixes

  • core: fix distributed tracing compatibility of generated IDs (#279)
  • core: fix already flushed traces being reused (#277)
  • core: fix client sampling resulting in incorrect metrics (#276)
  • express: fix repeated traces in some cases (#255)
  • http: fix repeated traces on Node <9 when tracing https requests (#268), thanks @alloy!

Features

  • amqp10: add amqp10 integration (#254)
  • core: add support for sampling priority (#217), closes #208, thanks @stephenh and @alloy!
  • core: add an option to enable/disable the tracer (#209)
  • express: add option to record HTTP headers (#266), thanks @alloy!
  • graphql: add support for subscriptions (#249), fixes #248, thanks @clayne11!
  • graphql: add instrumentation for document parsing and validation (#245), thanks @alloy!
  • graphql: add option to record variables (#245), thanks @alloy!
  • hapi: add hapi integration (#282)
  • ioredis: add ioredis integration (#291), closes #259
  • koa: add koa integration (#288), closes #202
  • memcached: add memcached integration (#290), closes #163
  • pg: add support for pg 7.x (#250), thanks @archerabi!
  • restify: add restify integration (#289)

Improvements

  • core: improve performance of generating IDs (#279)
  • deps: remove node-memwatch from optional dependencies (#281), closes #257
  • deps: bump url-parse version to address vulnerability (#265), closes #264, thanks @benjamine!

0.5.6

17 Aug 17:39
22466d4
Compare
Choose a tag to compare

Bug Fixes

  • express: fix older express 4.x minor versions not instrumented properly (#243)
  • express: fix possible race condition in express plugin (#239)
  • express: fix missing path on errors in express plugin (#238)
  • graphql: fix multiple executions with the same contextValue in graphql (#240)
  • http: fix http plugin resuming the stream before it can be consumed (#244)
  • mongodb-core: fix mongodb-core plugin not sanitizing buffers in resource name (#241)

0.5.5

15 Aug 14:32
5466382
Compare
Choose a tag to compare

Bug Fixes

  • core: fix memory leak when using scopes with recursive timers (#227)
  • express: fix express leaking scope on other requests when using task queues (#230)
  • express: fix memory leak in express when used with recursive timers (#228)