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
- Increase minimum SDK version requirements to Dart `v3.5.0` and Flutter `v3.24.0` ([#2643](https://github.com/getsentry/sentry-dart/pull/2643))
32
+
- Update naming of `LoadImagesListIntegration` to `LoadNativeDebugImagesIntegration` ([#2833](https://github.com/getsentry/sentry-dart/pull/2833))
33
+
- Set sentry-native backend to `crashpad` by default and `breakpad` for Windows ARM64 ([#2791](https://github.com/getsentry/sentry-dart/pull/2791))
34
+
- Setting the `SENTRY_NATIVE_BACKEND` environment variable will override the defaults.
- Remove `options.autoAppStart` and `setAppStartEnd` ([#2680](https://github.com/getsentry/sentry-dart/pull/2680))
45
+
- Bump Drift min version to `2.24.0` and use `QueryInterceptor` instead of `QueryExecutor` ([#2679](https://github.com/getsentry/sentry-dart/pull/2679))
46
+
- Add hint for transactions ([#2675](https://github.com/getsentry/sentry-dart/pull/2675))
47
+
-`BeforeSendTransactionCallback` now has a `Hint` parameter
48
+
- Remove `dart:html` usage in favour of `package:web` ([#2710](https://github.com/getsentry/sentry-dart/pull/2710))
49
+
- Remove max response body size ([#2709](https://github.com/getsentry/sentry-dart/pull/2709))
50
+
- Responses are now only attached if size is below ~0.15mb
51
+
- Responses are attached to the `Hint` object, which can be read in `beforeSend`/`beforeSendTransaction` callbacks via `hint.response`.
52
+
- For now, only the `dio` integration is supported.
53
+
- Enable privacy masking for screenshots by default ([#2728](https://github.com/getsentry/sentry-dart/pull/2728))
54
+
- Set option `anrEnabled` to `true` by default (#2878)
55
+
- Mutable Data Classes ([#2818](https://github.com/getsentry/sentry-dart/pull/2818))
56
+
- Some SDK classes do not have `const` constructors anymore.
57
+
- 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.
16
75
- Adds support for structured logging though `Sentry.logger`:
17
76
```dart
@@ -27,24 +86,96 @@ Sentry.logger.warn("This is a warning log with attributes.", attributes: {
27
86
'bool-attribute': SentryLogAttribute.bool(true),
28
87
});
29
88
```
89
+
- 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))
90
+
```dart
91
+
// Manually track a feature flag
92
+
Sentry.addFeatureFlag('my-feature', true);
30
93
31
-
### Enhancements
94
+
// or use the Sentry Firebase Remote Config Integration (sentry_firebase_remote_config package is required)
95
+
// 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)):
108
+
-**With `SentryNavigatorObserver`** - each navigation event starts a new trace.
109
+
-**Without `SentryNavigatorObserver` on non-web platforms** - a new trace is started from app
110
+
lifecycle hooks.
111
+
-**Web without `SentryNavigatorObserver`** - the same trace ID is reused until the page is
112
+
refreshed or closed.
113
+
- Add support for Flutter Web release health ([#2794](https://github.com/getsentry/sentry-dart/pull/2794))
114
+
- Requires using `SentryNavigatorObserver`;
115
+
116
+
### Behavioral changes
117
+
118
+
- Set log level to `warning` by default when `debug = true` ([#2836](https://github.com/getsentry/sentry-dart/pull/2836))
119
+
- Set HTTP client breadcrumbs log level based on response status code ([#2847](https://github.com/getsentry/sentry-dart/pull/2847))
120
+
- 5xx is mapped to `SentryLevel.error`
121
+
- 4xx is mapped to `SentryLevel.warning`
122
+
- Parent-child relationship for the PlatformExceptions and Cause ([#2803](https://github.com/getsentry/sentry-dart/pull/2803))
123
+
- Improves and more accurately represent exception groups
124
+
- Disabled by default as it may cause issues to group differently
125
+
- You can enable this feature by setting `options.groupException = true`
126
+
127
+
### Improvements
32
128
129
+
- Replay: improve Android native interop performance by using JNI ([#2670](https://github.com/getsentry/sentry-dart/pull/2670))
33
130
- Align User Feedback API ([#2949](https://github.com/getsentry/sentry-dart/pull/2949))
34
131
- Don’t apply breadcrumbs and extras from scope to feedback events
35
132
- Capture session replay when processing feedback events
36
133
- Record `feedback` client report for dropped feedback events
37
134
- Record `feedback` client report for errors when using `HttpTransport`
38
135
- Truncate feedback message to max 4096 characters ([#2954](https://github.com/getsentry/sentry-dart/pull/2954))
136
+
- Replay: Mask RichText Widgets by default ([#2975](https://github.com/getsentry/sentry-dart/pull/2975))
39
137
40
138
### Dependencies
41
139
42
-
- 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