Skip to content

chore(deps): update dependency getsentry/sentry-cocoa to v9.12.1#121

Merged
philprime merged 2 commits into
mainfrom
renovate/getsentry-sentry-cocoa-9.x
May 7, 2026
Merged

chore(deps): update dependency getsentry/sentry-cocoa to v9.12.1#121
philprime merged 2 commits into
mainfrom
renovate/getsentry-sentry-cocoa-9.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 7, 2026

This PR contains the following updates:

Package Update Change
getsentry/sentry-cocoa minor 9.8.09.12.1

Release Notes

getsentry/sentry-cocoa (getsentry/sentry-cocoa)

v9.12.1

Compare Source

Fixes
  • Prevent memory strings in stack overflow crash reports (#​7841)
  • Report crashed thread for null function calls (#​7866)
Fixes

v9.12.0

Compare Source

[!WARNING]
This release promotes Metrics out of experimental and removes options.experimental.enableMetrics and options.experimental.beforeSendMetric. If you set either of these, your app will fail to compile after upgrading.
Migrate to options.enableMetrics and options.beforeSendMetric (top-level on Options) — the defaults and behavior are unchanged.

[!WARNING]
Session Replay now runs on iOS 26 with Liquid Glass. Previously, the SDK auto-disabled Session Replay on iOS 26 builds that adopted Liquid Glass (built with Xcode 26+ and UIDesignRequiresCompatibility not set). Now that the underlying redaction issues have been addressed, replays will be captured in those environments — verify your masking still meets your privacy requirements.
If you want to keep Session Replay disabled on Liquid Glass builds, you will need to gate the sample rates yourself. For reference, see how the SDK used to perform the check: https://github.com/getsentry/sentry-cocoa/blob/adef457c1344e5efda4b74a1f33913d4d49ef7e0/Sources/Swift/Integrations/SessionReplay/SentrySessionReplayEnvironmentChecker.swift

Example — disable Session Replay when Liquid Glass is active:

import Sentry

SentrySDK.start { options in
    options.dsn = "___PUBLIC_DSN___"

    var sessionRate: Float = 0.2
    var errorRate: Float = 1.0

    if #available(iOS 26.0, *) {
        let compatibilityMode = Bundle.main.object(forInfoDictionaryKey: "UIDesignRequiresCompatibility") as? Bool ?? false
        let xcodeVersion = Int(Bundle.main.object(forInfoDictionaryKey: "DTXcode") as? String ?? "") ?? 0
        let builtWithXcode26OrLater = xcodeVersion >= 2600
        let liquidGlassActive = builtWithXcode26OrLater && !compatibilityMode
        if liquidGlassActive {
            sessionRate = 0
            errorRate = 0
        }
    }

    options.sessionReplay.sessionSampleRate = sessionRate
    options.sessionReplay.onErrorSampleRate = errorRate
}
Improvements
  • Remove enableSessionReplayInUnreliableEnvironment experimental option and the environment checker that temporarily disabled Session Replay on iOS 26 (#​7831)
Features
Fixes
  • Fix infinite loop in sentrycrashfu_readBytesFromFD when read() returns EOF on a truncated file (#​7853)
  • Disable app hang and watchdog termination tracking in Notification Service Extensions (#​7818)
  • Fix JSON encoding of infinite numeric values in crash reports (#​7802)
  • Fix race condition in SentryFramesTracker listeners causing EXC_BAD_ACCESS in NSConcreteHashTable removeItem: when a listener is deallocated on a background thread (#​7839)
  • Moved BinaryImageCache initialization to a background thread to reduce blocking on dyld reader locks on the main thread (#​7823)

v9.11.0

Compare Source

Features
  • Track low power mode in device context (#​7777)
Fixes
  • Added Package@swift-6.2.swift to avoid issues with unsafe build flags on SPM > 6.2 (#​7778)
  • Detect development builds via provisioning profile and debugger attachment (#​7702)
  • Keep replayType as buffer for Session Replay triggered by an error (#​7804)
  • Fix race condition in scope observer notifications causing EXC_BAD_ACCESS during cold launch (#​7807)
  • Unsubscribe to system event during background to avoid reporting breadcrumbs with wrong timestamps on return to foreground (#​7702)
  • Fix SwiftUI's images and text redaction in iOS 26 (#​7781)
  • Add foreground state to app context in app hang events (#​7801)

v9.10.0

Compare Source

Features
  • Prevent cross-organization trace continuation (#​7705)
    • By default, the SDK now extracts the organization ID from the DSN (e.g. o123.ingest.sentry.io) and compares it with the sentry-org_id value in incoming baggage headers. When the two differ, the SDK starts a fresh trace instead of continuing the foreign one. This guards against accidentally linking traces across organizations.
    • New option strictTraceContinuation (default false): when enabled, both the SDK's org ID and the incoming baggage org ID must be present and match for a trace to be continued. Traces with a missing org ID on either side are rejected.
    • New option orgId: allows explicitly setting the organization ID for self-hosted and Relay setups where it cannot be extracted from the DSN.
Fixes
  • Scope clipOut masking to active clip bounds (#​7780)
  • Fix AOT interop with managed .NET runtimes (#​6193)

v9.9.0

Compare Source

Features
  • Add attachAllThreads option to SentryOptions to attach full stack traces for all threads to captured events (#​7764)
  • Add per-call attachAllThreads parameter to capture(event:), capture(error:), capture(exception:), and capture(message:) to override the global option for specific calls (#​7767)
Improvements
  • Align app lifecycle breadcrumb state values with in_foreground/is_active app context (#​7703)
    • Breaking: Update any beforeBreadcrumb filters or dashboard queries matching on the old state values:
      • iOS/tvOS/visionOS
        • didBecomeActive state changed from foreground to active
      • macOS
        • didBecomeActive state changed from foreground to active
        • willResignActive state changed from background to inactive
Fixes
  • Copy incoming tags dict to prevent crash (#​7763)
  • Per-instance unmaskView propagates to child views (#​7733)
    • Warning: If you relied on children of an unmasked view still being individually redacted, verify your Session Replay redaction after updating. An explicit maskView(_:) on a descendant still takes precedence.
  • Move SessionTracker file I/O off the main thread (#​7704)

Configuration

📅 Schedule: (in timezone Europe/Vienna)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from philprime as a code owner May 7, 2026 11:22
The 9.12.0 release promoted Metrics out of experimental and removed
the unreliable-environment Session Replay flag. Move enableMetrics to
the top-level Options and drop enableSessionReplayInUnreliableEnvironment
so the app compiles against the bumped SDK version.
@philprime philprime enabled auto-merge (squash) May 7, 2026 18:20
@sentry
Copy link
Copy Markdown

sentry Bot commented May 7, 2026

📲 Install Builds

iOS

🔗 App Name App ID Version Configuration
Flinky com.techprimate.Flinky 1.1.4 (2) --

⚙️ flinky Build Distribution Settings

@philprime philprime disabled auto-merge May 7, 2026 18:59
@philprime philprime merged commit 607b991 into main May 7, 2026
5 of 6 checks passed
@philprime philprime deleted the renovate/getsentry-sentry-cocoa-9.x branch May 7, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant