newrelic 12.5.0 → 12.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NEWS.md +32 -0
- package/THIRD_PARTY_NOTICES.md +10 -10
- package/lib/instrumentation/pino/pino.js +9 -1
- package/package.json +2 -2
package/NEWS.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
|
1
|
+
### v12.5.1 (2024-09-23)
|
|
2
|
+
|
|
3
|
+
#### Bug fixes
|
|
4
|
+
|
|
5
|
+
* Fixed handling of Pino merging object ([#2600](https://github.com/newrelic/node-newrelic/pull/2600)) ([de3c266](https://github.com/newrelic/node-newrelic/commit/de3c26683a1fb63da26cfd813599774a5db61097))
|
|
6
|
+
|
|
7
|
+
#### Documentation
|
|
8
|
+
|
|
9
|
+
* Updated compatibility report ([#2589](https://github.com/newrelic/node-newrelic/pull/2589)) ([2f45a4a](https://github.com/newrelic/node-newrelic/commit/2f45a4a535d83ac8fe073ed5082edda4ff1fb720))
|
|
10
|
+
|
|
11
|
+
#### Miscellaneous chores
|
|
12
|
+
|
|
13
|
+
* **deps:** Udpated @newrelic/security-agent to v2.0.0 ([#2594](https://github.com/newrelic/node-newrelic/pull/2594)) ([92e6978](https://github.com/newrelic/node-newrelic/commit/92e6978d74b365085afa719b02c41d07b1ba82ea))
|
|
14
|
+
|
|
15
|
+
#### Tests
|
|
16
|
+
|
|
17
|
+
* Convert transaction* and urltils tests to `node:test` ([#2585](https://github.com/newrelic/node-newrelic/pull/2585)) ([d169546](https://github.com/newrelic/node-newrelic/commit/d169546b7c51d83db0697f941343cd334f675e60))
|
|
18
|
+
* Fixed @koa/router tests. path-to-regex differs between @koa/router and koa-router now ([#2587](https://github.com/newrelic/node-newrelic/pull/2587)) ([608dd98](https://github.com/newrelic/node-newrelic/commit/608dd98924a3b8fd4b3b48d8fc3a0dc54ce493b2))
|
|
19
|
+
* Removed transitive deps from versioned tests as they will auto-install if required as peer deps ([#2580](https://github.com/newrelic/node-newrelic/pull/2580)) ([0db6599](https://github.com/newrelic/node-newrelic/commit/0db6599505ca568c82f36584f3214adcdb68a976))
|
|
20
|
+
* Updated a missing `minSupported` in aws-sdk-v3 versioned tests ([#2582](https://github.com/newrelic/node-newrelic/pull/2582)) ([c997af6](https://github.com/newrelic/node-newrelic/commit/c997af6ab935ff103fa97a21d204c9482e66aa61))
|
|
21
|
+
* Updated fastify versioned tests to work with `fastify@5.0.0` ([#2584](https://github.com/newrelic/node-newrelic/pull/2584)) ([a5a1526](https://github.com/newrelic/node-newrelic/commit/a5a1526c9aa83ca96d5d6e3ac0cc703cf7042efc))
|
|
22
|
+
* Updated how we handle the koa-router nuance of wildcard routes ([#2588](https://github.com/newrelic/node-newrelic/pull/2588)) ([ddeb097](https://github.com/newrelic/node-newrelic/commit/ddeb097a7f29b8fcdd7b4082fa4f8b55e5e386a9))
|
|
23
|
+
* Updated koa-router to tests to handle bug fixes from 13.0.1 ([#2578](https://github.com/newrelic/node-newrelic/pull/2578)) ([a28e2e6](https://github.com/newrelic/node-newrelic/commit/a28e2e66e8bcc71aadd6bbd9a84eadbc4990d490))
|
|
24
|
+
* Migrate block of unit tests to `node:test` ([#2570](https://github.com/newrelic/node-newrelic/pull/2570)) ([5cd1d8a](https://github.com/newrelic/node-newrelic/commit/5cd1d8aa6fa673d090e7b3d5fdc962c75c866706))
|
|
25
|
+
* Migrate second block of unit tests to `node:test` ([#2572](https://github.com/newrelic/node-newrelic/pull/2572)) ([943a83e](https://github.com/newrelic/node-newrelic/commit/943a83eb9f6267d76cd576c5375889cff89557e9))
|
|
26
|
+
* Reduce koa-router version to enable CI ([#2573](https://github.com/newrelic/node-newrelic/pull/2573)) ([f44a99b](https://github.com/newrelic/node-newrelic/commit/f44a99b2ffdd7b35c38708ebf200fb266e740187))
|
|
27
|
+
* Removed noisy test log ([#2583](https://github.com/newrelic/node-newrelic/pull/2583)) ([3766ed6](https://github.com/newrelic/node-newrelic/commit/3766ed634df348898515f95edc3c58389d67b62d))
|
|
28
|
+
|
|
29
|
+
#### Continuous integration
|
|
30
|
+
|
|
31
|
+
* Added workflow run trigger to Azure site extension publish job ([#2575](https://github.com/newrelic/node-newrelic/pull/2575)) ([e8ae942](https://github.com/newrelic/node-newrelic/commit/e8ae94249553c8c648e43adec271e9e2900c574a))
|
|
32
|
+
|
|
1
33
|
### v12.5.0 (2024-09-12)
|
|
2
34
|
|
|
3
35
|
#### Features
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -93,7 +93,7 @@ code, the source code can be found at [https://github.com/newrelic/node-newrelic
|
|
|
93
93
|
|
|
94
94
|
### @grpc/grpc-js
|
|
95
95
|
|
|
96
|
-
This product includes source derived from [@grpc/grpc-js](https://github.com/grpc/grpc-node/tree/master/packages/grpc-js) ([v1.11.
|
|
96
|
+
This product includes source derived from [@grpc/grpc-js](https://github.com/grpc/grpc-node/tree/master/packages/grpc-js) ([v1.11.3](https://github.com/grpc/grpc-node/tree/master/packages/grpc-js/tree/v1.11.3)), distributed under the [Apache-2.0 License](https://github.com/grpc/grpc-node/tree/master/packages/grpc-js/blob/v1.11.3/LICENSE):
|
|
97
97
|
|
|
98
98
|
```
|
|
99
99
|
Apache License
|
|
@@ -511,7 +511,7 @@ This product includes source derived from [@grpc/proto-loader](https://github.co
|
|
|
511
511
|
|
|
512
512
|
### @newrelic/security-agent
|
|
513
513
|
|
|
514
|
-
This product includes source derived from [@newrelic/security-agent](https://github.com/newrelic/csec-node-agent) ([
|
|
514
|
+
This product includes source derived from [@newrelic/security-agent](https://github.com/newrelic/csec-node-agent) ([v2.0.0](https://github.com/newrelic/csec-node-agent/tree/v2.0.0)), distributed under the [UNKNOWN License](https://github.com/newrelic/csec-node-agent/blob/v2.0.0/LICENSE):
|
|
515
515
|
|
|
516
516
|
```
|
|
517
517
|
## New Relic Software License v1.0
|
|
@@ -1076,7 +1076,7 @@ SOFTWARE.
|
|
|
1076
1076
|
|
|
1077
1077
|
### @aws-sdk/client-s3
|
|
1078
1078
|
|
|
1079
|
-
This product includes source derived from [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3) ([v3.
|
|
1079
|
+
This product includes source derived from [@aws-sdk/client-s3](https://github.com/aws/aws-sdk-js-v3) ([v3.654.0](https://github.com/aws/aws-sdk-js-v3/tree/v3.654.0)), distributed under the [Apache-2.0 License](https://github.com/aws/aws-sdk-js-v3/blob/v3.654.0/LICENSE):
|
|
1080
1080
|
|
|
1081
1081
|
```
|
|
1082
1082
|
Apache License
|
|
@@ -1285,7 +1285,7 @@ This product includes source derived from [@aws-sdk/client-s3](https://github.co
|
|
|
1285
1285
|
|
|
1286
1286
|
### @aws-sdk/s3-request-presigner
|
|
1287
1287
|
|
|
1288
|
-
This product includes source derived from [@aws-sdk/s3-request-presigner](https://github.com/aws/aws-sdk-js-v3) ([v3.
|
|
1288
|
+
This product includes source derived from [@aws-sdk/s3-request-presigner](https://github.com/aws/aws-sdk-js-v3) ([v3.654.0](https://github.com/aws/aws-sdk-js-v3/tree/v3.654.0)), distributed under the [Apache-2.0 License](https://github.com/aws/aws-sdk-js-v3/blob/v3.654.0/LICENSE):
|
|
1289
1289
|
|
|
1290
1290
|
```
|
|
1291
1291
|
Apache License
|
|
@@ -1494,7 +1494,7 @@ This product includes source derived from [@aws-sdk/s3-request-presigner](https:
|
|
|
1494
1494
|
|
|
1495
1495
|
### @koa/router
|
|
1496
1496
|
|
|
1497
|
-
This product includes source derived from [@koa/router](https://github.com/koajs/router) ([v12.0.
|
|
1497
|
+
This product includes source derived from [@koa/router](https://github.com/koajs/router) ([v12.0.2](https://github.com/koajs/router/tree/v12.0.2)), distributed under the [MIT License](https://github.com/koajs/router/blob/v12.0.2/LICENSE):
|
|
1498
1498
|
|
|
1499
1499
|
```
|
|
1500
1500
|
The MIT License (MIT)
|
|
@@ -2208,7 +2208,7 @@ THE SOFTWARE.
|
|
|
2208
2208
|
|
|
2209
2209
|
### @slack/bolt
|
|
2210
2210
|
|
|
2211
|
-
This product includes source derived from [@slack/bolt](https://github.com/slackapi/bolt) ([v3.21.
|
|
2211
|
+
This product includes source derived from [@slack/bolt](https://github.com/slackapi/bolt) ([v3.21.4](https://github.com/slackapi/bolt/tree/v3.21.4)), distributed under the [MIT License](https://github.com/slackapi/bolt/blob/v3.21.4/LICENSE):
|
|
2212
2212
|
|
|
2213
2213
|
```
|
|
2214
2214
|
The MIT License (MIT)
|
|
@@ -2685,7 +2685,7 @@ SOFTWARE.
|
|
|
2685
2685
|
|
|
2686
2686
|
### async
|
|
2687
2687
|
|
|
2688
|
-
This product includes source derived from [async](https://github.com/caolan/async) ([v3.2.
|
|
2688
|
+
This product includes source derived from [async](https://github.com/caolan/async) ([v3.2.6](https://github.com/caolan/async/tree/v3.2.6)), distributed under the [MIT License](https://github.com/caolan/async/blob/v3.2.6/LICENSE):
|
|
2689
2689
|
|
|
2690
2690
|
```
|
|
2691
2691
|
Copyright (c) 2010-2018 Caolan McMahon
|
|
@@ -2712,7 +2712,7 @@ THE SOFTWARE.
|
|
|
2712
2712
|
|
|
2713
2713
|
### aws-sdk
|
|
2714
2714
|
|
|
2715
|
-
This product includes source derived from [aws-sdk](https://github.com/aws/aws-sdk-js) ([v2.
|
|
2715
|
+
This product includes source derived from [aws-sdk](https://github.com/aws/aws-sdk-js) ([v2.1691.0](https://github.com/aws/aws-sdk-js/tree/v2.1691.0)), distributed under the [Apache-2.0 License](https://github.com/aws/aws-sdk-js/blob/v2.1691.0/LICENSE.txt):
|
|
2716
2716
|
|
|
2717
2717
|
```
|
|
2718
2718
|
|
|
@@ -3345,7 +3345,7 @@ Library.
|
|
|
3345
3345
|
|
|
3346
3346
|
### eslint
|
|
3347
3347
|
|
|
3348
|
-
This product includes source derived from [eslint](https://github.com/eslint/eslint) ([v8.57.
|
|
3348
|
+
This product includes source derived from [eslint](https://github.com/eslint/eslint) ([v8.57.1](https://github.com/eslint/eslint/tree/v8.57.1)), distributed under the [MIT License](https://github.com/eslint/eslint/blob/v8.57.1/LICENSE):
|
|
3349
3349
|
|
|
3350
3350
|
```
|
|
3351
3351
|
Copyright OpenJS Foundation and other contributors, <www.openjsf.org>
|
|
@@ -3372,7 +3372,7 @@ THE SOFTWARE.
|
|
|
3372
3372
|
|
|
3373
3373
|
### express
|
|
3374
3374
|
|
|
3375
|
-
This product includes source derived from [express](https://github.com/expressjs/express) ([v4.
|
|
3375
|
+
This product includes source derived from [express](https://github.com/expressjs/express) ([v4.21.0](https://github.com/expressjs/express/tree/v4.21.0)), distributed under the [MIT License](https://github.com/expressjs/express/blob/v4.21.0/LICENSE):
|
|
3376
3376
|
|
|
3377
3377
|
```
|
|
3378
3378
|
(The MIT License)
|
|
@@ -131,7 +131,15 @@ function reformatLogLine({ logLine, msg, agent, chindings = '', level, logger })
|
|
|
131
131
|
delete metadata.hostname
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
const agentMeta = Object.assign({}, { timestamp: Date.now()
|
|
134
|
+
const agentMeta = Object.assign({}, { timestamp: Date.now() }, metadata)
|
|
135
|
+
// eslint-disable-next-line eqeqeq
|
|
136
|
+
if (msg != undefined) {
|
|
137
|
+
// The spec lists `message` as "MUST" under the required column, but then
|
|
138
|
+
// details that it "MUST be omitted" if the value is "empty". Additionally,
|
|
139
|
+
// if someone has logged only a merging object, and that object contains a
|
|
140
|
+
// message key, we do not want to overwrite their value. See issue 2595.
|
|
141
|
+
agentMeta.message = msg
|
|
142
|
+
}
|
|
135
143
|
|
|
136
144
|
/**
|
|
137
145
|
* A function that gets executed in `_toPayloadSync` of log aggregator.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "newrelic",
|
|
3
|
-
"version": "12.5.
|
|
3
|
+
"version": "12.5.1",
|
|
4
4
|
"author": "New Relic Node.js agent team <nodejs@newrelic.com>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"contributors": [
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"dependencies": {
|
|
198
198
|
"@grpc/grpc-js": "^1.9.4",
|
|
199
199
|
"@grpc/proto-loader": "^0.7.5",
|
|
200
|
-
"@newrelic/security-agent": "^
|
|
200
|
+
"@newrelic/security-agent": "^2.0.0",
|
|
201
201
|
"@tyriar/fibonacci-heap": "^2.0.7",
|
|
202
202
|
"concat-stream": "^2.0.0",
|
|
203
203
|
"https-proxy-agent": "^7.0.1",
|