Skip to content

Commit 937eba5

Browse files
committed
migration entry
1 parent fc052ed commit 937eba5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

MIGRATION.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This will let you select which updates to run, and automatically update your cod
1010

1111
## Deprecate `Sentry.lastEventId()` and `hub.lastEventId()`
1212

13-
`Sentry.lastEventId()` sometimes causes race conditons, so we are deprecating it in favour of the `beforeSend` callback.
13+
`Sentry.lastEventId()` sometimes causes race conditions, so we are deprecating it in favour of the `beforeSend` callback.
1414

1515
```js
1616
// Before
@@ -36,6 +36,11 @@ Sentry.init({
3636
},
3737
});
3838
```
39+
## Deprecated fields on `Hub`
40+
41+
In v8, the Hub class will be removed. The following methods are therefore deprecated:
42+
43+
- `hub.shouldSendDefaultPii()`: Access Sentry client option via `Sentry.getClient().getOptions().sendDefaultPii` instead
3944

4045
## Deprecated fields on `Span` and `Transaction`
4146

0 commit comments

Comments
 (0)