Releases: getsentry/sentry-dart
Releases Β· getsentry/sentry-dart
8.4.0-beta.1
Features
- Add API for pausing/resuming iOS and macOS app hang tracking (#2134)
- This is useful to prevent the Cocoa SDK from reporting wrongly detected app hangs when the OS shows a system dialog for asking specific permissions.
- Use
SentryFlutter.pauseAppHangTracking()
andSentryFlutter.resumeAppHangTracking()
- Capture total frames, frames delay, slow & frozen frames and attach to spans (#2106)
- Support WebAssembly compilation (dart2wasm) (#2113)
Deprecated
- User segment is now deprecated and will be removed in version 9.0.0. Use a custom tag or context instead. (#2119)
Dependencies
8.3.0
8.2.0
Enhancements
- Include sentry frames in stacktraces to enable SDK crash detection (#2050)
Fixes
- Event processor blocking transactions from being sent if
autoAppStart
is false (#2028)
Features
- Create app start transaction when no
SentryNavigatorObserver
is present (#2017) - Adds native spans to app start transaction (#2027)
- Adds app start spans to first transaction (#2009)
Fixes
- Fix
PlatformException
title parsing (#2033)
Dependencies
7.20.2
8.1.0
Feature
- Set snapshot to
true
if stacktrace is not provided (#2000)- If the stacktrace is not provided, the Sentry SDK will fetch the current stacktrace via
StackTrace.current
and the snapshot will be set totrue
- this may change the grouping behavior snapshot = true
means it's a synthetic exception, reflecting the current state of the thread rather than the stack trace of a real exception
- If the stacktrace is not provided, the Sentry SDK will fetch the current stacktrace via
Fixes
- Timing metric aggregates metrics in the created span (#1994)
Dependencies
7.20.1
8.0.0
This release contains breaking changes, please read the changelog carefully.
Changes from the latest v7 release are included in this major release
Breaking Changes
- Bump iOS minimum deployment target from 11 to 12 (#1821)
- Mark exceptions not handled by the user as
handled: false
(#1535)- This will affect your release health data, and is therefore considered a breaking change.
- Refrain from overwriting the span status for unfinished spans (#1577)
- Older self-hosted sentry instances will drop transactions containing unfinished spans.
- This change was introduced in relay/#1690 and released with 22.12.0
- Older self-hosted sentry instances will drop transactions containing unfinished spans.
- Do not leak extensions of external classes (#1576)
- Make
hint
non-nullable inBeforeSendCallback
,BeforeBreadcrumbCall
andEventProcessor
(#1574)- This will affect your callbacks, making this a breaking change.
- Load Device Contexts from Sentry Java (#1616)
- Now the device context from Android is available in
BeforeSendCallback
- Now the device context from Android is available in
- Set ip_address to {{auto}} by default, even if sendDefaultPII is disabled (#1665)
- Instead use the "Prevent Storing of IP Addresses" option in the "Security & Privacy" project settings on sentry.io
Features
- Add support for exception aggregates (#1866)
7.20.0
7.19.0
Features
- Experimental: Add support for Sentry Developer Metrics (#1940, #1949, #1954, #1958)
Use the Metrics API to track processing time, download sizes, user signups, and conversion rates and correlate them back to tracing data in order to get deeper insights and solve issues faster. Our API supports counters, distributions, sets, gauges and timers, and it's easy to get started:To learn more about Sentry Developer Metrics, head over to our Dart and Flutter docs page.Sentry.metrics() .increment( 'button_login_click', // key value: 1.0, unit: null, tags: {"provider": "e-mail"} );
Dependencies
- Expand
package_info_plus
version range to6.0.0
(#1948)
Improvements
- Set
sentry_flutter.podspec
version frompubspec.yaml
(#1941)
7.18.0
Features
- Add TTFD (time to full display), which allows you to measure the time it takes to render the full screen (#1920)
- Requires using the routing instrumentation.
- Set
enableTimeToFullDisplayTracing = true
in yourSentryFlutterOptions
to enable TTFD - Manually report the end of the full display by calling
SentryFlutter.reportFullyDisplayed()
- If not reported within 30 seconds, the span will be automatically finish with the status
deadline_exceeded
- Add TTID (time to initial display), which allows you to measure the time it takes to render the first frame of your screen (#1910)
- Requires using the routing instrumentation.
- Introduces two modes:
automatic
mode is enabled by default for all screens and will yield only an approximation result.manual
mode requires manual instrumentation and will yield a more accurate result.- To use
manual
mode, you need to wrap your desired widget:SentryDisplayWidget(child: MyScreen())
.
- To use
- You can mix and match both modes in your app.
- Other significant fixes
didPop
doesn't trigger a new transaction- Change transaction operation name to
ui.load
instead ofnavigation
- Add override
captureFailedRequests
option (#1931)- The
dio
integration andSentryHttpClient
now take an additionalcaptureFailedRequests
option. - This is useful if you want to disable this option on native and only enable it on
dio
for example.
- The
Improvements
- Update root name for navigator observer (#1934)
- The root name for transactions is now
root /
instead ofroot ("/")
.
- The root name for transactions is now