Notes
Bug fixes
- Updated express instrumentation to properly instrument an array of middleware defined on a route (#3473) (e383c4e)
Documentation
- documented how to use the subscriber based instrumentation (#3432) (3b3ab72)
- Updated compatibility report (#3471) (964543b)
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
Bug fixes
Documentation
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
- Updated
ioredisinstrumentation to handle breakage of errors when using.pipeline. (#3457) (49f4d93) - Updated
openaiinstrumentStreamfunction to handle empty chunk wheninclude_usageis set (#3427) (f804940)
Code refactoring
- Update
expressinstrumentation to subscribe to events emitted (#3424) (bbf3d01) - Updated instances in instrumentation of
Array.forEachfor a more performant for...of or for index loop (#3463) (99484ce) - Updated instances of
Array.forEachfor a more performant for...of or for index loop (#3440) (48c37bf) - Updated token calculation for
aws-bedrockLLM Events (#3445) (9450181) - Updated token calculation for
google-genaiLLM Events (#3431) (41d32be) - Updated token calculation for
openaiLLM Events (#3430) (b8678cc)
Documentation
Miscellaneous chores
Tests
- Added a
randomStringhelper to agent_helper and use it in ioredis to avoid flappy tests, also updated local instances of random strings in kafka, elasticsearch and opensearch tests (#3462) (4deb6d8) - Fixed conflict between ioredis and ioredis-esm by running
flushdbinstead offlushallto avoid index getting removed mid test (#3464) (5e3f0a8) - Fixed express async error test to purposely misspell a method to emit a crash (#3435) (ff9f064)
- Moved aws-sdk-v3 common.js requirement of semver (#3461) (6a380ef)
- Pinned Next.js tests to
<16.0.0(#3446) (10787a1) - Updated minimum tested version of
@langchain/coreto 1.0.0 (#3437) (b61f67a)
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
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/)
Notes
Code refactoring
- Update
amqplibinstrumentation to subscribe to events emitted (#3377) (fecbb08) - Updated
cassandra-driverinstrumentation to subscribe to events emitted. (#3372) (bb87cd8)
Documentation
Miscellaneous chores
- Updated
@apm-js-collab/tracing-hooksto latest to take advantage of wasm optimizations (#3398) (cda56cc)
Styles
- Require
jsdoc/valid-typesandjsdoc/check-param-names(#3368) (5d1b1d9) - Require jsdoc
require-param-descriptionandrequire-param-type(#3391) (3785d0c)
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
- Updated
openaiinstrumentation to properly return APIPromise to avoid crashing when usingcompletions.parseorresponses.parse(#3382) (c7ccf26)
Documentation
Miscellaneous chores
- Removed unused
loader.mjs(#3376) (66a9fd5) - Updated metrics for OTel Bridge enablement/disablement (#3381) (b976c37)
- Updated supportability metric names for OTel Bridge enablement… (#3383) (c7c1d6c)
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
Bug fixes
Code refactoring
Documentation
Continuous integration
- Benchmark tests run on push on main (#3359) (c0f81c3)
- Changed NUGET_SOURCE workflow to variable (#3364) (10692db)
- Fix benchmark workflow (#3365) (7da99b5)
- Updated the
GH_RELEASE_TOKENto point to our bot user PAT instead of python agent (#3363) (06eb5c1)
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
Bug fixes
- Default
requestParametersto an object to avoid crash intransaction.addRequestParameters(#3361) (ecd0d1d)
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
Code refactoring
- Removed instances of
url.parse. Streamlined how http instrumentation creates relevant attributes. (#3340) (1fc1e1a) - Updated
openaiinstrumentation to subscribe to events emitted (#3331) (04dd677)
Documentation
Miscellaneous chores
Tests
- Added more cassandra-driver tests (#3323) (d2e9d10)
- Fixed long running benchmark test and add
shimmer.subscribersbenchmark test (#3349) (15253c0) - Fixed langchain openai streaming tests by explicitly passing
streaming: trueto chat model (#3346) (4f12499) - Fixed openai test after migration to tracing channel (#3336) (0d01e29)
- Hardened
batch-span-streamer.test.jsto avoid random failures in CI (#3338) (2077ce3)
Continuous integration
- Set benchmark host default to staging (#3332) (55f6b8d)
- Updated the redis container to use the official
redisimage asbitnami/redisis moving and no reason to use a 3rd party image (#3342) (8ffb393)
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
Code refactoring
- Updated agent to use
@apm-js-collab/tracing-hooksfor the CJS/ESM registration for tracing channel based instrumentation (#3324) (4b2c14f)
Documentation
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/)