github bugsnag/bugsnag-js v7.16.3

latest releases: v8.1.2, v8.1.1, v8.1.0...
2 years ago

Changed

  • (react-native) Update bugsnag-android to v5.22.0
    • The number of threads reported can now be limited using Configuration.setMaxReportedThreads (defaulting to 200)
      bugsnag-android#1607
    • Improved the performance and stability of the NDK and ANR plugins by caching JNI references on start
      bugsnag-android#1596
      bugsnag-android#1601
    • Fix inconsistencies in stack trace quality for C/C++ events. Resolves a few
      cases where file and line number information was not resolving to the correct
      locations. This change may result in grouping changes to more correctly
      highlight the root cause of an event.
      bugsnag-android#1605
      bugsnag-android#1606
    • Fixed an issue where an uncaught exception on the main thread could in rare cases trigger an ANR.
      bugsnag-android#1624
    • Added Bugsnag.isStarted() to test whether the Bugsnag client is in the middle of initializing. This can be used to guard uses of the Bugsnag API that are either on separate threads early in the app's start-up and so not guaranteed to be executed after Bugsnag.start has completed, or where Bugsnag may not have been started at all due to some internal app logic.
      slack-jallen:#1621
      bugsnag-android#1640
    • Events and Sessions will be discarded if they cannot be uploaded and are older than 60 days or larger than 1MB
      bugsnag-android#1633
    • Fixed potentially thread-unsafe access when invoking Bugsnag static methods across different threads whilst Bugsnag.start is still in-flight. It is now safe to call any Bugsnag static method once Bugsnag.start has begun executing, as access to the client singleton is controlled by a lock, so the new isStarted method (see above) should only be required where it cannot be determined whether the call to Bugsnag.start has begun or you do not want to wait.
    • bugsnag-android#1638
    • Calling bugsnag_event_set_context with NULL context correctly clears the event context again
      bugsnag-android#1637

Fixed

  • (plugin-express): send the request body (if present) as event.request.body rather than event.metadata.request.body #1702
  • (plugin-restify): Include request body #1701

Don't miss a new bugsnag-js release

NewReleases is sending notifications on new releases.