Skip to content

chore(deps): update Cocoa SDK to v9.26.1 - #6623

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
deps/scripts/update-cocoa.sh
Draft

chore(deps): update Cocoa SDK to v9.26.1#6623
github-actions[bot] wants to merge 1 commit into
mainfrom
deps/scripts/update-cocoa.sh

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Bumps scripts/update-cocoa.sh from 9.24.0 to 9.26.1.

Auto-generated by a dependency updater.

Changelog

9.26.1

Fixes

  • Prevent duplicate automatic HTTP spans and breadcrumbs for URLSession task wrappers (#8846)
  • Prevent breadcrumb persistence for watchdog termination events from blocking the calling thread (#8653)
  • Fix data races when reading and updating network tracker feature flags (#8832)
  • Avoid lossy JPEG compression for user feedback screenshot fallbacks from non-previewable formats (#8876)

9.26.0

Warning

The 3rd-party integration packages (SentryCocoaLumberjack, SentryPulse, SentrySwiftLog, SentrySwiftyBeaver) now require Swift 6.1+ to support SPM package traits. Users on older Swift toolchains should pin to an earlier release of these packages.

Features

  • Promote enableStandaloneAppStartTracing from options.experimental to a top-level option on Options (#8715)
  • Add SentryFromBinary (default) and SentryFromSource SPM package traits to 3rd-party integrations, allowing users to choose between precompiled xcframeworks and building from source. Requires Swift 6.1+ (#8795)
  • Add experimental option enableUIViewControllerInitSwizzling that defers UIViewController swizzling to first instantiation instead of eagerly discovering and swizzling all subclasses at SDK start. This avoids realizing available-gated UIViewController subclasses on OS versions below their gate, which crashes apps on start (#8687).
  • Add screenshot picker to feedback (#8655)
    • Enable it with form.enableScreenshot = true in the configureForm callback.
  • Expose transaction as a public event type (#8745)

Improvements

  • Session Replay keeps captured frames in memory for live video encode while still writing PNGs to disk for crash durability. Encode prefers the in-memory image and only falls back to disk for frames recovered after a crash, avoiding a PNG readback on the streaming hot path. (#8636)
  • Remove the per-frame render loop from the Session Replay masking preview. (#8730)

Fixes

  • Fix misleading duplicate SDK detection message: "same binary" → "same address space" (#8710)
  • Fix a race caused by mutating URLSessionTask.currentRequest during trace header propagation (#8650)
  • Prevent Session Replay network-detail breadcrumbs from blocking URLSession cancellation on the task monitor (#8497)
  • Fix Session Replay adaptive capture backoff pinning at the maximum interval due to mask compositing being included in the measured capture duration, which could produce single-frame segments that appear stuck on one screen (#8740)

Internal

  • Add internal hybrid SDK APIs to serialize native events and retrieve scope contexts for .NET event processing (#8708)

9.25.0

Warning

This release raises the minimum deployment targets to macOS 12 and watchOS 9. Apps that support older OS versions must use an earlier Sentry Cocoa release.

  • Bump the minimum deployment targets to macOS 12 and watchOS 9 because Xcode 27 no longer supports earlier versions. This lets the SDK adopt Xcode 27 without blocking users from building and submitting their apps with the latest Xcode. (#8595, #8113, #8189)

Features

  • Add SentrySDK.feedback.enableOnShake() and disableOnShake() to toggle the shake-to-report gesture at runtime (#8591)

Fixes

  • Reduce memory usage when storing envelopes with large attachments (#8649)
  • Fix incorrect duration sent for active sessions (#8612)
    • Session duration is now set only when the session ends. Active sessions (including on error increments) no longer emit a bogus duration.
  • Fix a race that could prevent consecutive app hangs from being reported (#8627)
  • Fix malformed itms-services URL in SentryDistribution updater (#8567)
  • Fix off-main thread reads of -[UIApplication applicationState] (8672)

9.24.0

Breaking Changes

Full CHANGELOG.md diff
 -1,12 +1,73 
 # Changelog
 
-## 9.24.0
+## 9.26.1
+
+### Fixes
+
+- Prevent duplicate automatic HTTP spans and breadcrumbs for URLSession task wrappers ([#8846](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8846))
+- Prevent breadcrumb persistence for watchdog termination events from blocking the calling thread ([#8653](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8653))
+- Fix data races when reading and updating network tracker feature flags ([#8832](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8832))
+- Avoid lossy JPEG compression for user feedback screenshot fallbacks from non-previewable formats ([#8876](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8876))
+
+## 9.26.0
+
+> [!WARNING]
+> The 3rd-party integration packages (SentryCocoaLumberjack, SentryPulse, SentrySwiftLog, SentrySwiftyBeaver) now require Swift 6.1+ to support SPM package traits. Users on older Swift toolchains should pin to an earlier release of these packages.
+
+### Features
+
+- Promote `enableStandaloneAppStartTracing` from `options.experimental` to a top-level option on `Options` ([#8715](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8715))
+- Add `SentryFromBinary` (default) and `SentryFromSource` SPM package traits to 3rd-party integrations, allowing users to choose between precompiled xcframeworks and building from source. Requires Swift 6.1+ ([#8795](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8795))
+- Add experimental option `enableUIViewControllerInitSwizzling` that defers `UIViewController` swizzling to first instantiation instead of eagerly discovering and swizzling all subclasses at SDK start. This avoids realizing `available`-gated `UIViewController` subclasses on OS versions below their gate, which crashes apps on start ([#8687](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8687)).
+- Add screenshot picker to feedback ([#8655](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8655))
+  - Enable it with `form.enableScreenshot = true` in the `configureForm` callback.
+- Expose transaction as a public event type ([#8745](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8745))
+
+### Improvements
+
+- Session Replay keeps captured frames in memory for live video encode while still writing PNGs to disk for crash durability. Encode prefers the in-memory image and only falls back to disk for frames recovered after a crash, avoiding a PNG readback on the streaming hot path. ([#8636](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8636))
+- Remove the per-frame render loop from the Session Replay masking preview. ([#8730](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8730))
+
+### Fixes
+
+- Fix misleading duplicate SDK detection message: "same binary" → "same address space" ([#8710](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8710))
+- Fix a race caused by mutating `URLSessionTask.currentRequest` during trace header propagation ([#8650](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8650))
+- Prevent Session Replay network-detail breadcrumbs from blocking URLSession cancellation on the task monitor ([#8497](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8497))
+- Fix Session Replay adaptive capture backoff pinning at the maximum interval due to mask compositing being included in the measured capture duration, which could produce single-frame segments that appear stuck on one screen ([#8740](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8740))
+
+### Internal
+
+- Add internal hybrid SDK APIs to serialize native events and retrieve scope contexts for .NET event processing ([#8708](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8708))
+
+## 9.25.0
+
+> [!WARNING]
+> This release raises the minimum deployment targets to macOS 12 and watchOS 9. Apps that support older OS versions must use an earlier Sentry Cocoa release.
 
 ### Breaking Changes
 
+- Bump the minimum deployment targets to macOS 12 and watchOS 9 because Xcode 27 no longer supports earlier versions. This lets the SDK adopt Xcode 27 without blocking users from building and submitting their apps with the latest Xcode. ([#8595](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8595), [#8113](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8113), [#8189](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8189))
+
+### Features
+
+- Add `SentrySDK.feedback.enableOnShake()` and `disableOnShake()` to toggle the shake-to-report gesture at runtime ([#8591](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8591))
+
+### Fixes
+
+- Reduce memory usage when storing envelopes with large attachments ([#8649](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8649))
+- Fix incorrect `duration` sent for active sessions ([#8612](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8612))
+  - Session `duration` is now set only when the session ends. Active sessions (including on error increments) no longer emit a bogus `duration`.
+- Fix a race that could prevent consecutive app hangs from being reported ([#8627](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8627))
+- Fix malformed itms-services URL in SentryDistribution updater ([#8567](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8567))
+- Fix off-main thread reads of `-[UIApplication applicationState]` (8672)
+
+## 9.24.0
+
 > [!IMPORTANT]
 > Due to a potential risk of revealing PII or security-relevant data in crash events in specific circumstances, we're shipping this strictly speaking breaking change in a minor version.
 
+### Breaking Changes
+
 - Add `enableMemoryIntrospection` option to allow users to control memory introspection in crash reports, defaults to false (was previously true) ([#8571](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8571))
   - You can re-enable this feature by setting the option `enableMemoryIntrospection` to true
   - When this option is disabled, string stack contents found near the crash site will not be included in the event sent to Sentry. These contents are displayed in the 'message' subtitle shown underneath the main issue title in Sentry.

@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Aug 27, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch from 713714d to b05eec7 Compare August 27, 2026 11:13
@github-actions

github-actions Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

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.26.1 by github-actions[bot] in #6623
  • chore(deps): update Android SDK to v8.54.0 by github-actions in #6624
  • chore(deps): update Sentry Android Gradle Plugin to v6.20.0 by github-actions in #6627

🤖 This preview updates automatically when you update the PR.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b05eec7. Configure here.

Comment thread packages/core/RNSentry.podspec Outdated
}

sentry_cocoa_version = '9.24.0'
sentry_cocoa_version = '9.26.0'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

macOS 12 minimum not documented

Medium Severity

Cocoa 9.25.0 raises the minimum macOS target to 12, but RNSentry.podspec still sets osx.deployment_target to 10.13 and the changelog only records the version bump. React Native macOS apps targeting 10.13–11 will fail to load the Sentry xcframework at runtime. Flagged because native SDK dependency updates should surface breaking requirements from the Cocoa changelog.

Additional Locations (1)
Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

Reviewed by Cursor Bugbot for commit b05eec7. Configure here.

@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch from b05eec7 to 9a25dec Compare August 27, 2026 11:53
@github-actions github-actions Bot changed the title chore(deps): update Cocoa SDK to v9.26.0 chore(deps): update Cocoa SDK to v9.26.1 Aug 27, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch from 9a25dec to 5e8c219 Compare August 27, 2026 15:48
@antonis antonis added the ready-to-merge Triggers the full CI test suite label Aug 27, 2026
@antonis
antonis marked this pull request as draft August 27, 2026 15:50

@antonis antonis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Converting to draft till we resolve #6609

@github-actions

Copy link
Copy Markdown
Contributor Author

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 425.27 ms 444.70 ms 19.43 ms
Size 49.74 MiB 55.45 MiB 5.71 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
6176a94+dirty 410.90 ms 452.20 ms 41.31 ms
26843eb+dirty 532.15 ms 624.13 ms 91.98 ms
f9c1ed4+dirty 431.00 ms 466.22 ms 35.22 ms
a50b33d+dirty 500.81 ms 532.11 ms 31.30 ms
0b1b5e3+dirty 416.42 ms 470.58 ms 54.16 ms
5b7e8a7+dirty 418.55 ms 488.46 ms 69.91 ms
7d8c8bd+dirty 417.45 ms 462.10 ms 44.65 ms
1d3572b+dirty 435.35 ms 487.32 ms 51.96 ms
41d6254+dirty 424.45 ms 474.34 ms 49.89 ms
d7d54c6+dirty 458.06 ms 479.94 ms 21.87 ms

App size

Revision Plain With Sentry Diff
6176a94+dirty 48.30 MiB 53.54 MiB 5.24 MiB
26843eb+dirty 49.74 MiB 55.26 MiB 5.52 MiB
f9c1ed4+dirty 49.74 MiB 54.86 MiB 5.12 MiB
a50b33d+dirty 43.75 MiB 48.08 MiB 4.33 MiB
0b1b5e3+dirty 48.30 MiB 53.60 MiB 5.29 MiB
5b7e8a7+dirty 48.30 MiB 53.58 MiB 5.28 MiB
7d8c8bd+dirty 48.30 MiB 53.54 MiB 5.23 MiB
1d3572b+dirty 49.74 MiB 55.38 MiB 5.63 MiB
41d6254+dirty 48.30 MiB 53.60 MiB 5.30 MiB
d7d54c6+dirty 49.74 MiB 55.09 MiB 5.34 MiB

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

Startup times

Revision Plain With Sentry Diff
c09bf88+dirty 420.15 ms 445.09 ms 24.93 ms

App size

Revision Plain With Sentry Diff
c09bf88+dirty 49.74 MiB 55.45 MiB 5.70 MiB

@sentry

sentry Bot commented Aug 27, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

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

⚙️ sentry-react-native Build Distribution Settings

@github-actions

Copy link
Copy Markdown
Contributor Author

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 3830.24 ms 1199.94 ms -2630.31 ms
Size 5.08 MiB 6.77 MiB 1.69 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
64630e5+dirty 3842.70 ms 1218.11 ms -2624.60 ms
b0d3373+dirty 3831.75 ms 1227.29 ms -2604.46 ms
b04af96+dirty 3818.92 ms 1219.76 ms -2599.16 ms
3d31fcf+dirty 3838.09 ms 1223.46 ms -2614.63 ms
a0a3177+dirty 3844.73 ms 1225.23 ms -2619.51 ms
af33f3b+dirty 3849.98 ms 1236.45 ms -2613.53 ms
09a902f+dirty 3835.67 ms 1217.11 ms -2618.57 ms
5a316ea+dirty 3820.11 ms 1211.28 ms -2608.83 ms
acd838e+dirty 3849.78 ms 1230.00 ms -2619.78 ms
c2e182c+dirty 3848.40 ms 1211.79 ms -2636.61 ms

App size

Revision Plain With Sentry Diff
64630e5+dirty 4.98 MiB 6.46 MiB 1.49 MiB
b0d3373+dirty 5.15 MiB 6.68 MiB 1.53 MiB
b04af96+dirty 4.98 MiB 6.54 MiB 1.56 MiB
3d31fcf+dirty 4.98 MiB 6.56 MiB 1.58 MiB
a0a3177+dirty 4.98 MiB 6.55 MiB 1.58 MiB
af33f3b+dirty 4.98 MiB 6.51 MiB 1.54 MiB
09a902f+dirty 4.98 MiB 6.46 MiB 1.49 MiB
5a316ea+dirty 4.98 MiB 6.51 MiB 1.53 MiB
acd838e+dirty 5.15 MiB 6.70 MiB 1.55 MiB
c2e182c+dirty 4.98 MiB 6.50 MiB 1.52 MiB

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

Startup times

Revision Plain With Sentry Diff
c09bf88+dirty 3834.33 ms 1213.62 ms -2620.71 ms

App size

Revision Plain With Sentry Diff
c09bf88+dirty 5.08 MiB 6.75 MiB 1.67 MiB

@bruno-garcia
bruno-garcia force-pushed the deps/scripts/update-cocoa.sh branch from 5e8c219 to 58a3f60 Compare August 27, 2026 16:20
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