Skip to content

8.12.0

Latest
Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 23 Dec 17:20

Deprecations

Fixes

  • Missing replay gestures on Android (#2515)
  • Replay mask sizing on scaling transform widget children (#2520)
  • Masking semi-transparent widgets (#2472)
  • Check SentryTracer type in TTFD tracker (#2508)

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.
    });
  • Warning (in a debug build) if a potentially sensitive widget is not masked or unmasked explicitly (#2375)

  • Replay: ensure visual update before capturing screenshots (#2527)

Dependencies