Skip to content

Commit 5ee5003

Browse files
Merge pull request #22392 from newrelic/daily-release/12-09-25-morning
Daily release/12 09 25 morning
2 parents 509cfba + 9a1e2e0 commit 5ee5003

File tree

3 files changed

+108
-65
lines changed

3 files changed

+108
-65
lines changed

src/content/docs/apm/agents/nodejs-agent/getting-started/compatibility-requirements-nodejs-agent.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -289,24 +289,24 @@ supported by the agent.
289289
| --- | --- | --- | --- |
290290
| `@apollo/gateway` | 2.3.0 | 2.12.1 | `@newrelic/apollo-server-plugin@1.0.0` |
291291
| `@apollo/server` | 4.0.0 | 5.2.0 | `@newrelic/apollo-server-plugin@2.1.0` |
292-
| `@aws-sdk/client-bedrock-runtime` | 3.474.0 | 3.943.0 | 11.13.0 |
293-
| `@aws-sdk/client-dynamodb` | 3.0.0 | 3.943.0 | 8.7.1 |
294-
| `@aws-sdk/client-sns` | 3.0.0 | 3.943.0 | 8.7.1 |
295-
| `@aws-sdk/client-sqs` | 3.0.0 | 3.943.0 | 8.7.1 |
296-
| `@aws-sdk/lib-dynamodb` | 3.377.0 | 3.943.0 | 8.7.1 |
292+
| `@aws-sdk/client-bedrock-runtime` | 3.474.0 | 3.946.0 | 11.13.0 |
293+
| `@aws-sdk/client-dynamodb` | 3.0.0 | 3.946.0 | 8.7.1 |
294+
| `@aws-sdk/client-sns` | 3.0.0 | 3.946.0 | 8.7.1 |
295+
| `@aws-sdk/client-sqs` | 3.0.0 | 3.946.0 | 8.7.1 |
296+
| `@aws-sdk/lib-dynamodb` | 3.377.0 | 3.946.0 | 8.7.1 |
297297
| `@aws-sdk/smithy-client` | 3.47.0 | 3.374.0 | 8.7.1 |
298298
| `@azure/functions` | 4.7.0 | 4.10.0 | 12.18.0 |
299299
| `@elastic/elasticsearch` | 7.16.0 | 9.2.0 | 11.9.0 |
300-
| `@google/genai` | 1.1.0 | 1.30.0 | 12.21.0 |
300+
| `@google/genai` | 1.1.0 | 1.31.0 | 12.21.0 |
301301
| `@grpc/grpc-js` | 1.4.0 | 1.14.2 | 8.17.0 |
302302
| `@hapi/hapi` | 20.1.2 | 21.4.4 | 9.0.0 |
303303
| `@koa/router` | 12.0.1 | 15.0.0 | 3.2.0 |
304-
| `@langchain/core` | 0.1.17 | 1.1.1 | 11.13.0 |
305-
| `@modelcontextprotocol/sdk` | 1.13.0 | 1.24.2 | 13.2.0 |
304+
| `@langchain/core` | 0.1.17 | 1.1.4 | 11.13.0 |
305+
| `@modelcontextprotocol/sdk` | 1.13.0 | 1.24.3 | 13.2.0 |
306306
| `@nestjs/cli` | 9.0.0 | 11.0.14 | 10.1.0 |
307307
| `@opensearch-project/opensearch` | 2.1.0 | 3.5.1 | 12.10.0 |
308308
| `@prisma/client` | 5.0.0 | 7.1.0 | 11.0.0 |
309-
| `@smithy/smithy-client` | 2.0.0 | 4.9.9 | 11.0.0 |
309+
| `@smithy/smithy-client` | 2.0.0 | 4.9.10 | 11.0.0 |
310310
| `amqplib` | 0.5.0 | 0.10.9 | 2.0.0 |
311311
| `aws-sdk` | 2.2.48 | 2.1692.0 | 6.2.0 |
312312
| `bluebird` | 2.0.0 | 3.7.2 | 1.27.0 |
@@ -325,8 +325,8 @@ supported by the agent.
325325
| `mongodb` | 4.1.4 | 7.0.0 | 1.32.0 |
326326
| `mysql` | 2.16.0 | 2.18.1 | 1.32.0 |
327327
| `mysql2` | 2.0.0 | 3.15.3 | 1.32.0 |
328-
| `next` | 13.4.19 | 16.0.6 | 12.0.0 |
329-
| `openai` | 4.0.0 | 6.9.1 | 11.13.0 |
328+
| `next` | 13.4.19 | 16.0.7 | 12.0.0 |
329+
| `openai` | 4.0.0 | 6.10.0 | 11.13.0 |
330330
| `pg` | 8.2.0 | 8.16.3 | 9.0.0 |
331331
| `pg-native` | 3.0.0 | 3.5.2 | 9.0.0 |
332332
| `pino` | 8.0.0 | 10.1.0 | 8.11.0 |
@@ -336,7 +336,7 @@ supported by the agent.
336336
| `superagent` | 3.0.0 | 10.2.3 | 4.9.0 |
337337
| `undici` | 5.0.0 | 7.16.0 | 11.1.0 |
338338
| `when` | 3.7.0 | 3.7.8 | 1.26.2 |
339-
| `winston` | 3.0.0 | 3.18.3 | 8.11.0 |
339+
| `winston` | 3.0.0 | 3.19.0 | 8.11.0 |
340340

341341
*When package is not specified, support is within the `newrelic` package.
342342

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
subject: Node.js agent
3+
releaseDate: '2025-12-08'
4+
version: 13.7.0
5+
downloadLink: 'https://www.npmjs.com/package/newrelic'
6+
security: []
7+
bugs: ["Fixed normalization of OTEL hrtime"]
8+
features: ["Updated `koa` instrumentation to properly wrap `Router` when using `@koa/router@15.0.0`+","Added ability to configure a ratio based sampler","Updated configuration to allow `adaptive.sampling_target` to be set for `config.distributed_tracing.sampler.root`, `config.distributed_tracing.sampler.remote_parent_sampled`, and `config.distributed_tracing.sampler.remote_parent_not_sampled`","Added support for OTEL span links","Replaced `default` with `adaptive` as the default for samplers","Preliminary support for partial granularity traces (Not available for production use)"]
9+
---
10+
11+
## Notes
12+
13+
#### Features
14+
15+
* Updated `koa` instrumentation to properly wrap `Router` when using `@koa/router@15.0.0`+ ([#3550](https://github.com/newrelic/node-newrelic/pull/3550)) ([f1e08ad](https://github.com/newrelic/node-newrelic/commit/f1e08ad9fe200138ab9ed32e423517f64e41af49))
16+
* Added ability to configure a ratio based sampler ([#3501](https://github.com/newrelic/node-newrelic/pull/3501)) ([f300bd5](https://github.com/newrelic/node-newrelic/commit/f300bd5eacf9d6509b56484e7ad36d5c0725b497))
17+
* To assign a ratio based sampler, set `config.distributed_tracing.sampler.root`, `config.distributed_tracing.sampler.remote_parent_sampled`, or `config.distributed_tracing.sampler.remote_parent_not_sampled` to `{ trace_id_ratio_based: { ratio: <float between 0 and 1> }}`
18+
* To assign via environment variables set `NEW_RELIC_DISTRIBUTED_TRACING_SAMPLER_<TYPE>='trace_id_ratio_based'` and `NEW_RELIC_DISTRIBUTED_TRACING_SAMPLER_<TYPE>_RATIO=<float between 0 and 1>` where `<TYPE>` is one of `ROOT`, `REMOTE_PARENT_SAMPLED`, or `REMOTE_PARENT_NOT_SAMPLED`
19+
* Updated configuration to allow `adaptive.sampling_target` to be set for `config.distributed_tracing.sampler.root`, `config.distributed_tracing.sampler.remote_parent_sampled`, and `config.distributed_tracing.sampler.remote_parent_not_sampled` ([#3532](https://github.com/newrelic/node-newrelic/pull/3532)) ([44f51dd](https://github.com/newrelic/node-newrelic/commit/44f51dd5583e74aef1e2d0ee9483d51d5ff786c3))
20+
* Added support for OTEL span links ([#3528](https://github.com/newrelic/node-newrelic/pull/3528)) ([e840690](https://github.com/newrelic/node-newrelic/commit/e8406903dd0c92cd003fac69770785489e1bba85))
21+
* Replaced `default` with `adaptive` as the default for samplers ([#3543](https://github.com/newrelic/node-newrelic/pull/3543)) ([3f03162](https://github.com/newrelic/node-newrelic/commit/3f0316285fdde6d3c38ce819aa41221a71bd4fcb))
22+
* Preliminary support for partial granularity traces (Not available for production use)
23+
* Added `essential` type for partial granularity traces ([#3547](https://github.com/newrelic/node-newrelic/pull/3547)) ([3d85fb5](https://github.com/newrelic/node-newrelic/commit/3d85fb5fa16d411892eb4a23067e66669461ada0))
24+
* Added `reduced` type for partial granularity traces. ([#3540](https://github.com/newrelic/node-newrelic/pull/3540)) ([cfa8f41](https://github.com/newrelic/node-newrelic/commit/cfa8f41618595cc5ffb3e3b5574673721c64580c))
25+
* Added partial granularity samplers and assign transactions with `isPartialTrace` when partial granularity sampling decisions have been made ([#3544](https://github.com/newrelic/node-newrelic/pull/3544)) ([1535a82](https://github.com/newrelic/node-newrelic/commit/1535a82331ce40d7c96e0c6746ec70bcdbd6e4f6))
26+
* Refactored samplers into classes and store them on `agent.sampler.*` ([#3527](https://github.com/newrelic/node-newrelic/pull/3527)) ([ad63441](https://github.com/newrelic/node-newrelic/commit/ad634411a0d91240c0c16c7a372b00b36651589f))
27+
* Updated `Samplers` class to normalize logger messages, short circuit when applicable and remove optional chaining checks ([#3546](https://github.com/newrelic/node-newrelic/pull/3546)) ([4f7684c](https://github.com/newrelic/node-newrelic/commit/4f7684cb4c64a89545704c70c110d2fd13815197))
28+
* Updated samplers to assign priority between 0-1 when DT is disabled or both full and partial granularity are disabled ([#3559](https://github.com/newrelic/node-newrelic/pull/3559)) ([7a1c37e](https://github.com/newrelic/node-newrelic/commit/7a1c37e3e04fef0538a8af15fa690915bce65262))
29+
* Updated transaction to store partial granularity indicator as `.partialType` ([#3561](https://github.com/newrelic/node-newrelic/pull/3561)) ([a7f20d8](https://github.com/newrelic/node-newrelic/commit/a7f20d8e83b44556434bae90bd3924c54af9f587))
30+
* Updated when partial granularity rules are applied ([#3553](https://github.com/newrelic/node-newrelic/pull/3553)) ([a4bdf4f](https://github.com/newrelic/node-newrelic/commit/a4bdf4fbbbdac102519020c5ca4d3dc92eeff844))
31+
* Added `toString` and `get [Symbol.toStringTag]()` to default Sampler class ([#3562](https://github.com/newrelic/node-newrelic/pull/3562)) ([771168d](https://github.com/newrelic/node-newrelic/commit/771168dcd927240b6efc703f238046e9a7f7766b))
32+
33+
#### Bug fixes
34+
35+
* Fixed normalization of OTEL hrtime ([#3564](https://github.com/newrelic/node-newrelic/pull/3564)) ([707fe7d](https://github.com/newrelic/node-newrelic/commit/707fe7d6395f0e15b5e6c6195f93df1c27540423))
36+
37+
#### Documentation
38+
39+
* Updated compatibility report ([#3551](https://github.com/newrelic/node-newrelic/pull/3551)) ([02268a4](https://github.com/newrelic/node-newrelic/commit/02268a4e3fe7b2f2f5c2fd035bcb337fd7b2bfc2))
40+
* Added internal doc for attributes ([#3539](https://github.com/newrelic/node-newrelic/pull/3539)) ([68543b6](https://github.com/newrelic/node-newrelic/commit/68543b606fc53e59e9a6fcb08173e423bc6437a9))
41+
42+
#### Miscellaneous chores
43+
44+
* Improved logging around `preconnect` payload
45+
* Added more logging around assigning hostname during `preconnect` ([#3568](https://github.com/newrelic/node-newrelic/pull/3568)) ([3ee4d38](https://github.com/newrelic/node-newrelic/commit/3ee4d383cd7d9e7bf16e9da5e7f130fc2a103ca4))
46+
* Improved GCP utilization logging ([#3552](https://github.com/newrelic/node-newrelic/pull/3552)) ([e6c4141](https://github.com/newrelic/node-newrelic/commit/e6c4141b55860b5f1fe5cd14049abb9eca9b3859))
47+
* Utilization resolution is now done concurrently ([#3556](https://github.com/newrelic/node-newrelic/pull/3556)) ([8386360](https://github.com/newrelic/node-newrelic/commit/8386360fe7fb4b7278e001dac8c8293581654069))
48+
* Collected OTEL instrumentation scope metadata on all OTEL spans. ([#3554](https://github.com/newrelic/node-newrelic/pull/3554)) ([75703c4](https://github.com/newrelic/node-newrelic/commit/75703c41a8db1d204a1500b8b43dff0d04a5b286))
49+
* Improved OTEL hrtime processing ([#3557](https://github.com/newrelic/node-newrelic/pull/3557)) ([8f187b1](https://github.com/newrelic/node-newrelic/commit/8f187b11eac96f78d9743cadb2302001ed94412a))
50+
* Renamed config `opentelemetry_bridge` to `opentelemetry` ([#3565](https://github.com/newrelic/node-newrelic/pull/3565)) ([c9d156f](https://github.com/newrelic/node-newrelic/commit/c9d156fe302ffb99b262ffd3e256d953301f08f2))
51+
52+
53+
### Support statement:
54+
55+
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/)
56+
57+
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/)

0 commit comments

Comments
 (0)