Skip to content

Releases: getsentry/sentry-dart

7.2.0

20 Mar 15:42
Compare
Choose a tag to compare

Features

  • sqflite Support for Flutter (#1306)

Fixes

  • DioErrorExtractor no longer extracts DioError.stackTrace which is done via DioStackTraceExtractor instead (#1344)
  • LoadImageListIntegration won't throw bad state if there is no exceptions in the event (#1347)

Dependencies

7.1.0

17 Mar 11:34
Compare
Choose a tag to compare

Features

  • Exception StackTrace Extractor (#1335)

Dependencies

Fixes

  • SentryUserInteractionWidget checks if the Elements are mounted before comparing them (#1339)

7.0.0

15 Mar 13:05
Compare
Choose a tag to compare

Features

  • Platform Exception Event Processor (#1297)
  • Support failedRequestTargets for HTTP Client errors (#1285)
    • Captures errors for the default range 500-599 if captureFailedRequests is enabled
  • Sentry Isolate Extension (#1266)
  • Allow sentry user to control resolution of captured Flutter screenshots (#1288)
  • Support beforeSendTransaction (#1238)
  • Add In Foreground to App context (#1260)
  • Error Cause Extractor (#1198, #1236)
    • Add throwable to SentryException
  • Dart 3 Support (#1220)
  • Introduce Hint data bag (#1136)
  • Use Hint for screenshots (#1165)
  • Support custom units for custom measurements (#1181)

Enhancements

  • Replace toImage with toImageSync for Flutter >= 3.7 (1268)
  • Don't await FutureOr<T> if it's not a future. This should marginally improve the performance (#1310)
  • Replace StackTrace.empty with StackTrace.current (#1183)

Breaking Changes

Dart Migration guide.

Flutter Migration guide.

  • Enable enableNdkScopeSync by default (#1276)
  • Update sentry_dio to dio v5 (#1282)
  • Remove deprecated fields (#1227)
    • Remove deprecated fields from the Scope class.
      • user(SentryUser? user), using the setUser(SentryUser? user) instead.
      • attachements, using the attachments instead.
    • Remove deprecated field from the SentryFlutterOptions class.
      • anrTimeoutIntervalMillis, using the anrTimeoutInterval instead.
      • autoSessionTrackingIntervalMillis, using the autoSessionTrackingInterval instead.
  • Rename APM tracking feature flags to tracing (#1222)
    • Rename
      • enableAutoPerformanceTracking to enableAutoPerformanceTracing
      • enableOutOfMemoryTracking to enableWatchdogTerminationTracking
  • Enable APM features by default (#1217)
    • Enable by default
      • captureFailedRequests
      • enableStructuredDataTracing
      • enableUserInteractionTracing
  • Mark transaction as internal_error in case of unhandled errors (#1218)
  • Removed various deprecated fields (#1036):
    • Removed the following fields from the device context
      • language
      • timezone
      • screenResolution
      • theme
    • Removed isolate name from Dart context. It's now reported via the threads interface. It can be enabled via options.attachThreads
  • Use sentryClientName instead of sdk.identifier (#1135)
  • Refactor BindingUtils to BindingWrapper to enable the use of custom bindings (#1184)
  • Bump Flutter min to 3.0.0 and Dart to 2.17.0 (#1180)

Dependencies

Fixes

  • View hierarchy reads size from RenderBox only (#1258)
  • Try to avoid ConcurrentModificationError by not using a Future.forEach (#1259)
  • isWeb check for WASM (#1249)
  • Don't suppress error logs (#1228)
  • Fix: Remove SentryOptions related parameters from classes which also take Hub as a parameter (#816)

7.0.0-rc.2

07 Mar 10:19
Compare
Choose a tag to compare
7.0.0-rc.2 Pre-release
Pre-release

Features

  • Platform Exception Event Processor (#1297)
  • Support failedRequestTargets for HTTP Client errors (#1285)
    • Captures errors for the default range 500-599 if captureFailedRequests is enabled
  • Sentry Isolate Extension (#1266)
  • Allow sentry user to control resolution of captured Flutter screenshots (#1288)

Enhancements

  • Replace toImage with toImageSync for Flutter >= 3.7 (1268)
  • Don't await FutureOr<T> if it's not a future. This should marginally improve the performance (#1310)

6.22.0

06 Mar 16:51
Compare
Choose a tag to compare

Features

  • Add proguard_uui property to SentryFlutterOptions to set proguard information at runtime (#1312)

Fixes

  • Change podspec EXCLUDED_ARCHS value to allow podfiles to add more excluded architetures (#1303)

Dependencies

7.0.0-rc.1

02 Mar 10:41
Compare
Choose a tag to compare
7.0.0-rc.1 Pre-release
Pre-release

Breaking Changes

  • Enable enableNdkScopeSync by default (#1276)
  • Update sentry_dio to dio v5 (#1282)

Dependencies

6.21.0

28 Feb 16:53
Compare
Choose a tag to compare

Features

  • Implement loadStructuredBinaryData from updated AssetBundle (#1272)

Dependencies

Fixes

  • Pass processed Breadcrumb to scope observer (#1298)
  • Remove duplicated breadcrumbs when syncing with iOS/macOS (#1283)

7.0.0-beta.4

08 Feb 13:16
d990a0f
Compare
Choose a tag to compare
7.0.0-beta.4 Pre-release
Pre-release

Features

  • Support beforeSendTransaction (#1238)
  • Add In Foreground to App context (#1260)

Fixes

  • View hierarchy reads size from RenderBox only (#1258)
  • Try to avoid ConcurrentModificationError by not using a Future.forEach (#1259)

Dependencies

6.20.1

08 Feb 14:18
f99273d
Compare
Choose a tag to compare

Fixes

  • Try to avoid ConcurrentModificationError by not using a Future.forEach (#1259)

Dependencies

7.0.0-beta.1

26 Jan 17:00
Compare
Choose a tag to compare
7.0.0-beta.1 Pre-release
Pre-release

Fixes

  • isWeb check for WASM (#1249)