Skip to content

Releases: rollbar/rollbar.js

v2.6.1

25 Apr 00:33
Compare
Choose a tag to compare

Resolved Pull Requests

  • Enable sendJsonPayload for react-native #725
    • Adds missing transport for react-native

v2.6.0

22 Apr 22:14
Compare
Choose a tag to compare

Highlights

  • Supports external RollbarProxy class to capture all Rollbar API payloads before send.
  • Adds buildJsonPayload() and sendJsonPayload() SDK methods for managing and sending Rollbar API payloads as JSON.

Resolved Pull Requests

  • Enable RollbarProxy for sending Rollbar events #721
  • Add public interface to serialize payloads and send serialized payloads #724

v2.5.5

08 Apr 17:58
Compare
Choose a tag to compare

Highlights

  • Improved TypeScript types for LambdaHandler
  • Improved Angular performance
  • Handle Firefox NS_* type errors
  • New and/or updated examples:
    • Chrome Extension
    • Angular
    • React
    • Webpack

Resolved Pull Requests

  • Add Chrome Extension example #710
  • Improved LambdaHandler event typing (TypeScript) #711
  • Test automation for examples #713
  • Add Angular 2 example #715
  • Detect Angular Zone.js and switch to root zone #716
  • Handle Firefox exception type #717
  • Add webpack example #718
  • Add React example #719

v2.5.4

15 Mar 23:46
Compare
Choose a tag to compare
  • If we already handled an error inside a wrap, don't do it again #709
  • chore: Add wait type def #706
  • Allow telemetry captureEvent to specify optional event type #704
  • Support web workers by passing gWindow instead of window #703

v2.5.3

04 Mar 20:50
Compare
Choose a tag to compare
  • Handle async lambda functions better #701
  • Support web workers by passing gWindow instead of window #703

v2.5.2

27 Feb 18:01
Compare
Choose a tag to compare
  • Add real support for async functions in the AWS Lambda handler (#696)

v2.5.1

27 Nov 21:58
Compare
Choose a tag to compare
  • Better handling of error constructor names #687
  • Add missing configuration option to index.d.ts #690
  • Miscellaneous cleanup

v2.5.0

22 Oct 23:10
Compare
Choose a tag to compare

This is a minor version release because the meaning of the scrubFields configuration option has changed slightly. If you upgrade without any changes we may end up scrubbing more fields than you had before. Please see the second bullet point below for how this has changed.

  • The way we work with network requests for telemetry is a bit janky because of how XHR requests work and because we want to capture data without manual instrumentation. We do this via a monkey patch, this release changes a little bit of the semantics of that monkey patch to try to capture telemetry data in more cases. (#682)

  • When you set the scrubFields configuration option, we have two choices, we either:

    • concat your supplied list to the default
    • overwrite the default with whatever you supply

    If we do the first then how do you remove things you don't want scrubbed but which are in the default list? If we do the second, how do you add all of the defaults without having to copypasta them from our code?

    This release introduces the configuration boolean overwriteScrubFields which will determine which of the above two behaviours we follow. By default we will concat the scrubFields in the configuration that you set with the default set of fields defined in our package.json. If you set overwriteScrubFields to true then we will instead use your scrubFields value by itself ignoring whatever is currently set.
    (#684)

v2.4.7

20 Sep 19:47
0a3f760
Compare
Choose a tag to compare
  • In scrubber, changed cloning to partial cloning (similar to immutable/persistent data structure),
    to avoid changing how unscrubbed data are stringified when send to server.

v2.4.6

14 Sep 17:41
b57a583
Compare
Choose a tag to compare
Merge pull request #668 from rollbar/v2-5-6

Release v2.4.6