bugsnag/bugsnag-cocoa
BugSnag error monitoring & exception reporter for iOS, macOS, tvOS and watchOS
30 Releases
Latest: 2mo ago
v6.36.0Latest
📦 Enhancements
- Added plugin for notifying on HTTP request errors.
- [#1924](https://github.com/bugsnag/bugsnag-cocoa/pull/1924)
- Support Pascal case plist configuration values.
- [#1925](https://github.com/bugsnag/bugsnag-cocoa/pull/1925)
🐛 Bug Fixes
- Fixed a crash after shared NSURLSession is invalidated.
- [#1922](https://github.com/bugsnag/bugsnag-cocoa/pull/1922)
v6.35.0
📦 Enhancements
- Added customer controlled delivery strategy per notify call.
- [#1899](https://github.com/bugsnag/bugsnag-cocoa/pull/1899)
- Add error options to allow control over captured fields of handled events.
- [#1879](https://github.com/bugsnag/bugsnag-cocoa/pull/1879)
v6.34.1
🐛 Bug Fixes
- Fixed the issue causing feature flags with names that contain a slash to not appear in OOM crash reports.
- [#1863](https://github.com/bugsnag/bugsnag-cocoa/pull/1863)
v6.34.0
📦 Enhancements
- Improved C++ exception stack trace capturing.
- [1855](https://github.com/bugsnag/bugsnag-cocoa/pull/1855)
v6.33.1
📦 Enhancements
- Send observer event on grouping discriminator update [#1846](https://github.com/bugsnag/bugsnag-cocoa/pull/1846)
v6.33.0
📦 Enhancements
- Added `groupingDiscriminator` property to `BugsnagEvent` and methods for setting and getting the global `groupingDiscriminator` to `Bugsnag` and `BugsnagClient`.
- [#1830](https://github.com/bugsnag/bugsnag-cocoa/pull/1830)
- Set default endpoints based on API key [#1801](https://github.com/bugsnag/bugsnag-cocoa/pull/1801)
🐛 Bug Fixes
- Added the missing `PrivacyInfo.xcprivacy` file to xcframeworks.
- [#1837](https://github.com/bugsnag/bugsnag-cocoa/pull/1837)
- Added missing MARKETING_VERSION build setting to multiple targets. This is required for generating CFBundleShortVersionString in some situations.
- [#1766](https://github.com/bugsnag/bugsnag-cocoa/pull/1766)
v6.32.2
🐛 Bug Fixes
- Fixed a potential invalid pointer crash when updating/removing feature flags.
- [#1754](https://github.com/bugsnag/bugsnag-cocoa/pull/1754)
v6.32.1
🐛 Bug Fixes
- Fixed the issue causing flags cleared by calling `+[Bugsnag clearFeatureFlagWithName:]` to appear in crash reports.
- [#1740](https://github.com/bugsnag/bugsnag-cocoa/pull/1740)
v6.32.0
📦 Enhancements
- Added `file`, `lineNumber` and `columnNumber` properties to `BugsnagStackframe` public header.
- [#1728](https://github.com/bugsnag/bugsnag-cocoa/pull/1728)
v6.31.0
📦 Enhancements
- Disabled assertions on release build.
- [1717](https://github.com/bugsnag/bugsnag-cocoa/pull/1717)
- Optimized feature flags store.
- [1715](https://github.com/bugsnag/bugsnag-cocoa/pull/1715)
v6.30.2
🐛 Bug Fixes
- Disable calls to os_proc_available_memory() on Catalyst due to missing API in earlier versions.
- [1689](https://github.com/bugsnag/bugsnag-cocoa/pull/1689)
v6.30.1
🐛 Bug Fixes
- Removed duplicate BugsnagCorrelation.h header file that was causing warnings when building an app.
- [1682](https://github.com/bugsnag/bugsnag-cocoa/pull/1682)
- Mac Catalyst targets now only attempt to call os_proc_available_memory() from version 13.1.
- [1680](https://github.com/bugsnag/bugsnag-cocoa/pull/1680)
v6.30.0
📦 Enhancements
- Allow setting the correlation trace ID and span ID in an event, and harmonize the API with bugsnag-android. Note: This moves BugsnagCorrelation to a private API, which might cause minor breakage.
- [1671](https://github.com/bugsnag/bugsnag-cocoa/pull/1671)
🐛 Bug Fixes
- Ensure that all Bugsnag.notifyXYZ and BugsnagClient.notifyXYZ calls strip the correct number of stack frames, regardless of compiler optimization level.
- [1668](https://github.com/bugsnag/bugsnag-cocoa/pull/1668)
v6.29.0
📦 Enhancements
- Adds basic support for visionOS with SPM projects
- [1660](https://github.com/bugsnag/bugsnag-cocoa/pull/1660)
🐛 Bug fixes
- Prevent inlining of Bugsnag stack trace entries that are marked to be pruned away (to promote a consistent number of those frames).
- [1661](https://github.com/bugsnag/bugsnag-cocoa/pull/1661)
- Fix off-by-1 error when fetching register values on arm64 that could potentially run off the array.
- [1635](https://github.com/bugsnag/bugsnag-cocoa/pull/1635)
v6.28.1
🐛 Bug fixes
- Fix race condition crash when calling BugsnagSessionTracker.addRuntimeVersionInfo from another thread.
- [1632](https://github.com/bugsnag/bugsnag-cocoa/pull/1632)
- Fixed the issue causing PrivacyInfo collisions when using Cocoapods
- [1630](https://github.com/bugsnag/bugsnag-cocoa/pull/1630)
v6.28.0
📦 Enhancements
- Free disk space is only sent on macOS, since the APIs to get it are now on the Apple grey list.
- [1617](https://github.com/bugsnag/bugsnag-cocoa/pull/1617)
- Remove calls to stat, which is now an API on the Apple grey list.
- [1614](https://github.com/bugsnag/bugsnag-cocoa/pull/1614)
- Add Privacy Manifest covering BugSnag data and API usage
- [1616](https://github.com/bugsnag/bugsnag-cocoa/pull/1616)
v6.27.3
🐛 Bug fixes
- Remove include directives from inside of extern "C" sections because newer Xcode versions have issues with it
- [1608](https://github.com/bugsnag/bugsnag-cocoa/pull/1608)
- Setting user fields to nil will now clear them fully.
- [1599](https://github.com/bugsnag/bugsnag-cocoa/pull/1599)
- Crash fix: Detect and handle when WatchOS is running as an app rather than an extension.
- [1588](https://github.com/bugsnag/bugsnag-cocoa/pull/1588)
- Removed deprecated NXArchInfo code that was causing build issues.
- [1584](https://github.com/bugsnag/bugsnag-cocoa/pull/1584)
- + 4 more
v6.27.2
📦 Enhancements
- Device ID is now stored in a file that is shared between Bugsnag Cocoa and Bugsnag Cocoa Performance
- [1568](https://github.com/bugsnag/bugsnag-cocoa/pull/1568)
- Addressed new warning types introduced in Xcode 14.3
- [1561](https://github.com/bugsnag/bugsnag-cocoa/pull/1561)
v6.27.0
📦 Enhancements
- Added BSGErrorTypeCSharp enum value to identify C# events passed to the SDK
- [1556](https://github.com/bugsnag/bugsnag-cocoa/pull/1556)
🐛 Bug fixes
- Don't generate a new URLSession when copying a configuration.
- [1554](https://github.com/bugsnag/bugsnag-cocoa/pull/1554)
v6.26.2
🐛 Bug fixes
- Persist events based on the original unhandled value
- [1549](https://github.com/bugsnag/bugsnag-cocoa/pull/1549)
- Fixed a race condition in BSGRunContext
- [1548](https://github.com/bugsnag/bugsnag-cocoa/pull/1548)
- Include event API key when serializing/deserializing to/from JSON
- [1547](https://github.com/bugsnag/bugsnag-cocoa/pull/1547)
v6.26.1
🐛 Bug fixes
- Disabled breadcrumb disk storage when not required
- [1534](https://github.com/bugsnag/bugsnag-cocoa/pull/1534)
- Improved reliability of obtaining memory metadata on iOS 13+
- [1537](https://github.com/bugsnag/bugsnag-cocoa/pull/1537)
v6.26.0
📦 Enhancements
- Added isStarted to Bugsnag and BugsnagClient
- [1528](https://github.com/bugsnag/bugsnag-cocoa/pull/1528)
🐛 Bug fixes
- Fixed some race conditions that could cause issues in rare cases.
- [1529](https://github.com/bugsnag/bugsnag-cocoa/pull/1529)
- onError blocked from running if releaseStage not in enabledReleaseStages.
- [1518](https://github.com/bugsnag/bugsnag-cocoa/pull/1518)
v6.25.2
🐛 Bug fixes
- Workaround for thermal state lock re-entry bug on iOS 15.0.2-15.1.1.
- [1514](https://github.com/bugsnag/bugsnag-cocoa/pull/1514)
- Clean up compiler warnings about data races and nullability.
- [1515](https://github.com/bugsnag/bugsnag-cocoa/pull/1515)
v6.25.1
🐛 Bug fixes
- Fix memory leak in the app hang detection code.
- [#1507](https://github.com/bugsnag/bugsnag-cocoa/pull/1507)
- Truncate additional data to reduce number of oversized payloads.
- [#1501](https://github.com/bugsnag/bugsnag-cocoa/pull/1501)
v6.25.0
📦 Enhancements
- Expand `configuration.attemptDeliveryOnCrash` to send Mach exceptions (e.g.
- Swift fatal errors and bad memory accesses) at crash time.
- [#1496](https://github.com/bugsnag/bugsnag-cocoa/pull/1496)
v6.24.0
📦 Enhancements
- Add (experimental) `configuration.attemptDeliveryOnCrash` to allow uncaught
- Objective-C exceptions to be sent at crash time, prior to app termination.
- [#1488](https://github.com/bugsnag/bugsnag-cocoa/pull/1488)
🐛 Bug fixes
- Disable OOM detection for Mac Catalyst apps.
- [#1489](https://github.com/bugsnag/bugsnag-cocoa/pull/1489)
v6.23.1
🐛 Bug fixes
- Fix a crash on Mac Catalyst when user interacts with help menu.
- [#1484](https://github.com/bugsnag/bugsnag-cocoa/issues/1484)
- [#1485](https://github.com/bugsnag/bugsnag-cocoa/pull/1485)
- Fix feature flag ordering and insertion performance.
- [#1481](https://github.com/bugsnag/bugsnag-cocoa/pull/1481)
v6.23.0
📦 Enhancements
- Add `leaveNetworkRequestBreadcrumbForTask:metrics:` to simplify leaving network
- request breadcrumbs without overriding (swizzling) `NSURLSession` methods.
- [#1472](https://github.com/bugsnag/bugsnag-cocoa/pull/1472)
- Use `objc_direct` compiler attribute to reduce binary code size.
- This prevents calling non-public APIs when linking Bugsnag as a dynamic framework.
- [#1479](https://github.com/bugsnag/bugsnag-cocoa/pull/1479)
v6.22.3
🐛 Bug fixes
- Fix a crash that could occur when reporting internal errors during `+[Bugsnag start]`.
- [#1474](https://github.com/bugsnag/bugsnag-cocoa/pull/1474)
- Fix accuracy of `isLR` and `isPC` stack frame values.
- [#1470](https://github.com/bugsnag/bugsnag-cocoa/pull/1470)
v6.22.2
🐛 Bug fixes
- Fix a crash when using `BugsnagNetworkRequestPlugin` with `GTMSessionFetcher`.
- [#1465](https://github.com/bugsnag/bugsnag-cocoa/pull/1465)
- Fix a regression introduced in 6.18.0 that caused incorrect C++ exception
- stacktraces to be reported when Bugsnag is linked dynamically.
- [#1463](https://github.com/bugsnag/bugsnag-cocoa/pull/1463)
