newrelic 13.19.0 → 13.19.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
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
### v13.19.1 (2026-04-15)
|
|
2
|
+
|
|
3
|
+
#### Bug fixes
|
|
4
|
+
|
|
5
|
+
* Fixed detecting AWS SDK message attributes presence ([#3903](https://github.com/newrelic/node-newrelic/pull/3903)) ([e81dc61](https://github.com/newrelic/node-newrelic/commit/e81dc61924f756f8edf5b7ce0770840cdc435d76))
|
|
6
|
+
|
|
7
|
+
#### Tests
|
|
8
|
+
|
|
9
|
+
* Updated `minAgentVersion` for Anthropic versioned tests ([#3900](https://github.com/newrelic/node-newrelic/pull/3900)) ([e1f6c32](https://github.com/newrelic/node-newrelic/commit/e1f6c3295627126dad9333a58a83084312370c5b))
|
|
10
|
+
* Reorganized the test utilities in AWS versioned tests ([#3895](https://github.com/newrelic/node-newrelic/pull/3895)) ([3025571](https://github.com/newrelic/node-newrelic/commit/3025571741c71d8a41968a0c06a412f5a9689bad))
|
|
11
|
+
|
|
1
12
|
### v13.19.0 (2026-04-13)
|
|
2
13
|
|
|
3
14
|
#### Features
|
|
@@ -23,7 +23,11 @@ const { DT_HEADERS } = require('./constants.js')
|
|
|
23
23
|
function attachHeaders({ message, context, subscriber }) {
|
|
24
24
|
const headers = Object.create(null)
|
|
25
25
|
subscriber.insertDTHeaders({ headers, ctx: context, useMqNames: true })
|
|
26
|
-
|
|
26
|
+
// We can't use an `Object.hasOwn` check here because some users build
|
|
27
|
+
// the message object such that `MessageAttributes: undefined` happens.
|
|
28
|
+
// This "breaks" the `hasOwn` check because technically the object has
|
|
29
|
+
// the property set. It's just set to a falsy value.
|
|
30
|
+
if (!message.MessageAttributes) {
|
|
27
31
|
message.MessageAttributes = {}
|
|
28
32
|
}
|
|
29
33
|
|
|
@@ -22,6 +22,8 @@ const SegmentTree = require('./segment-tree')
|
|
|
22
22
|
* serialization of the transaction trace.
|
|
23
23
|
*
|
|
24
24
|
* @param {Transaction} transaction The transaction bound to the trace.
|
|
25
|
+
*
|
|
26
|
+
* @class {object} TransactionTrace
|
|
25
27
|
*/
|
|
26
28
|
function Trace(transaction) {
|
|
27
29
|
if (!transaction) {
|