Bugsnag Node Versions Save

[DEPRECATED] Please upgrade to our Universal JS notifier "@bugsnag/js" • https://github.com/bugsnag/bugsnag-js

v2.4.3

5 years ago

Fixed

  • Add missing app properties to session payload (#150)

v2.4.2

5 years ago

Fixed

  • Make updated types compatible with noImplicitAny option (#147) (@jacobwgillespie)

v2.4.1

5 years ago

Fixed

  • TypeScript definitions updated to match current configuration options (#144) (@amrocha)

v2.4.0

5 years ago

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

  • autoCaptureSessions default value was false and 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, notifyPath and sessionEndpoint have been deprecated and combined into a single new option: endpoints (#143)

v2.3.1

6 years ago

Enhancements

  • Support configuration of appType #139, fixes #126
  • Improve logging clarity for unhandled exceptions #137

v2.3.0

6 years ago
  • Improve serialization of class-based data structures which expose a .toJSON() method #134

v2.2.0

6 years ago

Enhancements

  • Apply Configuation.filters to all aspects of the payload that can contain custom data #131

Bug fixes

v2.1.3

6 years ago

Bug fixes

  • Reverted a payload change which made the notifier not backwards compatible with older versions of Bugsnag On-premise #128

v2.1.2

6 years ago

Enhancements

  • Migrate option name sessionTrackingEnabled -> autoCaptureSessions for consistency with other notifiers
  • Session reporting now respects the notifyReleaseStages and will only send if error reports will

v2.1.1

6 years ago

Bug fixes

  • The runtime dependency "backo" was in devDependencies in package.json. It has been moved to dependencies (fixes #125).