Skip to content

chore(deps): update Cocoa SDK to v9.26.0 - #854

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
deps/modules/sentry-cocoa.properties
Open

chore(deps): update Cocoa SDK to v9.26.0#854
github-actions[bot] wants to merge 1 commit into
mainfrom
deps/modules/sentry-cocoa.properties

Conversation

@github-actions

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

Copy link
Copy Markdown
Contributor

Bumps modules/sentry-cocoa.properties from 9.24.0 to 9.26.0.

Auto-generated by a dependency updater.

Changelog

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,64 
 # Changelog
 
-## 9.24.0
+## 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.

@bruno-garcia
bruno-garcia force-pushed the deps/modules/sentry-cocoa.properties branch from 71ab992 to 79f3744 Compare August 6, 2026 04:03

@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.

Reviewed by Cursor Bugbot for commit 79f3744. Configure here.

Comment thread modules/sentry-cocoa.properties Outdated
Comment thread modules/sentry-cocoa.properties Outdated
@@ -1,2 +1,2 @@
version=9.24.0
version=9.25.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.

Bug: The updated sentry-cocoa dependency requires macOS 12, but the project's deployment target is 10.14. This will cause runtime crashes on older macOS versions.
Severity: CRITICAL

Suggested Fix

To resolve this, either update the project's MACOS_DEPLOYMENT_TARGET in the SConstruct file to 12.0 to match the new dependency requirement, or revert the sentry-cocoa update and use a version compatible with macOS 10.14. The project's CHANGELOG should also be updated to reflect the new minimum supported OS version.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: modules/sentry-cocoa.properties#L1

Potential issue: The pull request bumps the `sentry-cocoa` dependency to `v9.25.0`,
which requires a minimum macOS deployment target of 12.0. However, the project's
`SConstruct` file still specifies `MACOS_DEPLOYMENT_TARGET = "10.14"`. When the
`sentry-godot` extension is loaded on a macOS version older than 12.0 (e.g.,
10.14-11.x), the dynamic linker (`dyld`) will fail to load the pre-built `sentry-cocoa`
dylib because its minimum OS requirement is not met. This will result in a runtime
crash, preventing the extension from loading for users on these older operating systems.

Did we get this right? 👍 / 👎 to inform future reviews.

@bruno-garcia
bruno-garcia force-pushed the deps/modules/sentry-cocoa.properties branch 4 times, most recently from 91d9be1 to 30147bf Compare August 12, 2026 03:45
@github-actions github-actions Bot changed the title chore(deps): update Cocoa SDK to v9.25.0 chore(deps): update Cocoa SDK to v9.26.0 Aug 13, 2026
@bruno-garcia
bruno-garcia force-pushed the deps/modules/sentry-cocoa.properties branch 4 times, most recently from b759b34 to 079473a Compare August 18, 2026 03:18
@bruno-garcia
bruno-garcia force-pushed the deps/modules/sentry-cocoa.properties branch from 079473a to 8aea8f7 Compare August 19, 2026 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant