|
5 | 5 | ### Improvements |
6 | 6 |
|
7 | 7 | - Deserialize and serialize unknown fields ([#2153](https://github.com/getsentry/sentry-dart/pull/2153)) |
| 8 | +## Unreleased |
| 9 | + |
| 10 | +### Improvements |
| 11 | + |
| 12 | +- Add error type identifier to improve obfuscated Flutter issue titles ([#2170](https://github.com/getsentry/sentry-dart/pull/2170)) |
| 13 | + - Example: transforms issue titles from `GA` to `FlutterError` or `minified:nE` to `FlutterError` |
| 14 | + - This is enabled automatically and will change grouping if you already have issues with obfuscated titles |
| 15 | + - If you want to disable this feature, set `enableExceptionTypeIdentification` to `false` in your Sentry options |
| 16 | + - You can add your custom exception identifier if there are exceptions that we do not identify out of the box |
| 17 | +```dart |
| 18 | +// How to add your own custom exception identifier |
| 19 | +class MyCustomExceptionIdentifier implements ExceptionIdentifier { |
| 20 | + @override |
| 21 | + String? identifyType(Exception exception) { |
| 22 | + if (exception is MyCustomException) { |
| 23 | + return 'MyCustomException'; |
| 24 | + } |
| 25 | + if (exception is MyOtherCustomException) { |
| 26 | + return 'MyOtherCustomException'; |
| 27 | + } |
| 28 | + return null; |
| 29 | + } |
| 30 | +} |
| 31 | +
|
| 32 | +SentryFlutter.init((options) => |
| 33 | + options..prependExceptionTypeIdentifier(MyCustomExceptionIdentifier())); |
| 34 | +``` |
| 35 | + |
| 36 | +### Deprecated |
| 37 | + |
| 38 | +- Deprecate `enableTracing` ([#2199](https://github.com/getsentry/sentry-dart/pull/2199)) |
| 39 | + - The `enableTracing` option has been deprecated and will be removed in the next major version. We recommend removing it |
| 40 | + in favor of the `tracesSampleRate` and `tracesSampler` options. If you want to enable performance monitoring, please set |
| 41 | + the `tracesSampleRate` to a sample rate of your choice, or provide a sampling function as `tracesSampler` option |
| 42 | + instead. If you want to disable performance monitoring, remove the `tracesSampler` and `tracesSampleRate` options. |
| 43 | + |
| 44 | +### Dependencies |
| 45 | + |
| 46 | +- Bump Android SDK from v7.12.0 to v7.12.1 ([#2198](https://github.com/getsentry/sentry-dart/pull/2198)) |
| 47 | + - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7121) |
| 48 | + - [diff](https://github.com/getsentry/sentry-java/compare/7.12.0...7.12.1) |
| 49 | + |
| 50 | +## 8.5.0 |
| 51 | + |
| 52 | +### Features |
| 53 | + |
| 54 | +- Add dart platform to sentry frames ([#2193](https://github.com/getsentry/sentry-dart/pull/2193)) |
| 55 | + - This allows viewing the correct dart formatted raw stacktrace in the Sentry UI |
| 56 | +- Support `ignoredExceptionsForType` ([#2150](https://github.com/getsentry/sentry-dart/pull/2150)) |
| 57 | + - Filter out exception types by calling `SentryOptions.addExceptionFilterForType(Type exceptionType)` |
| 58 | + |
| 59 | +### Fixes |
| 60 | + |
| 61 | +- Disable sff & frame delay detection on web, linux and windows ([#2182](https://github.com/getsentry/sentry-dart/pull/2182)) |
| 62 | + - Display refresh rate is locked at 60 for these platforms which can lead to inaccurate metrics |
| 63 | + |
| 64 | +### Improvements |
| 65 | + |
| 66 | +- Capture meaningful stack traces when unhandled errors have empty or missing stack traces ([#2152](https://github.com/getsentry/sentry-dart/pull/2152)) |
| 67 | + - This will affect grouping for unhandled errors that have empty or missing stack traces. |
| 68 | + |
| 69 | +### Dependencies |
| 70 | + |
| 71 | +- Bump Android SDK from v7.11.0 to v7.12.0 ([#2173](https://github.com/getsentry/sentry-dart/pull/2173)) |
| 72 | + - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7120) |
| 73 | + - [diff](https://github.com/getsentry/sentry-java/compare/7.11.0...7.12.0) |
| 74 | + - updates AGP to v7.4.2 |
| 75 | + - updates Kotlin to v1.8.0 |
| 76 | +- Bump Cocoa SDK from v8.30.1 to v8.32.0 ([#2174](https://github.com/getsentry/sentry-dart/pull/2174), [#2195](https://github.com/getsentry/sentry-dart/pull/2195)) |
| 77 | + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8320) |
| 78 | + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.30.1...8.32.0) |
8 | 79 |
|
9 | 80 | ## 8.4.0 |
10 | 81 |
|
|
0 commit comments