Skip to content

Releases: newrelic/node-newrelic

v12.23.0

30 Jun 15:19
6bb3e32

Choose a tag to compare

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

24 Jun 15:25
fb284bf

Choose a tag to compare

v12.22.0 (2025-06-24)

Features

Bug fixes

  • Fixed error logging for undefined tracestate header (#3170) (3c915f5)

Code refactoring

  • Updated transformation rules to remove the bespoke rule to appease @google-cloud/pubsub < 5.1.0 (#3151) (2d9b4b4)

Documentation

Miscellaneous chores

  • Added logging of used New Relic environment variables (#3145) (1a9d9f5)
  • Added supportability metrics to OTEL metrics API (#3164) (5312db0)
  • Fixed formatting in Slack PR titles (#3167) (847859f)
  • Improved output of pending prs script (#3160) (9bafd77)
  • Improved setup of OpenTelemetry metrics API (#3138) (e91592d)
  • Pinned google/genai to <1.5.0 (#3154) (04b9bde)
  • Removed discontinued Bedrock models (#3158) (2c79a31)
  • Removed usage of shim.argsToArray in favor of rest parameters (#3141) (b144d71)
  • Tweaked nestjs test manifest (#3152) (51b82aa)

Tests

  • Added JSDoc annotation for benchmark interface (#3127) (77e7e0a)
  • fixed test assertion for langchain openai (#3169) (29ec912)
  • Skips running nest 11+ on node 18 due to dropping support (#3149) (961975b)
  • unpinned google genai tests (#3168) (cfa7114)

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

04 Jun 17:47
3d56b0c

Choose a tag to compare

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

27 May 17:59
5557ce3

Choose a tag to compare

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

20 May 13:57
45870e5

Choose a tag to compare

v12.19.0 (2025-05-20)

Features

  • Added Azure Function HTTP streaming support (#3070) (9865e1c)

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

30 Apr 13:36
3530bcc

Choose a tag to compare

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

29 Apr 16:46
71d062b

Choose a tag to compare

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

  • Skipped regressions in pg-native versioned tests (#3053) (6ce3670)
  • Updated elasticsearch image for versioned tests (#3038) (3d73f9f)

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

14 Apr 18:40
bda79ce

Choose a tag to compare

v12.18.0 (2025-04-14)

Features

  • Support Azure functions background trigger types (#3028) (3bf17b0)
  • Support Azure functions HTTP trigger type (#3021) (90d894b)

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

02 Apr 18:54
b5b6860

Choose a tag to compare

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

  • Pinned openai@4.90.0 to work with @langchain/openai (#3019) (eaa3db0)

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

24 Mar 18:41
d9ab2ba

Choose a tag to compare

v12.16.1 (2025-03-24)

Features

  • Assign all attributes on internal spans to segment (#3000) (5403018)

Bug fixes

  • Fixed tracer.transactionNestProxy to create a new transaction if there is no transaction or transaction is not active (#3007) (ced9e22)

Documentation

Tests

  • Fixed handling require esm for >20.19.0+ (#3002) (b808e00)

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/)