v13.6.0 (2025-10-27)
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/)