Skip to content

Releases: newrelic/node-newrelic

v12.6.1

07 Nov 15:44
46a6071
Compare
Choose a tag to compare

v12.6.1 (2024-11-07)

Features

  • added cloud.aws.account_id to default config (#2691) (0ccee8e)

Bug fixes

Documentation

Miscellaneous chores

  • Moved recorders to lib/metrics/recorders (#2666) (d8dfe84)

Tests

  • Fixed file extensions for aws-sdk v2 and v3 versioned tests to reflect they have been migrated to node:test (#2687) (4ec09ba)
  • Migrated elasticsearch and esm-package versioned tests to node:test (#2680) (0e0c2b2)
  • Updated cls and connect tests to node:test (#2676) (1e74434)
  • Reorganized custom assertions and improved test reporter (#2700) (9e98b18)
  • Updated cassandra-driver tests to node:test (#2678) (bd4f7ff)

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

30 Oct 19:33
b7d0639
Compare
Choose a tag to compare

Features

  • Added ARN and provider to Lambda segments (#2674) (a23294c)
  • Added IAST configurations for scan scheduling and restrictions (#2645) (13a627a)

Documentation

Miscellaneous chores

  • Replaced static openssl cert usage with in-process cert (#2671) (72872f4)

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

23 Oct 19:21
5275a3c
Compare
Choose a tag to compare

Features

  • Updated shim/when instrumentation to use tracer to run in context (#2642) (1a80ad5)

Bug fixes

Documentation

Miscellaneous chores

  • Upgraded import-in-the-middle to work around a bug introduced in 1.11.1 (#2618) (9ad476a)

Tests

  • Migrated aws-sdk-v2 and aws-sdk-v3 tests to node:test (#2620) (e0dc015)
  • Migrated test/unit/shim to node:test (#2599) (8d1acff)
  • Migrated test/versioned/amqplib to node:test (#2612) (7bdada6)
  • Migrated test/versioned/express to node:test (#2609) (bd2f1a5)
  • Migrated bluebird versioned tests to node:test (#2635) (6e28fad)
  • Migrated last group of unit tests to node:test (#2624) (386f546)
  • Migrated unit tests to node:test (#2623) (86231b7)
  • Updated tests that relied on tspl by awating the plan.completed instead of calling end to avoid flaky tests (#2610) (935ac14)
  • Updated tests that used the context manager directly and instead use the tracer to access the segment context (#2643) (b917b3e)
  • Updated the mininum version of pg-native in pg-esm tests to align with the pg tests (#2616) (16be714)
  • Migrated bunyan, pino, and winston tests to node:test (#2634) (69c1ab8)
  • Migrated fastify tests to node:test (#2632) (b522477)
  • Migrated block of unit tests to node:test (#2607) (e33807b)
  • Migrated block of unit tests to node:test (#2604) (cd90ce1)
  • Migrated block of unit tests to node:test (#2593) (6d4d49e)

Continuous integration

  • Added delay to site extension publishing to wait for NPM (#2665) (e412020)

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

23 Sep 13:20
444e48b
Compare
Choose a tag to compare

v12.5.1 (2024-09-23)

Bug fixes

Documentation

Miscellaneous chores

  • deps: Udpated @newrelic/security-agent to v2.0.0 (#2594) (92e6978)

Tests

  • Convert transaction* and urltils tests to node:test (#2585) (d169546)
  • Fixed @koa/router tests. path-to-regex differs between @koa/router and koa-router now (#2587) (608dd98)
  • Removed transitive deps from versioned tests as they will auto-install if required as peer deps (#2580) (0db6599)
  • Updated a missing minSupported in aws-sdk-v3 versioned tests (#2582) (c997af6)
  • Updated fastify versioned tests to work with [email protected] (#2584) (a5a1526)
  • Updated how we handle the koa-router nuance of wildcard routes (#2588) (ddeb097)
  • Updated koa-router to tests to handle bug fixes from 13.0.1 (#2578) (a28e2e6)
  • Migrate block of unit tests to node:test (#2570) (5cd1d8a)
  • Migrate second block of unit tests to node:test (#2572) (943a83e)
  • Reduce koa-router version to enable CI (#2573) (f44a99b)
  • Removed noisy test log (#2583) (3766ed6)

Continuous integration

  • Added workflow run trigger to Azure site extension publish job (#2575) (e8ae942)

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

12 Sep 19:38
d2917c9
Compare
Choose a tag to compare

v12.5.0 (2024-09-12)

Features

Bug fixes

  • Ensured README displays for Azure site extension (#2564) (a30aed5)

Documentation

Tests

  • Convert metric and metrics-recorder tests to node:test (#2552) (7ae4af4)
  • Updated serverless unit tests to node:test (#2549) (619f23c)

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

11 Sep 13:38
3b26efb
Compare
Choose a tag to compare

v12.4.0 (2024-09-11)

Features

  • Added support for express@5 (#2555) (252f3b2)
  • Provided ability to disable instrumentation for a 3rd party package (#2551) (abfb9f0)
    • To disable instrumentation set config.instrumentation.<library>.enabled to false. The values of <library> are the keys listed here
    • This feature is use at your own risk. Disabling instrumentation for a library could affect instrumentation of other libraries executed afterwards.

Miscellaneous chores

  • Added CI for publishing agent as Azure site extension (#2488) (468943a)
  • Added Azure site extension installation scripts (#2448) (a56c4e1)

Tests

  • Converted llm-events tests to use node:test (#2535) (ebfa2e9)
  • Migrated test/unit/spans to use node:test (#2556) (9319071)
  • Migrated test/unit/util to use node:test (#2546) (0b07be8)
  • Migrated tests in test/unit/instrumentation to use node:test (#2531) (47b8398)
  • Converted collector unit tests to node:test (#2510) (762511b)
  • Converted errors unit tests to node:test (#2540) (ae82760)

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

04 Sep 17:25
ab64cb4
Compare
Choose a tag to compare

Bug fixes

  • Fixed detection of REST API type payloads in AWS Lambda (#2543) (adfeebc)

Documentation

  • Cleaned up formatting of api.js to properly inject example snippets when rendering on API docs site (#2524) (4b34f3d)
  • Updated compatibility report (#2523) (29784ea)
  • Updated Next.js Otel cloud provider FAQ (#2537) (6553807)

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

27 Aug 19:11
1ee83c2
Compare
Choose a tag to compare

v12.3.0 (2024-08-27)

Features

  • Added new API method withLlmCustomAttributes to run a function in a LLM context (#2437) (57e6be9)
    • The context will be used to assign custom attributes to every LLM event produced within the function

Bug fixes

Documentation

Miscellaneous chores

Tests

  • Converted the api unit tests to node:test (#2516) (ab91576)
  • Converted context-manager unit tests to node:test (#2508) (9363eb0)

Continuous integration

  • Updated codecov action sha to post coverage from forks. Added flag to fail ci if it fails to upload report (#2490) (12fbe56)

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

19 Aug 16:31
8b9363b
Compare
Choose a tag to compare

v12.2.0 (2024-08-19)

Features

Bug fixes

Documentation

Miscellaneous chores

  • Reverted to upstream require-in-the-middle (#2473) (9bbc41c)
  • Updated aggregators unit tests to node:test (#2481) (fd2d76f)

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

15 Aug 17:35
c6a04c0
Compare
Choose a tag to compare

v12.1.1 (2024-08-15)

Bug fixes

  • Updated amqplib instrumentation to properly parse host/port from connect (#2461) (91636a8)
  • Updated redis instrumentation to parse host/port when a url is not provided (#2463) (2b67623)
  • Updated the kafkajs node metrics to remove /Named from the name (#2458) (37ce113)

Code refactoring

  • Updated pino instrumentation to separate the wrapping of asJson into its own function (#2464) (81fdde1)

Documentation

Miscellaneous chores

  • Removed limit on superagent versioned testing (#2456) (b4b6a6b)

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