This version adds a dependency on Swift.
Features
- Properly demangle Swift class name (#2162)
Fixes
- Errors shortly after
SentrySDK.initnow affect the session (#2430) - Use the same default environment for events and sessions (#2447)
- Increase
SentryCrashMAX_STRINGBUFFERSIZEto reduce the instances where we're dropping a crash due to size limit (#2465) SentryAppStateManagercorrectly unsubscribes fromNSNotificationCenterwhen closing the SDK (#2460)- The SDK no longer reports an OOM when a crash happens after closing the SDK (#2468)
Breaking Changes
- Rename
- [SentrySDK startWithOptionsObject:]to- [SentrySDK startWithOptions:](#2404) - Make
SpanProtocol.datanon nullable (#2409) - Mark
- [SpanProtocol setExtraValue:forKey:]as deprecated (#2413) - Make SpanContext immutable (#2408)
- Remove tags from SpanContext
- Remove context property from SentrySpan
- Bump minimum supported OS versions to macOS 10.13, iOS 11, tvOS 11, and watchOS 4 (#2414)
- Make public APIs Swift friendly
- Remove public APIs
- Marks App hang's event stacktrace snapshot as true (#2441)
- Enable user interaction tracing by default (#2442)
- Remove default attachment content type (#2443)
- Rename APM tracking feature flags to tracing (#2450)
- Rename
SentryOptions.enableAutoPerformanceTrackingtoenableAutoPerformanceTracing - Rename
SentryOptions.enableUIViewControllerTrackingtoenableUIViewControllerTracing - Rename
SentryOptions.enablePreWarmedAppStartTrackingtoenablePreWarmedAppStartTracing - Rename
SentryOptions.enableFileIOTrackingtoenableFileIOTracing - Rename
SentryOptions.enableCoreDataTrackingtoenableCoreDataTracing
- Rename
- SentrySDK.close calls flush, which is a blocking call (#2453)