Prereleases of Sentry's new SDK for Dart/Flutter.
What’s Changed
- Fix: StackTrace frames with 'package' uri.scheme are inApp by default #185
- Fix: Missing App's StackTrace frames for Flutter errors
- Enhancement: add isolateErrorIntegration and runZonedGuardedIntegration to default integrations in sentry-dart
- Fix: Breadcrumb list is a plain list instead of a values list #201
- Ref: Remove deprecated classes (Flutter Plugin for Android) and cleaning up #186
- Fix: Handle immutable event lists and maps
- Fix: NDK integration was being disabled by a typo
- Fix: Missing toList for debug meta #192
- Enhancement: NavigationObserver to record Breadcrumbs for navigation events #197
- Fix: Integrations should be closeable
- Feat: Support split-debug-info for Android #191
- Fix: The event payload must never serialize null or empty fields
- Ref: Make hints optional
Breaking changes
Sentry.initandSentryFlutter.inithave an optional callback argument which runs the host App after Sentry initialization.Integrationis anInterfaceinstead of a pure FunctionHintsare optional arguments- Sentry Dart SDK adds an
IsolateErrorhandler by default
Sentry Self Hosted Compatibility
- If you are using the
split-debug-infofeature, Since version4.0.0-beta.1of thesentry_flutter,Sentryversion >=v20.12.0is required. This only applies to on-premise Sentry, if you are using sentry.io no action is needed.
Packages were released on sentry pubdev and sentry_flutter pubdev
We'd love to get feedback and we'll work on getting the GA 4.0.0 out soon.
Until then, the stable SDK offered by Sentry is at version 3.0.1