Bugsnag Android Versions Save

BugSnag crash monitoring and reporting tool for Android apps

v5.22.0

2 years ago

Enhancements

  • 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 #1640

  • Events and Sessions will be discarded if they cannot be uploaded and are older than 60 days or larger than 1MB #1633

Bug fixes

  • 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. #1638
  • Calling bugsnag_event_set_context with NULL context correctly clears the event context again #1637

v5.21.0

2 years ago

Enhancements

  • 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. #1605 #1606

Bug fixes

  • Fixed an issue where an uncaught exception on the main thread could in rare cases trigger an ANR. #1624

v5.20.0

2 years ago

Enhancements

  • The number of threads reported can now be limited using Configuration.setMaxReportedThreads (defaulting to 200) #1607

  • Improved the performance and stability of the NDK and ANR plugins by caching JNI references on start #1596 #1601

v5.19.2

2 years ago

Bug fixes

  • Fixed an issue where feature-flags were not always sent if an OnSendCallback was configured #1589

  • Fix a bug where api keys set in React Native callbacks were ignored #1592

v5.19.1

2 years ago

Bug fixes

  • Discarded unhandled exceptions are propagated to any previously registered handlers #1584

  • Fix SIGABRT crashes caused by race conditions in the NDK layer #1585

v5.19.0

2 years ago

Enhancements

  • Explicitly define Kotlin api/language versions #1564

  • Build project with Kotlin 1.4, maintain compat with Kotlin 1.3 #1565

v5.18.0

2 years ago

Enhancements

  • Improve the memory use and performance overhead when handling the delivery response status codes #1558

  • Harden ndk layer through use of const keyword #1566

Bug fixes

  • Delete persisted NDK events earlier in delivery process #1562

  • Add null checks for strlen() #1563

  • Catch IOException when logging response status code #1567

v5.17.0

2 years ago

Enhancements

  • Bump compileSdkVersion to apiLevel 31 #1536

Bug fixes

  • Flush in-memory sessions first #1538

  • Avoid unnecessary network connectivity change breadcrumb #1540 #1546

  • Clear native stacktrace memory in bugsnag_notify_env before attempting to unwind the stack #1543

v5.16.0

2 years ago

Bug fixes

  • Increase resilience of NDK stackframe method capture #1484

  • redactedKeys now correctly apply to metadata on Event breadcrumbs #1526

  • Improved the robustness of automatically logged ERROR breadcrumbs #1531

  • Improve performance on the breadcrumb storage "hot path" by removing Date formatting #1525

v5.15.0

2 years ago

Bug fixes

  • Avoid reporting false-positive background ANRs with improved foreground detection #1429

  • Prevent events being attached to phantom sessions when they are blocked by an OnSessionCallback #1434

  • Plugins will correctly mirror metadata added using addMetadata(String, Map) #1454