Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/core/src/scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,9 @@ export class Scope {
/**
* Clears the current scope and resets its properties.
* Note: The client will not be cleared.
*
* @deprecated This method will be removed in v11. To reset scope state, re-initialize the SDK or run
* your code in a fresh scope via `withScope` instead.
*/
public clear(): this {
// client is not cleared here on purpose!
Expand Down
Loading