Skip to content

Commit 6a99d9d

Browse files
committed
doc(replay): Add to migration docs
1 parent 34345c3 commit 6a99d9d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

packages/replay/MIGRATION.md

+11
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,14 @@ import something from '@sentry/replay/submodule';
5252
```
5353

5454
If you only imported from `@sentry/replay`, this will not affect you.
55+
56+
## Reduce public API of Replay integration (https://github.com/getsentry/sentry-javascript/pull/6407)
57+
58+
The result of `new Replay()` now has a much more limited public API. Only the following methods are exposed:
59+
60+
```js
61+
const replay = new Replay();
62+
63+
replay.start();
64+
replay.stop();
65+
```

0 commit comments

Comments
 (0)