Notes
Added official parity support for Node 16.
BREAKING: Dropped Node v10.x support. For further information on our support policy, see: https://docs.newrelic.com/docs/agents/nodejs-agent/getting-started/compatibility-requirements-nodejs-agent.
- Upgraded
@newrelic/superagent@newrelic/aws-sdk@newrelic/koa@newrelic/native-metricsand@newrelic/test-utilitiesto the latest major versions. - Refactored creation of span event aggregator to prevent crash of gRPC when running on invalid Node.js version.
- Added check for minimum
nodeversion >= 12. - Set package.json engines
nodefield >= 12 andnpmfield to >=6. - Removed Node v10 from ci workflow and smoke-test version matrix.
- Removed comments around replacing
temporarilyOverrideTapUncaughtBehaviortest helper function. - Removed non-applicable semver checks for versions the agents no longer supports.
- Upgraded
BREAKING: The agent no-longer includes the New Relic certificate bundle automatically when using the 'certificates' configuration (commonly with proxies). If you find this breaking your current environment, you may leverage a feature-flag to temporarily restore this functionality. Example configuration:
feature_flag: { certificate_bundle: true }. In this case, we recommend getting a certificate bundle for your environment such as the one from Mozilla. The New Relic bundle and feature flag will be fully removed in next major release.- Defaulted config.feature_flags.certificate_bundle to false.
BREAKING: Removed
serverless_modeas a feature flag.The standard
serverless_modeconfiguration still exists.Added hapi 19 and 20 to versioned tests for Node.js
>=12and<16Added hapi
^20.1.2to versioned tests for for Node.js>=16Upgraded tap to v15.
Upgraded https-proxy-agent to v5.0.0.
Updated linting to always use latest LTS Node version.
Updated CI and Smoke Test scripts to use setup-node@v2.
Added
no-const-assignto eslint ruleset.Pinned mongodb versioned tests to <4.0.0.