github getsentry/sentry-dart 9.11.0

10 hours ago

Features

  • Trace connected metrics (#3450)
    • This feature is enabled by default.
    • To send metrics use the following APIs:
      • Sentry.metrics.gauge(...)
      • Sentry.metrics.count(...)
      • Sentry.metrics.distribution(...)
    • For more details read the Flutter metrics documentation.
  • Add captureNativeFailedRequests option for iOS/macOS (#3472)
    • This option allows controlling native HTTP error capturing independently from captureFailedRequests.
    • When null (the default), it falls back to captureFailedRequests for backwards compatibility.
    • Set to false to disable native failed request capturing while keeping Dart-side capturing enabled.

Fixes

  • Catch client exceptions in HttpTransport.send (#3490)

Dependencies

Internal Changes
  • Refactor Logging API to be consistent with Metrics (#3463)
  • Remove deprecated beforeMetricCallback from options (#3484)
  • Add span factory to allow swappable span backends in integrations (#3488)

Don't miss a new sentry-dart release

NewReleases is sending notifications on new releases.