8.47.0 (Stable)
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)
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)