Notes
Added a new feature flag
unresolved_promise_cleanup
that defaults totrue
only whennew_promise_tracking
feature 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_cleanup
tofalse
or pass in the environment var ofNEW_RELIC_FEATURE_FLAG_UNRESOLVED_PROMISE_CLEANUP=false
when starting application with agent.WARNING: If you set
unresolved_promise_cleanup
tofalse
, failure to resolve all promises in your application will result in memory leaks even if those promises are garbage collectedSupported using
connect
to route middleware calls.Removed stubbed out tests in memcached unit tests.
Refactored
dropTestCollections
in mongo versioned tests to await for alldropCollection
operations to be finished before closing connection and returning.Ported remaining mocha tests in
test/unit/instrumentation
to exclusively use tap.Added
@newrelic/eslint-config
to 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 manifest
andoss third-party notices
. This will ensure thethird_party_manifest.json
andTHIRD_PARTY_NOTICES.md
up to dateReplaced
JSV
withajv
for JSON schema validation in tests.Removed
through
in lieu of core Node.js implementation of Transform stream in tests.