Skip to content

Releases: getsentry/sentry-dart

9.0.0-RC.2

15 May 10:34
Compare
Choose a tag to compare
9.0.0-RC.2 Pre-release
Pre-release

Fixes

  • Add hasSize guard when using a renderObject in SentryUserInteractionWidget (#2946)

9.0.0-RC.1

14 May 14:10
Compare
Choose a tag to compare
9.0.0-RC.1 Pre-release
Pre-release

Fixes

  • Fix feature flag model keys (#2943)

9.0.0-RC

08 May 14:17
Compare
Choose a tag to compare
9.0.0-RC Pre-release
Pre-release

9.0.0 is now a release candidate.

9.0.0-beta.2

05 May 11:59
Compare
Choose a tag to compare
9.0.0-beta.2 Pre-release
Pre-release

Fixes

  • Errors caught by OnErrorIntegration should be unhandled by default (#2901)
    • This will not affect grouping
    • This might affect crash-free rate

Dependencies

9.0.0-beta.1

24 Apr 12:45
Compare
Choose a tag to compare
9.0.0-beta.1 Pre-release
Pre-release

Features

  • Properly generates and links trace IDs for errors and spans (#2869, #2861):
    • With SentryNavigatorObserver - each navigation event starts a new trace.
    • Without SentryNavigatorObserver on non-web platforms - a new trace is started from app
      lifecycle hooks.
    • Web without SentryNavigatorObserver - the same trace ID is reused until the page is
      refreshed or closed.
  • Add FeatureFlagIntegration (#2825)
// Manually track a feature flag
Sentry.addFeatureFlag('my-feature', true);
  • Firebase Remote Config Integration (#2837)
// Add the integration to automatically track feature flags from firebase remote config.
await SentryFlutter.init(
  (options) {
    options.dsn = 'https://[email protected]/add-your-dsn-here';
    options.addIntegration(
      SentryFirebaseRemoteConfigIntegration(
        firebaseRemoteConfig: yourFirebaseRemoteConfig,
      ),
    );
  },
);

Fixes

  • Trace propagation in HTTP tracing clients not correctly set up if performance is disabled (#2850)

Behavioral changes

  • Mutable Data Classes (#2818)
    • Some SDK classes do not have const constructors anymore.
    • The copyWith and clone methods of SDK classes were deprecated.
  • Set log level to warning by default when debug = true (#2836)
  • Set HTTP client breadcrumbs log level based on response status code (#2847)
    • 5xx is mapped to SentryLevel.error
    • 4xx is mapped to SentryLevel.warning
  • Parent-child relationship for the PlatformExceptions and Cause (#2803, #2858)
    • Improves and changes exception grouping. To opt in, set groupExceptions=true
  • Set anrEnabled enabled per default (#2878)

API Changes

  • Update naming of LoadImagesListIntegration to LoadNativeDebugImagesIntegration (#2833)
  • Remove other from SentryRequest (#2879)

Dependencies

8.14.2

22 Apr 09:40
Compare
Choose a tag to compare

Improvements

  • Improve performance of frames tracking (#2854)
  • Clean up getSpan() log (#2865)

Fixes

  • options.diagnosticLevel not affecting logs (#2856)

9.0.0-alpha.2

25 Mar 12:51
Compare
Choose a tag to compare
9.0.0-alpha.2 Pre-release
Pre-release

Features

  • Add support for Flutter Web release health (#2794)
    • Requires using SentryNavigatorObserver;

Dependencies

Behavioral changes

  • Set sentry-native backend to crashpad by default and breakpad for Windows ARM64 (#2791)
    • Setting the SENTRY_NATIVE_BACKEND environment variable will override the defaults.
  • Remove renderer from flutter_context (#2751)

API changes

  • Move replay and privacy from experimental to options (#2755)
  • Cleanup platform mocking (#2730)
    • The PlatformChecker was renamed to RuntimeChecker
    • Moved PlatformChecker.platform to options.platform

8.14.1 (Stable)

24 Mar 14:09
Compare
Choose a tag to compare

Fixes

  • Improve platform memory collection on windows/linux (#2798)
    • Fixes an issue where total memory on windows was not read.
    • Free memory collection was removed on windows/linux, due to performance issues.
  • Fix adding runtime to contexts (#2813)

Dependencies

8.14.0

12 Mar 13:03
Compare
Choose a tag to compare

This release fixes an issue where Cold starts can be incorrectly reported as Warm starts on Android.

Behavioral changes

  • ⚠️ Auto IP assignment for SentryUser is now guarded by sendDefaultPii (#2726)
    • If you rely on Sentry automatically processing the IP address of the user, set options.sendDefaultPii = true or manually set the IP address of the SentryUser to {{auto}}
  • Adding the device name to Contexts is now guarded by sendDefaultPii (#2741)
    • Set options.sendDefaultPii = true if you want to have the device name reported
  • Remove macOS display refresh rate support (#2628)
    • Can't reliably detect on multi-monitor systems and on older macOS versions.
    • Not very meaningful, as other applications may be running in parallel and affecting it.

Enhancements

  • Add Flutter runtime information (#2742)
    • This works if the version of Flutter you're using includes this code.
  • Use loadDebugImagesForAddresses API for Android (#2706)
    • This reduces the envelope size and data transferred across method channels
    • If debug images received by loadDebugImagesForAddresses are empty, the SDK loads all debug images as fallback
  • Disable ScreenshotIntegration, WidgetsBindingIntegration and SentryWidget in multi-view apps #2366 (#2366)

Fixes

  • Pass missing captureFailedRequests param to FailedRequestInterceptor (#2744)
  • Bind root screen transaction to scope (#2756)
  • Reference to SentryWidgetsFlutterBinding in warning message in FramesTrackingIntegration (#2704)

Deprecations

  • Deprecate Drift SentryQueryExecutor (#2715)
    • This will be replace by SentryQueryInterceptor in the next major v9
// Example usage in Sentry Flutter v9
final executor = NativeDatabase.memory().interceptWith(
  SentryQueryInterceptor(databaseName: 'your_db_name'),
);

final db = AppDatabase(executor);
  • Deprecate autoAppStart and setAppStartEnd (#2681)

Dependencies

8.13.3 (Stable)

11 Mar 17:15
Compare
Choose a tag to compare

This release fixes an issue where Cold starts can be incorrectly reported as Warm starts on Android.

Dependencies