Skip to content

Commit

Permalink
doc(replay): Add to migration docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea committed Dec 5, 2022
1 parent 6bc5bd7 commit cf0604f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/replay/MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,14 @@ import something from '@sentry/replay/submodule';
```

If you only imported from `@sentry/replay`, this will not affect you.

## Reduce public API of Replay integration (https://github.com/getsentry/sentry-javascript/pull/6407)

The result of `new Replay()` now has a much more limited public API. Only the following methods are exposed:

```js
const replay = new Replay();

replay.start();
replay.stop();
```

0 comments on commit cf0604f

Please sign in to comment.