CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 22:46:51 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"c73d49bddada0d55dea8631bbd35e660"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=XoAWkMFkzxZtoa14YF8I0L%2FxgMJy%2FX1%2BwGfaIlnW6klMhBwN5LWyVO%2B8NKHYnDGnWr1FyQ902ickh7g0zzwgftEQcdDFM2sUvlMtySexT8c0zaQVi5U5oOQyRob211CZ1Rr5l2j79NgRC3JjLX4dwaMgUjwNkxmatRw58zyJQiCfZfeN6OUlQWbcUdUjVwQwCwyJySXfHp40lUawOD2669pN8RGF5r4s9Zni8lQUKhn%2FhsBsF4blNpl%2F%2B3Pz3C5NxsQnfKdmjXCVUG%2Bry0mvQg%3D%3D--jwKIQAWSZJgPt%2FGi--05rJhchPLcxwmUU8L5BNDA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.283650364.1753310810; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 22:46:50 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 22:46:50 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B3C0:35B563:112EE5B:1497304:6881665A
Releases · getsentry/sentry-dart · GitHub
21 Jul 15:53
Loading
14 Jul 15:33
Loading
10 Jul 14:38
Loading
08 Jul 10:26
Loading
04 Jul 10:02
03 Jul 12:31
Loading
01 Jul 14:41
24 Jun 11:57
Loading
16 Jun 13:16
Loading
11 Jun 11:50
Loading
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 267
Releases: getsentry/sentry-dart
Releases · getsentry/sentry-dart
9.5.0
Compare
Features
- Report Flutter framework feature flags (#2991)
- Search for feature flags that are prefixed with
flutter:*
- This works on Flutter builds that include this PR
- Search for feature flags that are prefixed with
- Add
LoggingIntegration
support forSentryLog
(#3050) - Add
enableNewTraceOnNavigation
flag toSentryNavigatorObserver
(#3096)- Default:
true
- Disable by passing
false
, e.g.:SentryNavigatorObserver(enableNewTraceOnNavigation: false)
- Note: traces differ from transactions/spans — see tracing concepts here
- Default:
Fixes
- Ensure consistent sampling per trace (#3079)
Enhancements
- Add sampled flag in propagation context (#3084)
Dependencies
Assets 2
9.4.1
Compare
Fixes
- Span ids not re-generating for headers created from scope (#3051)
ScreenshotIntegration
not being added for web (#3055)PropagationContext
not being set whenScope
is cloned resulting in different trace ids when usingwithScope
(#3069)- Drift transaction rollback not executed when parent span is null (#3062)
Enhancements
Assets 2
9.4.0
Compare
Fixes
- SPM should use
exact
instead offrom
when defining the sentry-cocoa package (#3065) - Respect ancestor text direction in
SentryScreenshotWidget
(#3046) - Add additional crashpad path candidate (#3016)
- Replay JNI usage with
SentryFlutterPlugin
(#3036, #3039) - Do not set
isTerminating
oncaptureReplay
for Android (#3037)- Previously segments might be missing on Android replays if an unhandled error happened
Dependencies
Assets 2
9.4.0-beta.2
Compare
Fixes
- Respect ancestor text direction in
SentryScreenshotWidget
(#3046)
Assets 2
9.4.0-beta.1
Compare
9.3.0
Compare
Breaking Change (Tooling)
- Upgrade Kotlin
languageVersion
to1.8
(#3032)- This allows usage of the Kotlin Android Plugin
2.2.0
which requires alanguageVersion
of1.8
or higher - If you are experiencing an issue we recommend upgrading to a toolchain compatible with Kotlin
1.8
or higher
- This allows usage of the Kotlin Android Plugin
Features
- SentryFeedbackWidget Improvements (#2964)
- Capture a device screenshot for feedback
- Customize tests and required fields
- Customization moved from the
SentryFeedbackWidget
constructor toSentryFlutterOptions
:
// configure your feedback widget
options.feedback.showBranding = false;
Assets 2
9.2.0
d3cc4e0
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Compare
9.1.0
7073074
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Compare
Features
- Flutter Web: add debug ids to events (#2917)
- This allows support for symbolication based on debug ids
- This only works if you use the Sentry Dart Plugin version
3.0.0
or higher
- Improved TTID/TTFD API (#2866)
- This improves the stability and consistency of TTFD reporting by introducing new APIs
// 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();
});
}
- Add
message
parameter tocaptureException()
(#2882) - Add module in SentryStackFrame (#2931)
- Set
SentryOptions.includeModuleInStackTrace = true
to enable this. This may change grouping of exceptions.
- Set
Dependencies
Enhancements
- Only enable load debug image integration for obfuscated apps (#2907)
Assets 2
9.0.0
Compare
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:
- Bump the minimum Dart and Flutter versions to
3.5.0
and3.24.0
respectively - Bump the minimum Android API version to 21
- Add interoperability with the Sentry Javascript SDK in Flutter Web for features such as release health and reporting native JS errors
- GA the Session Replay feature
- Provide feature flag support as well as Firebase Remote Config support
- Trim down unused and potentially confusing APIs
How To Upgrade
Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 8 to version 9
Breaking changes
- Increase minimum SDK version requirements to Dart
v3.5.0
and Flutterv3.24.0
(#2643) - Update naming of
LoadImagesListIntegration
toLoadNativeDebugImagesIntegration
(#2833) - Set sentry-native backend to
crashpad
by default andbreakpad
for Windows ARM64 (#2791)- Setting the
SENTRY_NATIVE_BACKEND
environment variable will override the defaults.
- Setting the
- Remove manual TTID implementation (#2668)
- Remove screenshot option
attachScreenshotOnlyWhenResumed
(#2664) - Remove deprecated
beforeScreenshot
(#2662) - Remove old user feedback api (#2686)
- This is replaced by
beforeCaptureScreenshot
- This is replaced by
- Remove deprecated loggers (#2685)
- Remove user segment (#2687)
- Enable Sentry JS SDK native integration by default (#2688)
- Remove
enableTracing
(#2695) - Remove
options.autoAppStart
andsetAppStartEnd
(#2680) - Bump Drift min version to
2.24.0
and useQueryInterceptor
instead ofQueryExecutor
(#2679) - Add hint for transactions (#2675)
BeforeSendTransactionCallback
now has aHint
parameter
- Remove
dart:html
usage in favour ofpackage:web
(#2710) - Remove max response body size (#2709)
- Responses are now only attached if size is below ~0.15mb
- Responses are attached to the
Hint
object, which can be read inbeforeSend
/beforeSendTransaction
callbacks viahint.response
. - For now, only the
dio
integration is supported.
- Enable privacy masking for screenshots by default (#2728)
- Set option
anrEnabled
totrue
by default (#2878) - Mutable Data Classes (#2818)
- Some SDK classes do not have
const
constructors anymore. - The
copyWith
andclone
methods of SDK classes were deprecated.
- Some SDK classes do not have
// old
options.beforeSend = (event, hint) {
event = event.copyWith(release: 'my-release');
return event;
}
// new
options.beforeSend = (event, hint) {
event.release = 'my-release';
return event;
}
Features
- Sentry Structured Logs Beta (#2919)
- The old
SentryLogger
has been renamed toSdkLogCallback
and can be accessed throughoptions.log
now. - Adds support for structured logging though
Sentry.logger
:
- The old
// 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,
),
);
},
);
- Properly generates and links trace IDs for errors and spans (#2869, #2861):
- With
SentryNavigatorObserver
- each navigation event starts a new trace. - Without
SentryNavigatorObserver
on 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 support for Flutter Web release health (#2794)
- Requires using
SentryNavigatorObserver
;
- Requires using
Behavioral changes
- Set log level to
warning
by 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)
- Improves and more accurately represent exception groups
- Disabled by default as it may cause issues to group differently
- You can enable this feature by setting
options.groupException = true
Improvements
- Replay: improve Android native interop performance by using JNI (#2670)
- Align User Feedback API (#2949)
- Don’t apply breadcrumbs and extras from scope to feedback events
- Capture session replay when processing feedback events
- Record
feedback
client report for dropped feedback events - Record
feedback
client report for errors when usingHttpTransport
- Truncate feedback message to max 4096 characters (#2954)
- Replay: Mask RichText Widgets by default (#2975)
Dependencies
Assets 2
9.0.0-RC.4
Compare
Enhancements
- Replay: Mask RichText Widgets (#2975)
Assets 2
Previous Next
You can’t perform that action at this time.