github rollbar/rollbar.js v4.1.0

5 hours ago
  • Stop swallowing uncaught exceptions and unhandled rejections when Rollbar is disabled or capture is turned off; apps running with enabled: false now see Node's normal crash behavior again instead of a silent drop, #1502
  • Skip XHR instrumentation instead of throwing during setup when XMLHttpRequest.prototype is read-only, and record a diagnostic explaining why XHR telemetry is missing, #1491
  • Fix a crash when console-logging a module namespace object or other unusual value with console instrumentation on, #1496
  • Pass checkIgnore/onSendCallback arguments as a real array, matching the published type, instead of a raw arguments object that broke array methods, #1492
  • Fix TypeError: rollbar_1.default is not a constructor for TypeScript CommonJS projects that import Rollbar without esModuleInterop, #1498
  • Keep rollbar.error and the other level methods working when called detached from the instance, for example promise.catch(rollbar.error), #1485
  • Report the real HTTP status (for example Api error: 502 Bad Gateway) instead of a bare JSON parse error when the Rollbar API or a proxy in front of it returns a non-JSON error response, including on React Native, #1495
  • Add an ignoreBrowserExtensions option to drop errors thrown from browser extension scripts, #1490
  • Expose wait() on the browser notifier, matching the server and React Native SDKs, #1477

Don't miss a new rollbar.js release

NewReleases is sending notifications on new releases.