Notes
Code refactoring
Updated
fastifyinstrumentation to subscribe to events emitted (#3407) (51e361e)Updated
pgandpg-nativeinstrumentation to subscribe to events emitted (#3397) (04af258)Updated
config.instrumentation.timers.enabledto false to disabletimers.setTimeoutandtimers.setIntervalby default. (#3414) (b925d3d)- To re-enable, set
config.instrumentation.timers.enabledtotruein 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-typesandrequire-returns-typejsdoc (#3400) (e4cd687) - Require jsdoc
check*,implements-on-classes, and someno-undefined-types(#3404) (4fa645b) - Require jsdoc
require-returns-checkandrequire-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/)