Skip to content

Commit

Permalink
fix(core): Undeprecate setTransactionName
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad committed Mar 7, 2024
1 parent 63152e2 commit 0161a8b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion packages/types/src/scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 0161a8b

Please sign in to comment.