Features
- Remove the
enableLogsandenableMetricsoptions. Logs and metrics are now always enabled and can no longer be disabled throughSentryOptions. Remove anyoptions.enableLogs/options.enableMetricsassignments from your SDK init. If you use the logging integration, it now forwards log records as Sentry logs as soon as it is added — raiseminSentryLogLevel, or set it toLevel.OFF, to opt out. by @buenaflor in #3983 enableStandaloneAppStartTracingis removed. App start is always a standaloneapp.startroot on Android and iOS when tracing is enabled. The legacy ui.load-attached app start path is gone. by @buenaflor in #3981- (replay) Mask SensitiveContent by default by @buenaflor in #3973
Fixes
- Sampling now runs after
beforeSendinstead of before it, soignoreErrors, ignored exception types, event processors andbeforeSendall take precedence over thesampleRatedecision. An event dropped bybeforeSendis now reported as abefore_senddiscard rather than asample_rateone, andbeforeSendnow runs for events that are later sampled out. (#3855) by @buenaflor in #3955 - (http) Align HTTP client error type and value by @buenaflor in #3934
Internal Changes
- Migrate the Android plugin to Flutter's built-in Kotlin.
sentry_flutterno longer applies the Kotlin Gradle Plugin itself, which silences Flutter 3.44's warning about plugins applying KGP and unblocks apps moving to AGP 9. by @buenaflor in #3961