Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update Cocoa SDK to v8.35.0 #175

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

Bumps flutter/scripts/update-cocoa.sh from 8.3.1 to 8.35.0.

Auto-generated by a dependency updater.

Changelog

8.35.0

Features

  • Expose span baggage API (#4207)

Fixes

  • Fix SIGABRT when modifying scope user (#4274)
  • Crash during SDK initialization due to corrupted envelope (#4291)
    • Reverts #4219 as potential fix

8.34.0

Features

  • Pause replay in session mode when offline (#4264)
  • Add replay quality option for Objective-C (#4267)

Fixes

  • Session replay not redacting buttons and other non UILabel texts (#4277)
  • Rarely reporting too long frame delays (#4278) by fixing a race condition in the frames tracking logic.
  • Crash deserializing empty envelope length>0 (#4281]
  • Guard dereferencing of stack frame pointer in SentryBacktrace (#4268)

8.33.0

This release fixes a bug (#4230) that we introduced with a refactoring (#4101) released in 8.30.1.
This bug caused unhandled/crash events to have the unhandled property and mach info missing, which is required for release health to show events in the unhandled tab. It's essential to mention that this bug doesn't impact release health statistics, such as crash-free session or user rates.

Features

  • Support orientation change for session replay (#4194)
  • Replay for crashes (#4171)
  • Redact web view from replay (#4203)
  • Add beforeCaptureViewHierarchy callback (#4210)
  • Rename session replay errorSampleRate property to onErrorSampleRate (#4218)
  • Add options to redact or ignore view for Replay (#4228)

Fixes

  • Skip UI crumbs when target or sender is nil (#4211)
  • Guard FramesTracker start and stop (#4224)
  • Long-lasting TTID/TTFD spans (#4225). Avoid long TTID spans when the FrameTracker isn't running, which is the case when the app is in the background.
  • Missing mach info for crash reports (#4230)
  • Crash reports not generated on visionOS (#4229)
  • Don’t force cast to NSComparisonPredicate in TERNARY operator (#4232)
  • Fix accessing UI API on bg thread in enrichScope (#4245)
  • EXC_BAD_ACCESS in SentryMetricProfiler (#4242)
  • Missing '#include <sys/_types/_ucontext64.h>' (#4244)
  • Rare flush timeout when called in tight loop (#4257)

Improvements

  • Reduce memory usage of storing envelopes (#4219)
  • Skip enriching scope when nil (#4243)

8.32.0

Features

  • Add reportAccessibilityIdentifier option (#4183)
  • Record dropped spans (#4172)

Fixes

  • Session replay crash when writing the replay (#4186)

Features

  • Collect only unique UIWindow references (#4159)

Deprecated

  • options.enableTracing was deprecated. Use options.tracesSampleRate or options.tracesSampler instead. (#4182)

8.31.1

Fixes

  • Session replay video duration from seconds to milliseconds (#4163)

8.31.0

Features

  • Include the screen names in the session replay (#4126)

Fixes

  • Properly handle invalid value for NSUnderlyingErrorKey (#4144)
  • Session replay in buffer mode not working (#4160)

8.30.1

Fixes

  • UIKitless configurations now produce a module with a different name (#4140)
  • Sentry Replay Serialized Breadcrumbs include level name (#4141)

8.30.0

Features

  • Restart replay session with mobile session (#4085)
  • Add pause and resume AppHangTracking API (#4077). You can now pause and resume app hang tracking with SentrySDK.pauseAppHangTracking() and SentrySDK.resumeAppHangTracking().
  • Add beforeSendSpan callback (#4095)

Fixes

  • storeEnvelope ends session for unhandled errors (#4073)
  • Deprecate SentryUser.segment(#4092). Please remove usages of this property. We will remove it in the next major.
  • Double-quoted include in framework header (#4115)
  • Sentry Replay Network details should be available without Tracing (#4091)

8.29.1

Fixes

  • Fix potential deadlock in app hang detection (#4063)
  • Swizzling of view controllers loadView that don't implement loadView (#4071)

8.29.0

Features

  • Add a touch tracker for replay (#4041)
  • Add enableMetricKitRawPayload (#4044)
  • Resume session replay when app enters foreground (#4053)

Fixes

  • SentryCrashMonitor_CPPException.cpp compilation using Xcode 16b1 (#4051)

8.28.0

Features

  • Add replay quality option (#4035)

8.27.0

Features

  • Add breadcrumbs to session replay (#4002)
  • Add start time to network request breadcrumbs (#4008)
  • Add C++ exception support for __cxa_rethrow (#3996)
  • Add beforeCaptureScreenshot callback (#4016)
  • Disable SIGTERM reporting by default (#4025). We added support
    for SIGTERM reporting in the last release and enabled it by default.
    For some users, SIGTERM events were verbose and not actionable.
    Therefore, we disable it per default in this release. If you'd like
    to receive SIGTERM events, set the option enableSigtermReporting = true.

Improvements

  • Stop FramesTracker when app is in background (#3979)
  • Speed up adding breadcrumbs (#4029, #4034)
  • Skip evaluating log messages when not logged (#4028)

Fixes

  • Fix retrieving GraphQL operation names crashing (#3973)
  • Fix SentryCrashExceptionApplication subclass problem (#3993)
  • Fix wrong value for In Foreground flag on UIKit applications (#4005)
  • Fix a crash in baggageEncodedDictionary (#4017)
  • Session replay wrong video size (#4018)

8.26.0

Features

  • Add SIGTERM support (#3895)

Fixes

  • Fix data race when calling reportFullyDisplayed from a background thread (#3926)
  • Ensure flushing envelopes directly after capturing them (#3915)
  • Unable to find class: SentryCrashExceptionApplication (#3957)
  • Clang error for Xcode 15.4 (#3958)
  • Potential deadlock when starting the SDK (#3970)

Improvements

  • Send Cocoa SDK features (#3948)

8.25.2

Features

The following two features, disabled by default, were mistakenly added to the release. We usually only add features in minor releases.

  • Add option to use own NSURLSession for transport (#3811)
  • Support sending GraphQL operation names in HTTP breadcrumbs (#3931)

Fixes

  • 'SentryFileManager+Test.h' file not found (#3950)

8.25.1

Fixes

  • Ignore SentryFramesTracker thread sanitizer data races (#3922)
  • Handle no releaseName in WatchDogTerminationLogic (#3919)
  • Stop SessionReplay when closing SDK (#3941)

Improvements

  • Remove not needed lock for logging (#3934)
  • Session replay Improvements (#3877)
    • Use image average color and text font color to redact session replay
    • Removed iOS 16 restriction from session replay
    • Performance improvement

8.25.0

Features

  • Add Session Replay, which is still experimental. (#3625)

Fixes

  • Crash due to a background call to -[UIApplication applicationState] (#3855)
  • Save framework without UIKit/AppKit as Github Asset for releases (#3858)
  • Fix crash associated with runtime collision in global C function names (#3862)
  • Remove wrong error log in SentryCoreDataTracker (#3894)
  • Don't transmit device boot time in envelopes enriched with crash data (#3912, #3916)

Improvements

  • Capture transactions on a background thread (#3892)

8.25.0-alpha.0

Features

  • Add Session Replay, which is still experimental. (#3625)

Fixes

  • Crash due to a background call to -[UIApplication applicationState] (#3855)
  • Save framework without UIKit/AppKit as Github Asset for releases (#3858)
  • Fix crash associated with runtime collision in global C function names (#3862)
  • Remove wrong error log in SentryCoreDataTracker (#3894)

8.24.0

Features

8.23.0

Features

  • Add Metrics API (#3791, #3799): Read our docs to learn
    more about how to use the Metrics API.
  • Pre-main profiling data is now attached to the app start transaction (#3736)
  • Release framework without UIKit/AppKit (#3793)
  • Add the option swizzleClassNameExcludes (#3813)

Fixes

  • Don't run onCrashedLastSession for nil Events (#3785)
  • Redistributable static libraries should never be built with module debugging enabled (#3800)
  • Fixed certain views getting loaded twice when adding a child view controller (#3753)
  • Fixed broken imports in SentrySwiftUI Carthage build (#3817)
  • Fix NSInvalidArgumentException for NSError sentryErrorWithDomain (#3819)
  • Again fix runtime error when including Sentry as a static lib (#3820)
  • Fix crash in hasUnfinishedChildSpansToWaitFor (#3821)

8.22.4

Fixes

  • CFBundleShortVersionString in the Info.plist file is invalid (#3787)

8.22.3

Fixes

  • Sentry.framework does not support the minimum OS Version specified in the Info.plist (#3774)
  • Add reference to Swift classes for hybrid SDKs (#3771)

8.22.3-beta.0

Fixes

  • Sentry.framework does not support the minimum OS Version specified in the Info.plist (#3774)
  • Add reference to Swift classes for hybrid SDKs (#3771)

8.22.2

  • Fix runtime error when including Sentry as a static lib (#3764)
  • Fix Mac Catalyst support for the prebuilt XCFramework used by SPM and Carthage (#3767)

8.22.1

Fixes

  • Checksum error when resolving the SDK via SPM (#3760)

8.22.0

Warning: this version is not working with SPM

Improvements

  • SPM uses a prebuilt XCFramework and remove SentryPrivate (#3623):
    We now provide a prebuilt XCFramework for SPM, which speeds up your build and allows us to write
    more code in Swift. To make this happen, we had to remove the SentryPrivate target for SPM and
    CocoaPods, which you shouldn't have included directly.

Fixes

  • Write NSException reason for crash report (#3705)
  • Add context to event with CrashIntegration disabled (#3699)

8.21.0

Features

  • Add support for Sentry Spotlight (#3642), which is basically Sentry
    for development. Read our blog post to find out more.
  • Add field SentrySDK.detectedStartUpCrash (#3644)
  • Automatically profile app launches (#3529)
  • Use CocoaPods resource_bundles for PrivacyInfo (#3651)
  • Make tags of SentryScope public (#3650)

Improvements

  • Cache installationID async to avoid file IO on the main thread when starting the SDK (#3601)
  • Add reason for NSPrivacyAccessedAPICategoryFileTimestamp (#3626)

Fixes

  • Finish TTID span when transaction finishes (#3610)
  • Don't take screenshot and view hierarchy for app hanging (#3620)
  • Remove free_storage and storage_size from the device context (#3627), because Apple forbids sending
    information retrieved via NSFileSystemFreeSize and NSFileSystemSize off a device; see
    Apple docs.
  • Make SentryFramesTracker available for HybridSDKs (#3683)
  • Make SentrySwizzle available for HybridSDKs (#3684)
  • Move headers reference out of "extern C" (#3690)

8.21.0-beta.0

Features

  • Add support for Sentry Spotlight (#3642), which is basically Sentry
    for development. Read our blog post to find out more.
  • Add field SentrySDK.detectedStartUpCrash (#3644)
  • Automatically profile app launches (#3529)
  • Use CocoaPods resource_bundles for PrivacyInfo (#3651)
  • Make tags of SentryScope public (#3650)

Improvements

  • Cache installationID async to avoid file IO on the main thread when starting the SDK (#3601)
  • Add reason for NSPrivacyAccessedAPICategoryFileTimestamp (#3626)

Fixes

  • Finish TTID span when transaction finishes (#3610)
  • Don't take screenshot and view hierarchy for app hanging (#3620)
  • Remove free_storage and storage_size from the device context (#3627), because Apple forbids sending
    information retrieved via NSFileSystemFreeSize and NSFileSystemSize off a device; see
    Apple docs.

8.20.0

Features

  • Add visionOS as device family (#3548)
  • Add VisionOS Support for Carthage (#3565)

Fixes

  • Move header reference out of "extern C" (#3538)
  • Clarify FramesTracker log message (#3570)
  • Fix rare battery breadcrumbs crash (#3582)
  • Fix synchronization issue in FramesTracker (#3571)
  • Fix SentryFileManager logs warning for .DS_Files (#3584)
  • Fix FileManager logs info instead of error when a path doesn't exist (#3594)

8.19.0

Features

  • Send debug meta for app start transactions (#3543)

Fixes

  • Fix typo in BUILD_LIBRARY_FOR_DISTRIBUTION variable in Makefile (#3488)
  • Remove dispatch queue metadata collection to fix crash (#3522)
  • Make SentryScope.useSpan non-blocking (#3568)
  • Don't override sentry-trace and baggage headers (#3540)

8.18.0

Features

  • Add frames delay to transactions and spans (#3487, #3496)
  • Add slow and frozen frames to spans (#3450, #3478)
  • Split up UIKit and App Init App Start Span (#3534)
  • Prewarmed App Start Tracing is stable (#3536)

Fixes

  • TTFD waits for next drawn frame (#3505)
  • Fix TTID/TTFD for app start transactions (#3512): TTID/TTFD spans and measurements for app start transaction now include the app start duration.
  • Crash when adding a crumb for a timezone change (#3524)
  • Fix a race condition in SentryTracer (#3523)
  • App start ends when first frame is drawn when performanceV2 is enabled (#3530)
  • Use correct rendered frames timestamp for TTID/TTFD and app start (#3531)
  • Missing transactions when not calling reportFullyDisplayed (#3477)

8.17.2

Fixes

  • Fix marking manual sessions as crashed (#3501): When turning off autoSessionTracking and manually starting and ending sessions, the SDK didn't mark sessions as crashed when sending a crash event to Sentry. This is fixed now.

8.17.1

Fixes

  • Crash when UINavigationController doesn't have rootViewController (#3455)
  • Crash when synchronizing invalid JSON breadcrumbs to SentryWatchdogTermination (#3458)
  • Check for NULL in binary image cache (#3469)
  • Threading issues in binary image cache (#3468)
  • Finish transaction for external view controllers (#3440)

8.17.0

Features

  • SwiftUI support is no longer in Beta (#3441)

8.16.1

Fixes

  • Fix inaccurate number of frames for transactions (#3439)

8.16.0

Features

  • Add screen name to app context (#3346)
  • Add cache directory option (#3369)

Fixes

  • Infinite loop when parsing MetricKit data (#3395)
  • Fix incorrect implementation in #3398 to work around a profiling crash (#3405)
  • Fix crash in SentryFramesTracker (#3424)

Improvements

  • Build XCFramework with Xcode 15 (#3415)

The XCFramework attached to GitHub releases is now built with Xcode 15.

8.15.2

Fixes

  • Crash when logging from certain profiling contexts (#3390)

8.15.1

Fixes

  • Crash when initializing SentryHub manually (#3374)

8.15.0

Features

  • Enrich error events with any underlying NSErrors reported by Cocoa APIs (#3230)
  • Add experimental visionOS support (#3328)
  • Improve OOM detection by ignoring system reboot (#3352)
  • Add thread id and name to span data (#3359)

Fixes

  • Reporting app hangs from background (#3298)
  • Thread sanitizer data race warnings in ANR tracker, network tracker and span finish (#3303)
  • Stop sending empty thread names (#3361)
  • Work around edge case with a thread info kernel call sometimes returning invalid data, leading to a crash (#3364)
  • Crashes when trace ID is externally modified or profiler fails to initialize (#3365)

8.14.2

Fixes

  • Missing mechanism.handled is not considered crash (#3353)

8.14.1

Fixes

  • SPM build failure involving "unsafe settings" (#3348)

8.14.0

Features

  • Sentry can now be used without linking UIKit; this is helpful for using the SDK in certain app extension contexts (#3175)
    Note: this is an experimental feature not yet available for with SPM.
    Warning: this breaks some SPM integrations. Use 8.14.1 if you integrate using SPM.

  • GA of MetricKit integration (#3340)

Once enabled, this feature subscribes to MetricKit's MXDiagnosticPayload data, converts it to events, and sends it to Sentry.
The MetricKit integration subscribes to MXHangDiagnostic,
MXDiskWriteExceptionDiagnostic,
and MXCPUExceptionDiagnostic.

8.13.1

Fixes

  • Always start SDK on the main thread (#3291)
  • App hang with race condition for tick counter (#3290)
  • Remove "duplicate library" warning (#3312)
  • Fix multiple issues in Reachability (#3338)
  • Remove unnecessary build settings (#3325)
  • Crash in SentryTracer when cancelling timer (#3333)

8.13.0

Fixes

  • Remove sync call to main thread from SentryUIDeviceWrapper (#3295)

Features

  • Record changes to network connectivity in breadcrumbs (#3232)
  • Add Sampling Decision to Trace Envelope Header (#3286)

8.12.0

Fixes

  • Remove warning about non-portable path to file "SentryDsn.h" (#3270)
  • Privacy manifest collection purposes type (#3276)
  • Fix how profiles were identified in the backend for grouping and issue correlation purposes (#3282)
  • Ensure GPU frame data is always sent with profiles even if enableAutoPerformanceTracing is NO (#3273)
  • Gather metric readings fully covering the duration of a profile (#3272)
  • Remove spammy logs (#3284)

Features

  • Rename "http.method" to "http.request.method" for network Spans (#3268)

8.11.0

Features

  • Distributed tracing without performance (#3196)
  • Report database backing store information for Core Data (#3231)
  • Add "data use" in privacy manifests (#3259)
  • Add required reason API (#3206)

Fixes

  • Report correct units (nanojoules) for profiling energy metrics (#3262)

8.10.0

Features

  • Record energy usage estimates for profiling (#3217)

Fixes

  • Remove a noisy NSLog (#3227)
  • WatchOS build for Xcode 15 (#3204)

8.9.6

Fixed

  • Fix CPU usage collection for upcoming visualization in profiling flamecharts (#3214)

8.9.5

Hybrid SDK support

  • Allow profiling from hybrid SDKs (#3194)

8.9.4

Fixes

  • Remove linker settings from Package.swift (#3188)
  • Free memory returned by backtrace_symbols() in debug builds (#3202)

8.9.3

Fixes

  • Reclaim memory used by profiler when transactions are discarded (#3154)
  • Crashed session not being reported as crashed (#3183)

8.9.2

Important Note

Do not use this version if you use Release Health. It introduces a bug where crashed Sessions would not be reported correctly. This has been fixed in version 8.9.3.

Improvements

  • Reduced macOS SDK footprint by 2% (#3157) with similar changes for tvOS and watchOS (#3158, #3159, #3161)

Fixes

  • Fix a crash in SentryCoreDataTracker for nil error params (#3152)

8.9.1

Fixes

  • Fix potential unbounded memory growth when starting profiled transactions from non-main contexts (#3135)

8.9.0

Features

  • Symbolicate locally only when debug is enabled (#3079)

This change considerably speeds up retrieving stacktraces, which the SDK uses for captureMessage, captureError and also for reporting file IO or DB operation on the main thread.

  • Sanitize HTTP info from breadcrumbs, spans and events (#3094)

Breaking change

  • Renamed enableTimeToFullDisplay to enableTimeToFullDisplayTracing (#3106)
    • This is an experimental feature and may change at any time without a major revision.

8.9.0-beta.1

Features

  • Symbolicate locally only when debug is enabled (#3079)
  • Sanitize HTTP info from breadcrumbs, spans and events (#3094)

8.8.0

Features

  • Experimental support for Swift Async stacktraces (#3051)
  • Cache binary images to be used for crashes (#2939)

Fixes

  • Fix a data race for SentryId.empty (#3072)
  • Duplicated HTTP breadcrumbs (#3058)
  • Expose SentryPrivate and SentrySwiftUI schemes for cartahge clients that have --no-use-binaries option (#3071)
  • Convert last remaining sprintf call to snprintf (#3077)
  • Fix a crash when serializing profiling data (#3092)

8.7.4

Fixes

  • Changed Trace serialized value of sampled from string to boolean (#3067)

Breaking Changes

  • Removed nameForSentrySampleDecision which shouldn't have been public (#3067)

8.7.3

Fixes

  • Convert one of the two remaining usages of sprintf to snprintf (#2866)
  • Fix use-after-free ASAN warning (#3042)
  • Fix memory leaks in the profiler (#3055, #3061)

8.7.2

Fixed

  • Fix crashes in profiling serialization race condition (#3018, #3035)
  • Fix a crash for user interaction transactions (#3036)

8.7.1

Fixes

  • Add sent_at to envelope header (#2859)
  • Fix import of User & Breadcrumb (#3017)

8.7.0

Features

  • Allow starting the SDK with an initial scope (#2982)
  • Swift Error Names (#2960)
enum LoginError: Error {
    case wrongUser(id: String)
    case wrongPassword
}

SentrySDK.capture(error: LoginError.wrongUser("12345678"))

For the Swift error above Sentry displays:

sentry-cocoa SDK Title Description
Since 8.7.0 LoginError wrongUser(id: "12345678") (Code: 1)
Before 8.7.0 LoginError Code: 1

Customized error descriptions have precedence over this feature.
This change has no impact on grouping of the issues in Sentry.

Fixes

  • Propagate span when copying scope (#2952)
  • Remove "/" from crash report file name (#3005)

8.6.0

Features

  • Send trace origin (#2957)

Trace origin indicates what created a trace or a span. Not all transactions and spans contain enough information to tell whether the user or what precisely in the SDK created it. Origin solves this problem. The SDK now sends origin for transactions and spans.

  • Create User and Breadcrumb from map (#2820)

Fixes

  • Improved performance serializing profiling data (#2863)
  • Possible crash in Core Data tracking (#2865)
  • Ensure the current GPU frame rate is always reported for concurrent transaction profiling metrics (#2929)
  • Move profiler metric collection to a background queue (#2956)

Removed

  • Remove experimental stitchAsyncCode from SentryOptions (#2973)

The stitchAsyncCode experimental option has been removed from SentryOptions as its behavior was unpredictable and sometimes resulted in unexpected errors. We plan to add it back once we fix it, but we don't have an ETA for it.

8.5.0

Features

  • feat: Core data operation in the main thread (#2879)

Fixes

  • Crash when serializing invalid objects (#2858)
  • Don't send screenshots with either width or height of 0 (#2876)
  • GPU frame alignment with stack traces in profiles (#2856)

8.4.0

Features

  • Time to initial and full display (#2724)
  • Add time-to-initial-display and time-to-full-display measurements to ViewController transactions (#2843)
  • Add name and geo to User (#2710)

Fixes

  • Correctly track and send GPU frame render data in profiles (#2823)
  • Xcode 14.3 compiling issue regarding functions declaration with no prototype (#2852)

8.3.3

Fixes

  • View hierarchy not sent for crashes (#2781)
  • Crash in Tracer for idle timeout (#2834)

8.3.2

Features

  • Add CPU core count in device context (#2814)

Fixes

  • Updating AppHang state on main thread (#2793)
  • App Hang report crashes with too many threads (#2811)

Improvements

  • Remove not needed locks in SentryUser (#2809)

@github-actions github-actions bot force-pushed the deps/flutter/scripts/update-cocoa.sh/8.35.0 branch from a5a8783 to cf6c943 Compare August 21, 2024 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant