Skip to content

Commit d803287

Browse files
committed
doc(replay): Add to migration docs
1 parent f1b31e6 commit d803287

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
@@ -62,3 +62,14 @@ Unless you manually imported this and used it somewhere in your codebase, this w
6262

6363
The `Session` object exported from Replay is now a plain object, instead of a class.
6464
This should not affect you unless you specifically accessed this class & did custom things with it.
65+
66+
## Reduce public API of Replay integration (https://github.com/getsentry/sentry-javascript/pull/6407)
67+
68+
The result of `new Replay()` now has a much more limited public API. Only the following methods are exposed:
69+
70+
```js
71+
const replay = new Replay();
72+
73+
replay.start();
74+
replay.stop();
75+
```

0 commit comments

Comments
 (0)