Skip to content

Commit 566daf4

Browse files
committed
doc(replay): Add to migration docs
1 parent f0036a2 commit 566daf4

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
@@ -57,3 +57,14 @@ If you only imported from `@sentry/replay`, this will not affect you.
5757

5858
It is highly unlikely to affect anybody, but the type `IEventBuffer` was renamed to `EventBuffer` for consistency.
5959
Unless you manually imported this and used it somewhere in your codebase, this will not affect you.
60+
61+
## Reduce public API of Replay integration (https://github.com/getsentry/sentry-javascript/pull/6407)
62+
63+
The result of `new Replay()` now has a much more limited public API. Only the following methods are exposed:
64+
65+
```js
66+
const replay = new Replay();
67+
68+
replay.start();
69+
replay.stop();
70+
```

0 commit comments

Comments
 (0)