Notes
Code refactoring
Updated
fastify
instrumentation to subscribe to events emitted (#3407) (51e361e)Updated
pg
andpg-native
instrumentation to subscribe to events emitted (#3397) (04af258)Updated
config.instrumentation.timers.enabled
to false to disabletimers.setTimeout
andtimers.setInterval
by default. (#3414) (b925d3d)- To re-enable, set
config.instrumentation.timers.enabled
totrue
in config or setNEW_RELIC_INSTRUMENTATION_TIMERS_ENABLED=true
- To re-enable, set
Documentation
Miscellaneous chores
- Added a new diagnostics base class and migrated undici to use new class (#3408) (8047bf1)
- Created directory for samplers (#3419) (dd2d3df)
Styles
- Require
check-types
andrequire-returns-type
jsdoc (#3400) (e4cd687) - Require jsdoc
check*
,implements-on-classes
, and someno-undefined-types
(#3404) (4fa645b) - Require jsdoc
require-returns-check
andrequire-property-*
(#3403) (1008073)
Tests
- Added helper to get version of package when package.json not exported, and updated tests that need it (#3411) (5ae02c7)
- Fixed fastify segment tree assertion when security agent is enabled (#3422) (b2cf6ed)
- Refactored mcp tests to listen on new port for every streaming test, removed unncessary shutdown of process (#3420) (17db813)
- Updated an openai assertion with setTimeout disabled (#3421) (ceec8f9)
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/)