8.6.0
If you want to try Session Replay Android Alpha, see our alpha release: https://github.com/getsentry/sentry-dart/releases/tag/8.6.0-alpha.2
Improvements
- Add error type identifier to improve obfuscated Flutter issue titles (#2170)
- Example: transforms issue titles from
GA
toFlutterError
orminified:nE
toFlutterError
- This is enabled automatically and will change grouping if you already have issues with obfuscated titles
- If you want to disable this feature, set
enableExceptionTypeIdentification
tofalse
in your Sentry options - You can add your custom exception identifier if there are exceptions that we do not identify out of the box
- Example: transforms issue titles from
// How to add your own custom exception identifier
class MyCustomExceptionIdentifier implements ExceptionIdentifier {
@override
String? identifyType(Exception exception) {
if (exception is MyCustomException) {
return 'MyCustomException';
}
if (exception is MyOtherCustomException) {
return 'MyOtherCustomException';
}
return null;
}
}
SentryFlutter.init((options) =>
options..prependExceptionTypeIdentifier(MyCustomExceptionIdentifier()));
Deprecated
- Deprecate
enableTracing
(#2199)- The
enableTracing
option has been deprecated and will be removed in the next major version. We recommend removing it
in favor of thetracesSampleRate
andtracesSampler
options. If you want to enable performance monitoring, please set
thetracesSampleRate
to a sample rate of your choice, or provide a sampling function astracesSampler
option
instead. If you want to disable performance monitoring, remove thetracesSampler
andtracesSampleRate
options.
- The