JavaScript error handling tool for BugSnag. Monitor and report JavaScript bugs & errors.
MIT License
Published by bengourley almost 6 years ago
Published by bengourley almost 6 years ago
Published by bengourley almost 6 years ago
window.onerror
callback, supporting additional jQuery parameter (#443, fixing #393 and #392)Access-Control-Allow-Origin: *
to uploaded S3 assets (#444)Published by bengourley almost 6 years ago
null
prototype or bad toString()
implementation don't cause an error in console breadcrumbs (#429)collectUserIp=false
but user.id is explicitly undefined
(#428)window.onerror
callback is always called (#427)window.onreadystatechange
callback is called (#426)Published by bengourley almost 6 years ago
This is the first release of Bugsnag notifiers under the @bugsnag
namespace.
This "universal" repository combines Bugsnag's browser and Node.js notifiers and so for continuity with the browser version, which was at v4, the starting point for this monorepo and all of its packages is v5.0.0
.
See UPGRADING.md for guidance on how to update your application.
Published by bengourley about 6 years ago
Breadcrumb
TypeScript definitionPublished by bengourley over 6 years ago
Published by bengourley over 6 years ago
This release fixes a couple of bugs with stacktrace parsing.
Published by bengourley over 6 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:
- endpoint: 'https://bugsnag-notify.example.com',
- sessionEndpoint: 'https://bugsnag-sessions.example.com',
+ endpoints: {
+ notify: 'https://bugsnag-notify.example.com',
+ sessions: 'https://bugsnag-sessions.example.com'
+ }
endpoint
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.
autoCaptureSessions
default value was false
and is now true (#341)endpoint
and sessionEndpoint
have been deprecated and combined into a single new option: endpoints
(#341)e2e
test suite has been removed (#351)Published by bengourley over 6 years ago
network
-> request
). Fixes network breadcrumbs not displaying in the dashboard. (#348)Published by bengourley over 6 years ago
The previous version (v4.6.1) was removed from the npm registry and the CDN because of a critical issue surrounding history state methods. This release resolves that issue. The release notes for v4.6.1 are included here too for completeness.
url
parameter to history methods when it is not undefined
. Fixes a bug in IE11 where it converts undefined
to a string, causing a redirect to /undefined
. (#342)history.state
. (#345)Published by bengourley over 6 years ago
A couple of fixes for IE10/11 relating to quirks in their implementation of the history APIs.
url
parameter to history methods when it is not undefined
. Fixes a bug in IE11 where it converts undefined
to a string, causing a redirect to /undefined
. (#342)history.state
. (#345)Published by bengourley over 6 years ago
logger
option of the configuration object. A custom logger must have the methods debug
, info
, warn
and error
. To completely disable logging, set logger: null
. (#340)Published by bengourley over 6 years ago
networkBreadcrumbsEnabled: false
. (#334)Published by bengourley over 6 years ago
Published by bengourley over 6 years ago
Published by bengourley over 6 years ago
fast-safe-stringify
Published by bengourley almost 7 years ago
This release fixes a few issues with the fetching of inline script content, particularly after the location has changed due to window.history methods.
Unhandled promise rejection should also contain more actionable information (when the rejection reason is a DOMException
, null
, or undefined
). Support for Bluebird promises was also added.
Published by bengourley almost 7 years ago
logger.log()
(credit @alexstrat #304)Published by bengourley almost 7 years ago
notifyReleaseStages
optionenableSessionTracking
-> autoCaptureSessions
for consistency with other platforms