Prereleases of Sentry's new SDK for Dart/Flutter.
What’s Changed
- Ref: Remove duplicated attachStackTrace field
- Fix: Flutter Configurations should be able to mutate the SentryFlutterOptions
- Enhancement: Add SentryWidgetsBindingObserver, an Integration that captures certain window and device events.
- Enhancement: Set
options.environmenton SDK init based on the flags (kReleaseMode, kDebugMode, kProfileMode or SENTRY_ENVIRONMENT). - Feature: SentryHttpClient to capture HTTP requests as breadcrumbs
- Ref: Only assign non-null option values in Android native integration in order preserve default values
- Enhancement: Add 'attachThreads' in options. When enabled, threads are attached to all logged events for Android
- Ref: Rename typedef
LoggertoSentryLoggerto prevent name clashes with logging packages - Fix: Scope Event processors should be awaited
- Fix: Package usage as git dependency
Breaking changes
Loggertypedef is renamed toSentryLoggerattachStackTraceis renamed toattachStacktrace
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