1616
1717### Features
1818
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+
1934- Add ` SentryFlutter.nativeCrash() ` using MethodChannels for Android and iOS ([ #2239 ] ( https://github.com/getsentry/sentry-dart/pull/2239 ) )
2035 - This can be used to test if native crash reporting works
2136- 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+ ```
2743
2844### Improvements
2945
@@ -38,12 +54,33 @@ SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
3854 - [ changelog] ( https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7140 )
3955 - [ diff] ( https://github.com/getsentry/sentry-java/compare/7.13.0...7.14.0 )
4056
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+
4177## 8.7.0
4278
4379### Features
4480
4581- Add support for span level measurements. ([ #2214 ] ( https://github.com/getsentry/sentry-dart/pull/2214 ) )
4682- Add ` ignoreTransactions ` and ` ignoreErrors ` to options ([ #2207 ] ( https://github.com/getsentry/sentry-dart/pull/2207 ) )
83+
4784 ``` dart
4885 await SentryFlutter.init(
4986 (options) {
@@ -55,8 +92,10 @@ SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
5592 appRunner: () => runApp(MyApp()),
5693 );
5794 ```
95+
5896- Add proxy support ([ #2192 ] ( https://github.com/getsentry/sentry-dart/pull/2192 ) )
5997 - Configure a ` SentryProxy ` object and set it on ` SentryFlutter.init `
98+
6099 ``` dart
61100 import 'package:flutter/widgets.dart';
62101 import 'package:sentry_flutter/sentry_flutter.dart';
@@ -96,24 +135,25 @@ SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
96135 - This is enabled automatically and will change grouping if you already have issues with obfuscated titles
97136 - If you want to disable this feature, set ` enableExceptionTypeIdentification ` to ` false ` in your Sentry options
98137 - 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;
109151 }
110- return null;
111152 }
112- }
113153
114- SentryFlutter.init((options) =>
115- options..prependExceptionTypeIdentifier(MyCustomExceptionIdentifier()));
116- ```
154+ SentryFlutter.init((options) =>
155+ options..prependExceptionTypeIdentifier(MyCustomExceptionIdentifier()));
156+ ```
117157
118158### Deprecated
119159
@@ -129,6 +169,27 @@ SentryFlutter.init((options) =>
129169 - [ changelog] ( https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7130 )
130170 - [ diff] ( https://github.com/getsentry/sentry-java/compare/7.12.0...7.13.0 )
131171
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+
132193## 8.5.0
133194
134195### Features
@@ -141,7 +202,7 @@ SentryFlutter.init((options) =>
141202### Fixes
142203
143204- 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
145206
146207### Improvements
147208
0 commit comments