Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 23, 2025

This PR contains the following updates:

Package Change Age Confidence
newrelic 9.10.1 -> 13.6.2 age confidence

Release Notes

newrelic/node-newrelic (newrelic)

v13.6.2

Compare Source

Bug fixes
  • Updated express instrumentation to properly instrument an array of middleware defined on a route (#​3473) (e383c4e)
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/)

v13.6.1

Compare Source

v13.6.1 (2025-10-28)

Bug fixes
  • Updated middleware wrapper to not wrap handler if it is not a function (#​3469) (c702689)
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/)

v13.6.0

Compare Source

v13.6.0 (2025-10-27)

Features
Bug fixes
  • Updated ioredis instrumentation to handle breakage of errors when using .pipeline. (#​3457) (49f4d93)
  • Updated openai instrumentStream function to handle empty chunk when include_usage is set (#​3427) (f804940)
Code refactoring
  • Update express instrumentation to subscribe to events emitted (#​3424) (bbf3d01)
  • Updated instances in instrumentation of Array.forEach for a more performant for...of or for index loop (#​3463) (99484ce)
  • Updated instances of Array.forEach for a more performant for...of or for index loop (#​3440) (48c37bf)
  • Updated token calculation for aws-bedrock LLM Events (#​3445) (9450181)
  • Updated token calculation for google-genai LLM Events (#​3431) (41d32be)
  • Updated token calculation for openai LLM Events (#​3430) (b8678cc)
Documentation
Miscellaneous chores
Tests
  • Added a randomString helper 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 flushdb instead of flushall to 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/core to 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/)

v13.5.0

Compare Source

v13.5.0 (2025-10-14)

Code refactoring
  • Updated fastify instrumentation to subscribe to events emitted (#​3407) (51e361e)

  • Updated pg and pg-native instrumentation to subscribe to events emitted (#​3397) (04af258)

  • Updated config.instrumentation.timers.enabled to false to disable timers.setTimeout and timers.setInterval by default. (#​3414) (b925d3d)

    • To re-enable, set config.instrumentation.timers.enabled to true in config or set NEW_RELIC_INSTRUMENTATION_TIMERS_ENABLED=true
Documentation
Miscellaneous chores
Styles
  • Require check-types and require-returns-type jsdoc (#​3400) (e4cd687)
  • Require jsdoc check*, implements-on-classes, and some no-undefined-types (#​3404) (4fa645b)
  • Require jsdoc require-returns-check and require-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/)

v13.4.0

Compare Source

v13.4.0 (2025-09-29)

Code refactoring
  • Update amqplib instrumentation to subscribe to events emitted (#​3377) (fecbb08)
  • Updated cassandra-driver instrumentation to subscribe to events emitted. (#​3372) (bb87cd8)
Documentation
Miscellaneous chores
  • Updated @apm-js-collab/tracing-hooks to latest to take advantage of wasm optimizations (#​3398) (cda56cc)
Styles
  • Require jsdoc/valid-types and jsdoc/check-param-names (#​3368) (5d1b1d9)
  • Require jsdoc require-param-description and require-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/)

v13.3.3

Compare Source

v13.3.3 (2025-09-22)

Features
Bug fixes
  • Updated openai instrumentation to properly return APIPromise to avoid crashing when using completions.parse or responses.parse (#​3382) (c7ccf26)
Documentation
Miscellaneous chores
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/)

v13.3.2

Compare Source

v13.3.2 (2025-09-10)

Bug fixes
  • Added defensive code for obtaining protocol in outbound http calls (#​3367) (ecda4e8)
Code refactoring
Documentation
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/)

v13.3.1

Compare Source

Bug fixes
  • Default requestParameters to an object to avoid crash in transaction.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/)

v13.3.0

Compare Source

v13.3.0 (2025-09-08)

Features
Code refactoring
  • Removed instances of url.parse. Streamlined how http instrumentation creates relevant attributes. (#​3340) (1fc1e1a)
  • Updated openai instrumentation 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.subscribers benchmark test (#​3349) (15253c0)
  • Fixed langchain openai streaming tests by explicitly passing streaming: true to chat model (#​3346) (4f12499)
  • Fixed openai test after migration to tracing channel (#​3336) (0d01e29)
  • Hardened batch-span-streamer.test.js to 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 redis image as bitnami/redis is 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/)

v13.2.1

Compare Source

Code refactoring
  • Updated agent to use @apm-js-collab/tracing-hooks for 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/)

v13.2.0

Compare Source

v13.2.0 (2025-08-20)

Features
  • Added ability to register Supportability/Features/Instrumentation/OnRequire/<pkg> metrics for subscriber based instrumentation (#​3312) (87bfa40)
  • Added esm loader hook and commonjs patch to work with orchestrion-js (#​3312) (415aeba)
  • Added instrumentation for @modelcontextprotocol/sdk client calls client.callTool, client.readResource, and client.getPrompt (#​3312) (5d9790b)
Bug fixes
  • Fixed logic around detecting OTEL packages (#​3326) (4df30e5)
  • Updated shimmer.setupSubscribers to properly setup and skip subscribers that are disabled (#​3312) (cf5b3ec)
Code refactoring
  • Added ability to disable subscribers via config.instrumentation.<pkg-name>.enabled (#​3312) (55f8fe7)
  • Added ability to prevent creation of segments in subscriber based instrumentation when parent is marked as internal and of the same package (#​3322) (91f91c2)
  • Removed id parameter from opensearch class (#​3312) (8be00ce)
  • Updated opensearch instrumentation to subscribe to events emitted (#​3312) (9a27a5d)
  • Updated elasticsearch instrumentation to subscribe to events emitted (#​3312) (a3e2348)
  • Updated ioredis instrumentation to subscribe to events emitted (#​3312) (90b97d2)
  • Updated pino instrumentation to subscribe to events emitted (#​3312) (28bbe9f)
  • Updated subscribers to have a common createSegment that creates, assigns attributes, starts segment (#​3317) (aa3f8d9)
  • Updated undici instrumentation to remove its reliance on shim. Also updated storing the relevant segments on context instead of symbols on the request object (#​3312) (ec17fa7)
Documentation
Miscellaneous chores
Tests
  • Fixed obtaining opensearch package version for older versions we instrument (#​3314) (e45ab27)
  • Removed unnecessary prisma.$use in tests to unpin (#​3303) (db20324)
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/)

v13.1.0

Compare Source

v13.1.0 (2025-08-13)

Features
  • Added support for OTEL logs API (#​3228) (19a9c78)
  • Added supportability metrics when instrumentation has been disabled for a package (#​3252) (6098a5b)
  • Disabled timers instrumentation by default in the sample configuration (#​3253) (72eb8d4)
Bug fixes
Code refactoring
Documentation
Miscellaneous chores
Tests
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/)

v13.0.0

Compare Source

v13.0.0 (2025-07-23)

⚠ BREAKING CHANGES

This version of the Node.js agent is a SemVer MAJOR update and contains the following breaking changes. MAJOR versions may drop support for language runtimes that have reached End-of-Life according to the maintainer. Additionally, MAJOR versions may drop support for and remove certain instrumentation. For more details on these changes please see the migration guide.

  • Dropped support for Node.js 18
  • Updated min supported version for fastify to 3.0.0, pino to 8.0.0, and koa-router to 12.0.0
Features
Documentation
Tests
  • Fixed assertSegments to insert all expected segments (#​3239) (de183fb)
  • Updated tests to mock outgoing calls to avoid issues in CI (#​3234) (66694c6)
Continuous integration
  • Updated prepare release to exclude semver major copy for repos other than node-newrelic (#​3242) (82d9689)
  • Updated release prep to add copy around breaking changes (#​3199) (ca1131c)
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/)

v12.25.0

Compare Source

v12.25.0 (2025-07-09)

Features
Bug fixes
Documentation
Miscellaneous chores
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/)

v12.24.0

Compare Source

v12.24.0 (2025-07-07)

Features
Documentation
Miscellaneous chores
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/)

v12.23.0

Compare Source

v12.23.0 (2025-06-30)

Features
Documentation
Miscellaneous chores
Continuous integration
  • Fixed the name of todo colum in add to board reusable workflow (#​3178) (f216e0c)
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/)

v12.22.0

Compare Source

v12.22.0 (2025-06-24)

Features
Bug fixes
Code refactoring
  • Updated transformation rules to remove the bespoke rule to appease @google-cloud/pubsub < 5.1.0 (#​3151) (2d9b4b4)
Documentation
Miscellaneous chores
Tests
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/)

v12.21.0

Compare Source

v12.21.0 (2025-06-04)

Features
  • Added @google/genai Gemini AI LLM instrumentation (#​3119) (7f28a29)
  • Updated opentelemetry bridge to rely on configuration based transformation rules (#​3125) (ad116d2)
Bug fixes
  • Refactored getHostnameSafe to accommodate GCP (#​3132) (f1eea8d)
  • Updated openai instrumentation to work with 5.0.0+ (#​3129) (09146a9)
  • Updated rules to work with 1.17.0 and 1.24.0 for consumer and producer span kind (#​3128) (686c747)
Documentation
Miscellaneous chores
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, up


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/newrelic-13.x branch 2 times, most recently from 7f3b3ee to 07cd43a Compare August 20, 2025 18:44
@renovate renovate bot force-pushed the renovate/newrelic-13.x branch from 07cd43a to 9140fd2 Compare August 21, 2025 18:37
@renovate renovate bot force-pushed the renovate/newrelic-13.x branch 3 times, most recently from 6218f18 to 2d9c00f Compare September 10, 2025 20:36
@renovate renovate bot force-pushed the renovate/newrelic-13.x branch 2 times, most recently from a69548f to 8b15eef Compare September 29, 2025 17:03
@renovate renovate bot force-pushed the renovate/newrelic-13.x branch from 8b15eef to 811aee5 Compare October 14, 2025 20:02
@renovate renovate bot force-pushed the renovate/newrelic-13.x branch 2 times, most recently from d62b82b to 7101daf Compare October 28, 2025 22:53
@renovate renovate bot force-pushed the renovate/newrelic-13.x branch from 7101daf to 5a9a449 Compare October 29, 2025 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant