Skip to content

chore(deps): update Cocoa SDK to v9.27.0 - #1280

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

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

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

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

Auto-generated by a dependency updater.

Changelog

9.27.0

Note

enableLogs and enableMetrics are now deprecated and will be removed in the next major version. Manual log and metric capture is no longer gated by these flags.

Improvements

  • Install idle Session Replay recovery infrastructure at zero sample rates. (#8865)
  • Manual log and metrics APIs are no longer gated by behind enableLogs / enableMetrics (#8918)

Features

  • Add manual Session Replay controls through SentrySDK.replay. (#8868)
    • Explicit start() and startBuffering() calls bypass the configured replay sample rates; sampling still controls automatic startup.
    • start() starts a full-session replay and does nothing if one is already recording.
    • startBuffering() keeps a rolling buffer that is sent on flush() or an error, then continues in session mode.
    • stop() ends the current replay; the next start() creates a new replay session.
    • pause() suspends recording until resume() and remains paused across background and foreground transitions and automatic replay restarts in the same process.
    • resume() continues the same manually paused replay.
    • flush() sends the current replay data to Sentry, or starts a full-session replay when recording is stopped.

Improvements

  • Install idle Session Replay recovery infrastructure at zero sample rates. (#8865)

Features

  • Copy app.vitals.start.type and app.vitals.start.screen onto standalone app.start children, including app.start.extended and user descendants (#8888)
  • Add maxFeatureFlags option to configure how many feature flag evaluations the scope retains, matching sentry-java. Defaults to 100 (#8858)
  • Add SentrySDK.internal.envelope.captureNonTerminating for hybrid SDKs, which keeps the current session running and reports it with the unhandled status when an unhandled exception doesn't terminate the process (#8654)
  • Add SentrySDK.internal.envelope.updateSessionForDroppedEventNonTerminating so hybrid SDKs can update the native session when an error is dropped by sampling, without sending an envelope (#8907)

Fixes

  • Silence spurious ERROR log in SentryCrashCxaThrowSwapper for empty sections (#8915)
  • Stop recording touch events while Session Replay is paused. (#8887)

Internal

  • Add visionOS support to internal screen APIs (#8913)

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,114 
 # Changelog
 
-## 9.24.0
+## 9.27.0
+
+> [!NOTE]
+> `enableLogs` and `enableMetrics` are now deprecated and will be removed in the next major version. Manual log and metric capture is no longer gated by these flags.
+
+### Improvements
+
+- Install idle Session Replay recovery infrastructure at zero sample rates. ([#8865](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8865))
+- Manual log and metrics APIs are no longer gated by behind `enableLogs` / `enableMetrics` ([#8918](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8918))
+
+### Features
+
+- Add manual Session Replay controls through `SentrySDK.replay`. ([#8868](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8868))
+  - Explicit `start()` and `startBuffering()` calls bypass the configured replay sample rates; sampling still controls automatic startup.
+  - `start()` starts a full-session replay and does nothing if one is already recording.
+  - `startBuffering()` keeps a rolling buffer that is sent on `flush()` or an error, then continues in session mode.
+  - `stop()` ends the current replay; the next `start()` creates a new replay session.
+  - `pause()` suspends recording until `resume()` and remains paused across background and foreground transitions and automatic replay restarts in the same process.
+  - `resume()` continues the same manually paused replay.
+  - `flush()` sends the current replay data to Sentry, or starts a full-session replay when recording is stopped.
+
+### Improvements
+
+- Install idle Session Replay recovery infrastructure at zero sample rates. ([#8865](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8865))
+
+### Features
+
+- Copy `app.vitals.start.type` and `app.vitals.start.screen` onto standalone `app.start` children, including `app.start.extended` and user descendants ([#8888](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8888))
+- Add `maxFeatureFlags` option to configure how many feature flag evaluations the scope retains, matching sentry-java. Defaults to 100 ([#8858](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8858))
+- Add `SentrySDK.internal.envelope.captureNonTerminating` for hybrid SDKs, which keeps the current session running and reports it with the `unhandled` status when an unhandled exception doesn't terminate the process ([#8654](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8654))
+- Add `SentrySDK.internal.envelope.updateSessionForDroppedEventNonTerminating` so hybrid SDKs can update the native session when an error is dropped by sampling, without sending an envelope ([#8907](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8907))
+
+### Fixes
+
+- Silence spurious ERROR log in `SentryCrashCxaThrowSwapper` for empty sections ([#8915](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8915))
+- Stop recording touch events while Session Replay is paused. ([#8887](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8887))
+
+### Internal
+
+- Add visionOS support to internal screen APIs ([#8913](https://github-redirect.dependabot.com/getsentry/sentry-cocoa/issues/8913))
+
+## 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 Jun 11, 2026
@github-actions
github-actions Bot requested a review from lucas-zimerman as a code owner June 11, 2026 04:28
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Jun 11, 2026
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch from e3d555b to bc99146 Compare June 11, 2026 04:28
@github-actions github-actions Bot changed the title chore(deps): update Cocoa SDK to v9.17.0 chore(deps): update Cocoa SDK to v9.17.1 Jun 12, 2026
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch from bc99146 to 1180e2b Compare June 12, 2026 04:28
@github-actions github-actions Bot changed the title chore(deps): update Cocoa SDK to v9.17.1 chore(deps): update Cocoa SDK to v9.18.0 Jun 19, 2026
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch from 1180e2b to e331b08 Compare June 19, 2026 04:29
@github-actions github-actions Bot changed the title chore(deps): update Cocoa SDK to v9.18.0 chore(deps): update Cocoa SDK to v9.19.0 Jun 25, 2026
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch 4 times, most recently from 00ffe52 to a979c69 Compare June 30, 2026 02:27
@github-actions github-actions Bot changed the title chore(deps): update Cocoa SDK to v9.19.0 chore(deps): update Cocoa SDK to v9.19.1 Jul 2, 2026
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch from a979c69 to 9d7a8c7 Compare July 2, 2026 04:21
@github-actions github-actions Bot changed the title chore(deps): update Cocoa SDK to v9.19.1 chore(deps): update Cocoa SDK to v9.20.0 Jul 7, 2026
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch 2 times, most recently from 9cb7643 to 079f01b Compare July 9, 2026 04:17
@github-actions github-actions Bot changed the title chore(deps): update Cocoa SDK to v9.20.0 chore(deps): update Cocoa SDK to v9.21.0 Jul 9, 2026
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch from 079f01b to 003f08e Compare July 14, 2026 01:57
@github-actions github-actions Bot changed the title chore(deps): update Cocoa SDK to v9.21.0 chore(deps): update Cocoa SDK to v9.22.0 Jul 16, 2026
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch 2 times, most recently from fb513d3 to 7c76683 Compare July 22, 2026 13:42
Comment thread SentryCapacitor.podspec Outdated
@github-actions github-actions Bot changed the title chore(deps): update Cocoa SDK to v9.22.0 chore(deps): update Cocoa SDK to v9.23.0 Jul 23, 2026
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch from 7c76683 to 8691940 Compare July 23, 2026 04:01

@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 8691940. Configure here.

Comment thread SentryCapacitor.podspec Outdated
@github-actions github-actions Bot changed the title chore(deps): update Cocoa SDK to v9.23.0 chore(deps): update Cocoa SDK to v9.24.0 Jul 31, 2026
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch 2 times, most recently from 2102310 to 110f43e Compare July 31, 2026 00:48
Comment thread SentryCapacitor.podspec Outdated
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch from 110f43e to 52ee674 Compare July 31, 2026 01:06
Comment thread SentryCapacitor.podspec Outdated
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch 9 times, most recently from a47230a to 5a728b2 Compare August 6, 2026 04:00
@github-actions github-actions Bot changed the title chore(deps): update Cocoa SDK to v9.24.0 chore(deps): update Cocoa SDK to v9.25.0 Aug 6, 2026
Comment thread SentryCapacitor.podspec Outdated
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch 3 times, most recently from 7e20239 to 2c342cc Compare August 13, 2026 03:43
@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
Comment thread SentryCapacitor.podspec Outdated
@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 28, 2026
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch from 2c342cc to cd9d4d9 Compare August 28, 2026 05:37
Comment thread Package.swift Outdated
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", "7.0.0"..<"9.0.0"),
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "9.16.1")
.package(url: "https://github.com/getsentry/sentry-cocoa", from: "9.26.1")

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 code uses PrivateSentrySDKOnly, which is deprecated in Sentry Cocoa 9.26.1. This will become a breaking change in a future major version.
Severity: MEDIUM

Suggested Fix

Migrate all calls from the deprecated PrivateSentrySDKOnly to the new SentrySDK.internal equivalents. For example, replace PrivateSentrySDKOnly.setSdkName() with SentrySDK.internal.sdk.setName() and PrivateSentrySDKOnly.installationID with SentrySDK.internal.sdk.installationID. This will resolve the deprecation warnings and prevent breaking changes in future major versions of the Sentry Cocoa SDK.

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: Package.swift#L14

Potential issue: The pull request updates the Sentry Cocoa SDK to version 9.26.1 but
continues to use the `PrivateSentrySDKOnly` API, which has been deprecated in favor of
`SentrySDK.internal`. While the deprecated API remains functional in the 9.x series and
will only produce compile-time warnings, it is scheduled for removal in the next major
version (10.0.0). This introduces a maintenance debt that will lead to a breaking change
and compilation failures once the dependency is updated to version 10.0.0 or later. The
code should be migrated to the new APIs to ensure future compatibility.

Also affects:

  • SentryCapacitor.podspec:15~15

@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch 2 times, most recently from 7c099b2 to 36ecd89 Compare September 3, 2026 02:17
@github-actions
github-actions Bot force-pushed the deps/scripts/update-cocoa.sh branch from 36ecd89 to fd2cc1b Compare September 4, 2026 03:01
@github-actions github-actions Bot changed the title chore(deps): update Cocoa SDK to v9.26.1 chore(deps): update Cocoa SDK to v9.27.0 Sep 4, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant