This version adds a dependency on Swift. We renamed the default branch from master to main. We are going to keep the master branch for backwards compatibility for package managers not pointing to the master branch.
Features
- Properly demangle Swift class name (#2162)
- Change view hierarchy attachment format to JSON (#2491)
- Experimental SwiftUI performance tracking (#2271)
- Enable File I/O Tracking by default (#2497)
- Enable AppHang Tracking by default (#2600)
- Enable Core Data Tracing by default (#2598)
- User Interaction Tracing is stable and enabled by default(#2503)
- Add synthetic for mechanism (#2501)
- Enable CaptureFailedRequests by default (#2507)
- Support the
SENTRY_DSNenvironment variable on macOS (#2534) - Experimental MetricKit integration (#2519) for
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)
- Don't capture zero size screenshots (#2459)
- Use the preexisting app release version format for profiles (#2470)
- Don't add out of date context for crashes (#2523)
- Fix ARC issue for FileManager (#2525)
- Remove delay for deleting old envelopes (#2541)
- Fix strong reference cycle for HttpTransport (#2552)
- Deleting old envelopes for empty DSN (#2562)
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)
- Bump minimum Xcode version to 13 (#2483)
- Rename
SentryOptions.enableOutOfMemoryTrackingtoSentryOptions.enableWatchdogTerminationTracking(#2499) - Remove the automatic
viewAppearingspan for UIViewController APM (#2511) - Remove the permission context for events (#2529)
- Remove captureEnvelope from Hub and Client (#2580)
- Remove confusing transaction tag (#2574)