Skip to content

Commit

Permalink
fix(deps): update dependency dd-trace to v3 (#1512)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [dd-trace](https://github.com/DataDog/dd-trace-js) | [`^2.7.0` ->
`^3.0.0`](https://renovatebot.com/diffs/npm/dd-trace/2.10.0/3.5.0) |
[![age](https://badges.renovateapi.com/packages/npm/dd-trace/3.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/dd-trace/3.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/dd-trace/3.5.0/compatibility-slim/2.10.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/dd-trace/3.5.0/confidence-slim/2.10.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>DataDog/dd-trace-js</summary>

###
[`v3.5.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v3.5.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v3.4.0...v3.5.0)

##### Bug Fixes

- **core:** fix disconnected spans in some plugins
([#&#8203;2433](https://github.com/DataDog/dd-trace-js/issues/2433)),
fixes
[#&#8203;2432](https://github.com/DataDog/dd-trace-js/issues/2432),
thanks [@&#8203;martinslota](https://github.com/martinslota)!
- **restify:** fix errors swallowed by instrumentation
([#&#8203;2421](https://github.com/DataDog/dd-trace-js/issues/2421)),
thanks [@&#8203;rektide](https://github.com/rektide)!

##### Improvements

- **asm:** update AppSec rules
([#&#8203;2434](https://github.com/DataDog/dd-trace-js/issues/2434))

###
[`v3.4.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v3.4.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v3.3.1...v3.4.0)

##### Bug Fixes

- **redis:** fix support for new redis client package
([#&#8203;2399](https://github.com/DataDog/dd-trace-js/issues/2399))
- **redis:** fix possible race condition in redis error test
([#&#8203;2406](https://github.com/DataDog/dd-trace-js/issues/2406))
- **rhea:** fix distributed tracing for rhea externally encoded messages
([#&#8203;2396](https://github.com/DataDog/dd-trace-js/issues/2396))
- **next.js:** throw on error in next.js
([#&#8203;2424](https://github.com/DataDog/dd-trace-js/issues/2424))

##### Improvements

- **telemetry:** support custom heartbeat rate
([#&#8203;2402](https://github.com/DataDog/dd-trace-js/issues/2402))
- **core:** add tracing base plugins and refactor database plugins
([#&#8203;2373](https://github.com/DataDog/dd-trace-js/issues/2373))
- **http2:** Add support for http2 servers in compatibility mode
([#&#8203;2415](https://github.com/DataDog/dd-trace-js/issues/2415))
- **mariadb:** add support for mariadb
([#&#8203;2428](https://github.com/DataDog/dd-trace-js/issues/2428))

###
[`v3.3.1`](https://github.com/DataDog/dd-trace-js/releases/tag/v3.3.1)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v3.3.0...v3.3.1)

##### Bug Fixes

- **core:** Allow importing of JSON files
([#&#8203;2389](https://github.com/DataDog/dd-trace-js/issues/2389))
-   **asm:** Fix bearer token obfuscation

###
[`v3.3.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v3.3.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v3.2.0...v3.3.0)

##### Bug Fixes

- **profiling:** Remap sample_rate to sampleRate in
DD_TRACE_SAMPLING_RULES
([#&#8203;2349](https://github.com/DataDog/dd-trace-js/issues/2349))
- **ci-visibility:** Fix skipping of whole describe clauses in mocha,
fixes
[#&#8203;2355](https://github.com/DataDog/dd-trace-js/issues/2355)
([#&#8203;2363](https://github.com/DataDog/dd-trace-js/issues/2363))
- **ci-visibility:** Fix resetting of coverage counters in `jest` when
using coverage and agentless mode
([#&#8203;2374](https://github.com/DataDog/dd-trace-js/issues/2374))
- **core:** Fix next.js page pathname
([#&#8203;2369](https://github.com/DataDog/dd-trace-js/issues/2369))
- **core:** Remove dependency with weak opensource license
([#&#8203;2351](https://github.com/DataDog/dd-trace-js/issues/2351))
- **core:** Fix client IP reporting on old versions of node
([#&#8203;2376](https://github.com/DataDog/dd-trace-js/issues/2376))
- **grpc:** fix actual status code being overridden by auto-cancellation
([#&#8203;2339](https://github.com/DataDog/dd-trace-js/issues/2339)),
fixes
[#&#8203;2170](https://github.com/DataDog/dd-trace-js/issues/2170)

##### Improvements

- **appsec:** Improve vulnerabilities deduplication
[#&#8203;2345](https://github.com/DataDog/dd-trace-js/issues/2345)
- **appsec:** Report weak cipher vulnerability
([#&#8203;2342](https://github.com/DataDog/dd-trace-js/issues/2342))
- **appsec:** Update AppSec rules to v1.4.0
([#&#8203;2359](https://github.com/DataDog/dd-trace-js/issues/2359))
- **core:** Set maxSockets instead of maxTotalSockets
([#&#8203;2360](https://github.com/DataDog/dd-trace-js/issues/2360))

###
[`v3.2.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v3.2.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v3.1.0...v3.2.0)

##### Bug Fixes

- **core:** fix log injection with existing properties or non-extensible
objects
([#&#8203;2335](https://github.com/DataDog/dd-trace-js/issues/2335)),
fixes
[#&#8203;2322](https://github.com/DataDog/dd-trace-js/issues/2322)
- **core:** fix agent exporter tracing itself on retries
([#&#8203;2331](https://github.com/DataDog/dd-trace-js/issues/2331))
- **core:** fix esm support in latest node versions
([#&#8203;2329](https://github.com/DataDog/dd-trace-js/issues/2329)),
fixe
[#&#8203;2311](https://github.com/DataDog/dd-trace-js/issues/2311)
- **mongodb-core:** fix error with any bson that is not an object id
([#&#8203;2332](https://github.com/DataDog/dd-trace-js/issues/2332)),
fixes
[#&#8203;2330](https://github.com/DataDog/dd-trace-js/issues/2330)
- **net:** fix event context propagation
([#&#8203;2320](https://github.com/DataDog/dd-trace-js/issues/2320)),
fixes
[#&#8203;2282](https://github.com/DataDog/dd-trace-js/issues/2282)

##### Improvements

- **core:** add environment varible to configure sampling rules
([#&#8203;2202](https://github.com/DataDog/dd-trace-js/issues/2202))
- **core:** add support for reporting trace stats directly from the
tracer
([#&#8203;2283](https://github.com/DataDog/dd-trace-js/issues/2283))
- **appsec:** add client ip parsing and reporting
([#&#8203;2166](https://github.com/DataDog/dd-trace-js/issues/2166))
- **core:** add support for sampling decision maker propagation
([#&#8203;2309](https://github.com/DataDog/dd-trace-js/issues/2309))
- **iast:** detect and report weak hashing vulnerabilities
([#&#8203;2273](https://github.com/DataDog/dd-trace-js/issues/2273))
- **telemetry:** add reporting of used dependencies and their versions
([#&#8203;2258](https://github.com/DataDog/dd-trace-js/issues/2258))

###
[`v3.1.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v3.1.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v3.0.0...v3.1.0)

##### Bug Fixes

- **ci-visibility:** fix missing data from test frameworks integrations
in some cases
([#&#8203;2296](https://github.com/DataDog/dd-trace-js/issues/2296))
- **core:** fix side effects and potential errors when library is
disabled
([#&#8203;2301](https://github.com/DataDog/dd-trace-js/issues/2301))
- **core:** fix error when using stealthy-require
([#&#8203;2308](https://github.com/DataDog/dd-trace-js/issues/2308))
- **core:** fix tracing context appearing when logging requests
([#&#8203;2299](https://github.com/DataDog/dd-trace-js/issues/2299))
- **core:** fix msgpack encoding when there is a buffer resize
([#&#8203;2298](https://github.com/DataDog/dd-trace-js/issues/2298))
- **jest:** fix dd-trace initialized multiple times in jest workers
([#&#8203;2316](https://github.com/DataDog/dd-trace-js/issues/2316))
- **mongodb-core:** fix disabling query obfuscation at the agent level
([#&#8203;2295](https://github.com/DataDog/dd-trace-js/issues/2295))
- **oracledb:** fix error when using connect descriptor
([#&#8203;2306](https://github.com/DataDog/dd-trace-js/issues/2306))

###
[`v3.0.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v3.0.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v2.18.0...v3.0.0)

##### Breaking Changes

- **asm**: report query string by default and add query string
obfuscator
([#&#8203;2130](https://github.com/DataDog/dd-trace-js/issues/2130))
- **ci-visibility**: remove `cypress` folder
([#&#8203;2104](https://github.com/DataDog/dd-trace-js/issues/2104))
- **ci-visibility**: remove support for programmatic initialization
([#&#8203;2207](https://github.com/DataDog/dd-trace-js/issues/2207),
[#&#8203;2281](https://github.com/DataDog/dd-trace-js/issues/2281))
- **core:** remove promise binding from scope manager
([#&#8203;2287](https://github.com/DataDog/dd-trace-js/issues/2287))
- **core:** drop support for node 12
([#&#8203;2260](https://github.com/DataDog/dd-trace-js/issues/2260))
- **core:** remove deprecated APIs
([#&#8203;2140](https://github.com/DataDog/dd-trace-js/issues/2140))
- **core:** remove event emitter binding from scope manager
([#&#8203;2139](https://github.com/DataDog/dd-trace-js/issues/2139))
- **fs:** remove `fs` plugin
([#&#8203;2137](https://github.com/DataDog/dd-trace-js/issues/2137))
- **grpc:** remove grpc client service suffix and rename spans
([#&#8203;2184](https://github.com/DataDog/dd-trace-js/issues/2184))
- **http:** remove http client service name suffix and rename server
service
([#&#8203;2136](https://github.com/DataDog/dd-trace-js/issues/2136))
- **typescript:** remove dependency on `@types/node`
([#&#8203;2260](https://github.com/DataDog/dd-trace-js/issues/2260))

For more details about breaking changes and how to migrate to the new
version, please see the [migration
guide](https://github.com/DataDog/dd-trace-js/blob/master/MIGRATING.md).

##### Bug Fixes

- **core:** fix w3c trace context inject/extract not propagating IDs
properly
([#&#8203;2275](https://github.com/DataDog/dd-trace-js/issues/2275))

##### Improvements

- **plugins:** load integrations only when the modules they instrument
are used
([#&#8203;2242](https://github.com/DataDog/dd-trace-js/issues/2242),
[#&#8203;2234](https://github.com/DataDog/dd-trace-js/issues/2234))

###
[`v2.18.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v2.18.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v2.17.0...v2.18.0)

##### Bug Fixes

- **core:** fix disconnected spans in some plugins
([#&#8203;2433](https://github.com/DataDog/dd-trace-js/issues/2433)),
fixes
[#&#8203;2432](https://github.com/DataDog/dd-trace-js/issues/2432),
thanks [@&#8203;martinslota](https://github.com/martinslota)!
- **restify:** fix errors swallowed by instrumentation
([#&#8203;2421](https://github.com/DataDog/dd-trace-js/issues/2421)),
thanks [@&#8203;rektide](https://github.com/rektide)!

##### Improvements

- **asm:** update AppSec rules
([#&#8203;2434](https://github.com/DataDog/dd-trace-js/issues/2434))

###
[`v2.17.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v2.17.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v2.16.1...v2.17.0)

##### Bug Fixes

- **redis:** fix support for new redis client package
([#&#8203;2399](https://github.com/DataDog/dd-trace-js/issues/2399))
- **redis:** fix possible race condition in redis error test
([#&#8203;2406](https://github.com/DataDog/dd-trace-js/issues/2406))
- **rhea:** fix distributed tracing for rhea externally encoded messages
([#&#8203;2396](https://github.com/DataDog/dd-trace-js/issues/2396))
- **next.js:** throw on error in next.js
([#&#8203;2424](https://github.com/DataDog/dd-trace-js/issues/2424))

##### Improvements

- **telemetry:** support custom heartbeat rate
([#&#8203;2402](https://github.com/DataDog/dd-trace-js/issues/2402))
- **core:** add tracing base plugins and refactor database plugins
([#&#8203;2373](https://github.com/DataDog/dd-trace-js/issues/2373))
- **http2:** Add support for http2 servers in compatibility mode
([#&#8203;2415](https://github.com/DataDog/dd-trace-js/issues/2415))
- **mariadb:** add support for mariadb
([#&#8203;2428](https://github.com/DataDog/dd-trace-js/issues/2428))

###
[`v2.16.1`](https://github.com/DataDog/dd-trace-js/releases/tag/v2.16.1)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v2.16.0...v2.16.1)

##### Bug Fixes

- **core:** Allow importing of JSON files
([#&#8203;2389](https://github.com/DataDog/dd-trace-js/issues/2389))

###
[`v2.16.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v2.16.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v2.15.0...v2.16.0)

##### Bug Fixes

- **profiling:** Remap sample_rate to sampleRate in
DD_TRACE_SAMPLING_RULES
([#&#8203;2349](https://github.com/DataDog/dd-trace-js/issues/2349))
- **ci-visibility:** Fix skipping of whole describe clauses in mocha,
fixes
[#&#8203;2355](https://github.com/DataDog/dd-trace-js/issues/2355)
([#&#8203;2363](https://github.com/DataDog/dd-trace-js/issues/2363))
- **ci-visibility:** Fix resetting of coverage counters in `jest` when
using coverage and agentless mode
([#&#8203;2374](https://github.com/DataDog/dd-trace-js/issues/2374))
- **core:** Fix next.js page pathname
([#&#8203;2369](https://github.com/DataDog/dd-trace-js/issues/2369))
- **core:** Remove dependency with weak opensource license
([#&#8203;2351](https://github.com/DataDog/dd-trace-js/issues/2351))
- **core:** Fix client IP reporting on old versions of node
([#&#8203;2376](https://github.com/DataDog/dd-trace-js/issues/2376))
- **grpc:** fix actual status code being overridden by auto-cancellation
([#&#8203;2339](https://github.com/DataDog/dd-trace-js/issues/2339)),
fixes
[#&#8203;2170](https://github.com/DataDog/dd-trace-js/issues/2170)

##### Improvements

- **appsec:** Improve vulnerabilities deduplication
[#&#8203;2345](https://github.com/DataDog/dd-trace-js/issues/2345)
- **appsec:** Report weak cipher vulnerability
([#&#8203;2342](https://github.com/DataDog/dd-trace-js/issues/2342))
- **appsec:** Update AppSec rules to v1.4.0
([#&#8203;2359](https://github.com/DataDog/dd-trace-js/issues/2359))
- **core:** Set maxSockets instead of maxTotalSockets
([#&#8203;2360](https://github.com/DataDog/dd-trace-js/issues/2360))

###
[`v2.15.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v2.15.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v2.14.0...v2.15.0)

##### Bug Fixes

- **core:** fix log injection with existing properties or non-extensible
objects
([#&#8203;2335](https://github.com/DataDog/dd-trace-js/issues/2335)),
fixes
[#&#8203;2322](https://github.com/DataDog/dd-trace-js/issues/2322)
- **core:** fix agent exporter tracing itself on retries
([#&#8203;2331](https://github.com/DataDog/dd-trace-js/issues/2331))
- **core:** fix esm support in latest node versions
([#&#8203;2329](https://github.com/DataDog/dd-trace-js/issues/2329)),
fixe
[#&#8203;2311](https://github.com/DataDog/dd-trace-js/issues/2311)
- **mongodb-core:** fix error with any bson that is not an object id
([#&#8203;2332](https://github.com/DataDog/dd-trace-js/issues/2332)),
fixes
[#&#8203;2330](https://github.com/DataDog/dd-trace-js/issues/2330)
- **net:** fix event context propagation
([#&#8203;2320](https://github.com/DataDog/dd-trace-js/issues/2320)),
fixes
[#&#8203;2282](https://github.com/DataDog/dd-trace-js/issues/2282)

##### Improvements

- **core:** add environment varible to configure sampling rules
([#&#8203;2202](https://github.com/DataDog/dd-trace-js/issues/2202))
- **core:** add support for reporting trace stats directly from the
tracer
([#&#8203;2283](https://github.com/DataDog/dd-trace-js/issues/2283))
- **appsec:** add client ip parsing and reporting
([#&#8203;2166](https://github.com/DataDog/dd-trace-js/issues/2166))
- **core:** add support for sampling decision maker propagation
([#&#8203;2309](https://github.com/DataDog/dd-trace-js/issues/2309))
- **iast:** detect and report weak hashing vulnerabilities
([#&#8203;2273](https://github.com/DataDog/dd-trace-js/issues/2273))
- **telemetry:** add reporting of used dependencies and their versions
([#&#8203;2258](https://github.com/DataDog/dd-trace-js/issues/2258))

###
[`v2.14.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v2.14.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v2.13.0...v2.14.0)

##### Bug Fixes

- **ci-visibility:** fix missing data from test frameworks integrations
in some cases
([#&#8203;2296](https://github.com/DataDog/dd-trace-js/issues/2296))
- **core:** fix side effects and potential errors when library is
disabled
([#&#8203;2301](https://github.com/DataDog/dd-trace-js/issues/2301))
- **core:** fix error when using stealthy-require
([#&#8203;2308](https://github.com/DataDog/dd-trace-js/issues/2308))
- **core:** fix tracing context appearing when logging requests
([#&#8203;2299](https://github.com/DataDog/dd-trace-js/issues/2299))
- **core:** fix msgpack encoding when there is a buffer resize
([#&#8203;2298](https://github.com/DataDog/dd-trace-js/issues/2298))
- **jest:** fix dd-trace initialized multiple times in jest workers
([#&#8203;2316](https://github.com/DataDog/dd-trace-js/issues/2316))
- **mongodb-core:** fix disabling query obfuscation at the agent level
([#&#8203;2295](https://github.com/DataDog/dd-trace-js/issues/2295))
- **oracledb:** fix error when using connect descriptor
([#&#8203;2306](https://github.com/DataDog/dd-trace-js/issues/2306))

###
[`v2.13.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v2.13.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v2.12.2...v2.13.0)

##### Bug Fixes

- **core:** fix w3c trace context inject/extract not propagating IDs
properly
([#&#8203;2275](https://github.com/DataDog/dd-trace-js/issues/2275))

##### Improvements

- **plugins:** load integrations only when the modules they instrument
are used
([#&#8203;2242](https://github.com/DataDog/dd-trace-js/issues/2242),
[#&#8203;2234](https://github.com/DataDog/dd-trace-js/issues/2234))

###
[`v2.12.2`](https://github.com/DataDog/dd-trace-js/releases/tag/v2.12.2)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v2.12.1...v2.12.2)

##### Bug Fixes

- **core:** fix excessive requests queueing when the agent is overloaded
([#&#8203;2254](https://github.com/DataDog/dd-trace-js/issues/2254))
- **deps:** update native-metrics to 1.4.2 and pprof to 1.0.2
([#&#8203;2256](https://github.com/DataDog/dd-trace-js/issues/2256)),
fixes
[#&#8203;2239](https://github.com/DataDog/dd-trace-js/issues/2239)
- **mocha:** fix before hooks errors stopping execution
([#&#8203;2253](https://github.com/DataDog/dd-trace-js/issues/2253)),
fixes
[#&#8203;2251](https://github.com/DataDog/dd-trace-js/issues/2251)
- **restify:** fix restify disconnected trace when middleware breaks
async context
([#&#8203;2249](https://github.com/DataDog/dd-trace-js/issues/2249)),
fixes
[#&#8203;2248](https://github.com/DataDog/dd-trace-js/issues/2248)

##### Improvements

- **core:** update tracer to not extend from `opentracing`
([#&#8203;2243](https://github.com/DataDog/dd-trace-js/issues/2243))
- **deps:** remove dependency on `performance-now`
([#&#8203;2246](https://github.com/DataDog/dd-trace-js/issues/2246))

###
[`v2.12.1`](https://github.com/DataDog/dd-trace-js/releases/tag/v2.12.1)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v2.12.0...v2.12.1)

##### Bug Fixes

- **web:** fix middleware error causing exception without an active http
span
([#&#8203;2240](https://github.com/DataDog/dd-trace-js/issues/2240)),
fixes
[#&#8203;2235](https://github.com/DataDog/dd-trace-js/issues/2235)

###
[`v2.12.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v2.12.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v2.11.0...v2.12.0)

##### Bug Fixes

- **core:** fix calling `use` before `init` enabling plugins and causing
errors when tracer is disabled
([#&#8203;2209](https://github.com/DataDog/dd-trace-js/issues/2209)),
fixes
[#&#8203;2201](https://github.com/DataDog/dd-trace-js/issues/2201)
- **docs:** fix reference to mysql2 upstream
([#&#8203;2210](https://github.com/DataDog/dd-trace-js/issues/2210)),
thanks [@&#8203;tcarrio](https://github.com/tcarrio)!
- **esm:** add support for typescript when used with the `ts-node`
loader
([https://github.com/DataDog/import-in-the-middle/pull/14](https://github.com/DataDog/import-in-the-middle/pull/14)),
fixes
[#&#8203;2190](https://github.com/DataDog/dd-trace-js/issues/2190),
thanks [@&#8203;fardjad](https://github.com/fardjad)!
- **graphql:** fix `execute` and `resolve` spans always flagged as
errors
([#&#8203;2211](https://github.com/DataDog/dd-trace-js/issues/2211)),
fixes
[#&#8203;2203](https://github.com/DataDog/dd-trace-js/issues/2203)
- **mocha:** fix wrong status with errors on test suite
([#&#8203;2227](https://github.com/DataDog/dd-trace-js/issues/2227))
- **next:** fix default resource being a static value instead of the
http method
([#&#8203;2228](https://github.com/DataDog/dd-trace-js/issues/2228)),
fixes
[#&#8203;2142](https://github.com/DataDog/dd-trace-js/issues/2142)
- **restify:** fix `restify` breaking the asynchronous context for user
stores
([#&#8203;2196](https://github.com/DataDog/dd-trace-js/issues/2196)),
fixes
[#&#8203;2191](https://github.com/DataDog/dd-trace-js/issues/2191)
- **typescript:** remove invalid `experimental:true` configuration
option
([#&#8203;2180](https://github.com/DataDog/dd-trace-js/issues/2180))
- **web:** fix middleware errors not being also set on the request
([#&#8203;2216](https://github.com/DataDog/dd-trace-js/issues/2216)),
fixes
[#&#8203;1944](https://github.com/DataDog/dd-trace-js/issues/1944)
- **web:** fix possible disconnected middleware spans for web frameworks
([#&#8203;2214](https://github.com/DataDog/dd-trace-js/issues/2214)),
fixes
[#&#8203;2204](https://github.com/DataDog/dd-trace-js/issues/2204)
- **web:** fix calling `res.end` multiple times
([#&#8203;2197](https://github.com/DataDog/dd-trace-js/issues/2197)),
fixes
[#&#8203;2161](https://github.com/DataDog/dd-trace-js/issues/2161)

##### Improvements

- **deps:** remove form-data dependency
([#&#8203;2217](https://github.com/DataDog/dd-trace-js/issues/2217))
- **mocha:** add test suites instrumentation
([#&#8203;2172](https://github.com/DataDog/dd-trace-js/issues/2172))

### Features

- **couchbase:** add support for couchbase 3.x and 4.x
([#&#8203;2185](https://github.com/DataDog/dd-trace-js/issues/2185))

###
[`v2.11.0`](https://github.com/DataDog/dd-trace-js/releases/tag/v2.11.0)

[Compare
Source](https://github.com/DataDog/dd-trace-js/compare/v2.10.0...v2.11.0)

##### Bug Fixes

- **ci-visibility**: fix active span in mocha hooks
([#&#8203;2167](https://github.com/DataDog/dd-trace-js/issues/2167)),
fixes
[#&#8203;2157](https://github.com/DataDog/dd-trace-js/issues/2157)
- **debug:** fix memory leak while in debug mode
([#&#8203;2183](https://github.com/DataDog/dd-trace-js/issues/2183))
- **graphql**: fix performance regression
([#&#8203;2169](https://github.com/DataDog/dd-trace-js/issues/2169)),
fixes
[#&#8203;2159](https://github.com/DataDog/dd-trace-js/issues/2159)
- **koa:** fix koa plugin repeating route with multiple middleware
([#&#8203;2171](https://github.com/DataDog/dd-trace-js/issues/2171)),
fixes
[#&#8203;2131](https://github.com/DataDog/dd-trace-js/issues/2131)

##### Improvements

- **appsec:** bump native appsec to 1.2.1
([#&#8203;2165](https://github.com/DataDog/dd-trace-js/issues/2165))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click
this checkbox.

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/apollographql/router).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xNTkuMSIsInVwZGF0ZWRJblZlciI6IjMyLjIzMi4wIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Geoffroy Couprie <geoffroy@apollographql.com>
  • Loading branch information
renovate[bot] and Geoffroy Couprie authored Oct 19, 2022
1 parent 32bbb59 commit 5360134
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 164 deletions.
Loading

0 comments on commit 5360134

Please sign in to comment.