[DEPRECATED] Please upgrade to our Universal JS notifier "@bugsnag/js" • https://github.com/bugsnag/bugsnag-js
Note: this release alters the behaviour of the notifier to track sessions automatically.
As part of this change, the way in which URLs are configured has been updated:
- useSSL: true,
- notifyHost: 'bugsnag-notify.example.com',
- notifyPort: 9876
- notifyPath: '/payloads'
- sessionEndpoint: 'https://bugsnag-sessions.example.com',
+ endpoints: {
+ notify: 'https://bugsnag-notify.example.com:9876/payloads',
+ sessions: 'https://bugsnag-sessions.example.com'
+ }
useSSL
, notifyHost
, notifyPort
, notifyPath
and sessionEndpoint
are now deprecated but still supported. Note that session tracking will be disabled if the notify endpoint is configured but the sessions endpoint is not – this is to avoid inadvertently sending session payloads to the wrong server.
lib/configuration.js
(#143)autoCaptureSessions
default value was false
and is now true (#143)unref()
called on it, to avoid keeping a process running that would otherwise terminate (#143)useSSL
, notifyHost
, notifyPort
, notifyPath
and sessionEndpoint
have been deprecated and combined into a single new option: endpoints
(#143).toJSON()
method #134
Configuation.filters
to all aspects of the payload that can contain custom data #131
req.connection.address()
in requestInfo()
if it's not available (to support express-like serverless-http
framework) Julien Guépin #132