16
16
17
17
### Features
18
18
19
+ - Session replay Alpha for Android and iOS ([ #2208 ] ( https://github.com/getsentry/sentry-dart/pull/2208 ) ).
20
+
21
+ To try out replay, you can set following options (access is limited to early access orgs on Sentry. If you're interested, [ sign up for the waitlist] ( https://sentry.io/lp/mobile-replay-beta/ ) ):
22
+
23
+ ``` dart
24
+ await SentryFlutter.init(
25
+ (options) {
26
+ ...
27
+ options.experimental.replay.sessionSampleRate = 1.0;
28
+ options.experimental.replay.errorSampleRate = 1.0;
29
+ },
30
+ appRunner: () => runApp(MyApp()),
31
+ );
32
+ ```
33
+
19
34
- Add ` SentryFlutter.nativeCrash() ` using MethodChannels for Android and iOS ([ #2239 ] ( https://github.com/getsentry/sentry-dart/pull/2239 ) )
20
35
- This can be used to test if native crash reporting works
21
36
- Add ` ignoreRoutes ` parameter to ` SentryNavigatorObserver ` . ([ #2218 ] ( https://github.com/getsentry/sentry-dart/pull/2218 ) )
22
- - This will ignore the Routes and prevent the Route from being pushed to the Sentry server.
23
- - Ignored routes will also create no TTID and TTFD spans.
24
- ``` dart
25
- SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
26
- ```
37
+ - This will ignore the Routes and prevent the Route from being pushed to the Sentry server.
38
+ - Ignored routes will also create no TTID and TTFD spans.
39
+
40
+ ``` dart
41
+ SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
42
+ ```
27
43
28
44
### Improvements
29
45
@@ -38,12 +54,33 @@ SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
38
54
- [ changelog] ( https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7140 )
39
55
- [ diff] ( https://github.com/getsentry/sentry-java/compare/7.13.0...7.14.0 )
40
56
57
+ ## 8.8.0-alpha.1
58
+
59
+ ### Features
60
+
61
+ - iOS Session Replay Alpha ([ #2209 ] ( https://github.com/getsentry/sentry-dart/pull/2209 ) )
62
+ - Android replay touch tracking support ([ #2228 ] ( https://github.com/getsentry/sentry-dart/pull/2228 ) )
63
+ - Add ` ignoreRoutes ` parameter to ` SentryNavigatorObserver ` . ([ #2218 ] ( https://github.com/getsentry/sentry-dart/pull/2218 ) )
64
+ - This will ignore the Routes and prevent the Route from being pushed to the Sentry server.
65
+ - Ignored routes will also create no TTID and TTFD spans.
66
+
67
+ ``` dart
68
+ SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
69
+ ```
70
+
71
+ ### Dependencies
72
+
73
+ - Bump Android SDK from v7.13.0 to v7.14.0 ([ #2228 ] ( https://github.com/getsentry/sentry-dart/pull/2228 ) )
74
+ - [ changelog] ( https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7140 )
75
+ - [ diff] ( https://github.com/getsentry/sentry-java/compare/7.13.0...7.14.0 )
76
+
41
77
## 8.7.0
42
78
43
79
### Features
44
80
45
81
- Add support for span level measurements. ([ #2214 ] ( https://github.com/getsentry/sentry-dart/pull/2214 ) )
46
82
- Add ` ignoreTransactions ` and ` ignoreErrors ` to options ([ #2207 ] ( https://github.com/getsentry/sentry-dart/pull/2207 ) )
83
+
47
84
``` dart
48
85
await SentryFlutter.init(
49
86
(options) {
@@ -55,8 +92,10 @@ SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
55
92
appRunner: () => runApp(MyApp()),
56
93
);
57
94
```
95
+
58
96
- Add proxy support ([ #2192 ] ( https://github.com/getsentry/sentry-dart/pull/2192 ) )
59
97
- Configure a ` SentryProxy ` object and set it on ` SentryFlutter.init `
98
+
60
99
``` dart
61
100
import 'package:flutter/widgets.dart';
62
101
import 'package:sentry_flutter/sentry_flutter.dart';
@@ -96,24 +135,25 @@ SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
96
135
- This is enabled automatically and will change grouping if you already have issues with obfuscated titles
97
136
- If you want to disable this feature, set ` enableExceptionTypeIdentification ` to ` false ` in your Sentry options
98
137
- You can add your custom exception identifier if there are exceptions that we do not identify out of the box
99
- ``` dart
100
- // How to add your own custom exception identifier
101
- class MyCustomExceptionIdentifier implements ExceptionIdentifier {
102
- @override
103
- String? identifyType(Exception exception) {
104
- if (exception is MyCustomException) {
105
- return 'MyCustomException';
106
- }
107
- if (exception is MyOtherCustomException) {
108
- return 'MyOtherCustomException';
138
+
139
+ ``` dart
140
+ // How to add your own custom exception identifier
141
+ class MyCustomExceptionIdentifier implements ExceptionIdentifier {
142
+ @override
143
+ String? identifyType(Exception exception) {
144
+ if (exception is MyCustomException) {
145
+ return 'MyCustomException';
146
+ }
147
+ if (exception is MyOtherCustomException) {
148
+ return 'MyOtherCustomException';
149
+ }
150
+ return null;
109
151
}
110
- return null;
111
152
}
112
- }
113
153
114
- SentryFlutter.init((options) =>
115
- options..prependExceptionTypeIdentifier(MyCustomExceptionIdentifier()));
116
- ```
154
+ SentryFlutter.init((options) =>
155
+ options..prependExceptionTypeIdentifier(MyCustomExceptionIdentifier()));
156
+ ```
117
157
118
158
### Deprecated
119
159
@@ -129,6 +169,27 @@ SentryFlutter.init((options) =>
129
169
- [ changelog] ( https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7130 )
130
170
- [ diff] ( https://github.com/getsentry/sentry-java/compare/7.12.0...7.13.0 )
131
171
172
+ ## 8.6.0-alpha.2
173
+
174
+ ### Features
175
+
176
+ - Android Session Replay Alpha ([ #2032 ] ( https://github.com/getsentry/sentry-dart/pull/2032 ) )
177
+
178
+ To try out replay, you can set following options:
179
+
180
+ ``` dart
181
+ await SentryFlutter.init(
182
+ (options) {
183
+ ...
184
+ options.experimental.replay.sessionSampleRate = 1.0;
185
+ options.experimental.replay.errorSampleRate = 1.0;
186
+ },
187
+ appRunner: () => runApp(MyApp()),
188
+ );
189
+ ```
190
+
191
+ Access is limited to early access orgs on Sentry. If you're interested, [ sign up for the waitlist] ( https://sentry.io/lp/mobile-replay-beta/ )
192
+
132
193
## 8.5.0
133
194
134
195
### Features
@@ -141,7 +202,7 @@ SentryFlutter.init((options) =>
141
202
### Fixes
142
203
143
204
- Disable sff & frame delay detection on web, linux and windows ([ #2182 ] ( https://github.com/getsentry/sentry-dart/pull/2182 ) )
144
- - Display refresh rate is locked at 60 for these platforms which can lead to inaccurate metrics
205
+ - Display refresh rate is locked at 60 for these platforms which can lead to inaccurate metrics
145
206
146
207
### Improvements
147
208
0 commit comments