You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MIGRATION.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@ npx @sentry/migr8@latest
8
8
9
9
This will let you select which updates to run, and automatically update your code. Make sure to still review all code changes!
10
10
11
+
## Deprecate `pushScope` & `popScope` in favor of `withScope`
12
+
13
+
Instead of manually pushing/popping a scope, you should use `Sentry.withScope(callback: (scope: Scope))` instead.
14
+
11
15
## Deprecate `addGlobalEventProcessor` in favor of `addEventProcessor`
12
16
13
17
Instead of using `addGlobalEventProcessor`, you should use `addEventProcessor` which does not add the event processor globally, but to the current client.
0 commit comments