Node.js agent release notesRSS

March 17
Node.js agent v12.16.0

Notes

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

March 3
Node.js agent v12.15.0

Notes

Features

  • Allowed undici error reporting to be disabled with feature flag undici_error_tracking (#2956) (6278107)
    • Thanks for your contribution @Voziv :tada:
  • 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/)

February 18
Node.js agent v12.14.0

Notes

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)
    • Thanks for your contribution @rChaoz 🎉

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

February 12
Node.js agent v12.13.0

Notes

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

February 5
Node.js agent v12.12.0

Notes

Features

  • Added health check support for upcoming feature (#2841) (4c8bf13)
  • Added OpenTelemetry bridge instrumentation, which includes 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 Kubernetes 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/)

January 29
Node.js agent v12.11.3

Notes

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

  • Move init container release from lambda to GHA (#2848) (8d8608d)

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

January 23
Node.js agent v12.11.2

Notes

Features

  • Added support for Claude 3+ Chat API in Bedrock (#2870) (6a83abf)

Bug fixes

  • Added defensive code in shim to prevent crashing when checking parent segment (#2898) (751eb96)

Documentation

Miscellaneous chores

  • Replaced backtracking regex with new algorithm (#2887) (46462d0)

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

January 16
Node.js agent v12.11.1

Notes

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

January 14
Node.js agent v12.11.0

Notes

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

Miscellaneous chores

Tests

  • Updated a langchain test to be less rigid on asserting the tracking metric by @langchain/core version (#2876) (73985ea)

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

January 9
Node.js agent v12.10.0

Notes

Features

  • Added instrumentation for @opensearch-projects/opensearch v2.1.0+ (#2850) (763c0e6)

Bug fixes

  • Fixed event matcher to use properties specific to web requests (v1/ALB and v2) (#2863) (a93fe6e)

Miscellaneous chores

Tests

Continuous integration

  • Updated codecov-action to latest released version sha (#2866) (75f8902)

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