Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 24, 2025

Bumps packages/flutter/scripts/update-cocoa.sh from 8.55.1 to 8.56.1.

Auto-generated by a dependency updater.

Changelog

8.56.1

Warning

This version can cause runtime crashes because the UIApplication.sharedApplication/NSApplication.sharedApplication is not yet available during SDK initialization, due to the changes in PR #5900, released in 8.56.0.

Fixes

  • Fix potential app launch hang caused by the SentrySDK (#6181)
    Fixed by removing the call to _dyld_get_image_header on the main thread.
  • Fix dynamic selector crash in SentryReplayRecording (#6211)

8.56.0

Warning

This version can cause runtime crashes because the UIApplication.sharedApplication/NSApplication.sharedApplication is not yet available during SDK initialization, due to the changes in PR #5900, released in 8.56.0.

Features

  • Structured Logs: Flush logs on SDK flush/close (#5834)
  • Add masking options for screenshots (#5401)
  • Add significant time change breadcrumb (#6112)
  • Add support for iOS 26, macOS 26, visionOS 26, watchOS 26, and tvOS 26 in device tests (#6063)

Improvements

  • Lazily CharacterSet only once in SentryBaggageSerialization (#5871)
  • Structured Logging: Log SentrySDK.logger calls to SentrySDKLog (#5991)
  • The build type in the app context now differentiates between enterprise and adhoc (#6044)
  • visionOS no longer needs swift's interoperability mode (#6077)
  • Ensure IP address is only inferred by Relay if sendDefaultPii is true (#5877)
  • Sentry without UIKit / AppKit is available to install with SPM (#6160)

Fixes

  • Don't capture replays for events dropped in beforeSend (#5916)
  • Fix linking with SentrySwiftUI on Xcode 26 for visionOS (#5823)
  • Structured Logging: Logger called before SentrySDK.start becomes unusable (#5984)
  • Add masking for AVPlayerView (#5910)
  • Fix missing view hierachy when enabling attachScreenshot too (#5989)
  • Fix macOS's frameworks not following the versioned framework structure (#6049)
  • Add warning to addBreadcrumb when used before SDK init (#6083)
  • Add null-handling for parsed DSN in SentryHTTPTransport (#5800)
  • Fix crash in Session Replay when opening the camera UI on iOS 26+ by skipping redaction of internal views.
    This may result in more of the camera screen being redacted. (#6045)
  • Fix crash in SentryDependencyContainer init when using the SDK as a static framework (#6125)
  • Fixes a React Native legacy build failure by adding the missing self references for explicit capture semantics (#6156)

8.56.0-alpha.3

Fixes

  • Fixes a React Native legacy build failure by adding the missing self references for explicit capture semantics (#6156)

8.56.0-alpha.2

Features

  • Add significant time change breadcrumb (#6112)
  • Add support for iOS 26, macOS 26, visionOS 26, watchOS 26, and tvOS 26 in device tests (#6063)

Fixes

  • Fix crash in Session Replay when opening the camera UI on iOS 26+ by skipping redaction of internal views.
    This may result in more of the camera screen being redacted. (#6045)
  • Fix crash in SentryDependencyContainer init when using the SDK as a static framework (#6125)

8.56.0-alpha.1

  • No documented changes.

8.56.0-alpha.0

Features

  • Structured Logs: Flush logs on SDK flush/close (#5834)
  • Add masking options for screenshots (#5401)

Fixes

  • Don't capture replays for events dropped in beforeSend (#5916)
  • Fix linking with SentrySwiftUI on Xcode 26 for visionOS (#5823)
  • Structured Logging: Logger called before SentrySDK.start becomes unusable (#5984)
  • Add masking for AVPlayerView (#5910)
  • Fix missing view hierachy when enabling attachScreenshot too (#5989)
  • Fix macOS's frameworks not following the versioned framework structure (#6049)
  • Add warning to addBreadcrumb when used before SDK init (#6083)
  • Add null-handling for parsed DSN in SentryHTTPTransport (#5800)

Improvements

  • Lazily CharacterSet only once in SentryBaggageSerialization (#5871)
  • Structured Logging: Log SentrySDK.logger calls to SentrySDKLog (#5991)
  • The build type in the app context now differentiates between enterprise and adhoc (#6044)
  • visionOS no longer needs swift's interoperability mode (#6077)
  • Ensure IP address is only inferred by Relay if sendDefaultPii is true (#5877)

@bruno-garcia bruno-garcia force-pushed the deps/packages/flutter/scripts/update-cocoa.sh/8.56.1 branch from b963f4e to 34c620b Compare September 25, 2025 03:17
s.source_files = 'sentry_flutter/Sources/**/*'
s.public_header_files = 'sentry_flutter/Sources/**/*.h'
s.dependency 'Sentry/HybridSDK', '8.55.1'
s.dependency 'Sentry/HybridSDK', '8.56.1'
Copy link

Choose a reason for hiding this comment

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

Bug: Cocoa SDK Update Triggers Runtime Crashes

Updating to Cocoa SDK v8.56.1 introduces a dependency version with known runtime crash issues. The upstream changelog explicitly warns that this version "can cause runtime crashes because the UIApplication.sharedApplication/NSApplication.sharedApplication is not yet available during SDK initialization." This violates the principle of avoiding changes with material stability impact without proper evaluation and risk assessment.

Fix in Cursor Fix in Web

Copy link

codecov bot commented Sep 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.71%. Comparing base (8541716) to head (34c620b).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3272      +/-   ##
==========================================
+ Coverage   87.84%   89.71%   +1.87%     
==========================================
  Files         290       95     -195     
  Lines       10003     3393    -6610     
==========================================
- Hits         8787     3044    -5743     
+ Misses       1216      349     -867     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@buenaflor buenaflor closed this Oct 7, 2025
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.

2 participants