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 6, 2022
1 parent f0036a2 commit 566daf4
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 @@ -57,3 +57,14 @@ If you only imported from `@sentry/replay`, this will not affect you.

It is highly unlikely to affect anybody, but the type `IEventBuffer` was renamed to `EventBuffer` for consistency.
Unless you manually imported this and used it somewhere in your codebase, 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 566daf4

Please sign in to comment.