Skip to content

Releases: newrelic/node-newrelic

v12.9.0

18 Dec 21:23
ad039d9
Compare
Choose a tag to compare

Features

  • Added entity linking attributes to aws-sdk v3 Lambda segments (#2845) (8820265)
  • Provided ability to define newrelic config as newrelic.mjs (#2836) (972b59d)

Documentation

Miscellaneous chores

  • deps: Updated @newrelic/security-agent to v2.2.0 (#2842) (170941e)
  • Updated borp configs to target tests correctly (#2835) (66ae59d)

Tests

  • Removed tap and cleaned up left over tap helpers (#2804) (37407b6)
  • Updated match to fail if you pass in an object that lacks the expected keys (#2843) (a3db8bd)

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

09 Dec 21:11
f83e039
Compare
Choose a tag to compare

v12.8.2 (2024-12-09)

Bug fixes

  • Fixed mysql2 promise instrumentation to properly handle createPool and createPoolCluster (#2823) (a679872)
  • Fixed matching for Lambda events containing resource but which aren't API Gateway (#2825) (64d2042)

Documentation

Miscellaneous chores

  • Improved documentation for assertSegments (#2819) (298473c)

Tests

  • Added test/custom-assertions.js to the apollo-server external versioned tests config (#2817) (568525a)
  • Fixed flakey when versioned test (#2821) (54f034b)

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

04 Dec 18:07
bac495e
Compare
Choose a tag to compare

Bug fixes

  • Fixed matching for ALB and API Gateway (v1 & v2) events for Lambda (#2780) (2f1a6c6)
  • Updated mysql2 instrumentation to work with 3.11.5+ (#2811) (3ec4fee)

Documentation

Tests

  • Migrated test/integration/api tests to node:test (#2787) (03b01a3)
  • Migrated test/integration/core tests to node:test (#2781) (36bc0e7)
  • Migrated test/integration/instrumentation tests to node:test (#2784) (963fb30)
  • Migrated test/integration/transaction tests to node:test (#2783) (68e1a0c)
  • Migrated test/integration/utilization tests to node node:test (#2794) (db237e9)
  • Migrated test/smoke/api tests to node:test (#2772) (af3bbcd)
  • Migrated CAT integration tests to node:test (#2778) (bd9df5f)
  • Migrated integration tests at root to node:test (#2803) (a7ef080)
  • Migrated root smoke tests to node:test (#2771) (78f2709)
  • Migrated smoke tests in test/smoke/agent, test/smoke/e2e, and test/smoke/index to node:test (#2774) (440a0af)
  • Removed t.diagnostic as they are better suited as code comments (#2786) (ee24027)
  • Fixed flaky test on macOS (#2790) (eebf06b)
  • Removed reference to pino internals (#2805) (0382ee2)
  • Restricted mysql2 version to get CI working (#2808) (ad60ed4)
  • Updated agent integration tests to node:test (#2782) (d556512)
  • Updated config integration tests to node:test (#2777) (fe8d2df)
  • Updated distributed-tracing integration tests to node:test (#2798) (83ad1f3)
  • Updated grpc integration tests to node:test (#2789) (ea8f743)
  • Updated index, issue-2155, and metric integration tests to node:test (#2801) (80b55c2)
  • Updated q, superagent, and when tests to node:test (#2773) (ff2d8d0)
  • Updated shimmer, uninstrumented, environment, flatten, and logger integration tests to node:test (#2802) (83fd7ee)
  • Added per test file timing to test reporter (#2785) (00d9940)

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

19 Nov 19:47
dffdac7
Compare
Choose a tag to compare

v12.8.0 (2024-11-19)

Features

  • Added new configuration options to add custom tags (labels) to logs (#2743) (d20c874)

    • With custom tags on logs, platform engineers can easily filter, search, and correlate log data for faster and more efficient troubleshooting, improved performance, and optimized resource utilization. To learn more about this feature see the documentation
    • To enable set config.application_logging.forwarding.labels.enabled to true or the environment variable NEW_RELIC_APPLICATION_LOGGING_FORWARDING_LABELS_ENABLED to true (#2727) (36adb13)
    • To exclude labels that were set on application from logs use config.application_logging.forwarding.labels.exclude or the environment variable NEW_RELIC_APPLICATION_LOGGING_FORWARDING_LABELS_EXCLUDE
  • Added support for Bedrock Claude 3.5 invoke model user request (#2721) (a901a24)

  • Moved entity.guid, entity.name, entity.type, and hostname to common.attributes on logs payload instead of in every log message (#2736) (a7f14de)

Bug fixes

  • Corrected expected shape of user input in get Prompt() (#2741) (a8eef8b)

Documentation

Miscellaneous chores

Tests

  • Fixed two assertions to work against older versions of openai (#2726) (8996fc3)
  • Migrated ioredis, prisma and undici versioned tests to node:test (#2746) (449ae03)
  • Migrated memcached, nestjs, and restify versioned tests to node:test (#2752) (653f614)
  • Migrated nextjs versioned tests to node:test (#2749) (d385af6)
  • Migrated redis versioned tests to node:test (#2725) (9752827)
  • Updated hapi tests to node:test (#2722) (636899b)
  • Updated kafkajs, langchain, & openai tests to node:test (#2723) (b6e4c5d)
  • Updated koa tests to node:test (#2744) (86c22a4)
  • Updated mongodb tests to node:test (#2738) (295e7e6)
  • Updated pg and pg-esm tests to node:test (#2750) (40aea36)

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

11 Nov 14:51
2fac4c8
Compare
Choose a tag to compare

v12.7.0 (2024-11-11)

Features

  • Added cloud.resource_id attribute to dynamo spans (#2701) (904f41b)
  • Enhance Proxy Request Handling to Display Actual External URLs (#2698) (3ef7bbe)

Documentation

Miscellaneous chores

  • Added a benchmark script for our sql parser (#2708) (9b6de68)
  • Updated express-esm, generic-pool, grpc, & grpc-esm tests to node:test (#2702) (a229bbf)

Tests

  • Migrated mysql and mysql2 versioned tests to node:test (#2711) (fc767e0)

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