Skip to content

chore(deps): update Cocoa SDK to v9.33.0 - #5880

Merged
ric-oliv merged 2 commits into
mainfrom
deps/modules/sentry-cocoa
Nov 5, 2026
Merged

ric-oliv merged 2 commits into
mainfrom
deps/modules/sentry-cocoa

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Bumps modules/sentry-cocoa from 9.32.0 to 9.33.0.

Auto-generated by a dependency updater.

Changelog

9.33.0

Breaking Changes

  • Add the animationTotalHitchTime, animationTotalAnimationTime, metalFramesPerSecond, metalFrameCount and metalActiveDrawingDuration cases to the experimental SentryMetricKit.MetricReport enum, so exhaustive switch statements over it need to handle them. On iOS and macOS 27 and later, animationScrollHitchTimeRatio is no longer sent because MetricKit only reports the hitch time of all animations (#9476)

Features

  • Expose options.experimental.metrickit.enabledMetricReports through the SentryObjC SDK as the SentryObjCMetricKitMetricReport bitmask and through the enabledMetricReports key of the metrickit options dictionary, which also accepts "all" (#9490)
  • Receive MetricKit metrics through MetricManager on iOS and macOS 27 and later with the same names, types and units as on earlier OS versions, and add the animationTotalHitchTime, animationTotalAnimationTime, metalFramesPerSecond, metalFrameCount and metalActiveDrawingDuration metric reports that only MetricManager provides, also available through the SentryObjCMetricKitMetricReport bitmask (#9476)
  • Connect traces of web content in a WKWebView with the app's trace. Call SentryWebViewTracing.addTracePropagation(to:options:) with a WKWebView, WKWebViewConfiguration, WKUserContentController, or SwiftUI WebPage.Configuration to inject the current trace as sentry-trace and baggage meta tags before page scripts run, so sentry/browser in the page continues the trace on pageload. Only pages on the hosts in SentryWebViewTracingOptions.allowedHosts receive the trace (#9474)
  • Expose WebView trace propagation through the SentryObjC SDK as SentryObjCWebViewTracing and SentryObjCWebViewTracingOptions (#9488)

Fixes

  • Report the tvOS OS name as tvOS in profiles instead of occasionally reporting Apple TVOS (#9497)

  • Fix trace-lifecycle profiling getting stuck after backgrounding when a root transaction remains active or is abandoned. Parented transactions no longer start or keep the profiler running (#9481)

  • Prevent sampled backtraces from being dropped when continuous profiling starts a new chunk (#9485)

  • Prevent stale profiling callbacks from affecting restarted profilers or routing queued chunks to a replacement SDK client (#9491)

  • Prevent stale trace-profiler timers from stopping replacement profiles or shortening their timeout (#9492)

  • Fix app start transactions from hybrid SDKs such as React Native being dropped for prewarmed app starts. SentrySDK.internal.appStart.measurementWithSpans added the Pre Runtime Init and Runtime init to Pre Main initializers spans only for prewarmed app starts, where Pre Runtime Init ended before it started, and left them out of all other app starts (#9473)

  • Prevent SentryCrash from deadlocking while handling uncaught C++ exceptions, and keep concurrent throws from overwriting another thread's captured stack trace (#9531)

  • Count every batched log and metric in client reports when an envelope is rate limited, dropped from the cache, or fails to send, instead of counting one per envelope item (#9530)

  • Preserve profiling metrics across chunk rollover and avoid recording a finished trace's metrics on its replacement profiler (#9500)

  • Synchronize profiling energy-counter readings and prevent invalid energy spikes when cumulative counters decrease (#9517)

  • Receive MetricKit diagnostics through MetricManager on iOS, macOS and visionOS 27 and later. Diagnostics produce the same events as on earlier OS versions. The raw report attached by enableMetricKitRawPayload is named DiagnosticReport.json on these versions (#9462)

  • Capture MetricKit memory exception diagnostics on iOS 27 and later when options.experimental.metrickit.enabledDiagnosticReports contains .memoryException (#9465)

Deprecations

  • Deprecate the public C error helpers (NSErrorFromSentryError, NSErrorFromSentryErrorWithUnderlyingError, NSErrorFromSentryErrorWithException, NSErrorFromSentryErrorWithKernelError, and SentryErrorDomain), span-status names (nameForSentrySpanStatus and the kSentrySpanStatusName* constants), and the header constants SENTRY_BAGGAGE_HEADER and SENTRY_TRACE_HEADER. Use SentryError.nsError(description:), SentryError.domain, SentrySpanStatus.name, Baggage.httpHeaderField, and TraceHeader.httpHeaderField. SentryObjC users can use [SentryObjCError nsErrorWithCode:description:], [SentryObjCSpanStatusName nameForStatus:], SentryObjCBaggage.httpHeaderField, and SentryObjCTraceHeader.httpHeaderField. SENTRY_TRACE_TYPE, defaultMaxBreadcrumbs, kSentryTrueString, and kSentryFalseString are deprecated with no replacement. These symbols will be removed in a future major version. The kSentryError* and kSentrySpanStatus* enum cases are not deprecated. (#9502)

@github-actions github-actions Bot added the Dependencies Pull requests that update a dependency file label Nov 5, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/modules/sentry-cocoa branch from 85c56b7 to 78b2cdd Compare November 5, 2026 03:01
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 5, 2026
@codecov

codecov Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.56%. Comparing base (a9b0062) to head (2ddfe31).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5880      +/-   ##
==========================================
- Coverage   76.57%   76.56%   -0.02%     
==========================================
  Files         528      528              
  Lines       19624    19624              
  Branches     3873     3873              
==========================================
- Hits        15028    15026       -2     
- Misses       3711     3713       +2     
  Partials      885      885              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Objective Sharpie output only, no patch script change: the static httpHeaderField on SentryObjCTraceHeader, the SentryObjCErrorCode and SentryObjCMetricKitMetricReport enums, and MemoryException on SentryObjCMetricKitDiagnosticReport. The new SentryObjCWebViewTracing types are dropped by KeepInterfaces; their header leaves a using WebKit behind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ric-oliv
ric-oliv merged commit 7ccb1a4 into main Nov 5, 2026
58 checks passed
@ric-oliv
ric-oliv deleted the deps/modules/sentry-cocoa branch November 5, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Pull requests that update a dependency file risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants