|
4 | 4 |
|
5 | 5 | ### Enhancements
|
6 | 6 |
|
7 |
| -- Remove `sentry` frames if SDK falls back to current stack trace ([#2351](https://github.com/getsentry/sentry-dart/pull/2351)) |
| 7 | +- Remove `sentry` frames if SDK falls back to current stack trace ([#2351](https://github.com/getsentry/sentry-dart/pull/2351)) |
8 | 8 | - Flutter doesn't always provide stack traces for unhandled errors - this is normal Flutter behavior
|
9 | 9 | - When no stack trace is provided (in Flutter errors, `captureException`, or `captureMessage`):
|
10 | 10 | - SDK creates a synthetic trace using `StackTrace.current`
|
11 | 11 | - Internal SDK frames are removed to reduce noise
|
12 | 12 | - Original stack traces (when provided) are left unchanged
|
13 |
| - |
| 13 | + |
14 | 14 | ### Features
|
15 | 15 |
|
| 16 | +- Windows native error & obfuscation support ([#2286](https://github.com/getsentry/sentry-dart/pull/2286), [#2426](https://github.com/getsentry/sentry-dart/pull/2426)) |
16 | 17 | - Improve frame tracking accuracy ([#2372](https://github.com/getsentry/sentry-dart/pull/2372))
|
17 | 18 | - Introduces `SentryWidgetsFlutterBinding` that tracks a frame starting from `handleBeginFrame` and ending in `handleDrawFrame`, this is approximately the [buildDuration](https://api.flutter.dev/flutter/dart-ui/FrameTiming/buildDuration.html) time
|
18 | 19 | - By default, `SentryFlutter.init()` automatically initializes `SentryWidgetsFlutterBinding` through the `WidgetsFlutterBindingIntegration`
|
|
21 | 22 | void main() async {
|
22 | 23 | // Replace WidgetsFlutterBinding.ensureInitialized()
|
23 | 24 | SentryWidgetsFlutterBinding.ensureInitialized();
|
24 |
| - |
| 25 | +
|
25 | 26 | await SentryFlutter.init(...);
|
26 | 27 | runApp(MyApp());
|
27 | 28 | }
|
|
95 | 96 | ),
|
96 | 97 | );
|
97 | 98 | ```
|
98 |
| - |
| 99 | + |
99 | 100 | - Add screenshot to `SentryFeedbackWidget` ([#2369](https://github.com/getsentry/sentry-dart/pull/2369))
|
100 | 101 | - Use `SentryFlutter.captureScreenshot` to create a screenshot attachment
|
101 | 102 | - Call `SentryFeedbackWidget` with this attachment to add it to the user feedback
|
102 | 103 |
|
103 | 104 | ```dart
|
104 | 105 | final id = await Sentry.captureMessage('UserFeedback');
|
105 | 106 | final screenshot = await SentryFlutter.captureScreenshot();
|
106 |
| - |
| 107 | +
|
107 | 108 | Navigator.push(
|
108 | 109 | context,
|
109 | 110 | MaterialPageRoute(
|
|
121 | 122 | - Avoid sending too many empty client reports when Http Transport is used ([#2380](https://github.com/getsentry/sentry-dart/pull/2380))
|
122 | 123 | - Cache parsed DSN ([#2365](https://github.com/getsentry/sentry-dart/pull/2365))
|
123 | 124 | - Handle backpressure earlier in pipeline ([#2371](https://github.com/getsentry/sentry-dart/pull/2371))
|
124 |
| - - Drops max un-awaited parallel tasks earlier, so event processors & callbacks are not executed for them. |
| 125 | + - Drops max un-awaited parallel tasks earlier, so event processors & callbacks are not executed for them. |
125 | 126 | - Change by setting `SentryOptions.maxQueueSize`. Default is 30.
|
126 | 127 | - Use native spotlight integrations on Flutter Android, iOS, macOS ([#2285](https://github.com/getsentry/sentry-dart/pull/2285))
|
127 | 128 | - Improve app start integration ([#2266](https://github.com/getsentry/sentry-dart/pull/2266))
|
|
148 | 149 |
|
149 | 150 | - Metrics API ([#2312](https://github.com/getsentry/sentry-dart/pull/2312))
|
150 | 151 | - Learn more: https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Metrics-Beta-Coming-to-an-End
|
151 |
| - |
| 152 | + |
152 | 153 | ### Dependencies
|
153 | 154 |
|
154 | 155 | - Bump Native SDK from v0.7.10 to v0.7.12 ([#2390](https://github.com/getsentry/sentry-dart/pull/2390))
|
|
0 commit comments