Releases: DataDog/dd-trace-js
Releases · DataDog/dd-trace-js
0.8.0
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
0.7.2
0.7.1
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
andout.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
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 forgraphql
, meaning list fields will be collapsed into a single span. Set to false to restore the previous behavior. - The
memcached.query
tag was renamed tomemcached.command
for consistency.
0.6.2
0.6.1
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
0.6.0
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
0.5.6
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)