Skip to content

Releases: getsentry/sentry-dart

8.6.0-alpha.2

24 Jul 18:08
Compare
Choose a tag to compare
8.6.0-alpha.2 Pre-release
Pre-release

Features

  • Android Session Replay Alpha (#2032)

    To try out replay, you can set following options:

    await SentryFlutter.init(
      (options) {
        ...
        options.experimental.replay.sessionSampleRate = 1.0;
        options.experimental.replay.errorSampleRate = 1.0;
      },
      appRunner: () => runApp(MyApp()),
    );

    Access is limited to early access orgs on Sentry. If you're interested, sign up for the waitlist

8.5.0

24 Jul 13:54
Compare
Choose a tag to compare

Features

  • Add dart platform to sentry frames (#2193)
    • This allows viewing the correct dart formatted raw stacktrace in the Sentry UI
  • Support ignoredExceptionsForType (#2150)
    • Filter out exception types by calling SentryOptions.addExceptionFilterForType(Type exceptionType)

Fixes

  • Disable sff & frame delay detection on web, linux and windows (#2182)
    • Display refresh rate is locked at 60 for these platforms which can lead to inaccurate metrics

Improvements

  • Capture meaningful stack traces when unhandled errors have empty or missing stack traces (#2152)
    • This will affect grouping for unhandled errors that have empty or missing stack traces.

Dependencies

8.4.0

15 Jul 15:13
Compare
Choose a tag to compare

Features

  • Add API for pausing/resuming iOS and macOS app hang tracking (#2134)
    • This is useful to prevent the Cocoa SDK from reporting wrongly detected app hangs when the OS shows a system dialog for asking specific permissions.
    • Use SentryFlutter.pauseAppHangTracking() and SentryFlutter.resumeAppHangTracking()
  • Capture total frames, frames delay, slow & frozen frames and attach to spans (#2106)
  • Support WebAssembly compilation (dart2wasm) (#2113)
  • Add flag to disable reporting of view hierarchy identifiers (#2158)
    • Use reportViewHierarchyIdentifiers to enable or disable the option
  • Record dropped spans in client reports (#2154)
  • Add memory usage to contexts (#2133)
    • Only for Linux/Windows applications, as iOS/Android/macOS use native SDKs

Fixes

  • Fix sentry_drift compatibility with Drift 2.19.0 (#2162)
  • App starts hanging for 30s (#2140)
    • Time out for app start info retrieval has been reduced to 10s
    • If autoAppStarts is false and setAppStartEnd has not been called, the app start event processor will now return early instead of waiting for getAppStartInfo to finish

Improvements

  • Set dart runtime version with parsed Platform.version (#2156)

Dependencies

Deprecated

  • User segment is now deprecated and will be removed in version 9.0.0. Use a custom tag or context instead. (#2119)
  • Deprecate setExtra and removeExtra (#2159)
    • Use the Contexts structure via setContexts instead

8.4.0-beta.1

04 Jul 14:26
Compare
Choose a tag to compare
8.4.0-beta.1 Pre-release
Pre-release

Features

  • Add API for pausing/resuming iOS and macOS app hang tracking (#2134)
    • This is useful to prevent the Cocoa SDK from reporting wrongly detected app hangs when the OS shows a system dialog for asking specific permissions.
    • Use SentryFlutter.pauseAppHangTracking() and SentryFlutter.resumeAppHangTracking()
  • Capture total frames, frames delay, slow & frozen frames and attach to spans (#2106)
  • Support WebAssembly compilation (dart2wasm) (#2113)

Deprecated

  • User segment is now deprecated and will be removed in version 9.0.0. Use a custom tag or context instead. (#2119)

Dependencies

8.3.0

17 Jun 15:07
Compare
Choose a tag to compare

Fixes

  • Load contexts integration not setting SentryUser (#2089)
  • Change app start span description from Cold start to Cold Start and Warm start to Warm Start (#2076)
  • Parse PlatformException from details instead of message (#2052)

Dependencies

  • Bump sqflite minimum version from ^2.0.0 to ^2.2.8 (#2075)
    • This is not a breaking change since we are using api internally that is only valid from that version.
  • Bump Cocoa SDK from v8.25.2 to v8.29.0 (#2060, #2092, #2100)
  • Bump Android SDK from v7.9.0 to v7.10.0 (#2090)

8.2.0

14 May 11:10
Compare
Choose a tag to compare

Enhancements

  • Include sentry frames in stacktraces to enable SDK crash detection (#2050)

Fixes

  • Event processor blocking transactions from being sent if autoAppStart is false (#2028)

Features

  • Create app start transaction when no SentryNavigatorObserver is present (#2017)
  • Adds native spans to app start transaction (#2027)
  • Adds app start spans to first transaction (#2009)

Fixes

  • Fix PlatformException title parsing (#2033)

Dependencies

7.20.2

10 May 11:33
Compare
Choose a tag to compare

Fixes

  • Event processor blocking transactions from being sent if autoAppStart is false (#2045)

8.1.0

30 Apr 17:01
52a7052
Compare
Choose a tag to compare

Feature

  • Set snapshot to true if stacktrace is not provided (#2000)
    • If the stacktrace is not provided, the Sentry SDK will fetch the current stacktrace via StackTrace.current and the snapshot will be set to true - this may change the grouping behavior
    • snapshot = true means it's a synthetic exception, reflecting the current state of the thread rather than the stack trace of a real exception

Fixes

  • Timing metric aggregates metrics in the created span (#1994)

Dependencies

  • Bump Cocoa SDK from v8.21.0 to v8.25.0 (#2018)
  • Expand dependency range of package_info_plus to allow an open range starting from version 1 (#2010)

7.20.1

30 Apr 07:19
Compare
Choose a tag to compare

Dependencies

  • Bump Cocoa SDK from v8.21.0 to v8.25.0 (#2018)
  • Expand dependency range of package_info_plus to allow an open range starting from version 1 (#2024)

8.0.0

22 Apr 07:36
Compare
Choose a tag to compare

This release contains breaking changes, please read the changelog carefully.

Changes from the latest v7 release are included in this major release

Breaking Changes

  • Bump iOS minimum deployment target from 11 to 12 (#1821)
  • Mark exceptions not handled by the user as handled: false (#1535)
    • This will affect your release health data, and is therefore considered a breaking change.
  • Refrain from overwriting the span status for unfinished spans (#1577)
    • Older self-hosted sentry instances will drop transactions containing unfinished spans.
  • Do not leak extensions of external classes (#1576)
  • Make hint non-nullable in BeforeSendCallback, BeforeBreadcrumbCall and EventProcessor (#1574)
    • This will affect your callbacks, making this a breaking change.
  • Load Device Contexts from Sentry Java (#1616)
    • Now the device context from Android is available in BeforeSendCallback
  • Set ip_address to {{auto}} by default, even if sendDefaultPII is disabled (#1665)
    • Instead use the "Prevent Storing of IP Addresses" option in the "Security & Privacy" project settings on sentry.io

Features

  • Add support for exception aggregates (#1866)