Skip to content

Releases: getsentry/sentry-dart

7.13.0

15 Nov 14:00
Compare
Choose a tag to compare

Fixes

  • Fixes setting the correct locale to contexts with navigatorKey (#1724)
    • If you have a selected locale in e.g MaterialApp, this fix will retrieve the correct locale for the event context.
  • Flutter renderer information was removed on dart:io platforms since it didn't add the correct value (#1723)
  • Unsupported types with Expando (#1690)

Features

  • Add APM integration for Drift (#1709)
  • StackTraces in PlatformException.message will get nicely formatted too when present (#1716)
  • Breadcrumbs for database operations (#1656)
  • APM for hive (#1672)
  • Add attachScreenshotOnlyWhenResumed to options (#1700)

Dependencies

7.12.0

31 Oct 10:34
Compare
Choose a tag to compare

Enhancements

  • Log warning if both tracesSampleRate and tracesSampler are set (#1701)
  • Better Flutter framework stack traces - we now collect Flutter framework debug symbols for iOS, macOS and Android automatically on the Sentry server (#1673)

Features

  • Initial (alpha) support for profiling on iOS and macOS (#1611)
  • Add SentryNavigatorObserver current route to event.app.contexts.viewNames (#1545)
    • Requires relay version 23.9.0 for self-hosted instances

7.11.0

24 Oct 14:01
Compare
Choose a tag to compare

Fixes

  • Session: missing mechanism.handled is considered crash (#3353)

Features

  • Breadcrumbs for file I/O operations (#1649)

Dependencies

7.10.1

13 Sep 15:15
Compare
Choose a tag to compare

Enhancements

  • Add Sampling Decision to Trace Envelope Header (#1639)
  • Add http.request.method attribute to http spans data (#1633)
  • Add db.system and db.name attributes to db spans data (#1629)
  • Log SDK errors to the console if the log level is fatal even if debug is disabled (#1635)

Features

  • Tracing without performance (#1621)

Fixes

  • Normalize data properties of SentryUser and Breadcrumb before sending over method channel (#1591)
  • Fixing memory leak issue in SentryFlutterPlugin (Android Plugin) (#1588)
  • Discard empty stack frames (#1625)
  • Disable scope sync for cloned scopes (#1628)

Dependencies

7.9.0

26 Jul 14:18
Compare
Choose a tag to compare

Features

  • Send trace origin (#1534)

Trace origin indicates what created a trace or a span. Not all transactions and spans contain enough information to tell whether the user or what precisely in the SDK created it. Origin solves this problem. The SDK now sends origin for transactions and spans.

  • Add appHangTimeoutInterval to SentryFlutterOptions (#1568)
  • DioEventProcessor: Append http response body (#1557)
    • This is opt-in and depends on maxResponseBodySize
    • Only for dio package

Dependencies

7.8.0

19 Jun 12:41
Compare
Choose a tag to compare

Enhancements

  • Add apiTarget field to SentryRequest and data field to SentryResponse (#1517)

Dependencies

7.7.0

05 Jun 13:01
Compare
Choose a tag to compare

Fixes

  • Enums use its name instead of non exhaustive switches (##1506)

Enhancements

  • Add http fields to span.data (#1497)
    • Set http.response.status_code
    • Set http.response_content_length
  • Improve SentryException#value, remove stringified stack trace (##1470)

Dependencies

7.6.3

30 May 09:28
Compare
Choose a tag to compare

Fixes

  • Check if the Native SDKs are enabled when using autoInitializeNativeSdk=false (#1489)
  • Align http method to span convention (#1477)
  • Wrapped methods return a Future instead of executing right away (#1476)
  • Fix readTimeoutMillis wrongly configures connectionTimeoutMillis instead of the correct field (#1485)

Dependencies

7.6.2

23 May 13:31
Compare
Choose a tag to compare

Enhancements

  • SentryAssetBundle returns Future by default (#1462)

Features

  • Support http >= 1.0.0 (#1475)

Dependencies

7.6.1

17 May 08:59
Compare
Choose a tag to compare

Features

  • Add sent_at to envelope header (#1428)

Fixes

  • Fix battery level conversion for iOS 16.4 (#1433)
  • Adds a namespace for compatibility with AGP 8.0. (#1427)
  • Avoid dependency conflict with package_info_plus v4 (#1440)

Breaking Changes

  • Android minSdkVersion is now 19 (Flutter already defines 19-20 as best effort)
  • Deprecate extra in favor of contexts (#1435)

Dependencies