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.
- Support for unhandled bluebird promise rejections (#317)
- Option to prevent IP collection (#313)
- Improved serialization of promise rejection reasons (#317)
- If a string was thrown and not caught, use it as the error message (#319)
- Collection of inline script content improved (#320, #318)
- Fix call to non-existent
logger.log()
(credit @alexstrat #304)
- Session sending now respects
notifyReleaseStages
option
- Rename option
enableSessionTracking
->autoCaptureSessions
for consistency with other platforms
- metaData and user were incorrectly attached to
report.app
(credit @tremlab #300)
- Support for tracking sessions and overall crash rate by setting
sessionTrackingEnabled
totrue
. In addition, sessions can be indicated manually usingbugsnagClient.startSession()
(#296) user
andmetaData
can now be supplied in configuration object (#299)- Bower and jspm support has been added as a result of #297 and some additional configuration
dist
directory (built assets) are now stored in git (#297)
- Handle inline script content per older notifiers for consistent grouping (#289)
- Correctly capture the page contents when an inline script error happens (#289)
- Add more type exports (#286)
- Add frameworks section to README.md
- Add READMEs to examples
- Add more detail to JS example (credit @tremlab, #284)
- Ensure empty/useless stackframes are removed
- Removed arbitrary timeouts from tests to alleviate CI flakiness
- Expose
metaData
anduser
types onClient
class (#287) - Give navigation details the correct type (some were marked as "manual")
- Improve type definition for notify() error argument (credit @rokerkony)
- Remove process.env.NODE_ENV inferred releaseStage
- Sidestep uglify's drop_compat option to prevent it from breaking bugsnag
Version 4 is a milestone release. A complete re-write and modernization for Bugsnag's JS error reporting.
See UPGRADING.md for migrating from v3 and see docs.bugsnag.com for full documentation.
🚀