newrelic 11.23.1 → 11.23.2
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
CHANGED
|
@@ -1,3 +1,35 @@
|
|
|
1
|
+
### v11.23.2 (2024-07-22)
|
|
2
|
+
|
|
3
|
+
#### Features
|
|
4
|
+
|
|
5
|
+
* Added support for `fs.glob` in Node 22+ ([#2369](https://github.com/newrelic/node-newrelic/pull/2369)) ([1791a4e](https://github.com/newrelic/node-newrelic/commit/1791a4ef4a31e36757c47a9947ef8840fdd995c2))
|
|
6
|
+
|
|
7
|
+
#### Bug fixes
|
|
8
|
+
|
|
9
|
+
* Updated aws-sdk v3 instrumentation to load custom middleware last to properly get the external http span to add `aws.*` attributes ([#2382](https://github.com/newrelic/node-newrelic/pull/2382)) ([751801b](https://github.com/newrelic/node-newrelic/commit/751801be814343c9ddcee3dd7e83f87a1c6786d4))
|
|
10
|
+
* Updated cassandra-driver instrumentation to properly trace promise based executions ([#2351](https://github.com/newrelic/node-newrelic/pull/2351)) ([bab9a8b](https://github.com/newrelic/node-newrelic/commit/bab9a8bab4ab6af8efa70d8559bdcc7ca6f5df32))
|
|
11
|
+
|
|
12
|
+
#### Documentation
|
|
13
|
+
|
|
14
|
+
* Removed examples/api/ ([#2381](https://github.com/newrelic/node-newrelic/pull/2381)) ([fb964de](https://github.com/newrelic/node-newrelic/commit/fb964de863f8989161f9a780f9eddc6e3ec91138))
|
|
15
|
+
* Removed out of date `ROADMAP_Node.md` from root of project ([#2367](https://github.com/newrelic/node-newrelic/pull/2367)) ([4be870c](https://github.com/newrelic/node-newrelic/commit/4be870c758d9b931866ef3e6781d01bf176671a9))
|
|
16
|
+
* Updated compatibility report ([#2345](https://github.com/newrelic/node-newrelic/pull/2345)) ([f08adc3](https://github.com/newrelic/node-newrelic/commit/f08adc3a30bdf3e5d23bd00efeb3b16ac06cd3e5))
|
|
17
|
+
|
|
18
|
+
#### Miscellaneous chores
|
|
19
|
+
|
|
20
|
+
* Always upload status logs in compatibility report CI ([#2341](https://github.com/newrelic/node-newrelic/pull/2341)) ([b3f1ee3](https://github.com/newrelic/node-newrelic/commit/b3f1ee3fe40c38c7484661dfb2e599df4f31003e))
|
|
21
|
+
|
|
22
|
+
#### Tests
|
|
23
|
+
|
|
24
|
+
* Removed `server.start` in grpc tests as it is deprecated and no longer needed ([#2372](https://github.com/newrelic/node-newrelic/pull/2372)) ([d212b15](https://github.com/newrelic/node-newrelic/commit/d212b15c929ebca22881f3d41a8d7f99033847a8))
|
|
25
|
+
* Updated benchmark test results to output result files ([#2350](https://github.com/newrelic/node-newrelic/pull/2350)) ([1b51a68](https://github.com/newrelic/node-newrelic/commit/1b51a68200dae14b865a6db06d62655a25a62c2d))
|
|
26
|
+
|
|
27
|
+
#### Continuous integration
|
|
28
|
+
|
|
29
|
+
* Added benchmark test GitHub Action ([#2366](https://github.com/newrelic/node-newrelic/pull/2366)) ([afd3ab4](https://github.com/newrelic/node-newrelic/commit/afd3ab48611ec8409be1472ebbc63db24cff8e73))
|
|
30
|
+
* Increased the limit of installs from 2 to a bigger number for versioned tests ([#2346](https://github.com/newrelic/node-newrelic/pull/2346)) ([f85a385](https://github.com/newrelic/node-newrelic/commit/f85a38524f1d41e82b2c5085c41d79d1263b63c3))
|
|
31
|
+
* Updated `bin/create-docs-pr` to create an empty array if changelog.json is missing security ([#2348](https://github.com/newrelic/node-newrelic/pull/2348)) ([7d5368c](https://github.com/newrelic/node-newrelic/commit/7d5368ce873affbf2593bd6b1cc32259da852e1d))
|
|
32
|
+
|
|
1
33
|
### v11.23.1 (2024-07-11)
|
|
2
34
|
|
|
3
35
|
#### Bug fixes
|
|
@@ -29,7 +29,7 @@ module.exports = function initialize(_agent, cassandra, _moduleName, shim) {
|
|
|
29
29
|
ClientProto,
|
|
30
30
|
['connect', 'shutdown'],
|
|
31
31
|
function operationSpec(shim, _fn, name) {
|
|
32
|
-
return new OperationSpec({ callback: shim.LAST, name })
|
|
32
|
+
return new OperationSpec({ callback: shim.LAST, name, promise: true })
|
|
33
33
|
}
|
|
34
34
|
)
|
|
35
35
|
|
|
@@ -39,7 +39,8 @@ module.exports = function initialize(_agent, cassandra, _moduleName, shim) {
|
|
|
39
39
|
'_execute',
|
|
40
40
|
new QuerySpec({
|
|
41
41
|
query: shim.FIRST,
|
|
42
|
-
callback: shim.LAST
|
|
42
|
+
callback: shim.LAST,
|
|
43
|
+
promise: true
|
|
43
44
|
})
|
|
44
45
|
)
|
|
45
46
|
|
|
@@ -64,7 +65,8 @@ module.exports = function initialize(_agent, cassandra, _moduleName, shim) {
|
|
|
64
65
|
'_innerExecute',
|
|
65
66
|
new QuerySpec({
|
|
66
67
|
query: shim.FIRST,
|
|
67
|
-
callback: shim.LAST
|
|
68
|
+
callback: shim.LAST,
|
|
69
|
+
promise: true
|
|
68
70
|
})
|
|
69
71
|
)
|
|
70
72
|
|
|
@@ -109,7 +111,8 @@ module.exports = function initialize(_agent, cassandra, _moduleName, shim) {
|
|
|
109
111
|
'batch',
|
|
110
112
|
new QuerySpec({
|
|
111
113
|
query: findBatchQueryArg,
|
|
112
|
-
callback: shim.LAST
|
|
114
|
+
callback: shim.LAST,
|
|
115
|
+
promise: true
|
|
113
116
|
})
|
|
114
117
|
)
|
|
115
118
|
}
|
|
@@ -45,6 +45,11 @@ function initialize(agent, fs, moduleName, shim) {
|
|
|
45
45
|
'ftruncate'
|
|
46
46
|
]
|
|
47
47
|
|
|
48
|
+
if (Object.hasOwnProperty.call(fs, 'glob') === true) {
|
|
49
|
+
// The `glob` method was added in Node 22.
|
|
50
|
+
methods.push('glob')
|
|
51
|
+
}
|
|
52
|
+
|
|
48
53
|
const nonRecordedMethods = ['write', 'read']
|
|
49
54
|
|
|
50
55
|
shim.record(fs, methods, recordFs)
|