Skip to content

4.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@marandaneto marandaneto released this 03 Dec 10:01
· 1595 commits to main since this release
2bcb920

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.init and SentryFlutter.init have an optional callback argument which runs the host App after Sentry initialization.
  • Integration is an Interface instead of a pure Function
  • Hints are optional arguments
  • Sentry Dart SDK adds an IsolateError handler by default

Sentry Self Hosted Compatibility

  • If you are using the split-debug-info feature, Since version 4.0.0-beta.1 of the sentry_flutter, Sentry version >= v20.12.0 is 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