You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove `options.autoAppStart` and `setAppStartEnd` ([#2680](https://github.com/getsentry/sentry-dart/pull/2680))
37
+
- Bump Drift min version to `2.24.0` and use `QueryInterceptor` instead of `QueryExecutor` ([#2679](https://github.com/getsentry/sentry-dart/pull/2679))
38
+
- Add hint for transactions ([#2675](https://github.com/getsentry/sentry-dart/pull/2675))
39
+
-`BeforeSendTransactionCallback` now has a `Hint` parameter
40
+
- Remove `dart:html` usage in favour of `package:web` ([#2710](https://github.com/getsentry/sentry-dart/pull/2710))
41
+
- Remove max response body size ([#2709](https://github.com/getsentry/sentry-dart/pull/2709))
42
+
- Responses are now only attached if size is below ~0.15mb
43
+
- Responses are attached to the `Hint` object, which can be read in `beforeSend`/`beforeSendTransaction` callbacks via `hint.response`.
44
+
- For now, only the `dio` integration is supported.
45
+
- Enable privacy masking for screenshots by default ([#2728](https://github.com/getsentry/sentry-dart/pull/2728))
46
+
- Set option `anrEnabled` to `true` by default (#2878)
47
+
- Mutable Data Classes ([#2818](https://github.com/getsentry/sentry-dart/pull/2818))
48
+
- Some SDK classes do not have `const` constructors anymore.
49
+
- The `copyWith` and `clone` methods of SDK classes were deprecated.
- The old `SentryLogger` has been renamed to `SdkLogCallback` and can be accessed through `options.log` now.
15
67
- Adds support for structured logging though `Sentry.logger`:
16
68
```dart
@@ -26,24 +78,96 @@ Sentry.logger.warn("This is a warning log with attributes.", attributes: {
26
78
'bool-attribute': SentryLogAttribute.bool(true),
27
79
});
28
80
```
81
+
- Add support for feature flags and integration with Firebase Remote Config ([#2825](https://github.com/getsentry/sentry-dart/pull/2825), [#2837](https://github.com/getsentry/sentry-dart/pull/2837))
82
+
```dart
83
+
// Manually track a feature flag
84
+
Sentry.addFeatureFlag('my-feature', true);
29
85
30
-
### Enhancements
86
+
// or use the Sentry Firebase Remote Config Integration (sentry_firebase_remote_config package is required)
87
+
// Add the integration to automatically track feature flags from firebase remote config.
- Properly generates and links trace IDs for errors and spans ([#2869](https://github.com/getsentry/sentry-dart/pull/2869), [#2861](https://github.com/getsentry/sentry-dart/pull/2861)):
100
+
-**With `SentryNavigatorObserver`** - each navigation event starts a new trace.
101
+
-**Without `SentryNavigatorObserver` on non-web platforms** - a new trace is started from app
102
+
lifecycle hooks.
103
+
-**Web without `SentryNavigatorObserver`** - the same trace ID is reused until the page is
104
+
refreshed or closed.
105
+
- Add support for Flutter Web release health ([#2794](https://github.com/getsentry/sentry-dart/pull/2794))
106
+
- Requires using `SentryNavigatorObserver`;
107
+
108
+
### Behavioral changes
109
+
110
+
- Set log level to `warning` by default when `debug = true` ([#2836](https://github.com/getsentry/sentry-dart/pull/2836))
111
+
- Set HTTP client breadcrumbs log level based on response status code ([#2847](https://github.com/getsentry/sentry-dart/pull/2847))
112
+
- 5xx is mapped to `SentryLevel.error`
113
+
- 4xx is mapped to `SentryLevel.warning`
114
+
- Parent-child relationship for the PlatformExceptions and Cause ([#2803](https://github.com/getsentry/sentry-dart/pull/2803))
115
+
- Improves and more accurately represent exception groups
116
+
- Disabled by default as it may cause issues to group differently
117
+
- You can enable this feature by setting `options.groupException = true`
31
118
119
+
### Improvements
120
+
121
+
- Replay: improve Android native interop performance by using JNI ([#2670](https://github.com/getsentry/sentry-dart/pull/2670))
32
122
- Align User Feedback API ([#2949](https://github.com/getsentry/sentry-dart/pull/2949))
33
123
- Don’t apply breadcrumbs and extras from scope to feedback events
34
124
- Capture session replay when processing feedback events
35
125
- Record `feedback` client report for dropped feedback events
36
126
- Record `feedback` client report for errors when using `HttpTransport`
37
127
- Truncate feedback message to max 4096 characters ([#2954](https://github.com/getsentry/sentry-dart/pull/2954))
128
+
- Replay: Mask RichText Widgets by default ([#2975](https://github.com/getsentry/sentry-dart/pull/2975))
38
129
39
130
### Dependencies
40
131
41
-
- Bump Cocoa SDK from v8.49.2 to v8.51.0 ([#2951](https://github.com/getsentry/sentry-dart/pull/2951))
- Bump Native SDK from v0.8.2 to v0.8.4 ([#2823](https://github.com/getsentry/sentry-dart/pull/2823), [#2872](https://github.com/getsentry/sentry-dart/pull/2872))
0 commit comments