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
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,14 @@ 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 `addGlobalEventProcessor` in favor of `addEventProcessor`
12
+
13
+
Instead of using `addGlobalEventProcessor`, you should use `addEventProcessor` which does not add the event processor globally, but to the current client.
14
+
15
+
For the vast majority of cases, the behavior of these should be the same. Only in the case where you have multiple clients will this differ - but you'll likely want to add event processors per-client then anyhow, not globally.
16
+
17
+
In v8, we will remove the global event processors overall, as that allows us to avoid keeping global state that is not necessary.
18
+
11
19
## Deprecate `extractTraceParentData` export from `@sentry/core` & downstream packages
12
20
13
21
Instead, import this directly from `@sentry/utils`.
0 commit comments