Skip to content

Commit 8cce74e

Browse files
committed
chore: update changelog
1 parent 98577d7 commit 8cce74e

File tree

1 file changed

+42
-26
lines changed

1 file changed

+42
-26
lines changed

CHANGELOG.md

Lines changed: 42 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,34 @@
22

33
## Unreleased
44

5-
### Improvements
5+
### Features
66

7-
- Debouncing of SentryWidgetsBindingObserver.didChangeMetrics with delay of 100ms. ([#2232](https://github.com/getsentry/sentry-dart/pull/2232))
7+
- Session replay Alpha for Android and iOS ([#2208](https://github.com/getsentry/sentry-dart/pull/2208)).
88

9-
## 8.8.0-alpha.1
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/)):
1010

11-
### Features
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+
```
1221

13-
- iOS Session Replay Alpha ([#2209](https://github.com/getsentry/sentry-dart/pull/2209))
14-
- Android replay touch tracking support ([#2228](https://github.com/getsentry/sentry-dart/pull/2228))
1522
- Add `ignoreRoutes` parameter to `SentryNavigatorObserver`. ([#2218](https://github.com/getsentry/sentry-dart/pull/2218))
16-
- This will ignore the Routes and prevent the Route from being pushed to the Sentry server.
17-
- Ignored routes will also create no TTID and TTFD spans.
18-
```dart
19-
SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
20-
```
23+
- This will ignore the Routes and prevent the Route from being pushed to the Sentry server.
24+
- Ignored routes will also create no TTID and TTFD spans.
25+
26+
```dart
27+
SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
28+
```
29+
30+
### Improvements
31+
32+
- Debouncing of SentryWidgetsBindingObserver.didChangeMetrics with delay of 100ms. ([#2232](https://github.com/getsentry/sentry-dart/pull/2232))
2133

2234
### Dependencies
2335

@@ -31,6 +43,7 @@ SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
3143

3244
- Add support for span level measurements. ([#2214](https://github.com/getsentry/sentry-dart/pull/2214))
3345
- Add `ignoreTransactions` and `ignoreErrors` to options ([#2207](https://github.com/getsentry/sentry-dart/pull/2207))
46+
3447
```dart
3548
await SentryFlutter.init(
3649
(options) {
@@ -42,8 +55,10 @@ SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
4255
appRunner: () => runApp(MyApp()),
4356
);
4457
```
58+
4559
- Add proxy support ([#2192](https://github.com/getsentry/sentry-dart/pull/2192))
4660
- Configure a `SentryProxy` object and set it on `SentryFlutter.init`
61+
4762
```dart
4863
import 'package:flutter/widgets.dart';
4964
import 'package:sentry_flutter/sentry_flutter.dart';
@@ -83,24 +98,25 @@ SentryNavigatorObserver(ignoreRoutes: ["/ignoreThisRoute"]),
8398
- This is enabled automatically and will change grouping if you already have issues with obfuscated titles
8499
- If you want to disable this feature, set `enableExceptionTypeIdentification` to `false` in your Sentry options
85100
- You can add your custom exception identifier if there are exceptions that we do not identify out of the box
86-
```dart
87-
// How to add your own custom exception identifier
88-
class MyCustomExceptionIdentifier implements ExceptionIdentifier {
89-
@override
90-
String? identifyType(Exception exception) {
91-
if (exception is MyCustomException) {
92-
return 'MyCustomException';
93-
}
94-
if (exception is MyOtherCustomException) {
95-
return 'MyOtherCustomException';
101+
102+
```dart
103+
// How to add your own custom exception identifier
104+
class MyCustomExceptionIdentifier implements ExceptionIdentifier {
105+
@override
106+
String? identifyType(Exception exception) {
107+
if (exception is MyCustomException) {
108+
return 'MyCustomException';
109+
}
110+
if (exception is MyOtherCustomException) {
111+
return 'MyOtherCustomException';
112+
}
113+
return null;
96114
}
97-
return null;
98115
}
99-
}
100116
101-
SentryFlutter.init((options) =>
102-
options..prependExceptionTypeIdentifier(MyCustomExceptionIdentifier()));
103-
```
117+
SentryFlutter.init((options) =>
118+
options..prependExceptionTypeIdentifier(MyCustomExceptionIdentifier()));
119+
```
104120

105121
### Deprecated
106122

0 commit comments

Comments
 (0)