github getsentry/sentry-dart 8.12.0-beta.1

latest releases: 9.8.0-beta.1, 9.8.0, 9.7.0...
pre-release11 months ago

Features

  • Replay: device orientation change support & improve video size fit on Android (#2462)
  • Support custom Sentry.runZoneGuarded zone creation (#2088)
    • Sentry will not create a custom zone anymore if it is started within a custom one.
    • This fixes Zone miss-match errors when trying to initialize WidgetsBinding before Sentry on Flutter Web
    • Sentry.runZonedGuarded creates a zone and also captures exceptions & breadcrumbs automatically.
    Sentry.runZonedGuarded(() {
      WidgetsBinding.ensureInitialized();
    
      // Errors before init will not be handled by Sentry
    
      SentryFlutter.init(
        (options) {
        ...
        },
        appRunner: () => runApp(MyApp()),
      );
    } (error, stackTrace) {
      // Automatically sends errors to Sentry, no need to do any
      // captureException calls on your part.
      // On top of that, you can do your own custom stuff in this callback.
    });

Fixes

  • Masking semi-transparent widgets (#2472)

Don't miss a new sentry-dart release

NewReleases is sending notifications on new releases.