- Reverted a payload change which made the notifier not backwards compatible with older versions of Bugsnag On-premise #128
- Migrate option name
sessionTrackingEnabled
->autoCaptureSessions
for consistency with other notifiers - Session reporting now respects the
notifyReleaseStages
and will only send if error reports will
- The runtime dependency "backo" was in
devDependencies
in package.json. It has been moved todependencies
(fixes #125).
- Support for tracking sessions and overall crash rate of web requests by setting
sessionTrackingEnabled
totrue
.
- Prevent duplicate logging when uncaught error report is not delivered (#124)
- Fix type annotations Dan Prince. #118
- Fix
autoNotifyUnhandledRejection
option
- Handle
process#unhandledRejection
by default. (#115) - Added support for detecting whether an error was handled or unhandled. (#116)
Bugsnag will shut down your process after reporting a process#unhandledRejection
event. This is the most sensible thing to do by default, and it will become the
default behaviour of a node process in the near future. However this is a breaking
change for the module, hence the major/breaking version bump.
If you want to do something else when process#unhandledRejection
happens, you
can set options.autoNotifyUnhandledRejection=false
.
- Stop swallowing errors when
shouldNotify() == false
Alex Moinet #113
-
Improved performance during filtering Patrick Lorio #106
-
Show metadata elements removed within circular reference checking as
[REDACTED]
#108 -
Add support for passing per-request metadata in Koa Jacob Marshall
-
Allow newer versions of
stack-trace
dependency Kevin Glowacz #100
- Update
request
minimum version to fixtunnel-agent
vulnerability Jacob Marshall #105
- Add the error which caused a report to be generated as a parameter to
beforeNotifyCallbacks
. #101 #103
- Add typescript definitions Iker Pérez Brunelli #97
- Fix premature return in configure, leading to
sendCode
not being updated Jacob Marshall #92
- Added
createErrorHandler
andcreateRequestHandler
express middleware factories Jonathan Samines #88
- Add option to set custom headers #83
- Use
error.name
instead oferror.constructor.name
where available Jyrki Laurila #77 - Invoke notify callback with errors Jacob Marshall #80
- Fix setting default project root when
require.main.filename
does not exist - Clone objects before filtering to avoid modifying referenced objects Percy Hatcherson #82
- Remove duplicated scrubbed metadata from request payloads #72
- Relax
request
andpromise
dependency requirements to allow patched updates Jakub Pawlowicz #70 #71
- Added support for sending code snippets Jacob Marshall #65 #67
- Fix for accidental global variables.
- Koa support
- Fix objectClone's use of obj.constructor
- Fix user.id coming in through requestData
- Expose bugsnag.requestData
- Support for hostname on more recent versions of express
- Fix out of memory error caused by bugsnag.requestHandler
- Convert source code to js
- Support for Bugsnag.onBeforeNotify
- Support for passing apiKey to notify
- Send correct content-length with utf8 strings
- Allow use of a proxy when communicating with bugsnag
- Don't send appVersion automatically
- Push yanked version
- Allow the filters to be configured
- Fix bug where null errors could cause bugsnag not to notify
- Fix iis issues on windows
- Detect oauth caused by errors
- Send 'severity' of error to Bugsnag
- Add 'payloadVersion'
- Add restify support
- Send hostname to Bugsnag
- Fix require.main.filename crash when requiring bugsnag from within cli.
- To allow groupingHash to be configured by users to change grouping programmatically.
- Fix node 0.8 bug where error.domainThrown is not supported.
- Fix bug with onUncaughtException not pulled from options properly
- Improve query string and express app processing.
- Exit on fatal errors by default, and allow people more control, by using onUncaughtError
- Protect against adding multiple uncaught error handlers
- Detect circular object references and deal with them before notifying bugsnag
- Complete rewrite using domains to track requests and other metadata.
- Change default notifyReleaseStages to notify in "development" as well as "production" by default.
- Execute onUncaughtErrorHandler in the callback from notifyBugsnag, in case exit is called in the handler.