Skip to content

Bump github.com/getsentry/sentry-cocoa from 9.32.0 to 9.35.0 - #160

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/swift/github.com/getsentry/sentry-cocoa-9.35.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/swift/github.com/getsentry/sentry-cocoa-9.35.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 24, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/getsentry/sentry-cocoa from 9.32.0 to 9.35.0.

Release notes

Sourced from github.com/getsentry/sentry-cocoa's releases.

9.35.0

Features

  • Add options.webViewTracing to connect the traces of every WKWebView automatically, keeping the trace current across page loads (#9538)
    • Expose options.webViewTracing through the SentryObjC SDK as SentryObjCOptions.webViewTracing (#9539)
    • See the WebView docs for details.
  • Add the launchTimeToFirstDraw, launchResumeTime, launchOptimizedTimeToFirstDraw, launchExtended, responsivenessHangTime and cellularConditionTime metric reports, which send MetricKit histograms as distributions with one value per sample, up to about 100 values per histogram (#9493)
  • Report the low power mode and TestFlight state that MetricKit records with a diagnostic of a previous app run as device.low_power_mode and an app.build_type of test, and take app.app_identifier from the diagnostic instead of the running app (#9523)

Fixes

  • Read attachAllThreads, enableDataSwizzling and enableStandaloneAppStartTracing from the options dictionary that hybrid SDKs pass to the native SDK (#9586)
  • Preserve a fallback stack trace and the crashing thread when the experimental C++ exception monitor (V2) misses a throw hook (#9612)

Improvements

  • Match Session Replay network detail allow and deny URL patterns once per URL session task and reuse the decision for later state changes and response capture, instead of matching on every call (#9316)

9.34.0

Features

  • Add opt-in options.enableScopePersistence to retain explicitly supplied user information across app launches. Storage and restoration are asynchronous, and independent of watchdog tracking and automatic user collection settings (#9470)
  • Give every run of the app an ID and store it in crash reports and the app state, so the SDK can match events from the crash handler, the watchdog termination integration and MetricKit that describe the same run. The ID is only used on the device and is not sent to Sentry (#9578)

Fixes

  • Prevent a crash in file I/O tracing when NSData is read from a nil URL, for example by MessageUI when sharing to Mail (#9535)
  • Skip stored crash reports with a top-level JSON array instead of crashing during SDK startup (#9590)

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)
    • See the WebView docs for details.

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)

... (truncated)

Changelog

Sourced from github.com/getsentry/sentry-cocoa's changelog.

Changelog

Unreleased

[!TIP] Try the new experimental option options.experimental.enableUIUpdateLinkFramesTracking. On iOS 18, tvOS 18 and visionOS 2 and later, it tracks frames without waking up your idle app for every frame, which reduces the impact of the SDK on the performance of your app. The option is disabled by default, so set it to true to opt in.

Features

  • Add experimental option options.experimental.enableUIUpdateLinkFramesTracking that tracks slow and frozen frames, frames delay, and time to display on iOS 18, tvOS 18 and visionOS 2 and later with the main run loop and a UIUpdateLink instead of a CADisplayLink, so the SDK no longer wakes up an idle app for every frame (#9541)
    • The option is disabled by default.
  • Spell the run ID into the call stack of a parked thread while MetricKit diagnostics are enabled, so the SDK can match a MetricKit crash, hang or memory diagnostic to the run it describes. The thread is named io.sentry.threadcrumb and stays idle; the run ID stays on the device (#9582)
  • Add SentrySDK.replay.pauseTouchTracking() and SentrySDK.replay.resumeTouchTracking() to stop recording touch positions in Session Replay, for example while a PIN pad is on screen, while screenshots continue to be captured. The pause is independent of pause() and resume(), and also applies to replays started later in the same process (#9587)
  • Stop sending a MetricKit crash diagnostic for a crash the crash handler already reported in the same run, so enabling .crash in enabledDiagnosticReports no longer shows the same crash twice (#9584)

Fixes

  • Fix the build error expected identifier; 'class' is a keyword in Objective-C++ when importing the SDK through SPM into a target with Swift C++ interoperability enabled (#9669)
  • Skip capturing a stack trace for file I/O and Core Data operations on the main thread when the transaction on the scope has already finished and no span can be created (#9697)
  • Preserve JSON null values in event extras, breadcrumb data, and other sanitized dictionaries instead of converting them to the string "<null>" (#9729)
  • Restore the public headers SentryHttpStatusCodeRange.h, SentryReplayApi.h, SentrySamplingContext.h, SentryTransaction.h, SentryTransactionContext.h and SentryScope.h as empty headers, so importing them by name, for example #import <Sentry/SentryScope.h>, compiles again. The first four were removed in 9.31.0 and 9.32.0 when the types moved to Swift (#9721)

Internal

  • Expose SentrySDK.internal.profiling.currentProfilerId to hybrid SDKs so they can link their spans to Cocoa profiles (#9712)

9.35.0

Features

  • Add options.webViewTracing to connect the traces of every WKWebView automatically, keeping the trace current across page loads (#9538)
    • Expose options.webViewTracing through the SentryObjC SDK as SentryObjCOptions.webViewTracing (#9539)
    • See the WebView docs for details.
  • Add the launchTimeToFirstDraw, launchResumeTime, launchOptimizedTimeToFirstDraw, launchExtended, responsivenessHangTime and cellularConditionTime metric reports, which send MetricKit histograms as distributions with one value per sample, up to about 100 values per histogram (#9493)
  • Report the low power mode and TestFlight state that MetricKit records with a diagnostic of a previous app run as device.low_power_mode and an app.build_type of test, and take app.app_identifier from the diagnostic instead of the running app (#9523)
  • Add SentryLogHandler(label:logLevel:) to the SentrySwiftLog integration, which records the swift-log logger label as the logger.name attribute on every log (#9636)

Fixes

  • Reduce UIViewController tracing overhead with incremental weak-map cleanup and by skipping child-span searches when the root tracer is active (#9551)
  • Read attachAllThreads, enableDataSwizzling and enableStandaloneAppStartTracing from the options dictionary that hybrid SDKs pass to the native SDK (#9586)
  • Preserve a fallback stack trace and the crashing thread when the experimental C++ exception monitor (V2) misses a throw hook (#9612)
  • Map span envelope items that hybrid SDKs send, such as streamed spans from sentry-dart, to the span data category, so rate limits and client reports for them use span instead of default (#9642)

Improvements

  • Match Session Replay network detail allow and deny URL patterns once per URL session task and reuse the decision for later state changes and response capture, instead of matching on every call (#9316)

9.34.0

... (truncated)

Commits
  • 485e062 release: 9.35.0
  • 8be95a2 ci: Remove visionOS 27 unit tests from Test (#9646)
  • 7f143c4 ci: Remove macOS 14 unit test jobs (#9640)
  • 79763e0 perf(session-replay): cache network detail URL matching decisions (#9316)
  • 60003f7 docs: Fix SPM imports in README snippets (#9635)
  • 041d03c fix: Capture stacks when C++ throw hooks are missed (#9612)
  • 69d8c7b chore(deps): bump mikepenz/action-junit-report from 6.7.0 to 6.7.1 (#9621)
  • e72329f chore(deps): bump github/codeql-action/init (#9620)
  • 16f273d chore(deps): bump ruby/setup-ruby from 1.336.0 to 1.338.0 (#9623)
  • 13dc46e chore(deps): bump dprint/check from 2.5 to 2.6 (#9619)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/getsentry/sentry-cocoa](https://github.com/getsentry/sentry-cocoa) from 9.32.0 to 9.35.0.
- [Release notes](https://github.com/getsentry/sentry-cocoa/releases)
- [Changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md)
- [Commits](getsentry/sentry-cocoa@9.32.0...485e062)

---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-cocoa
  dependency-version: 9.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file swift_package_manager Pull requests that update swift_package_manager code labels Nov 24, 2026

This branch has not been deployed

No deployments
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 swift_package_manager Pull requests that update swift_package_manager code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants