You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/platforms/flutter/migration.mdx
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,20 @@ title: Migration Guide
3
3
sidebar_order: 1000
4
4
---
5
5
6
+
## Migrating From `sentry_flutter``6.18.x` to `sentry``7.0.0`
7
+
8
+
In addition to the changes introduced in [sentry](/platforms/dart/migration/):
9
+
10
+
API changes:
11
+
12
+
- Sentry's Flutter SDK version 7.0.0 and above requires Flutter `3.0.0`.
13
+
- The Sentry Cocoa SDK was upgraded to `8.0.0` which introduces breaking changes, see the [migration guide](/platforms/apple/migration/#migrating-from-7x-to-8x).
14
+
- The following fields have been removed from the `SentryFlutterOptions` class and replaced:
15
+
-`enableAutoPerformanceTracking` replaced with `enableAutoPerformanceTracing`.
16
+
-`enableOutOfMemoryTracking` replaced with `enableWatchdogTerminationTracking`.
17
+
-`anrTimeoutIntervalMillis` replaced with `anrTimeoutInterval`.
18
+
-`autoSessionTrackingIntervalMillis` replaced with `autoSessionTrackingInterval`.
19
+
6
20
## Migrating From `sentry_flutter``6.12.x` to `sentry``6.13.x`
7
21
8
22
The SDK already runs your init `callback` on an error handler, such as [`runZonedGuarded`](https://api.flutter.dev/flutter/dart-async/runZonedGuarded.html) on Flutter versions prior to `3.3`, or [`PlatformDispatcher.onError`](https://api.flutter.dev/flutter/dart-ui/PlatformDispatcher/onError.html) on Flutter versions 3.3 and higher, so that errors are automatically captured. No code changes are needed on your part.
0 commit comments