Error tracking and logging from Javascript to Rollbar
MIT License
Published by shakiba about 6 years ago
Published by shakiba about 6 years ago
transform
as second paramPublished by rokob about 6 years ago
Published by rokob over 6 years ago
lambdaHandler
no longer supports the non-callback version of lambda functions which have been deprecated by AWS for a while (https://docs.aws.amazon.com/lambda/latest/dg/programming-model.html). This is to fix a bug when returning values from handlers for version 8.10. If you are using Lambda, you should be on Node v6.10 or higher and using the callback parameter for communication with the runtime. The change to using the callback versions the inline return is trivial (return x
becomes callback(null, x)
)captureLambdaTimeouts
which defaults to true
. When this is true
we will install a watchdog that will attempt to notify Rollbar of a timeout 1s before the context would expire. Alternatively, if you pass a second function to lambdaHandler
we will invoke that function 1s before the timeout instead of our own which will allow you to do whatever you might want to right before a timeout.telemetryScrubber
function is not defined.Published by rokob over 6 years ago
code_version
and codeVersion
at the top level of the configuration to alleviate some ambiguity: https://github.com/rollbar/rollbar.js/pull/618
Published by rokob over 6 years ago
Introduce the captureIp
configuration settting.
For browser settings, this determines how we attempt to capture IP addresses from the client
that submits items. For server settings, this determines how we capture IP addresses from requests.
Possible values are: true
, false
, or anonymize
.
If true
then we will attempt to capture and store the full IP address of the client.
If set to anonymize
we will do a semi-anonymization on the captured IP address by masking out
the least significant bits.
If set to false
we will not attempt to capture any IP address.
Default: true
Introduce the captureUsername
and captureEmail
configuration settings.
In the server context, as described in the documentation, we attempt to gather information about
the current user. Prior to this release, we tried to gather the id
, username
, and email
.
Starting with this release, by default we only attempt to capture the id
for a user.
The boolean configuration options captureEmail
and captureUsername
can be used to change
this behaviour.
Published by rokob almost 7 years ago
Published by rokob almost 7 years ago
Published by rokob almost 7 years ago
Be defensive about navigator not existing on window
#514
Proper scrubbing
#510
Be defensive when accessing event properties
#503
Add environment to options type enhancement
#499
call the transform in the options on the server side too
#498
fixes errMsg.match is not a function error
#492
Call callback even if logging same as last error
#490
Published by rokob almost 7 years ago
CDNJS is being wonky, attempt to fix by bumping the release version.
Published by rokob almost 7 years ago
React Native support. This introduces a interface layer for handling Javascript errors from React Native. This library is a dependency of https://github.com/rollbar/rollbar-react-native which is intended to be the main entry point for interacting with Rollbar from React Native.
Fix a bug related to telemetry scrubbing configuration options not being properly set via calls to configure
BREAKING: the endpoint configuration option used to default to https://api.rollbar.com/api/1
and we would append /item/
to obtain the URL for posting items. Now the default configuration option for endpoint is https://api.rollbar.com/api/1/item/
and we no longer append /item/
to whatever value you set. Therefore, if you are currently setting this value, you will need to change your setting to be equal to the exact URL you want items posted to, rather than the base URL that gets /item/
appended.
Published by rokob about 7 years ago
Fixed a bug where maxItems was not properly respected when set in the initial configuration.
Published by rokob about 7 years ago
Published by rokob about 7 years ago
Published by rokob about 7 years ago
Actually make collecting network telemetry on by default
Published by rokob about 7 years ago
Fixed the bug related to network telemetry which was causing certain callbacks not to be called. Again enabled gathering network telemetry data by default.
Published by chrisbarmonde about 7 years ago
We've disabled the default collection of network telemetry events while we investigate issues some users have reported (see: https://github.com/rollbar/rollbar.js/issues/379)
Published by rokob about 7 years ago
Telemetry data is now collected by default and included with items sent to Rollbar. View full details in the changelog.
Published by rokob about 7 years ago
Published by rokob about 7 years ago