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.22.2 #141

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.22.2.

Auto-generated by a dependency updater.

Changelog

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.22.2 branch from 9e50622 to 08e2e89 Compare March 20, 2024 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant