This repository was archived by the owner on Dec 4, 2018. It is now read-only.
v2.4.0
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.
Added
- Unit tests have been added for
lib/configuration.js(#143)
Changed
autoCaptureSessionsdefault value wasfalseand is now true (#143)- The interval used to send periodic session summaries now has
unref()called on it, to avoid keeping a process running that would otherwise terminate (#143)
Deprecated
useSSL,notifyHost,notifyPort,notifyPathandsessionEndpointhave been deprecated and combined into a single new option:endpoints(#143)