Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@

## v0.3.0

- πŸ’₯ **Breaking**: `startSessionReplayRecordingManually` no longer defaults to `true` on an init
`sessionReplaySampleRate` of 0 when `remoteConfigurationEnabled` is on. The recorder now starts on
its own, so a rate delivered from the console has something to withhold β€” and replays are uploaded
and billed. A site that gates recording on consent by calling `startSessionReplayRecording()`
itself must pass `startSessionReplayRecordingManually: true` explicitly; without it, a session
starts recording before that call. The πŸ› entry below describes the same change.
- πŸ’₯ **Breaking for TypeScript code that calls our session APIs**:
`SessionManager.updateSessionState`, exported from `@flashcatcloud/browser-core`, now takes an
updater function `(state: SessionState) => Partial<SessionState> | undefined` instead of a
`Partial<SessionState>`. Code that only uses the RUM entry points is unaffected; code that calls
this method must wrap its patch in a function.
- ✨ Two new init options keep only the sessions that report an error, for customers who want every
error investigated without storing and paying for every session. `sessionOnError` keeps the
events of a session the plain `sessionSampleRate` draw missed: it records from the start, uploads
Expand Down
Loading