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