Notes
Security Improvements
- updated ESM loader to track instrumentation by url in a map instead of in url to avoid remote code execution. (#1741) (c8dc779)
Support statement:
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
Miscellaneous Chores
- deps: Updated @newrelic/security-agent to v0.2.0 (#1737) (9bf2a01)
- restored engines to >=14 until we actually drop support for Node 14 (#1738) (8d66123)
Continuous Integration
Support statement:
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notes
Features
Bug Fixes
Miscellaneous Chores
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
Notes
Bug fixes
Miscellaneous chores
Tests
Support statement
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
Notes
Security Improvements
Miscellaneous Chores
- test: Converted adaptive-sampler.test.js to tap (#1709) (bb42249)
- test: converted environment.test.js to tap (#1705) (53b4376)
- test: Replaced t.equals with t.equal (#1711) (a0b255e)
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
Notes
Miscellaneous Chores
- test: Converted 'errors/expected.test.js' to tap-style (#1695) (86025de)
- test: Converted server-config.test.js to tap-style (#1702) (2c6906d)
Continuous Integration
Build System
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
Notes
Bug Fixes
Security Improvements
Miscellaneous Chores
- test: Added t.end() to trace unit test (#1698) (254c9c0)
- test: convert error-trace-aggregator.test.js to tap-style (#1690) (44b17ab)
- test: convert trace unit test to tap style (#1692) (727c17f)
- test: Fixed tap end/autoend calls in trace unit test (#1700) (b4a4948)
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
Notes
Security
Miscellaneous Chores
- Added test for getRedisParams (#1670) (e9f8556)
- temporarily limit prisma tests to non-breaking version (#1680) (76d3ade)
- testing: convert query-test-aggregator tests to tap style (#1676) (d2e45ad)
- testing: Converted error-event-aggregator.test.js to tap (#1683) (9f1d66f)
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
Notes
Features
- Added Interactive Application Security Testing(IAST) mode of security agent when
config.security.agent.enabled
is true. (#1664) (3e926e5)
Advertencia
The New Relic Security agent IAST mode is in public preview and should only be used in non-production environments.
To learn about how to use IAST, check out our documentation.
- To enable the security agent set
config.security.agent.enabled
andconfig.security.enabled
to true.
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
Notes
Features
Added supportability metrics to indicate how agent was loaded and if source maps were enabled (#1657) (6f6f7e6)
Supportability/Features/CJS/Preload
- recorded if-r newrelic
was used to load agentSupportability/Features/CJS/Require
- recorded ifrequire('newrelic')
was used to load agentSupportability/Features/EnableSourceMaps
- recorded ifnode --enable-source-maps
was present to start application
Added logging of
process.execArgs
at the debug level (#1654) (c85c006)
Miscellaneous chores
- Updated c8 to merge v8 coverage reports asynchronously to avoid OOM issues (#1652) (34376d7)
- Updated explorer hub link in readme (#1656) (c1e81a7)
Tests
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.