Skip to content

Releases: getsentry/sentry-dart

9.13.0

12 Feb 17:46

Choose a tag to compare

Features

  • Synchronize traceId to native SDKs (#3507)
    • Native events (e.g. from Android or iOS) such as errors, logs, and spans now share the same trace as Dart events, enabling unified trace views across layers

Dependencies

Internal Changes
  • Add SDK features metadata for SPM vs CocoaPods tracking (#3508)

9.12.0

05 Feb 15:47

Choose a tag to compare

Dependencies

9.11.0

03 Feb 16:19

Choose a tag to compare

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)

9.11.0-beta.2

30 Jan 09:53

Choose a tag to compare

9.11.0-beta.2 Pre-release
Pre-release

Fixes

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

Internals

  • Remove deprecated beforeMetricCallback from options (#3484)
  • Add span factory to allow swappable span backends in integrations (#3488)

9.11.0-beta.1

26 Jan 11:10
6e0abbc

Choose a tag to compare

9.11.0-beta.1 Pre-release
Pre-release

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(...)
  • 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.

Enhancements

  • Refactor Logging API to be consistent with Metrics (#3463)

Dependencies

9.10.0

15 Jan 17:53
2bcb18b

Choose a tag to compare

Fixes

  • Kotlin language version handling in Android (#3436)

Enhancements

  • Replace log batcher with telemetry processor (#3448)

Dependencies

9.9.2

07 Jan 12:03

Choose a tag to compare

Fixes

  • Android not sending events when autoInitializedNativeSdk is disabled (#3420)

9.9.1

18 Dec 12:41

Choose a tag to compare

Fixes

  • Cold/warm start spans not attaching if TTFD takes more than 3 seconds to report (#3404)
  • Ensure that the JNI ScopesAdapter instance is released after use (#3411)

9.9.0

16 Dec 11:16
0230ac1

Choose a tag to compare

Features

  • Add Sentry.setAttributes and Sentry.removeAttribute (#3352)
    • These attributes are set at the scope level and apply to all logs (and later to metrics and spans).
    • When a scope attribute conflicts with a log-level attribute, the log-level attribute always takes precedence.
  • Sentry Supabase Integration (#2913)
    • Adds the sentry_supabase package to instrument supabase with Sentry breadcrumbs, traces and errors.

Fixes

  • Added consumerProguardFiles 'proguard-rules.pro' to the debug build configuration to ensure ProGuard rules are consistently applied across both release and debug variants. (#3339)
  • Dart to native type conversion (#3372)
  • Revert FFI usage on iOS/macOS due to symbol stripping issues (#3379)
  • Android app crashing on hot-restart in debug mode (#3358)
  • Dont use Companion in JNI calls and properly release JNI refs (#3354)
    • This potentially fixes segfault crashes related to JNI

Enhancements

  • Refactor captureReplay and setReplayConfig to use JNI (#3318)
  • Refactor init to use JNI (#3324)
  • Flush logs if client/hub/sdk is closed (#3335

Dependencies

9.9.0-beta.4

11 Dec 12:40

Choose a tag to compare

9.9.0-beta.4 Pre-release
Pre-release

Fixes

  • Dart to native type conversion (#3372)
  • Revert FFI usage on iOS/macOS due to symbol stripping issues (#3379)

Dependencies