This release fixes an issue where Cold starts can be incorrectly reported as Warm starts on Android.
Behavioral changes
- ⚠️ Auto IP assignment for
SentryUseris now guarded bysendDefaultPii(#2726)- If you rely on Sentry automatically processing the IP address of the user, set
options.sendDefaultPii = trueor manually set the IP address of theSentryUserto{{auto}}
- If you rely on Sentry automatically processing the IP address of the user, set
- Adding the device name to Contexts is now guarded by
sendDefaultPii(#2741)- Set
options.sendDefaultPii = trueif you want to have the device name reported
- Set
- Remove macOS display refresh rate support (#2628)
- Can't reliably detect on multi-monitor systems and on older macOS versions.
- Not very meaningful, as other applications may be running in parallel and affecting it.
Enhancements
- Add Flutter runtime information (#2742)
- This works if the version of Flutter you're using includes this code.
- Use
loadDebugImagesForAddressesAPI for Android (#2706)- This reduces the envelope size and data transferred across method channels
- If debug images received by
loadDebugImagesForAddressesare empty, the SDK loads all debug images as fallback
- Disable
ScreenshotIntegration,WidgetsBindingIntegrationandSentryWidgetin multi-view apps #2366 (#2366)
Fixes
- Pass missing
captureFailedRequestsparam toFailedRequestInterceptor(#2744) - Bind root screen transaction to scope (#2756)
- Reference to
SentryWidgetsFlutterBindingin warning message inFramesTrackingIntegration(#2704)
Deprecations
- Deprecate Drift
SentryQueryExecutor(#2715)- This will be replace by
SentryQueryInterceptorin the next major v9
- This will be replace by
// Example usage in Sentry Flutter v9
final executor = NativeDatabase.memory().interceptWith(
SentryQueryInterceptor(databaseName: 'your_db_name'),
);
final db = AppDatabase(executor);- Deprecate
autoAppStartandsetAppStartEnd(#2681)