From 0161a8b5776a688069b665d2576dd12923b9b4b2 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Thu, 7 Mar 2024 10:43:55 -0500 Subject: [PATCH] fix(core): Undeprecate setTransactionName --- CHANGELOG.md | 1 + packages/core/src/scope.ts | 1 - packages/types/src/scope.ts | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e496203b51d..182979786d15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - feat(nextjs): Support Hybrid Cloud DSNs with `tunnelRoute` option (#10958) - feat(remix): Add Vite dev-mode support to Express instrumentation (#10811) +- fix(core): Undeprecate `setTransactionName` - fix(browser): Don't use chrome variable name (#10874) - fix(nextjs): Client code should not use Node `global` (#10925) - fix(node): support undici headers as strings or arrays (#10938) diff --git a/packages/core/src/scope.ts b/packages/core/src/scope.ts index 3e174899f592..613a9e0e1bab 100644 --- a/packages/core/src/scope.ts +++ b/packages/core/src/scope.ts @@ -294,7 +294,6 @@ export class Scope implements ScopeInterface { /** * Sets the transaction name on the scope for future events. - * @deprecated Use extra or tags instead. */ public setTransactionName(name?: string): this { this._transactionName = name; diff --git a/packages/types/src/scope.ts b/packages/types/src/scope.ts index fd51eae8e5c4..4d45b5b6a87c 100644 --- a/packages/types/src/scope.ts +++ b/packages/types/src/scope.ts @@ -126,7 +126,6 @@ export interface Scope { /** * Sets the transaction name on the scope for future events. - * @deprecated Use extra or tags instead. */ setTransactionName(name?: string): this;