Important
BREAKING: Session Replay config moved from recorder
➝ replay
.
Rename the top-level options block; recorder
is ignored in v3.0.0-beta.4.
const options = {
// ...
- recorder: {
+ replay: {
enabled: true,
autoStart: true,
triggers: [{
type: 'occurrence'
}],
},
payload: { environment: 'prod' },
// ...
};
What's Changed
- Use Date.now() by default, make performance api optional by @waltjones in #1321
- Drop console polyfill and IEx code from logger by @waltjones in #1322
- Simplifies getting replay id attribute from data in queue by @matux in #1323
- Enable level config for console logger by @waltjones in #1324
- Convert core.js to class by @waltjones in #1325
- Init session attributes by @waltjones in #1326
- Add tracing to Rollbar.configure and allow span options to update resource by @waltjones in #1327
- Fix Critical Memory Leak in Session Replay and Refactor for Better Error Handling by @matux in #1328
- Recorder maintains a ready flag by @waltjones in #1330
- Add transformSpan callback by @waltjones in #1331
- Fix typo in variable reference by @matux in #1332
- Post spans from tracing exporter by @waltjones in #1335
- Prefix rollbar attributes by @waltjones in #1336
- [Feature] Post-trigger Replay Capture (aka. Leading Replay) by @matux in #1341
- Minor cleanup for lead replay feature by @matux in #1342
- Extract
_canSendReplay
into its own privateReplayManager
static function by @matux in #1343 - Added missing unit tests for the
Recorder
by @matux in #1344 - Rename ratio -> rate by @waltjones in #1345
- Update replay triggers and config defaults by @waltjones in #1346
- Promote ReplayManager to component, replacing Recorder by @waltjones in #1348
- Prepare Prettier config by @matux in #1347
- Format codebase with prettier, excluding examples by @matux in #1349
.git-blame-ignore-revs
to ignore the prettier mass format from diffs by @matux in #1350- Make lint-action go through the same script extensions for prettier by @matux in #1351
- Add rollbar.replay.url.full attribute by @waltjones in #1352
- Resolve eslint warnings by @waltjones in #1353
- Add client.address session attribute by @waltjones in #1354
- Rename replay options in d.ts by @waltjones in #1355
- Use values in the payload key as session attributes by @waltjones in #1356
- Add framework session attribute by @waltjones in #1357
- Release 3.0.0-beta.4 by @matux in #1358
Full Changelog: v3.0.0-beta.3...v3.0.0-beta.4