Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 13, 2025

Bumps scripts/update-cocoa.sh from 8.44.0 to 8.47.0.

Auto-generated by a dependency updater.

Changelog

8.47.0

Important

This version fixes an important bug for applying scope data to crash events (#4969).

Previously, the SDK always set the event's user to the user of the scope of the app launch after the crash event, which could result in incorrect user data if the user changed between the crash and the next launch.
Additionally, if specific properties on the crash event were nil, the SDK replaced them with values from the scope of the app launch after the crash event. This affected the following event properties: tags, extra, fingerprints, breadcrumbs, dist, environment, level, and trace context. However, since most of these properties are infrequently nil, the fix should have minimal impact on most users.

Features

  • Add extension for Data to track file I/O operations with Sentry (#4862)
  • Send fatal app hang session updates (#4921) only when enabling the option enableAppHangTrackingV2.
  • Add experimental flag options.sessionReplay.enableExperimentalViewRenderer to enable up to 5x times more performance in Session Replay (#4940)
  • Add extension for FileManager to track file I/O operations with Sentry (#4863)

Fixes

  • Correctly finish TTFD span when no new frame (#4941)
  • Only delete envelopes when receiving HTTP 200 (#4956)
  • Set foreground true for watchdog terminations (#4953)
  • Fix removing value from context not updating observer context (#4960)
  • Fix wrongly applying scope to crash events (#4969)
  • Changed parameter of SDKInfo.initWithOptions to be nullable (#4968)

Improvements

  • More debug logs for UIViewController tracing (#4942)
  • Avoid creating unnecessary User Interaction transactions (#4957)

8.46.0

Features

  • Report fatal app hangs (#4889) only when enabling the option enableAppHangTrackingV2
  • New user feedback API and Widget (#4874)

Improvements

  • Log message when setting user before starting the SDK (#4882)
  • Add experimental flag to disable swizzling of NSData individually (#4859)
  • Replace calls of SentryScope.useSpan with callback to direct span accessor (#4896)
  • Slightly reduce size of SentryCrashReports (#4915)

Fixes

  • Fix rare memory access issue for auto tracing (#4894). For more details, see issue (#4887).
  • Move assignment of file IO span origin outside of block (#4888)
  • Deadline timeout crash in SentryTracer (#4911)
  • Improve memory-safety by converting Swift constants to Objective-C (#4910)
  • Fix C++ compilation error due to changes in Xcode 16.3 beta's compiler toolchain (#4917 and #4918)

Internal

  • Add injectable mask and view renderer (#4938)

8.45.0

Warning

We have been made aware that this version can cause crashes in certain configurations when using network tracking, file I/O tracking, or CoreData tracking features.
We recommend staying on version 8.43.0 or disabling the mentioned features until a fix is released.
See issue #4887 for more details.

Features

  • Add showMaskPreview to SentrySDK.replay api to debug replay masking (#4761)
  • Session replay masking preview for SwiftUI (#4737)
  • HTTP Breadcrumb level based on response status code (#4779) 4xx is warning, 5xx is error.
  • Measure app hang duration for AppHangTrackingV2 (#4836)

Improvements

  • Add more debug logs for SentryViewHierarchy (#4780)
  • Add sample_rand to baggage (#4751)
  • Add timeIntervalSince1970 to log messages (#4781)
  • Add waitForFullDisplay to sentryTrace view modifier (#4797)
  • Increase continuous profiling buffer size to 60 seconds (#4826)

Fixes

  • Fix missing sample_rate in baggage (#4751)
  • Serializing SentryGeo with nil values (#4724)
  • Add type-safety for screenshots result array (#4843)

Internal

  • Deserializing SentryEvents with Decodable (#4724)
  • Remove internal unknown dict for Breadcrumbs (#4803) This potentially only impacts hybrid SDKs.

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cocoa.sh/8.47.0 branch from 6876086 to ec9b90a Compare March 13, 2025 03:12
@codecov
Copy link

codecov bot commented Mar 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.12%. Comparing base (f22d5c9) to head (ec9b90a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #343      +/-   ##
==========================================
+ Coverage   79.75%   80.12%   +0.37%     
==========================================
  Files          43       32      -11     
  Lines         800      478     -322     
  Branches      106       57      -49     
==========================================
- Hits          638      383     -255     
+ Misses        107       68      -39     
+ Partials       55       27      -28     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@buenaflor buenaflor closed this Apr 3, 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.

3 participants