chore(deps): update Cocoa SDK to v9.28.0 - #5561
Merged
Merged
Conversation
bruno-garcia
force-pushed
the
deps/modules/sentry-cocoa
branch
from
September 10, 2026 03:01
cf4bb04 to
42698e4
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5561 +/- ##
==========================================
+ Coverage 74.75% 74.76% +0.01%
==========================================
Files 515 515
Lines 18963 18963
Branches 3694 3694
==========================================
+ Hits 14176 14178 +2
+ Misses 3909 3907 -2
Partials 878 878 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Two changes to scripts/patch-cocoa-bindings.cs, both needed for 9.28.0 to bind: 1. Join DEPRECATED_MSG_ATTRIBUTE comments to a fixed point. Sharpie emits the ObjC declaration as a // comment and splits long deprecation messages over several adjacent string literals, commenting only the first line. The rejoining regex is anchored on DEPRECATED_MSG_ATTRIBUTE( and scanning resumes past each match, so a single pass joins only the first pair. Two fragments were fine; 9.28.0's messages wrap onto three, leaving the tail as bare code inside the interface. 2. Drop the new Options callbacks that reference types outside the KeepInterfaces allowlist - beforeSendWithHint/beforeBreadcrumbWithHint (SentryObjCHint) and configureProfiling (SentryObjCProfileOptions). The patcher drops the unlisted interfaces but keeps the properties, leaving dangling references. ApiDefinitions.cs regenerates byte-identical, so the only binding change is the new SentryObjCProfileLifecycle enum. Verified by regenerating locally: StructsAndEnums.cs matches the blob hash from CI's sharpie run, and the bindings plus Sentry.csproj build clean for the iOS and Mac Catalyst TFMs. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
jamescrosswell
approved these changes
Sep 11, 2026
jamescrosswell
left a comment
Collaborator
There was a problem hiding this comment.
Automated approval: eligibility script verdict MERGE (CI green, mergeable, no human change-request, no breaking-change language).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps modules/sentry-cocoa from 9.27.0 to 9.28.0.
Auto-generated by a dependency updater.
Changelog
9.28.0
Features
Add a
device.eventbreadcrumb (SYSTEM_CLOCK_CHANGE) when the system clock changes, for example due to a manual time change or NTP sync (#8946)Add Hints API with
beforeSendWithHintandbeforeBreadcrumbWithHintcallbacks (#8942)Use hints to inspect the original source material that produced an event or breadcrumb, and to
add or remove attachments before they are sent:
Add hint parameter to public capture methods on
SentrySDK(#8955)Pass a
Hintwhen capturing events or errors to attach metadata thatbeforeSendWithHintcan inspect:
Auto-populate HTTP request and response on hints for network breadcrumbs and HTTP client errors (#8967)
Network breadcrumbs and HTTP client error events now include the originating
URLRequestandHTTPURLResponseon the hint, so callbacks can inspect status codes, headers, or URLs:Include screenshot and view hierarchy attachments in
hint.attachmentsbeforebeforeSendWithHintruns (#8989)Screenshot and view hierarchy attachments are now available in
hint.attachmentswhenbeforeSendWithHintis called, so they can be inspected or removed:Fixes
viewDidLoadtwice when tracing is enabled. (#8941)SentryObjC-StaticXCFrameworks to preventdsymutilmissing-object warnings. (#8979)Internal
Fix
SentrySDK.internal.replay.replayIdreturning nil for buffered replays (#8976)Log a warning when
SentrySDK.startis called again withoutclose(). Reinitialization still runs and remains unsupported (#8928)Expose continuous profiling configuration on
SentryObjCOptionsviaconfigureProfilingandSentryObjCProfileOptions(#8937)Synchronize access to the current trace profiler in debug and test builds. (#8936)
Fix EXC_BAD_ACCESS in SentryNetworkTracker caused by repeated reads of the volatile
NSURLSessionTask.currentRequestproperty (#8058)Collect only unique UIWindow references (#4159)
Full CHANGELOG.md diff