Skip to content

Releases: newrelic/node-newrelic

v12.1.0

12 Aug 19:53
12cc92a
Compare
Choose a tag to compare

v12.1.0 (2024-08-12)

Bug fixes

  • Pick log message from merging object in Pino instrumentation (#2421) (599072b)
  • Added TLS verification for Redis (#2446) (9a16b70)

Documentation

Miscellaneous chores

  • Added entity relationship attributes to SQS segments (#2436) (578aead)
  • Converted agent unit tests to node:test (#2414) (b32f793)
  • Fixed mongodb-esm tests in combination with security agent (#2444) (5d617de)
  • Limited superagent tests to avoid new breaking release (#2439) (f1dd8e7)
  • Removed promise resolvers from callback based agent unit tests (#2450) (3766895)

Tests

  • Moved pkgVersion to collection-common to avoid a conflict with ESM tests (#2438) (7260fa3)
  • Restored mongodb-esm tests (#2434) (67a12e3)
  • Updated custom test reporter to only log failed tests when there are failures (#2425) (baa37ec)
  • Updated tls redis tests to work with older versions of redis v4 (#2454) (ffd9b17)

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.0.0

31 Jul 19:01
42ed0b7
Compare
Choose a tag to compare

v12.0.0 (2024-07-31)

⚠ BREAKING CHANGES

  • Dropped support for Node.js 16
  • Removed legacy context manager
  • Removed support for redis < 2.6.0
  • Removed instrumentation for director
  • Updated mongodb instrumentation to drop support for versions 2 and 3

Features

  • Dropped support for Node.js 16 (#2394) (1870010)
  • Removed legacy context manager (#2404) (321244c)
  • Removed support for redis < 2.6.0 (#2405) (e2c0a31)
  • Removed instrumentation for director (#2402) (1b355e7)
  • Added server.address to amqplib spans (#2406) (09636a4)
  • Updated mongodb instrumentation to drop support for versions 2 and 3 (#2398) (a0ae32a)
  • Migrated instrumentation for next into agent (#2409) (b55d8e1)
    • You no longer need to load Next.js instrumentation via @newrelic/next.
    • Instead you must load the agent via NODE_OPTIONS='-r newrelic' next start

Documentation

Miscellaneous chores

  • Added test configs for defined targets in the aws test suite (#2403) (cf514d9)
  • Added producer and consumer metrics to kafkajs instrumentation (#2407) (41c1cc6)
  • Switched to using Node built-in test runner (#2387) (b9f64b7)
  • Updated @newrelic/native-metrics to 11.0.0 (#2412) (aef69e2)
  • Updated dashboard links in developer-setup.md (#2397) (16866da)
  • Verified MySQL host:port metric is recorded (#2400) (74176f7)

Tests

  • Removed mongodb-esm tests as they are not atomic and conflicting with mongodb tests in CI (#2416) (e587b9d)
  • Updated minimum version of lesser used versions of 3rd party libraries (#2399) (ef8c006)

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

v11.23.2

22 Jul 20:12
9961ae0
Compare
Choose a tag to compare

Features

Bug fixes

  • Updated aws-sdk v3 instrumentation to load custom middleware last to properly get the external http span to add aws.* attributes (#2382) (751801b)
  • Updated cassandra-driver instrumentation to properly trace promise based executions (#2351) (bab9a8b)

Documentation

Miscellaneous chores

  • Always upload status logs in compatibility report CI (#2341) (b3f1ee3)

Tests

  • Removed server.start in grpc tests as it is deprecated and no longer needed (#2372) (d212b15)
  • Updated benchmark test results to output result files (#2350) (1b51a68)

Continuous integration

  • Added benchmark test GitHub Action (#2366) (afd3ab4)
  • Increased the limit of installs from 2 to a bigger number for versioned tests (#2346) (f85a385)
  • Updated bin/create-docs-pr to create an empty array if changelog.json is missing security (#2348) (7d5368c)

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

v11.23.1

11 Jul 16:43
3f3ad48
Compare
Choose a tag to compare

Bug fixes

  • Updated redis v4 instrumentation to work with transactions(multi/exec) (#2343) (39eb842)

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

v11.23.0

10 Jul 12:49
c7a1586
Compare
Choose a tag to compare

v11.23.0 (2024-07-10)

Features

  • Added support for account level governance of AI Monitoring (#2326) (7069335)

Code refactoring

  • Removed redundant isExpected in the Exception class (#2328) (38f9825)
  • Reduced duplication in the error-collector (#2323) (10581bf)
  • Refactored benchmark tests to complete async functions (#2334) (57a4dfb)

Documentation

Miscellaneous chores

  • Fixed copy paste error in post release workflow (#2329) (6f2da7a)
  • Implemented split jobs for post release docs publishing (#2319) (c14ec3b)

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

v11.22.0

28 Jun 16:09
76afe3a
Compare
Choose a tag to compare

v11.22.0 (2024-06-28)

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

v11.21.0

25 Jun 20:21
d255bdd
Compare
Choose a tag to compare

v11.21.0 (2024-06-25)

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

v11.20.0

24 Jun 20:35
a33b2b3
Compare
Choose a tag to compare

v11.20.0 (2024-06-24)

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

v11.19.0

06 Jun 18:35
7f6d1a8
Compare
Choose a tag to compare

v11.19.0 (2024-06-06)

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

v11.18.0

29 May 17:24
b94ea43
Compare
Choose a tag to compare

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