github bugsnag/bugsnag-unity v5.2.0

latest releases: v7.7.2, v6.3.6, v6.3.5...
3 years ago

5.2.0 (2021-08-05)

Enhancements

  • Add AppHangThresholdMillis to set the native Cocoa option #347

  • Add EnabledErrorTypes configuration option to enable/disable different types of errors #341

  • [Android] Automatic App Not Responding (ANR) detection is now enabled by default
    #339

  • Update bugsnag-cocoa to v6.10.2

    • Fix ThreadSanitizer data race warning in BSGAppHangDetector.
      #1153

    • Remove (duplicated) user information from metaData.
      #1151

    • Fix a potential stack overflow in +[BugsnagThread allThreadsWithCurrentThreadBacktrace:].
      #1148

    • Fix NSNull handling in +[BugsnagError errorFromJson:] and +[BugsnagStackframe frameFromJson:].
      #1143

    • Fix a rare crash in bsg_ksmachgetThreadQueueName.
      #1147

    • Fix an issue that could cause C++ exceptions with very long descriptions to not be reported.
      #1137

    • Improve performance of adding metadata by using async file I/O.
      #1133

    • Improve performance of leaving breadcrumbs by using async file I/O.
      #1124

    • Prevent some potential false positive detection of app hangs.
      #1122

  • Update bugsnag-android to v5.10.1:

    • Prefer calloc() to malloc() in NDK code
      #1320

    • Ensure correct value always collected for activeScreen
      #1322

    • Capture process name in Event payload
      #1318

    • Avoid unnecessary BroadcastReceiver registration for monitoring device orientation
      #1303

    • Register system callbacks on background thread
      #1292

    • Fix rare NullPointerExceptions from ConnectivityManager
      #1311

    • Respect manual setting of context
      #1310

    • Handle interrupt when shutting down executors
      #1315

    • Allow serializing enabledBreadcrumbTypes as null
      #1316

    • Properly handle ANRs after multiple calls to autoNotify and autoDetectAnrs
      #1265

    • Cache value of app.backgroundWorkRestricted
      #1275

    • Optimize execution of callbacks
      #1276

    • Optimize implementation of internal state change observers
      #1274

    • Optimize metadata implementation by reducing type casts
      #1277

    • Trim stacktraces to <200 frames before attempting to construct POJOs
      #1281

    • Use direct field access when adding breadcrumbs and state updates
      #1279

    • Avoid using regex to validate api key
      #1282

    • Discard unwanted automatic data earlier where possible
      #1280

    • Enable ANR handling on immediately if started from the main thread
      #1283

    • Include app.binaryArch in all events
      #1287

    • Cache results from PackageManager
      #1288

    • Use ring buffer to store breadcrumbs
      #1286

    • Avoid expensive set construction in Config constructor
      #1289

    • Replace calls to String.format() with concatenation
      #1293

    • Optimize capture of thread traces
      #1300

Bug fixes

  • Fixed an issue where Windows events would have incorrectly split stacktraces resulting in all lines being bundled into one
    #350

  • Fixed an issue where WebGL web requests that initially fail were not respecting the 10 second delay before retrying
    #321

  • Fixed an issue where Breadcrumbs were reported in the wrong order on Windows and in the Unity Editor
    #322

  • Fixed an issue where a "Bugsnag loaded" breadcrumb was not added on Windows, Linux, WebGL, and editor builds
    #327

  • Fixed an issue where the fallback was not reporting the correct app.type
    #325

Deprecated

  • Configuration.NotifyLevel has been deprecated in favour of Configuration.NotifyLogLevel and will be removed in the next major release.

  • Configuration.AutoNotify has been deprecated in favour of Configuration.AutoDetectErrors and will be removed in the next major release.

  • Configuration.AutoCaptureSessions has been deprecated in favour of Configuration.AutoTrackSessions and will be removed in the next major release.

Don't miss a new bugsnag-unity release

NewReleases is sending notifications on new releases.