Skip to content

Commit bea74d3

Browse files
committed
meta: Prepare 5.11.2
1 parent 6cc62f9 commit bea74d3

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
## Unreleased
44

5+
## 5.11.2
6+
57
- [apm] fix: Add new option to `Tracing` `maxTransactionTimeout` determines the max length of a transaction
68
- [hub] ref: Always also set transaction name on the top span in the scope
9+
- [core] fix: Use event_id from hint given by top-level hub calls
710

811
## 5.11.1
912

packages/apm/src/integrations/tracing.ts

-6
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,6 @@ export class Tracing implements Integration {
265265
* @deprecated
266266
*/
267267
public static updateTransactionName(name: string): void {
268-
// const activeTransaction = Tracing._activeTransaction;
269-
// if (!activeTransaction) {
270-
// return;
271-
// }
272268
const _getCurrentHub = Tracing._getCurrentHub;
273269
if (_getCurrentHub) {
274270
const hub = _getCurrentHub();
@@ -278,8 +274,6 @@ export class Tracing implements Integration {
278274
});
279275
}
280276
}
281-
// TODO
282-
// (activeTransaction as any).transaction = name;
283277
}
284278

285279
/**

0 commit comments

Comments
 (0)