Releases: DataDog/dd-trace-js
0.16.0
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
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
0.15.3
0.15.2
0.15.1
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
0.14.1
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
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
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)