NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev, #2802 most downloaded on pub.dev
Automatic capture of exceptions and GraphQL errors for the gql eco-system, like graphql and ferry
Latest stable
10.4.0
Last release 10 days ago
13 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Most releases are documented
notes for 50 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
99 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Span ids not re-generating for headers created from scope
ScreenshotIntegration not being added for web (#3055)PropagationContext not being set when Scope is cloned resulting in different trace ids when using withScope (#3069)SPM should use exact instead of from when defining the sentry-cocoa package
exact instead of from when defining the sentry-cocoa package (#3065)SentryScreenshotWidget (#3046)SentryFlutterPlugin (#3036, #3039)isTerminating on captureReplay for Android (#3037)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Respect ancestor text direction in SentryScreenshotWidget
SentryScreenshotWidget (#3046)Add additional crashpad path candidate
Upgrade Kotlin languageVersion to 1.8
languageVersion to 1.8 (#3032)
2.2.0 which requires a languageVersion of 1.8 or higher1.8 or higherSentryFeedbackWidget constructor to SentryFlutterOptions:// configure your feedback widget
options.feedback.showBranding = false;
Add os and device attributes to Flutter logs
Flutter Web: add debug ids to events
3.0.0 or higher// Prerequisite: `SentryNavigatorObserver` is set up and routes you navigate to have unique names, e.g configured via `RouteSettings`
// Info: Stateless widgets will report TTFD automatically when wrapped with `SentryDisplayWidget` - no need to call `reportFullyDisplayed`.
// Method 1: wrap your widget that you navigate to in `SentryDisplayWidget`
SentryDisplayWidget(child: YourWidget())
// Then report TTFD after long running work (File I/O, Network) within your widget.
@override
void initState() {
super.initState();
// Do some long running work...
Future.delayed(const Duration(seconds: 3), () {
if (mounted) {
SentryDisplayWidget.of(context).reportFullyDisplayed();
}
});
}
// Method 2: use the API directly to report TTFD - this does not require wrapping your widget with `SentryDisplayWidget`:
@override
void initState() {
super.initState();
// Get a reference to the current display before doing work.
final currentDisplay = SentryFlutter.currentDisplay();
// Do some long running work...
Future.delayed(const Duration(seconds: 3), () {
currentDisplay?.reportFullyDisplayed();
});
}
message parameter to captureException() (#2882)SentryOptions.includeModuleInStackTrace = true to enable this. This may change grouping of exceptions.Version 9.0.0 marks a major release of the Sentry Dart/Flutter SDKs containing breaking changes.
Version 9.0.0 marks a major release of the Sentry Dart/Flutter SDKs containing breaking changes.
The goal of this release is the following:
3.5.0 and 3.24.0 respectivelyPlease carefully read through the migration guide in the Sentry docs on how to upgrade from version 8 to version 9
v3.5.0 and Flutter v3.24.0 (#2643)LoadImagesListIntegration to LoadNativeDebugImagesIntegration (#2833)crashpad by default and breakpad for Windows ARM64 (#2791)
SENTRY_NATIVE_BACKEND environment variable will override the defaults.attachScreenshotOnlyWhenResumed (#2664)beforeScreenshot (#2662)beforeCaptureScreenshotenableTracing (#2695)options.autoAppStart and setAppStartEnd (#2680)2.24.0 and use QueryInterceptor instead of QueryExecutor (#2679)BeforeSendTransactionCallback now has a Hint parameterdart:html usage in favour of package:web (#2710)Hint object, which can be read in beforeSend/beforeSendTransaction callbacks via hint.response.dio integration is supported.anrEnabled to true by default (#2878)const constructors anymore.copyWith and clone methods of SDK classes were deprecated.// old
options.beforeSend = (event, hint) {
event = event.copyWith(release: 'my-release');
return event;
}
// new
options.beforeSend = (event, hint) {
event.release = 'my-release';
return event;
}
SentryLogger has been renamed to SdkLogCallback and can be accessed through options.log now.Sentry.logger:// Enable in `SentryOptions`:
options.enableLogs = true;
// Use `Sentry.logger`
Sentry.logger.info("This is a info log.");
Sentry.logger.warn("This is a warning log with attributes.", attributes: {
'string-attribute': SentryLogAttribute.string('string'),
'int-attribute': SentryLogAttribute.int(1),
'double-attribute': SentryLogAttribute.double(1.0),
'bool-attribute': SentryLogAttribute.bool(true),
});
// Manually track a feature flag
Sentry.addFeatureFlag('my-feature', true);
// or use the Sentry Firebase Remote Config Integration (sentry_firebase_remote_config package is required)
// Add the integration to automatically track feature flags from firebase remote config.
await SentryFlutter.init(
(options) {
options.dsn = 'https://example@sentry.io/add-your-dsn-here';
options.addIntegration(
SentryFirebaseRemoteConfigIntegration(
firebaseRemoteConfig: yourFirebaseRemoteConfig,
),
);
},
);
SentryNavigatorObserver - each navigation event starts a new trace.SentryNavigatorObserver on non-web platforms - a new trace is started from app
lifecycle hooks.SentryNavigatorObserver - the same trace ID is reused until the page is
refreshed or closed.SentryNavigatorObserver;warning by default when debug = true (#2836)SentryLevel.errorSentryLevel.warningoptions.groupException = truefeedback client report for dropped feedback eventsfeedback client report for errors when using HttpTransportErrors caught by OnErrorIntegration should be unhandled by default
The copyWith and clone methods of SDK classes were deprecated.
SentryNavigatorObserver - each navigation event starts a new trace.SentryNavigatorObserver on non-web platforms - a new trace is started from app
lifecycle hooks.SentryNavigatorObserver - the same trace ID is reused until the page is
refreshed or closed.FeatureFlagIntegration (#2825)// Manually track a feature flag
Sentry.addFeatureFlag('my-feature', true);
// Add the integration to automatically track feature flags from firebase remote config.
await SentryFlutter.init(
(options) {
options.dsn = 'https://example@sentry.io/add-your-dsn-here';
options.addIntegration(
SentryFirebaseRemoteConfigIntegration(
firebaseRemoteConfig: yourFirebaseRemoteConfig,
),
);
},
);
const constructors anymore.copyWith and clone methods of SDK classes were deprecated.warning by default when debug = true (#2836)SentryLevel.errorSentryLevel.warninggroupExceptions=trueanrEnabled enabled per default (#2878)LoadImagesListIntegration to LoadNativeDebugImagesIntegration (#2833)other from SentryRequest (#2879)Add support for Flutter Web release health
SentryNavigatorObserver;crashpad by default and breakpad for Windows ARM64 (#2791)
SENTRY_NATIVE_BACKEND environment variable will override the defaults.flutter_context (#2751)Remove deprecated beforeScreenshot
SentryDisplayWidget and manual TTID implementation (#2668)attachScreenshotOnlyWhenResumed (#2664)beforeScreenshot (#2662)enableTracing (#2695)options.autoAppStart and setAppStartEnd (#2680)2.24.0 and use QueryInterceptor instead of QueryExecutor (#2679)BeforeSendTransactionCallback now has a Hint parameterdart:html usage in favour of package:web (#2710)Hint object, which can be read in beforeSend/beforeSendTransaction callbacks via hint.response.dio integration is supported.### Enhancements - Replay: Mask RichText Widgets
Sentry Structured Logs (#2919) ``dart // Enable in SentryOptions`: options.enableLogs = true;
// Enable in `SentryOptions`:
options.enableLogs = true;
// Use `Sentry.logger`
Sentry.logger.info("This is a info log.");
Sentry.logger.warn("This is a warning log with attributes.", attributes: {
'attribute1': SentryLogAttribute.string('string'),
'attribute2': SentryLogAttribute.int(1),
'attribute3': SentryLogAttribute.double(1.0),
'attribute4': SentryLogAttribute.bool(true),
});
feedback client report for dropped feedback eventsfeedback client report for errors when using HttpTransportSentryLogger has been renamed to SdkLogCallback and can be accessed through options.log now.Sentry.logger:// Enable in `SentryOptions`:
options.enableLogs = true;
// Use `Sentry.logger`
Sentry.logger.info("This is a info log.");
Sentry.logger.warn("This is a warning log with attributes.", attributes: {
'string-attribute': SentryLogAttribute.string('string'),
'int-attribute': SentryLogAttribute.int(1),
'double-attribute': SentryLogAttribute.double(1.0),
'bool-attribute': SentryLogAttribute.bool(true),
});
Add hasSize guard when using a renderObject in SentryUserInteractionWidget
hasSize guard when using a renderObject in SentryUserInteractionWidget (#2946)### Fixes - Fix feature flag model keys
9.0.0 is now a release candidate.
9.0.0 is now a release candidate.
Improve performance of frames tracking
Improve platform memory collection on windows/linux
Deprecate Drift SentryQueryExecutor
This release fixes an issue where Cold starts can be incorrectly reported as Warm starts on Android.
SentryUser is now guarded by sendDefaultPii (#2726)
options.sendDefaultPii = true or manually set the IP address of the SentryUser to {{auto}}sendDefaultPii (#2741)
options.sendDefaultPii = true if you want to have the device name reportedloadDebugImagesForAddresses API for Android (#2706)
loadDebugImagesForAddresses are empty, the SDK loads all debug images as fallbackScreenshotIntegration, WidgetsBindingIntegration and SentryWidget in multi-view apps #2366 (#2366)captureFailedRequests param to FailedRequestInterceptor (#2744)SentryWidgetsFlutterBinding in warning message in FramesTrackingIntegration (#2704)SentryQueryExecutor (#2715)
SentryQueryInterceptor in the next major v9// Example usage in Sentry Flutter v9
final executor = NativeDatabase.memory().interceptWith(
SentryQueryInterceptor(databaseName: 'your_db_name'),
);
final db = AppDatabase(executor);
autoAppStart and setAppStartEnd (#2681)Deprecate Drift SentryQueryExecutor
SentryUser is now guarded by sendDefaultPii (#2726)
options.sendDefaultPii = true or manually set the IP address of the SentryUser to {{auto}}sendDefaultPii (#2741)
options.sendDefaultPii = true if you want to have the device name reportedScreenshotIntegration, WidgetsBindingIntegration and SentryWidget in multi-view apps #2366 (#2366)loadDebugImagesForAddresses API for Android (#2706)
loadDebugImagesForAddresses are empty, the SDK loads all debug images as fallbackSentryWidgetsFlutterBinding in warning message in FramesTrackingIntegration (#2704)SentryQueryExecutor (#2715)
SentryQueryInterceptor in the next major v9// Example usage in Sentry Flutter v9
final executor = NativeDatabase.memory().interceptWith(
SentryQueryInterceptor(databaseName: 'your_db_name'),
);
final db = AppDatabase(executor);
autoAppStart and setAppStartEnd (#2681)This release fixes an issue where Cold starts can be incorrectly reported as Warm starts on Android.
> This release contains an issue where Cold starts can be incorrectly reported as Warm starts on Android. We recommend staying on version 8.12.0 or up
[!WARNING] This release contains an issue where Cold starts can be incorrectly reported as Warm starts on Android. We recommend staying on version
8.12.0or updating to8.13.3if you use this feature on Android. See issue #2769 for more details.
build_web_compiler error (#2736)
if (dart.library.html) instead of if (dart.html) for imports> This release contains an issue where Cold starts can be incorrectly reported as Warm starts on Android. We recommend staying on version 8.12.0 or up
[!WARNING] This release contains an issue where Cold starts can be incorrectly reported as Warm starts on Android. We recommend staying on version
8.12.0or updating to8.13.3if you use this feature on Android. See issue #2769 for more details.
navigation breadcrumb is missing to route info (#2720)> This release contains an issue where Cold starts can be incorrectly reported as Warm starts on Android. We recommend staying on version 8.12.0 or up
[!WARNING] This release contains an issue where Cold starts can be incorrectly reported as Warm starts on Android. We recommend staying on version
8.12.0or updating to8.13.3if you use this feature on Android. See issue #2769 for more details.
beforeCapture for View Hierarchy (#2523)
options.enableSentryJs = trueoptions.experimental.replay.quality) (#2582)options.debug when in debug mode (#2597)SentryAssetBundle (#2577)sentry_link to Sentry. You can view the changelog for the previous versions here (#2338)
Enable options.debug when in debug mode
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
auto-generate event_id and timestamp for events
use x-sentry-error HTTP response header
basic ability to send exception reports to Sentry.io
One column per quarter.