Features
- Add options
options.sessionReplay.includedViewClassesandoptions.sessionReplay.excludedViewClassesto ignore views from subtree traversal (#7063) - Add isiOSAppOnVisionOS, isiOSAppOnMac, isMacCatalystApp to device context #6939
- Add integration to collect Metrics, enabled by default. Can be disabled by setting
options.experimental.enableMetrics = false(#6956) - Add implementation for Metrics Protocol with modification of items in
options.experimental.beforeSendMetrics(#6960) - Add
Sentry.metrics.count(..),Sentry.metrics.distribution(..)andSentry.metrics.gauge(..)to public API (#6957) - Add flushing of Metrics to
SentrySDK.flush()(#7182)
Fixes
- Encode SwiftUI internal class names in session replay redaction to avoid false-positive App Store review rejections (#7123)
- The transport now correctly discard envelopes on 4xx and 5xx responses and records client reports
send_error(#6618) This also fixes edge cases in which the SDK kept retrying sending a faulty envelope until the offline cache overflowed. - Change default attributes of Logs to only include user attributes when
options.sendDefaultPii = true(#7055) - Rename log attribute
sentry.trace.parent_span_idtospan_id(#7055) - Fixes stacktraces for MetricKit events (#6908)
- Fix
raw_descriptioninruntimecontext on Mac Catalyst (#7082) - Deprecates
configureDarkThemefor user feedback (#7114) - Fix incorrect variable assignment for 'sampled' key (#7120)
- Resolve crash in caused by calling
SentryFramesTracker.removeListener(_:)(#7155)