Skip to content

Releases: bugsnag/bugsnag-cocoa

v6.22.1

10 Aug 15:25
bd0465c
Compare
Choose a tag to compare

Bug fixes

  • Fix Swift Package Manager build error due to use of unsafeFlags.
    #1456

v6.22.0

10 Aug 11:54
6ab8116
Compare
Choose a tag to compare

Enhancements

  • Increase default and maximum values for configuration.maxBreadcrumbs to 100 and 500, respectively.
    #1452

  • Trim breadcrumb messages & metadata in payloads that exceed the size limit.
    #1451

  • Truncate breadcrumb and metadata strings that are longer than configuration.maxStringValueLength.
    #1449

  • Add +[BugsnagStackframe stackframesWithCallStackReturnAddresses:] to public headers.
    #1446

Bug fixes

  • Fix a potential deadlock when capturing the crashing thread's name.
    #1453

  • Attempt to send sessions stored on disk when connection regained.
    #1445

  • Set user.id to to device.id for all events and sessions if BugsnagClient.user.id is set to nil.
    To prevent collection, set it to an empty string or update it in OnSendError / OnSession.
    #1442

v6.21.0

20 Jul 09:41
1a5afef
Compare
Choose a tag to compare

Enhancements

  • Add configuration.reportBackgroundAppHangs to allow background app hangs to be reported.
    #1439

  • Add freeMemory, memoryLimit and memoryUsage to metaData.app.
    Always report the device (not app) free memory in device.freeMemory.
    #1435

v6.20.0

13 Jul 09:39
6bcd46f
Compare
Choose a tag to compare

Enhancements

  • Feature flags can now be accessed in the onSend callbacks.
    #1432

  • Capture userInfo from all NSExceptions and include the error metadata tab for handled exceptions.
    #1428

  • Feature flags are now kept in order of insertion or modification rather than in alphabetical order.
    #1429

  • Send usage telemetry to Bugsnag for product improvement purposes. Can be disabled using configuration.telemetry.
    #1422

Bug fixes

  • Prevent reporting of OOMs on simulators.
    #1421

  • Fix a rare crash in BugsnagBreadcrumbsWriteCrashReport().
    #1430

  • Fix intermittent empty thread stacktraces.
    #1425

v6.19.0

29 Jun 11:46
5aeb638
Compare
Choose a tag to compare

Enhancements

  • Capture the crashing thread's name when possible.
    #1406

Bug fixes

  • Ignore OOMs that occur while the app is inactive, reverting an inadvertent change in v6.16.4.
    #1416

  • Fix reporting of crashes that occur while device is locked in apps using NSFileProtectionComplete.
    #1415

v6.18.1

22 Jun 10:12
e5bf5f8
Compare
Choose a tag to compare

Bug fixes

  • Remove device.freeMemory from OOM and Thermal Kill events.
    This indicated the app's remaining quota rather than the device's free memory, so has been removed to avoid confusion.
    #1408

  • Fix a crash that could occur in apps that set com.apple.developer.default-data-protection to NSFileProtectionComplete.
    #1407

v6.18.0

08 Jun 10:21
efd8dc7
Compare
Choose a tag to compare

Enhancements

  • Add support for watchOS (>= 6.3).

    Unhandled Objective-C & C++ exceptions will automatically be reported but OOMs,
    app hangs, thermal kills, stack overflows, memory access issues and Swift fatal
    errors cannot be detected due to Mach exception and signal APIs being
    prohibited on watchOS.

    For more information see the documentation.

  • Add configuration.telemetry to allow sending of internal errors to be disabled.
    #1375

Bug fixes

  • Fix data races detected by TSan in BSGRunContextUpdateTimestamp and UpdateAvailableMemory.
    #1384

  • Fix potential deadlocks caused by use of libc printf functions.
    #1397

  • Fix incorrect device.time in 32-bit crash reports.
    #1399

v6.17.1

18 May 10:33
96f738f
Compare
Choose a tag to compare

Bug fixes

  • Prevent error or session delivery being retried indefinitely.
    #1362
    #1367

v6.17.0

11 May 10:54
f3baf6c
Compare
Choose a tag to compare

Enhancements

  • Add device.freeMemory to OOM and Thermal Kill events on iOS 13 and later.
    #1357

  • Add device.time to OOM and Thermal Kill events.
    #1355

v6.16.8

04 May 10:33
450d217
Compare
Choose a tag to compare

Changes

  • Change minimum supported iOS version to 9.0.
    #1352