Skip to content

Releases: getsentry/sentry-cocoa

8.3.0

07 Mar 10:38
Compare
Choose a tag to compare

Important Note

This release can cause crashes when Profiling is enabled (#2786). Please update to 8.3.1.

Fixes

  • Crash in AppHangs when no threads (#2725)
  • MetricKit stack traces (#2723)
  • InApp for MetricKit stack traces (#2739)
  • Mutating while enumerating crash in Tracer (#2744)
  • Normalize profiling timestamps relative to transaction start (#2729)

8.2.0

23 Feb 12:37
Compare
Choose a tag to compare

Features

  • Combine UIKit and SwiftUI transactions (#2681)
  • Add isMain thread to SentryThread (#2692)
  • Add in_foreground to App Context (#2692)

Fixes

  • Cleanup AppHangTracking properly when closing SDK (#2671)
  • Add EXC_BAD_ACCESS subtypes to events (#2667)
  • Keep status of auto transactions when finishing (#2684)
  • Fix atomic import error for profiling (#2683)
  • Don't create breadcrumb for UITextField editingChanged event (#2686)
  • Fix EXC_BAD_ACCESS in SentryTracer (#2697)
  • Serialization of nullable booleans (#2706)

Improvements

  • Change debug image type to macho (#2701)

8.1.0

30 Jan 16:16
Compare
Choose a tag to compare

Features

  • Add thread information to File I/O spans (#2573)
  • AttachScreenshots is GA (#2623)
  • Gather profiling timeseries metrics for CPU usage and memory footprint (#2493)
  • Change SentryTracedView transactionName to viewName (#2630)

Fixes

  • Support uint64 in crash reports (#2631, #2642, #2663)
  • Always fetch view hierarchy on the main thread (#2629)
  • Carthage Xcode 14 compatibility issue (#2636)
  • Crash in CppException Monitor (#2639)
  • fix: Disable watchdog when disabling crash handler (#2621)

8.0.0

16 Jan 15:57
Compare
Choose a tag to compare

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

Fixes

  • Errors shortly after SentrySDK.init now affect the session (#2430)
  • Use the same default environment for events and sessions (#2447)
  • Increase SentryCrashMAX_STRINGBUFFERSIZE to reduce the instances where we're dropping a crash due to size limit (#2465)
  • SentryAppStateManager correctly unsubscribes from NSNotificationCenter when 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.data non 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
    • Rename SentrySDK.addBreadcrumb(crumb:) to SentrySDK.addBreadcrumb(_ crumb:) (#2416)
    • Rename SentryScope.add(_ crumb:) to SentryScope.addBreadcrumb(_ crumb:) (#2416)
    • Rename SentryScope.add(_ attachment:) to SentryScope.addAttachment(_ attachment:) (#2416)
    • Rename Client to SentryClient (#2403)
  • Remove public APIs
    • Remove SentryScope.apply(to:) (#2416)
    • Remove SentryScope.apply(to:maxBreadcrumb:) (#2416)
    • Remove - [SentryOptions initWithDict:didFailWithError:] (#2404)
    • Remove - [SentryOptions sdkInfo] (#2404)
    • Make SentrySession and SentrySDKInfo internal (#2451)
  • 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.enableAutoPerformanceTracking to enableAutoPerformanceTracing
    • Rename SentryOptions.enableUIViewControllerTracking to enableUIViewControllerTracing
    • Rename SentryOptions.enablePreWarmedAppStartTracking to enablePreWarmedAppStartTracing
    • Rename SentryOptions.enableFileIOTracking to enableFileIOTracing
    • Rename SentryOptions.enableCoreDataTracking to enableCoreDataTracing
  • SentrySDK.close calls flush, which is a blocking call (#2453)
  • Bump minimum Xcode version to 13 (#2483)
  • Rename SentryOptions.enableOutOfMemoryTracking to SentryOptions.enableWatchdogTerminationTracking (#2499)
  • Remove the automatic viewAppearing span for UIViewController APM (#2511)
  • Remove the permission context for events (#2529)
  • Remove captureEnvelope from Hub and Client (#2580)
  • Remove confusing transaction tag (#2574)

8.0.0-rc.1

09 Jan 16:19
Compare
Choose a tag to compare
8.0.0-rc.1 Pre-release
Pre-release

This version adds a dependency on Swift.

Features

Fixes

  • Errors shortly after SentrySDK.init now affect the session (#2430)
  • Use the same default environment for events and sessions (#2447)
  • Increase SentryCrashMAX_STRINGBUFFERSIZE to reduce the instances where we're dropping a crash due to size limit (#2465)
  • SentryAppStateManager correctly unsubscribes from NSNotificationCenter when 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.data non 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
    • Rename SentrySDK.addBreadcrumb(crumb:) to SentrySDK.addBreadcrumb(_ crumb:) (#2416)
    • Rename SentryScope.add(_ crumb:) to SentryScope.addBreadcrumb(_ crumb:) (#2416)
    • Rename SentryScope.add(_ attachment:) to SentryScope.addAttachment(_ attachment:) (#2416)
    • Rename Client to SentryClient (#2403)
  • Remove public APIs
    • Remove SentryScope.apply(to:) (#2416)
    • Remove SentryScope.apply(to:maxBreadcrumb:) (#2416)
    • Remove - [SentryOptions initWithDict:didFailWithError:] (#2404)
    • Remove - [SentryOptions sdkInfo] (#2404)
    • Make SentrySession and SentrySDKInfo internal (#2451)
  • 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.enableAutoPerformanceTracking to enableAutoPerformanceTracing
    • Rename SentryOptions.enableUIViewControllerTracking to enableUIViewControllerTracing
    • Rename SentryOptions.enablePreWarmedAppStartTracking to enablePreWarmedAppStartTracing
    • Rename SentryOptions.enableFileIOTracking to enableFileIOTracing
    • Rename SentryOptions.enableCoreDataTracking to enableCoreDataTracing
  • SentrySDK.close calls flush, which is a blocking call (#2453)
  • Bump minimum Xcode version to 13 (#2483)
  • Rename SentryOptions.enableOutOfMemoryTracking to SentryOptions.enableWatchdogTerminationTracking (#2499)
  • Remove the automatic viewAppearing span for UIViewController APM (#2511)
  • Remove the permission context for events (#2529)
  • Remove captureEnvelope from Hub and Client (#2580)
  • Remove confusing transaction tag (#2574)

8.0.0-beta.6

05 Jan 14:54
Compare
Choose a tag to compare
8.0.0-beta.6 Pre-release
Pre-release

This version adds a dependency on Swift.

Features

Fixes

  • Errors shortly after SentrySDK.init now affect the session (#2430)
  • Use the same default environment for events and sessions (#2447)
  • Increase SentryCrashMAX_STRINGBUFFERSIZE to reduce the instances where we're dropping a crash due to size limit (#2465)
  • SentryAppStateManager correctly unsubscribes from NSNotificationCenter when 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.data non 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
    • Rename SentrySDK.addBreadcrumb(crumb:) to SentrySDK.addBreadcrumb(_ crumb:) (#2416)
    • Rename SentryScope.add(_ crumb:) to SentryScope.addBreadcrumb(_ crumb:) (#2416)
    • Rename SentryScope.add(_ attachment:) to SentryScope.addAttachment(_ attachment:) (#2416)
    • Rename Client to SentryClient (#2403)
  • Remove public APIs
    • Remove SentryScope.apply(to:) (#2416)
    • Remove SentryScope.apply(to:maxBreadcrumb:) (#2416)
    • Remove - [SentryOptions initWithDict:didFailWithError:] (#2404)
    • Remove - [SentryOptions sdkInfo] (#2404)
    • Make SentrySession and SentrySDKInfo internal (#2451)
  • 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.enableAutoPerformanceTracking to enableAutoPerformanceTracing
    • Rename SentryOptions.enableUIViewControllerTracking to enableUIViewControllerTracing
    • Rename SentryOptions.enablePreWarmedAppStartTracking to enablePreWarmedAppStartTracing
    • Rename SentryOptions.enableFileIOTracking to enableFileIOTracing
    • Rename SentryOptions.enableCoreDataTracking to enableCoreDataTracing
  • SentrySDK.close calls flush, which is a blocking call (#2453)
  • Bump minimum Xcode version to 13 (#2483)
  • Rename SentryOptions.enableOutOfMemoryTracking to SentryOptions.enableWatchdogTerminationTracking (#2499)
  • Remove the automatic viewAppearing span for UIViewController APM (#2511)
  • Remove the permission context for events (#2529)

8.0.0-beta.5

22 Dec 16:32
Compare
Choose a tag to compare
8.0.0-beta.5 Pre-release
Pre-release

This version adds a dependency on Swift.

Features

Fixes

  • Errors shortly after SentrySDK.init now affect the session (#2430)
  • Use the same default environment for events and sessions (#2447)
  • Increase SentryCrashMAX_STRINGBUFFERSIZE to reduce the instances where we're dropping a crash due to size limit (#2465)
  • SentryAppStateManager correctly unsubscribes from NSNotificationCenter when 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)

Breaking Changes

  • Rename - [SentrySDK startWithOptionsObject:] to - [SentrySDK startWithOptions:] (#2404)
  • Make SpanProtocol.data non 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
    • Rename SentrySDK.addBreadcrumb(crumb:) to SentrySDK.addBreadcrumb(_ crumb:) (#2416)
    • Rename SentryScope.add(_ crumb:) to SentryScope.addBreadcrumb(_ crumb:) (#2416)
    • Rename SentryScope.add(_ attachment:) to SentryScope.addAttachment(_ attachment:) (#2416)
    • Rename Client to SentryClient (#2403)
  • Remove public APIs
    • Remove SentryScope.apply(to:) (#2416)
    • Remove SentryScope.apply(to:maxBreadcrumb:) (#2416)
    • Remove - [SentryOptions initWithDict:didFailWithError:] (#2404)
    • Remove - [SentryOptions sdkInfo] (#2404)
    • Make SentrySession and SentrySDKInfo internal (#2451)
  • 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.enableAutoPerformanceTracking to enableAutoPerformanceTracing
    • Rename SentryOptions.enableUIViewControllerTracking to enableUIViewControllerTracing
    • Rename SentryOptions.enablePreWarmedAppStartTracking to enablePreWarmedAppStartTracing
    • Rename SentryOptions.enableFileIOTracking to enableFileIOTracing
    • Rename SentryOptions.enableCoreDataTracking to enableCoreDataTracing
  • SentrySDK.close calls flush, which is a blocking call (#2453)
  • Bump minimum Xcode version to 13 (#2483)
  • Rename SentryOptions.enableOutOfMemoryTracking to SentryOptions.enableWatchdogTerminationTracking (#2499)
  • Remove the automatic viewAppearing span for UIViewController APM (#2511)
  • Remove the permission context for events (#2529)

7.31.5

22 Dec 19:48
Compare
Choose a tag to compare

Fixes

  • Crash in SentryOutOfMemoryScopeObserver (#2557)

7.31.4

15 Dec 17:50
Compare
Choose a tag to compare

Fixes

  • Screenshot crashes when application delegate has no window (#2538)

8.0.0-beta.4

05 Dec 15:29
Compare
Choose a tag to compare
8.0.0-beta.4 Pre-release
Pre-release

This version adds a dependency on Swift.

Features

  • Properly demangle Swift class name (#2162)

Fixes

  • Errors shortly after SentrySDK.init now affect the session (#2430)
  • Use the same default environment for events and sessions (#2447)
  • Increase SentryCrashMAX_STRINGBUFFERSIZE to reduce the instances where we're dropping a crash due to size limit (#2465)
  • SentryAppStateManager correctly unsubscribes from NSNotificationCenter when closing the SDK (#2460)
  • The SDK no longer reports an OOM when a crash happens after closing the SDK (#2468)
  • Use the preexisting app release version format for profiles (#2470)

Breaking Changes

  • Rename - [SentrySDK startWithOptionsObject:] to - [SentrySDK startWithOptions:] (#2404)
  • Make SpanProtocol.data non 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
    • Rename SentrySDK.addBreadcrumb(crumb:) to SentrySDK.addBreadcrumb(_ crumb:) (#2416)
    • Rename SentryScope.add(_ crumb:) to SentryScope.addBreadcrumb(_ crumb:) (#2416)
    • Rename SentryScope.add(_ attachment:) to SentryScope.addAttachment(_ attachment:) (#2416)
    • Rename Client to SentryClient (#2403)
  • Remove public APIs
    • Remove SentryScope.apply(to:) (#2416)
    • Remove SentryScope.apply(to:maxBreadcrumb:) (#2416)
    • Remove - [SentryOptions initWithDict:didFailWithError:] (#2404)
    • Remove - [SentryOptions sdkInfo] (#2404)
    • Make SentrySession and SentrySDKInfo internal (#2451)
  • 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.enableAutoPerformanceTracking to enableAutoPerformanceTracing
    • Rename SentryOptions.enableUIViewControllerTracking to enableUIViewControllerTracing
    • Rename SentryOptions.enablePreWarmedAppStartTracking to enablePreWarmedAppStartTracing
    • Rename SentryOptions.enableFileIOTracking to enableFileIOTracing
    • Rename SentryOptions.enableCoreDataTracking to enableCoreDataTracing
  • SentrySDK.close calls flush, which is a blocking call (#2453)
  • Bump minimum Xcode version to 13 (#2483)