• /
  • EnglishEspañol日本語한국어Português
  • Log inStart now

Node.js agent release notesRSS

June 28
Node.js agent v11.22.0

Notes

Features

Documentation

Miscellaneous chores

Tests

  • Updated undici versioned tests to assert an error is present and not the actual message (#2299) (4e38ed4)

Continuous integration

  • Added Node 22 to CI (#2164) (4b12d9e)
  • Added Node 22 to smoke tests and nightly versioned test runs (#2316) (af00666)
  • Moved the docs PR job to before api docs publish (#2300) (2e7252e)

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

June 25
Node.js agent v11.21.0

Notes

Features

  • Added support for getting container ids from ECS metadata API (#2292) (dbca830)

Bug fixes

  • Handled assigning headers in LambdaProxyWebRequest when there are no headers present (#2293) (e4d22f3)

Documentation

Tests

  • Fixed log error stack message truncating and failing equality test (#2294) (8e06f0f)
  • Updated shimmer method in benchmark tests (#2281) (1528d68)

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

June 24
Node.js agent v11.20.0

Notes

Features

  • Added support for Anthropic Claude 3 messages API (#2278) (7e3cab9)

Code refactoring

  • Replaced instances of substr() with substring() (#2274) (8f96c73)

Documentation

Miscellaneous chores

  • Added a missing library we instrument to be picked up by the compatibility report (#2261) (6c964b2)
  • Added a script that generates Dashboard json for reporting on libraries by version (#2267) (d2877c1)
  • Added AI support docs for automation (#2249) (e2efc1f)
  • Fixed comment about transaction_tracer.transaction_threshold (#2258) (7cd6aef)
  • Made elastic versioned tests work on Node 16 (#2284) (143b475)
  • Updated docker compose configuration (#2268) (eb1cce9)
  • Updated GitHub Actions versions (#2272) (07a841b)
  • Updated mysql tests to use MySQL 8.3 (#2280) (11e0f8c)
  • Updated mysql2 tests to fix CI issue (#2282) (5a37971)
  • Updated versioned security agent workflow with simpler setup (#2259) (a886187)

Continuous integration

  • Added ability to run a build step in create release (#2273) (4c2f24c)
  • Updated security agent workflow to use large runners when available (#2271) (181ec1b)
  • Updated security agent workflow to use large runners when available (#2270) (761fcd5)

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

June 6
Node.js agent v11.19.0

Notes

Features

Miscellaneous chores

  • Added KafkaJS instrumentation and versioned tests skeleton (#2224) (fc13916)
  • Added KafkaJS to compatibility list (#2254) (f003ee7)
  • Implemented DT header injection for message specs (#2250) (3e6bc6d)
  • Removed targets for Kafka versioned tests (#2235) (838bab2)
  • Updated flaky when test (#2241) (4079a0a)
  • Updated readme to remove no longer relevant information (#2240) (01fb53c)
  • Updated versioned tests due to update in @newrelic/security-agent V1.3.0 (#2239) (982276c)

Tests

  • Migrated memcached tests to versioned tests (#2231) (0b3a928)
  • Ported when and q integration tests to versioned tests (#2233) (9a4dddc)
  • Updated ioredis tests to assert the host metric getting created on ioredis calls (#2230) (89df06a)
  • Updated unit tests that were missing constructing specs at instrumentation source (#2252) (54ab238)

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

May 29
Node.js agent v11.18.0

Notes

Features

  • Added support for redis v4 legacyMode client.v4.<command> (#2200) (b2284c5)

Code refactoring

  • Updated shim.recordConsume to use shim.record and added ability to invoke an after hook with callback args (#2207) (4f48fc3)

Documentation

Miscellaneous chores

Tests

  • Updated langchain versioned tests to separate the vectorstore and other tests. This is to avoid peer resolution of @langchain/community package that is being used to test the elasticsearch vectorstore (#2216) (e768955)
  • Fixed aws-sdk-v3 bedrock tests (#2211) (050469e)
  • Fixed aws-sdk-v3 bedrock tests (again) (#2212) (330cc4b)

Continuous integration

  • Updated the langchain vectorstore test to reference the correct version of @langchain/core getting tested (#2202) (ed81852)
  • Added updating of docs site with compatibility table (#2205) (c28a938)
  • Fixed CI jobs (#2215) (8b030fb)
  • Fixed should-run CI step (#2214) (d0a481d)

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

May 15
Node.js agent v11.17.0

Notes

Features

  • Added otel compliant server.address, server.port, and http.request.method to external http spans (#2169) (b0a3e6d)
  • Added otel compliant db.system, server.address, and server.port attributes to database spans (#2173) (3fdcab4)

Bug fixes

  • Added support for AWS API Gateway v2 payloads (#2191) (0ccdc6a)

Code refactoring

  • Updated instrumentation for http, undici, grpc to use a new segment.captureExternalAttributes to centralize the necessary data needed to create segment and span attributes (#2179) (ddb6356)

Documentation

Miscellaneous chores

Continuous integration

  • Updated minimum version of lib-dynamo to work around peer dependency resolution (#2174) (7ddf2c9)

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

April 29
Node.js agent v11.16.0

Notes

Features

  • Added API ignoreApdex to ignore calculating apdex for the active transaction (#2166) (cb21d2c)

Bug fixes

  • Fixed issue with CJS being imported as ESM (#2168) (9a14cb0)

Security improvements

Documentation

Miscellaneous chores

  • Migrated @newrelic/superagent into agent repo (#2141)
  • Migrated @newrelic/aws-sdk into agent repo (#2161) (a9eb593)
  • Migrated @newrelic/koa into mainline agent repo (#2148) (33af646)
  • Removed repetitive cache busting (#2160) (5ac870e)
  • Updated instrumentation to use type constants instead of raw strings (#2165) (c5b42cd)
  • Updated versioned tests readme (#2159) (a957304)
  • Updated versioned tests to support upcoming tooling (#2147) (38e47d9)
  • Updated versioned tests to use quiet output mode (#2145) (63a5ddc)

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

April 9
Node.js agent v11.15.0

Notes

Bug fixes

  • Fixed instrumenting the same module installed in different locations (#2104) (88bdace)

Code refactoring

  • mongodb: Removed instrumentation that handles connecting via unix domain socket. (#2129) (808323f)
  • Updated shim classes to no longer construct specs. (#2096) (158c295)

Miscellaneous chores

  • deps-dev: Bumped express from 4.18.2 to 4.19.2 (#2101) (639cb78)
  • deps: Updated @newrelic/security-agent to v1.1.1 (#2092) (3272aa3)
  • Fixed incorrect pinning of @elastic/transport (#2120) (7b5bdaa)
  • Removed scrollbar styling in generated API docs (#2091) (cb0fa11)
  • Removed transaction_id and legacy token count attributes from llm events for openai and langchain (#2093) (df2a0fd)

Tests

  • Updated test/integration/core/dns reverse test to remove flakiness (#2121) (c32cb27)
  • Updated elastic tests to skip broken version (#2119) (5d0d1bb)

Continuous integration

  • Removed usage of use_new_release from prepare release workflow (#2124) (007ddb4)
  • Updated prepare-release.js to not require changelog.json (#2106) (328a570)
  • Updated prepare release to provide a drop down for release type (#2133) (846269b)
  • Updated versioned security agent workflow (#2100) (f787b15)
  • Fixed typo in constant name for prepare release script (#2094) (3b887d9)

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 20
Node.js agent v11.14.0

Notes

Features

  • Added guid attribute to TransactionError events (#2079) (3468fb1)
  • Added instrumentation for initializeUnorderedBulkOp, and initializeOrderedBulkOp in mongodb 4+ (#2086) (666ae6e)
  • Added support for Mongo v5+ (#2085) (00f6feb)

Security improvements

  • deps: bump follow-redirects from 1.15.5 to 1.15.6 (#2078) (aa86482)

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

March 13
Node.js agent v11.13.0

Notes

Features

  • Added AI Monitoring(AIM) for OpenAI, Amazon Bedrock, and Langchain.
    • To enable, set config.ai_monitoring.enabled or NEW_RELIC_AI_MONITORING_ENABLED to true.
    • For a full experience, set config.span_events.max_samples_stored to 10000, config.custom_insights_events.max_samples_stored to 100000, and config.distributed_tracing.enabled should not be set to false.
    • Note: Enabling high-security mode will disable the AIM instrumentation and events.
  • Added instrumentation for VectorStore.similaritySearch for langchain.js (#2049) (3c50606)
  • Added setLlmTokenCountCallback API endpoint to register a callback for calculating token count when none is provided (#2065) (d2faf1a)
  • Added token_count to LlmEmbedding and LlmChatCompletionMessage for openai (#2061) (47a925e)
  • Added tool_id to Langchain error event (#2064) (793abe8)

Miscellaneous chores

  • Added flag for verbosity during docs publishing (#2060) (fe0d41a)
  • Added some delays to docs publishing (#2062) (a602fd4)
  • Changed casing of OpenAI in vendor property (#2068) (64b4ca2)
  • Changed token_count to only use tokenCountCallback (#2070) (66f94b0)
  • Removed langchain_instrumentation feature flag as the instrumentation is feature complete (#2073) (925a463)
  • updated @newrelic/aws-sdk and @newrelic/koa to latest (#2074) (0747ca4)

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

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.