Skip to content

chore(deps): update Cocoa SDK to v9.12.0#6073

Merged
antonis merged 1 commit intomainfrom
deps/scripts/update-cocoa.sh
Apr 30, 2026
Merged

chore(deps): update Cocoa SDK to v9.12.0#6073
antonis merged 1 commit intomainfrom
deps/scripts/update-cocoa.sh

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Bumps scripts/update-cocoa.sh from 9.11.0 to 9.12.0.

Auto-generated by a dependency updater.

Changelog

9.12.0

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

  • Make feature Metrics generally available, moving experimental options to top-level options (#7843)
  • Add Session Replay network details capture, including request/response headers and bodies extraction (#7580, #7582, #7584, #7585, #7588, #7590, #7854)

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)

@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Apr 30, 2026
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Apr 30, 2026
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch from fb0a63f to fd79ce7 Compare April 30, 2026 09:05
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented Apr 30, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore(deps): update Cocoa SDK to v9.12.0 by github-actions[bot] in #6073
  • chore(deps): update JavaScript SDK to v10.51.0 by github-actions in #6071
  • feat(core): Support SENTRY_RELEASE and SENTRY_DIST env vars in build scripts by antonis in #6070
  • test(ios): Add unit tests for RNSentryIsPathUnderAllowedRoots by antonis in #6068
  • test(profiling): pin Android RNSentryStart wiring of _experiments.profilingOptions by antonis in #6060
  • refactor(ios): remove dead SentrySDKWrapper init surface by antonis in #6059
  • chore(deps): update Bundler Plugins to v5.2.1 by github-actions in #6067
  • chore(deps): update CLI to v3.4.1 by github-actions in #6066
  • fix(ci): Grant statuses: write to changelog-preview caller by antonis in #6063
  • fix(android): Use safeExtGet for compileSdkVersion in expo-handler by lucas-zimerman in #6061
  • fix(core): Restrict getDataFromUri native bridge methods by antonis in #6045
  • chore(deps): bump postcss to ^8.5.10 by antonis in #6058
  • ref: Remove enableSessionReplayInUnreliableEnvironment use by itaybre in #6046
  • fix(core): Harden metro dev helpers by antonis in #6044
  • fix(android): Mask auth token in sentry.gradle upload-task log by antonis in #6057
  • fix(tracing): Discard invalid navigation transactions via event processor by alwx in #6051
  • ci: Restore changelog-preview workflow with hardened craft 2.26.2 by antonis in #6056
  • chore(deps): update Maestro to v2.5.0 by github-actions in #6053
  • chore(deps): bump getsentry/craft from 2.25.4 to 2.26.2 by dependabot in #6050
  • chore: Back-merge release/8.9.1 into main by antonis in #6055
  • feat(core): Add rage tap detection with ui.frustration breadcrumbs by alwx in #5992
  • chore(deps): bump fast-xml-parser to ^5.7.0 by antonis in #6043
  • chore(deps): bump @xmldom/xmldom to 0.8.13/0.9.10 by antonis in #6042
  • chore(deps-dev): Remove unused uuid devDependency by antonis in #6041

Plus 4 more


🤖 This preview updates automatically when you update the PR.

@antonis antonis added the ready-to-merge Triggers the full CI test suite label Apr 30, 2026
@sentry
Copy link
Copy Markdown

sentry Bot commented Apr 30, 2026

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
Sentry RN io.sentry.reactnative.sample 8.9.2 (85) Release

⚙️ sentry-react-native Build Distribution Settings

Copy link
Copy Markdown
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link
Copy Markdown
Contributor Author

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1220.53 ms 1227.33 ms 6.79 ms
Size 3.38 MiB 4.80 MiB 1.42 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
7ac3378+dirty 1213.37 ms 1218.15 ms 4.78 ms
4b87b12+dirty 1212.90 ms 1222.09 ms 9.19 ms
890d145+dirty 1223.59 ms 1231.37 ms 7.78 ms
0d9949d+dirty 1211.38 ms 1219.67 ms 8.29 ms
04207c4+dirty 1191.27 ms 1189.78 ms -1.48 ms
3ce5254+dirty 1219.93 ms 1221.90 ms 1.96 ms
4953e94+dirty 1212.06 ms 1214.83 ms 2.77 ms
2c735cc+dirty 1229.67 ms 1221.50 ms -8.17 ms
a50b33d+dirty 1197.74 ms 1197.17 ms -0.57 ms
df5d108+dirty 1225.90 ms 1220.14 ms -5.76 ms

App size

Revision Plain With Sentry Diff
7ac3378+dirty 3.38 MiB 4.76 MiB 1.38 MiB
4b87b12+dirty 3.38 MiB 4.77 MiB 1.39 MiB
890d145+dirty 3.38 MiB 4.77 MiB 1.38 MiB
0d9949d+dirty 3.38 MiB 4.76 MiB 1.38 MiB
04207c4+dirty 3.38 MiB 4.76 MiB 1.38 MiB
3ce5254+dirty 3.38 MiB 4.76 MiB 1.38 MiB
4953e94+dirty 3.38 MiB 4.73 MiB 1.35 MiB
2c735cc+dirty 3.38 MiB 4.74 MiB 1.35 MiB
a50b33d+dirty 3.38 MiB 4.73 MiB 1.35 MiB
df5d108+dirty 3.38 MiB 4.73 MiB 1.35 MiB

Previous results on branch: deps/scripts/update-cocoa.sh

Startup times

Revision Plain With Sentry Diff
08c933b+dirty 1224.53 ms 1226.59 ms 2.06 ms

App size

Revision Plain With Sentry Diff
08c933b+dirty 3.38 MiB 4.78 MiB 1.40 MiB

@github-actions
Copy link
Copy Markdown
Contributor Author

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1215.68 ms 1219.22 ms 3.54 ms
Size 3.38 MiB 4.80 MiB 1.42 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
7ac3378+dirty 1202.35 ms 1198.31 ms -4.04 ms
4b87b12+dirty 1199.49 ms 1199.78 ms 0.29 ms
890d145+dirty 1212.98 ms 1220.10 ms 7.12 ms
0d9949d+dirty 1203.94 ms 1202.27 ms -1.67 ms
04207c4+dirty 1228.55 ms 1226.04 ms -2.51 ms
3ce5254+dirty 1217.70 ms 1224.69 ms 6.99 ms
4953e94+dirty 1217.41 ms 1223.53 ms 6.12 ms
2c735cc+dirty 1223.33 ms 1224.38 ms 1.04 ms
a50b33d+dirty 1207.11 ms 1212.10 ms 5.00 ms
df5d108+dirty 1207.34 ms 1210.50 ms 3.16 ms

App size

Revision Plain With Sentry Diff
7ac3378+dirty 3.38 MiB 4.76 MiB 1.38 MiB
4b87b12+dirty 3.38 MiB 4.77 MiB 1.39 MiB
890d145+dirty 3.38 MiB 4.77 MiB 1.38 MiB
0d9949d+dirty 3.38 MiB 4.76 MiB 1.38 MiB
04207c4+dirty 3.38 MiB 4.76 MiB 1.38 MiB
3ce5254+dirty 3.38 MiB 4.76 MiB 1.38 MiB
4953e94+dirty 3.38 MiB 4.73 MiB 1.35 MiB
2c735cc+dirty 3.38 MiB 4.74 MiB 1.35 MiB
a50b33d+dirty 3.38 MiB 4.73 MiB 1.35 MiB
df5d108+dirty 3.38 MiB 4.73 MiB 1.35 MiB

Previous results on branch: deps/scripts/update-cocoa.sh

Startup times

Revision Plain With Sentry Diff
08c933b+dirty 1204.21 ms 1217.09 ms 12.88 ms

App size

Revision Plain With Sentry Diff
08c933b+dirty 3.38 MiB 4.78 MiB 1.40 MiB

@antonis antonis merged commit 337411a into main Apr 30, 2026
151 of 179 checks passed
@antonis antonis deleted the deps/scripts/update-cocoa.sh branch April 30, 2026 10:59
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 ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants