newrelic 12.18.1 → 12.18.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 +10 -0
- package/lib/transaction/tracer/index.js +4 -1
- package/package.json +1 -1
package/NEWS.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
### v12.18.2 (2025-04-30)
|
|
2
|
+
|
|
3
|
+
#### Bug fixes
|
|
4
|
+
|
|
5
|
+
* Updated `createSegment` to stop adding segments to trace when `max_trace_segments` is exceeded ([#3056](https://github.com/newrelic/node-newrelic/pull/3056)) ([8f3336e](https://github.com/newrelic/node-newrelic/commit/8f3336e98ac9f7d4ad0ded3a061774fd68053e76))
|
|
6
|
+
|
|
7
|
+
#### Documentation
|
|
8
|
+
|
|
9
|
+
* Updated compatibility report ([#3065](https://github.com/newrelic/node-newrelic/pull/3065)) ([#3063](https://github.com/newrelic/node-newrelic/pull/3063))
|
|
10
|
+
|
|
1
11
|
### v12.18.1 (2025-04-29)
|
|
2
12
|
|
|
3
13
|
#### Bug fixes
|
|
@@ -135,7 +135,10 @@ function createSegment({ id, name, recorder, parent, transaction }) {
|
|
|
135
135
|
if (recorder) {
|
|
136
136
|
transaction.addRecorder(recorder.bind(null, segment))
|
|
137
137
|
}
|
|
138
|
-
|
|
138
|
+
|
|
139
|
+
if (collect) {
|
|
140
|
+
transaction.trace.segments.add(segment)
|
|
141
|
+
}
|
|
139
142
|
|
|
140
143
|
return segment
|
|
141
144
|
}
|