9.0.0-beta.1
Pre-release
Pre-release
Features
- Properly generates and links trace IDs for errors and spans (#2869, #2861):
- With
SentryNavigatorObserver- each navigation event starts a new trace. - Without
SentryNavigatorObserveron non-web platforms - a new trace is started from app
lifecycle hooks. - Web without
SentryNavigatorObserver- the same trace ID is reused until the page is
refreshed or closed.
- With
- Add
FeatureFlagIntegration(#2825)
// Manually track a feature flag
Sentry.addFeatureFlag('my-feature', true);- Firebase Remote Config Integration (#2837)
// Add the integration to automatically track feature flags from firebase remote config.
await SentryFlutter.init(
(options) {
options.dsn = 'https://[email protected]/add-your-dsn-here';
options.addIntegration(
SentryFirebaseRemoteConfigIntegration(
firebaseRemoteConfig: yourFirebaseRemoteConfig,
),
);
},
);Fixes
- Trace propagation in HTTP tracing clients not correctly set up if performance is disabled (#2850)
Behavioral changes
- Mutable Data Classes (#2818)
- Some SDK classes do not have
constconstructors anymore. - The
copyWithandclonemethods of SDK classes were deprecated.
- Some SDK classes do not have
- Set log level to
warningby default whendebug = true(#2836) - Set HTTP client breadcrumbs log level based on response status code (#2847)
- 5xx is mapped to
SentryLevel.error - 4xx is mapped to
SentryLevel.warning
- 5xx is mapped to
- Parent-child relationship for the PlatformExceptions and Cause (#2803, #2858)
- Improves and changes exception grouping. To opt in, set
groupExceptions=true
- Improves and changes exception grouping. To opt in, set
- Set
anrEnabledenabled per default (#2878)
API Changes
- Update naming of
LoadImagesListIntegrationtoLoadNativeDebugImagesIntegration(#2833) - Remove
otherfromSentryRequest(#2879)