Releases: rollbar/rollbar.js
Releases · rollbar/rollbar.js
v3.0.0-beta.5
Important
BREAKING: Session Replay is bundled separately.
In order to integrate Session Replay with your Rollbar instance:
import 'rollbar/replay'
require('rollbar/replay')
What's Changed
- Extract leading capture logic from replay manager by @matux in #1360
- Add unit tests for
LeadingCapture
by @matux in #1361 - Renamed
LeadingCapture
toScheduledCapture
and related by @matux in #1363 - Use trigger config for pre/post duration and recorder config by @waltjones in #1362
- Add ReplayManager.triggerReplay by @waltjones in #1359
- Fixed call to schedule capturing that was moved by @matux in #1365
- ReplayPredicates configure tests by @waltjones in #1370
- Add
ScheduledStreamCapture
for extended leading replay support by @matux in #1372 - Rename ReplayManager to Replay by @matux in #1373
- Fix type definitions and component definitions by @matux in #1374
- Add rollbar.occurrence.uuids attribute via a transform fn by @waltjones in #1375
- More Replay type fixes, added replay component to package.json by @matux in #1376
- Fix Angular example build failure + re-enable CI validation by @matux in #1377
- Add
triggerDefaults
toReplayOptions
type inindex.d.ts
by @matux in #1379 - Add replay bundles, keep standard ones without replay by @matux in #1380
- New dist with replay bundles by @matux in #1381
- Enable scrubbing options for dom inputs by @waltjones in #1383
- Allow path match on substring or regex by @waltjones in #1384
- Enable custom predicates for replay triggers by @waltjones in #1385
- Revert separate replay bundling by @matux in #1386
- Add types for triggers by @waltjones in #1387
- Prototype pollution prevention by @waltjones in #1390
- Replay bundling scheme, with
replay/package.json
, keep standard ones without replay by @matux in #1388 - Snippet chooses replay bundle when appropriate by @matux in #1389
- remove log by @waltjones in #1391
- Release 3.0.0-beta.5 by @matux in #1392
Full Changelog: v3.0.0-beta.4...v3.0.0-beta.5
v2.26.5
v3.0.0-beta.4
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
v3.0.0-beta.3
What's Changed
- Change all octothorpes # to _ since private # is only >=ES2022 by @matux in #1319
- Release 3.0.0-beta.3 by @matux in #1320
Full Changelog: v3.0.0-beta.2...v3.0.0-beta.3
v3.0.0-beta.2
What's Changed
- Set default environment to 'unknown' by @waltjones in #1294
- [Meta-branch] Karma -> WTR migration and Grunt removal by @matux in #1303
- Remove more unused dev deps after grunt/karma removal by @matux in #1304
- Export telemetry from ReplayMap by @waltjones in #1305
- Rename ReplayMap to ReplayManager by @matux in #1306
- Convert Instrumenter to a class by @waltjones in #1307
- Convert Telemeter 10BC0 to class by @waltjones in #1308
- Telemetry: enable dom events by @waltjones in #1309
- Enable request headers and add replay-id header by @waltjones in #1310
- Turn
Queue
into a class by @matux in #1311 - Enable attributes on the session, and send as span attributes on replay by @waltjones in #1313
- Remove console log leftover from tracing exporter by @matux in #1316
- Updates claude main project directives with latest changes by @matux in #1312
- Add connectivity event by @waltjones in #1317
- Release 3.0.0-beta.2 by @matux in #1318
Full Changelog: v3.0.0-beta.1...v3.0.0-beta.2
v3.0.0-beta.1
What's Changed
- Remove
rollbar.replay.id
event attribute by @waltjones in #1291
Full Changelog: v3.0.0-alpha.6...v3.0.0-beta.1
v3.0.0-alpha.6
- Fixes issues integrating individual Rollbar components
- Fixes issues integrating with Node 18 using commonjs syntax
- Adds new examples showcasing how to integrate Rollbar in different environments
What's Changed
- Pure JS Next.js example by @matux in #1280
- Typescript Next.js example by @matux in #1281
- Update 3 year old error-stack-parser library with its newer esm version by @matux in #1284
- Add exports for individual Rollbar components by @matux in #1286
- Add commonjs wrappers to components when using require by @matux in #1288
- Do a commonjs dist file for node, when using require plus example by @matux in #1287
- Release 3.0.0-alpha.6 by @matux in #1290
Full Changelog: v3.0.0-alpha.5...v3.0.0-alpha.6
v3.0.0-alpha.5
v3.0.0-alpha.4
What's Changed
- Eliminate runtime package.json imports and reorganize defaults by @matux in #1246
- Update examples to use local rollbar package and fix compatibility issues by @matux in #1247
- Use package entry points for conditional exports between cjs/esm by @matux in #1249
- Fix
browserify
example to use modern rollbar package by @matux in #1251 - Updated universal browser example readme by @matux in #1252
- Add installation guide, improve
README
, fixed broken badges and createCONTRIBUTING.md
by @matux in #1248 - Fix the Node.js require link in examples/README.md by @matux in #1254
- Moved examples error and csp-errors.html to a test fixtures dir by @matux in #1255
- Removed
json2
related files from vendor by @matux in #1256 - Remove vendored
json3
shim andpolyfillJSON
by @matux in #1257 - Updated
no-conflict
anduniversal-node
examples READMEs by @matux in #1253 - Separate defaults for snippet and hardcore jquery version by @matux in #1259
- Use concatenation to build the cdn url for the browser snippet by @matux in #1260
- New dist with recent changes incl json polyfill removal by @matux in #1258
- Fixed tested and fixed html examples with no build system by @matux in #1261
- Release 3.0.0-alpha.4 by @matux in #1262
Full Changelog: v3.0.0-alpha.3...v3.0.0-alpha.4
v3.0.0-alpha.3
- Fix span ended detection, #1231
- Allow span startTime override, #1232
- Default privacy class name prefix (
rb-
), #1234 - Add end event for better playback alignment, #1235
- Add TS types for new config options, #1238
- New
triggers
config for recording options, #1239 - Allow telemetry events to be updated with response attributes, #1243