Skip to content

Commit 0161a8b

Browse files
committed
fix(core): Undeprecate setTransactionName
1 parent 63152e2 commit 0161a8b

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
- feat(nextjs): Support Hybrid Cloud DSNs with `tunnelRoute` option (#10958)
1010
- feat(remix): Add Vite dev-mode support to Express instrumentation (#10811)
11+
- fix(core): Undeprecate `setTransactionName`
1112
- fix(browser): Don't use chrome variable name (#10874)
1213
- fix(nextjs): Client code should not use Node `global` (#10925)
1314
- fix(node): support undici headers as strings or arrays (#10938)

packages/core/src/scope.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ export class Scope implements ScopeInterface {
294294

295295
/**
296296
* Sets the transaction name on the scope for future events.
297-
* @deprecated Use extra or tags instead.
298297
*/
299298
public setTransactionName(name?: string): this {
300299
this._transactionName = name;

packages/types/src/scope.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ export interface Scope {
126126

127127
/**
128128
* Sets the transaction name on the scope for future events.
129-
* @deprecated Use extra or tags instead.
130129
*/
131130
setTransactionName(name?: string): this;
132131

0 commit comments

Comments
 (0)