chore(deps): update Cocoa SDK to v9.0.0 #6
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 scripts/update-cocoa.sh from 8.53.2 to 9.0.0.
Auto-generated by a dependency updater.
Changelog
9.0.0
This changelog lists every breaking change. For a high-level overview and upgrade guidance, see the migration guide.
Breaking Changes
SentryEventDecoderto SPI (#6365)PreviewRedactOptions,SentryProfileOptions,SentryRedactViewHelper,SentryViewScreenshotOptions,SentryReplayOptions,SentryUserFeedbackConfiguration,SentryUserFeedbackFormConfiguration,SentryUserFeedbackThemeConfiguration,SentryUserFeedbackWidgetConfiguration,SentryFeedback, andSentryExperimentalOptionsfinal(#6365)setExtraValuefrom SentrySpan (#5864)integrationsproperty fromSentryOptions(#5749)defaultIntegrationsfunction fromSentryOptions(#6664)SentryEventDecodableinternal (#5808)spanproperty onSentryScopeis now readonly (#5866)SentryIntegrationProtocolfrom the API. This is not used after the removal of theintegrationsproperty (#6660)enablePerformanceV2option and makes this the default. The app start duration will now finish when the first frame is drawn instead of when the OS posts the UIWindowDidBecomeVisibleNotification. (#6008)SentryFrame.instructionproperty (#6504)uuidandnameofSentryDebugMeta(#6512) UsedebugIDinstead ofuuidandcodeFileinstead ofname.SentryFrame.functiondefault tonilinstead of<redacted>(#6608)valueandtypeofSentryExceptionto be nullable (#6563)getHashfrom SentryDsn (#6605)If you need a precompiled XCFramework built with Xcode 15, continue using Sentry SDK 8.x.x.
SentryException.typetonilwhenNSExceptionhas noreason(#6653). The backend then can provide a proper message when there is no reason.SentryLog.LevelandSentryLog.Attributefor ObjC (#6666)SentryFeedbackinitializer to support multiple attachments (#6752)These components run in separate processes or sandboxes with different execution characteristics, which can cause false positive app hang reports.
SentryLevelenum to be written in ObjC (#6802)http.response.status_codefor spans to int (#6896)Features
enablePropagateTraceparentto support OTel/W3C trace propagation (#6356)enableFileManagerSwizzlingfrom experimental options to top-level options (#6592).This option is still disabled by default and will be enabled in a future major release.
enableDataSwizzlingfrom experimental options to top-level options (#6592). This option remains enabled by default.sentry.replay_idattribute to logs (#6515)HubandClient(#6737)Fixes
SentryMechanismMetatoSentryMechanismContextto resolve Kotlin Multi-Platform build errors (#6607)SentryCppHelperto Sentry (#6754)beforeSend(#6910)Improvements
SentryAttachmentfor downstream SDKs (like sentry-godot) (#6521)9.0.0-rc.1
Breaking Changes
SentryEventDecoderto SPI (#6365)PreviewRedactOptions,SentryProfileOptions,SentryRedactViewHelper,SentryViewScreenshotOptions,SentryReplayOptions,SentryUserFeedbackConfiguration,SentryUserFeedbackFormConfiguration,SentryUserFeedbackThemeConfiguration,SentryUserFeedbackWidgetConfiguration,SentryFeedback, andSentryExperimentalOptionsfinal(#6365)setExtraValuefrom SentrySpan (#5864)integrationsproperty fromSentryOptions(#5749)defaultIntegrationsfunction fromSentryOptions(#6664)SentryEventDecodableinternal (#5808)spanproperty onSentryScopeis now readonly (#5866)SentryIntegrationProtocolfrom the API. This is not used after the removal of theintegrationsproperty (#6660)enablePerformanceV2option and makes this the default. The app start duration will now finish when the first frame is drawn instead of when the OS posts the UIWindowDidBecomeVisibleNotification. (#6008)SentryFrame.instructionproperty (#6504)uuidandnameofSentryDebugMeta(#6512) UsedebugIDinstead ofuuidandcodeFileinstead ofname.SentryFrame.functiondefault tonilinstead of<redacted>(#6608)valueandtypeofSentryExceptionto be nullable (#6563)getHashfrom SentryDsn (#6605)If you need a precompiled XCFramework built with Xcode 15, continue using Sentry SDK 8.x.x.
SentryException.typetonilwhenNSExceptionhas noreason(#6653). The backend then can provide a proper message when there is no reason.SentryLog.LevelandSentryLog.Attributefor ObjC (#6666)SentryFeedbackinitializer to support multiple attachments (#6752)These components run in separate processes or sandboxes with different execution characteristics, which can cause false positive app hang reports.
SentryLevelenum to be written in ObjC (#6802)Features
enablePropagateTraceparentto support OTel/W3C trace propagation (#6356)enableFileManagerSwizzlingfrom experimental options to top-level options (#6592).This option is still disabled by default and will be enabled in a future major release.
enableDataSwizzlingfrom experimental options to top-level options (#6592). This option remains enabled by default.sentry.replay_idattribute to logs (#6515)HubandClient(#6737)Fixes
SentryMechanismMetatoSentryMechanismContextto resolve Kotlin Multi-Platform build errors (#6607)SentryCppHelperto Sentry (#6754)Improvements
SentryAttachmentfor downstream SDKs (like sentry-godot) (#6521)9.0.0-rc.0
Breaking Changes
SentryEventDecoderto SPI (#6365)PreviewRedactOptions,SentryProfileOptions,SentryRedactViewHelper,SentryViewScreenshotOptions,SentryReplayOptions,SentryUserFeedbackConfiguration,SentryUserFeedbackFormConfiguration,SentryUserFeedbackThemeConfiguration,SentryUserFeedbackWidgetConfiguration,SentryFeedback, andSentryExperimentalOptionsfinal(#6365)setExtraValuefrom SentrySpan (#5864)integrationsproperty fromSentryOptions(#5749)defaultIntegrationsfunction fromSentryOptions(#6664)SentryEventDecodableinternal (#5808)spanproperty onSentryScopeis now readonly (#5866)SentryIntegrationProtocolfrom the API. This is not used after the removal of theintegrationsproperty (#6660)enablePerformanceV2option and makes this the default. The app start duration will now finish when the first frame is drawn instead of when the OS posts the UIWindowDidBecomeVisibleNotification. (#6008)SentryFrame.instructionproperty (#6504)uuidandnameofSentryDebugMeta(#6512) UsedebugIDinstead ofuuidandcodeFileinstead ofname.SentryFrame.functiondefault tonilinstead of<redacted>(#6608)valueandtypeofSentryExceptionto be nullable (#6563)getHashfrom SentryDsn (#6605)If you need a precompiled XCFramework built with Xcode 15, continue using Sentry SDK 8.x.x.
SentryException.typetonilwhenNSExceptionhas noreason(#6653). The backend then can provide a proper message when there is no reason.SentryLog.LevelandSentryLog.Attributefor ObjC (#6666)SentryFeedbackinitializer to support multiple attachments (#6752)These components run in separate processes or sandboxes with different execution characteristics, which can cause false positive app hang reports.
SentryLevelenum to be written in ObjC (#6802)Features
enablePropagateTraceparentto support OTel/W3C trace propagation (#6356)enableFileManagerSwizzlingfrom experimental options to top-level options (#6592).This option is still disabled by default and will be enabled in a future major release.
enableDataSwizzlingfrom experimental options to top-level options (#6592). This option remains enabled by default.sentry.replay_idattribute to logs (#6515)HubandClient(#6737)Fixes
SentryMechanismMetatoSentryMechanismContextto resolve Kotlin Multi-Platform build errors (#6607)SentryCppHelperto Sentry (#6754)Improvements
SentryAttachmentfor downstream SDKs (like sentry-godot) (#6521)9.0.0-alpha.1
Breaking Changes
SentryEventDecoderto SPI (#6365)PreviewRedactOptions,SentryProfileOptions,SentryRedactViewHelper,SentryViewScreenshotOptions,SentryReplayOptions,SentryUserFeedbackConfiguration,SentryUserFeedbackFormConfiguration,SentryUserFeedbackThemeConfiguration,SentryUserFeedbackWidgetConfiguration,SentryFeedback, andSentryExperimentalOptionsfinal(#6365)setExtraValuefrom SentrySpan (#5864)integrationsproperty fromSentryOptions(#5749)defaultIntegrationsfunction fromSentryOptions(#6664)SentryEventDecodableinternal (#5808)spanproperty onSentryScopeis now readonly (#5866)SentryIntegrationProtocolfrom the API. This is not used after the removal of theintegrationsproperty (#6660)enablePerformanceV2option and makes this the default. The app start duration will now finish when the first frame is drawn instead of when the OS posts the UIWindowDidBecomeVisibleNotification. (#6008)SentryFrame.instructionproperty (#6504)uuidandnameofSentryDebugMeta(#6512) UsedebugIDinstead ofuuidandcodeFileinstead ofname.SentryFrame.functiondefault tonilinstead of<redacted>(#6608)valueandtypeofSentryExceptionto be nullable (#6563)getHashfrom SentryDsn (#6605)If you need a precompiled XCFramework built with Xcode 15, continue using Sentry SDK 8.x.x.
SentryException.typetonilwhenNSExceptionhas noreason(#6653). The backend then can provide a proper message when there is no reason.SentryLog.LevelandSentryLog.Attributefor ObjC (#6666)SentryFeedbackinitializer to support multiple attachments (#6752)Fixes
SentryMechanismMetatoSentryMechanismContextto resolve Kotlin Multi-Platform build errors (#6607)SentryCppHelperto Sentry (#6754)Improvements
SentryAttachmentfor downstream SDKs (like sentry-godot) (#6521)Features
enablePropagateTraceparentto support OTel/W3C trace propagation (#6356)enableFileManagerSwizzlingfrom experimental options to top-level options (#6592).This option is still disabled by default and will be enabled in a future major release.
enableDataSwizzlingfrom experimental options to top-level options (#6592). This option remains enabled by default.sentry.replay_idattribute to logs (#6515)HubandClient(#6737)9.0.0-alpha.0
Breaking Changes
SentryEventDecoderto SPI (#6365)PreviewRedactOptions,SentryProfileOptions,SentryRedactViewHelper,SentryViewScreenshotOptions,SentryReplayOptions,SentryUserFeedbackConfiguration,SentryUserFeedbackFormConfiguration,SentryUserFeedbackThemeConfiguration,SentryUserFeedbackWidgetConfiguration,SentryFeedback, andSentryExperimentalOptionsfinal(#6365)setExtraValuefrom SentrySpan (#5864)integrationsproperty fromSentryOptions(#5749)defaultIntegrationsfunction fromSentryOptions(#6664)SentryEventDecodableinternal (#5808)SentryIntegrationProtocolfrom the API. This is not used after the removal of theintegrationsproperty (#6660)debug=Truewhich fixes various deadlocks (#6562)enablePerformanceV2option and makes this the default. The app start duration will now finish when the first frame is drawn instead of when the OS posts the UIWindowDidBecomeVisibleNotification. (#6008)SentryFrame.instructionproperty (#6504)uuidandnameofSentryDebugMeta(#6512) UsedebugIDinstead ofuuidandcodeFileinstead ofname.SentryFrame.functiondefault tonilinstead of<redacted>(#6608)valueandtypeofSentryExceptionto be nullable (#6563)getHashfrom SentryDsn (#6605)If you need a precompiled XCFramework built with Xcode 15, continue using Sentry SDK 8.x.x.
SentryException.typetonilwhenNSExceptionhas noreason(#6653). The backend then can provide a proper message when there is no reason.SentryLog.LevelandSentryLog.Attributefor ObjC (#6666)Fixes
SentryMechanismMetatoSentryMechanismContextto resolve Kotlin Multi-Platform build errors (#6607)Improvements
SentryAttachmentfor downstream SDKs (like sentry-godot) (#6521)Features
enablePropagateTraceparentto support OTel/W3C trace propagation (#6356)enableFileManagerSwizzlingfrom experimental options to top-level options (#6592).This option is still disabled by default and will be enabled in a future major release.
enableDataSwizzlingfrom experimental options to top-level options (#6592). This option remains enabled by default.sentry.replay_idattribute to logs (#6515)8.57.3
Fixes
SentryCppHelperto Sentry (#6754) (#6761)8.57.2
Fixes
Views now need to be fully opaque (view and layer backgrounds with alpha == 1) and report opaque to qualify for clip‑out.
This avoids leaks at the cost of fewer clip‑out optimizations.
8.57.1
Fixes
8.57.0
Warning
Session Replay is disabled by default on iOS 26.0+ with Xcode 26.0+ to prevent PII leaks
Due to potential masking issues introduced by Apple's Liquid Glass rendering changes in iOS 26.0, Session Replay is now automatically disabled on apps running iOS 26.0+ when built with Xcode 26.0 or later. This is a defensive measure to protect user privacy and prevent potential PII leaks until masking is reliably supported.
Session replay will work normally if:
UIDesignRequiresCompatibilitytoYESinInfo.plistOverride (use with caution): If you understand the PII risks and want to enable session replay anyway, you can set:
This experimental override option will be removed in a future minor version once the masking issues are resolved.
Fixes
UIDesignRequiresCompatibilityoptions.experimental.enableSessionReplayInUnreliableEnvironmentto allow overriding the automatic disabling (#6389)8.56.2
Warning
Session Replay in this version does not correctly mask views when built with Xcode 26 and running on iOS 26 with Liquid Glass, which may lead to PII leaks. Please upgrade to 8.57.0 or later, which automatically disables session replay in such environments.
Fixes
8.56.1
Warning
This version can cause runtime crashes because the
UIApplication.sharedApplication/NSApplication.sharedApplicationis not yet available during SDK initialization, due to the changes in PR #5900, released in 8.56.0.Warning
Session Replay in this version does not correctly mask views when built with Xcode 26 and running on iOS 26 with Liquid Glass, which may lead to PII leaks. Please upgrade to 8.57.0 or later, which automatically disables session replay in such environments.
Fixes
Fixed by removing the call to
_dyld_get_image_headeron the main thread.8.56.0
Warning
This version can cause runtime crashes because the
UIApplication.sharedApplication/NSApplication.sharedApplicationis not yet available during SDK initialization, due to the changes in PR #5900, released in 8.56.0.Warning
Session Replay in this version does not correctly mask views when built with Xcode 26 and running on iOS 26 with Liquid Glass, which may lead to PII leaks. Please upgrade to 8.57.0 or later, which automatically disables session replay in such environments.
Features
Improvements
SentrySDK.loggercalls toSentrySDKLog(#5991)enterpriseandadhoc(#6044)Fixes
beforeSend(#5916)SentrySDK.startbecomes unusable (#5984)attachScreenshottoo (#5989)This may result in more of the camera screen being redacted. (#6045)
8.56.0-alpha.3
Fixes
8.56.0-alpha.2
Features
Fixes
This may result in more of the camera screen being redacted. (#6045)
8.56.0-alpha.1
8.56.0-alpha.0
Features