Skip to content

Commit c486356

Browse files
committed
migration entry
1 parent 0a80344 commit c486356

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

MIGRATION.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ npx @sentry/migr8@latest
88

99
This will let you select which updates to run, and automatically update your code. Make sure to still review all code changes!
1010

11+
## Deprecated fields on `Hub`
12+
13+
In v8, the Hub class will be removed. The following methods are therefore deprecated:
14+
15+
- `hub.shouldSendDefaultPii()`: Access Sentry client option via `Sentry.getClient().getOptions().sendDefaultPii` instead
16+
1117
## Deprecated fields on `Span` and `Transaction`
1218

1319
In v8, the Span class is heavily reworked. The following properties & methods are thus deprecated:

0 commit comments

Comments
 (0)