Releases: rollbar/rollbar.js
v2.6.1
v2.6.0
Highlights
- Supports external
RollbarProxy
class to capture all Rollbar API payloads before send. - Adds
buildJsonPayload()
andsendJsonPayload()
SDK methods for managing and sending Rollbar API payloads as JSON.
Resolved Pull Requests
v2.5.5
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
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
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 thescrubFields
in the configuration that you set with the default set of fields defined in our package.json. If you setoverwriteScrubFields
to true then we will instead use yourscrubFields
value by itself ignoring whatever is currently set.
(#684)