Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 23, 2025

This PR contains the following updates:

Package Change Age Confidence
newrelic >=7 <12 -> <14 age confidence
newrelic 11.0.0 -> 13.0.0 age confidence

Release Notes

newrelic/node-newrelic (newrelic)

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, 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.20.0

Compare Source

v12.20.0 (2025-05-27)

Features
Bug fixes
Documentation
Miscellaneous chores
  • Added event source type to txn name for Lambda APM Mode (#​3110) (ddc2e2a)
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.19.0

Compare Source

v12.19.0 (2025-05-20)

Features
Code refactoring
  • Added check to only set a FakeSpan if transaction.agent.otelSpanKey exists (#​3071) (b0c1ac1)
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.18.2

Compare Source

v12.18.2 (2025-04-30)

Bug fixes
  • Updated createSegment to stop adding segments to trace when max_trace_segments is exceeded (#​3056) (8f3336e)
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/)

v12.18.1

Compare Source

v12.18.1 (2025-04-29)

Bug fixes
  • Only add newrelic header to outgoing headers if has a value (#​3052) (6ef0a90)
Code refactoring
  • Added defensive code when calculating exclusive time on a segment where it cannot locate the segment in the transaction trace tree (#​3051) (b4aa25e)
  • Updated how otel bridge trace propagator assigns traceparent/tracestate headers (#​3046) (6e317b8)
Documentation
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.18.0

Compare Source

v12.18.0 (2025-04-14)

Features
Bug fixes
  • Updated span streamer to properly retry failed batches and handle flushing batch queue every 5 seconds (#​3033) (7db0e7c)
Code refactoring
  • Update otel bridge rules synthesizer to properly handle consumer kind rules (#​3003) (3295dd1)
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.17.0

Compare Source

Features
  • Azure Function utilization (#​3017) (80ab93e)
  • Support honoring W3C traceparent sampled flag (#​3009) (d903413)
    • By default the agent will not honor the traceparent sampled flag.
    • To control how sampling works with traceparent set the following in config:
      • distributed_tracing.sampler.remote_parent_sampled(when the traceparent sampled flag is 01)
        • always_on: the agent will sample spans
        • always_off: the agent will not sample spans
        • default: the agent will rely on existing priority sampling to make its decisions
      • distributed_tracing.sampler.remote_parent_not_sampled(when the traceparent sampled flag is 00)
        • always_on: the agent will sample spans
        • always_off: the agent will not sample spans
        • default: the agent will rely on existing priority sampling to make its decisions
Code refactoring
  • Updated otel bridge to centralize mapping rules for a given span attribute to accomondate semantic convention spec updates (#​3010) (c20c36b)
Documentation
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.16.1

Compare Source

v12.16.1 (2025-03-24)

Features
Bug fixes
  • Fixed tracer.transactionNestProxy to create a new transaction if there is no transaction or transaction is not active (#​3007) (ced9e22)
Documentation
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.16.0

Compare Source

v12.16.0 (2025-03-17)

Features
  • Added support for response streaming Lambda functions (#​2981) (61dbbf9)
  • Added AWS entity linking segment attributes for otel bridge (#​2978) (6bf1ccc)
  • Added error handling on transactions for otel spans (#​2985) (4e61e09)
Code refactoring
  • Updated span event generation to assign the appropriate span.kind based on the segment name (#​2976) (697b17e)
Documentation
Miscellaneous chores
Tests
  • Fixed fastify assertions around span kind while running security agent (#​2983) (c641645)
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.15.0

Compare Source

v12.15.0 (2025-03-03)

Features
  • Allowed undici error reporting to be disabled with feature flag undici_error_tracking (#​2956) (6278107)
    • Thanks for your contribution @​Voziv 🎉
  • Added ability to propagate traceparent and tracestate on incoming server/consumer spans and outgoing client http and producer spans (#​2958) (258ad7d)
  • Added server span transaction naming fallback to the url.path (#​2966) (770bf6f)
  • Updated Context class to ensure bi-directional context propagation with opentelemetry bridge (#​2962) (dfeec5a)
Code refactoring
  • Separated context classes for agent in standard and opentelemetry bridge mode (#​2967) (d11c071)
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.14.0

Compare Source

Features
  • Added support for region-prefixed Bedrock models (#​2947) (6acf535)
  • Added attribute reconciliation for message producer spans (#​2942) (a9ba396)
  • Added timeslice metrics for synthesized consumer segments (#​2938) (acfe953)
Bug fixes
  • Fixed queueing of logs from child loggers (#​2945) (888cfe8)
  • Fixed undici/fetch instrumentation to properly assign the parent-id portion of the traceparent header on outgoing requests to the active http external span id (#​2951) (bc714cf)
  • Updated api.recordLogEvent to no longer truncate the message key in log event (#​2949) (8dd557b)
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/)

v12.13.0

Compare Source

Features
  • Added timeslice metrics for synthesized server segments (#​2924) (f404585)
  • Added timeslice metrics for synthesized producer segments (#​2939) (6832637)
  • Added timeslice metrics for synthesized database segments (#​2922) (8606f78)
  • Propagate agent root context when opentelemetry ROOT_CONTEXT is passed in to trace propagator.(#​2940) (b85111c)
    • Added logic to handle properly naming and ending transactions for server spans.
  • Provided ability to disable instrumentation for core Node.js libraries (#​2927) (2d232f1)
Bug fixes
  • Fixed api.getTraceMetadata to handle when there is an active transaction but not active segment (#​2944) (6db3b4d)
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.12.0

Compare Source

v12.12.0 (2025-02-05)

Features
  • Added health check support for upcoming feature (#​2841) (4c8bf13)
  • Added opentelemetry bridge instrumentation that adds a context manager, and processor to handle synthesizing segments and time slice metrics. (#​2906) (d2e8a9e)
Bug fixes
  • Updated default config to accept undefined as default value (#​2917) (e049442)
Documentation
Miscellaneous chores
Continuous integration
  • Optimized the lambda layers and k8s init containers post release workflow (#​2915) (4be1099)
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.11.3

Compare Source

Bug fixes
  • Fixed issue with bluebird and when instrumentation where checking active context crashed when transaction prematurely ends (#​2909) (4a30d5c)
  • Fixed transaction-shim to properly create new transactions when the existing transaction is not active (#​2912) (3ad8c59)
Documentation
Miscellaneous chores
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/)

v12.11.2

Compare Source

Features
Bug fixes
  • Added defensive code in shim to prevent crashing when checking parent segment (#​2898) (751eb96)
Documentation
Miscellaneous chores
Tests
  • Improved test coverage of normalizing claude 3 messages (#​2893) (cc65763)
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.11.1

Compare Source

Bug fixes
  • Updated undici instrumentation to fix crash with trying to calculate exclusive duration on a segment that no longer exists (#​2884) (3b7e4bf)
Documentation
Miscellaneous chores
Tests
  • Restored the branch to test apollo-server-plugin to main (#​2879) (978faab)
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.11.0

Compare Source

Features
  • Removed transaction from segment. Introduced a new enterSegment and enterTransaction to make context propagation more clear (#​2646) (d84531a)
  • Removed children from segments. (#​2689) (66f140f)
  • Added segment tree to transaction trace (#​2717) (8fcc239)
  • Added segment synthesizer and provided ability to convert http client otel spans to external http trace segments (#​2745) (c42f8e6)
  • Added otel consumer span processing (#​2854) (82fe9d5)
  • Added segment and transaction synthesis for http server spans (#​2833) (8fa4d05)
  • Added segment synthesis for db client otel spans to db trace (#​2820) (1ad1858)
  • Added segment synthesis for internal spans (#​2840) (436c63d)
  • Added segment synthesis for otel producer spans (#​2839) (30f4995)
Bug fixes
  • Updated shim.createSegment and shim.handleMqTracingHeaders to be backwards compatible with the changes to context manager (#​2844) (554b4bf)
Code refactoring
  • Removed class construction on the segment synthesis and instrumentation (#​2837) (4b7ec0f)
Documentation

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 these updates again.


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

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

Copy link
Contributor

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@envelop/core 5.3.1-alpha-20250723184356-2cb4841aac8bb5477fade0c6c4b5854e8b520918 npm ↗︎ unpkg ↗︎

Copy link
Contributor Author

renovate bot commented Jul 23, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copy link
Contributor

💻 Website Preview

The latest changes are available as preview in:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

0 participants