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