
Remove captureEnvelope from SentryHub and Sentr圜lient.Make SentrySession and SentrySDKInfo internal.Remove SentryScope.apply(to:maxBreadcrumb:).Remove context property from SentrySpan.In case we removed something you need, please open an issue on GitHub. We cleaned up our public classes by removing a few functions and properties, that shouldn't be public, to make the API cleaner. Rename SentryScope.add(_ attachment:) to SentryScope.addAttachment(_ attachment:).
Rename SentryScope.add(_ crumb:) to SentryScope.addBreadcrumb(_ crumb:). Rename SentrySDK.addBreadcrumb(crumb:) to SentrySDK.addBreadcrumb(_ crumb:). We made some changes to make the API more ergonomic in Swift: Rename SentryOptions.enableOutOfMemoryTracking to SentryOptions.enableWatchdogTerminationTracking. Rename SentryOptions.enableCoreDataTracking to SentryOptions.enableCoreDataTracing. Rename SentryOptions.enableFileIOTracking to SentryOptions.enableFileIOTracing. Rename SentryOptions.enablePreWarmedAppStartTracking to SentryOptions.enablePreWarmedAppStartTracing. Rename SentryOptions.enableUIViewControllerTracking to SentryOptions.enableUIViewControllerTracing. Rename SentryOptions.enableAutoPerformanceTracking to SentryOptions.enableAutoPerformanceTracing. This version includes the following configuration changes: We renamed the integration to better reflect what it does. The OOM (out of memory integration) actually tracks watchdog terminations based on heuristics. The user interaction tracing integrationĪpp Hang events might group differently as we now set the event stacktrace snapshot property to true. The following features are now enabled by default: We bumped the minimum Xcode version to 13.
The minimum supported OS versions have been bumped to macOS 10.13, iOS 11, tvOS 11, and watchOS 4. It's important to note that this version adds a dependency to Swift, and that we renamed the default branch on the sentry-cocoa repository from master to main. We provide this guide to help you update your SDK. Migrating to 8.x from 7.x includes a few breaking changes. To upgrade from version 4.x of the SDK to version 8.x of the SDK, you must first migrate from 4.x to 5.x, then 5.x to 6.x, then 6.x to 7.x, and finally from 7.x to 8.x.