Notes
Added a new feature flag
unresolved_promise_cleanupthat defaults totrueonly whennew_promise_trackingfeature flag is set totrue. If disabled, this will help with performance of agent when an application has a lot of promises. To disable, in your config setfeature_flag.unresolved_promise_cleanuptofalseor pass in the environment var ofNEW_RELIC_FEATURE_FLAG_UNRESOLVED_PROMISE_CLEANUP=falsewhen starting application with agent.WARNING: If you set
unresolved_promise_cleanuptofalse, failure to resolve all promises in your application will result in memory leaks even if those promises are garbage collectedSupported using
connectto route middleware calls.Removed stubbed out tests in memcached unit tests.
Refactored
dropTestCollectionsin mongo versioned tests to await for alldropCollectionoperations to be finished before closing connection and returning.Ported remaining mocha tests in
test/unit/instrumentationto exclusively use tap.Added
@newrelic/eslint-configto rely on a centralized eslint ruleset.Removed integration tests for oracle.
Converted config unit tests to fully use tap API and extracted related tests into more-specific test files.
Added a pre-commit hook to check if package.json changes and run
oss third-party manifestandoss third-party notices. This will ensure thethird_party_manifest.jsonandTHIRD_PARTY_NOTICES.mdup to dateReplaced
JSVwithajvfor JSON schema validation in tests.Removed
throughin lieu of core Node.js implementation of Transform stream in tests.