Features
- Platform Exception Event Processor (#1297)
- Support failedRequestTargets for HTTP Client errors (#1285)
- Captures errors for the default range
500-599ifcaptureFailedRequestsis enabled
- Captures errors for the default range
- Sentry Isolate Extension (#1266)
- Allow sentry user to control resolution of captured Flutter screenshots (#1288)
- Support beforeSendTransaction (#1238)
- Add In Foreground to App context (#1260)
- Error Cause Extractor (#1198, #1236)
- Add
throwabletoSentryException
- Add
- Dart 3 Support (#1220)
- Introduce
Hintdata bag (#1136) - Use
Hintfor screenshots (#1165) - Support custom units for custom measurements (#1181)
Enhancements
- Replace
toImagewithtoImageSyncfor Flutter >= 3.7 (1268) - Don't await
FutureOr<T>if it's not a future. This should marginally improve the performance (#1310) - Replace
StackTrace.emptywithStackTrace.current(#1183)
Breaking Changes
- Enable enableNdkScopeSync by default (#1276)
- Update
sentry_dioto dio v5 (#1282) - Remove deprecated fields (#1227)
- Remove deprecated fields from the
Scopeclass.user(SentryUser? user), using thesetUser(SentryUser? user)instead.attachements, using theattachmentsinstead.
- Remove deprecated field from the
SentryFlutterOptionsclass.anrTimeoutIntervalMillis, using theanrTimeoutIntervalinstead.autoSessionTrackingIntervalMillis, using theautoSessionTrackingIntervalinstead.
- Remove deprecated fields from the
- Rename APM tracking feature flags to tracing (#1222)
- Rename
- enableAutoPerformanceTracking to enableAutoPerformanceTracing
- enableOutOfMemoryTracking to enableWatchdogTerminationTracking
- Rename
- Enable APM features by default (#1217)
- Enable by default
- captureFailedRequests
- enableStructuredDataTracing
- enableUserInteractionTracing
- Enable by default
- Mark transaction as internal_error in case of unhandled errors (#1218)
- Removed various deprecated fields (#1036):
- Removed the following fields from the
devicecontext- language
- timezone
- screenResolution
- theme
- Removed isolate name from Dart context. It's now reported via the threads interface. It can be enabled via
options.attachThreads
- Removed the following fields from the
- Use
sentryClientNameinstead ofsdk.identifier(#1135) - Refactor
BindingUtilstoBindingWrapperto enable the use of custom bindings (#1184) - Bump Flutter min to 3.0.0 and Dart to 2.17.0 (#1180)