Skip to content

Releases: getsentry/sentry-dart

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

9.9.0-beta.3

26 Nov 11:03

Choose a tag to compare

9.9.0-beta.3 Pre-release
Pre-release

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

  • 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

  • Flush logs if client/hub/sdk is closed (#3335

9.8.0-beta.1

17 Nov 12:30

Choose a tag to compare

9.8.0-beta.1 Pre-release
Pre-release

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)

Enhancements

  • Refactor captureReplay and setReplayConfig to use FFI/JNI (#3318)
  • Refactor init to use FFI/JNI (#3324)

9.8.0

03 Nov 15:05
a8e3ded

Choose a tag to compare

⚠️ iOS: FFI + symbol stripping issue
This release has FFI usage on iOS/macOS. In some setups, iOS may stop sending events in production builds due to symbol stripping. To fix this, set Stripping Style to Non-Global in your Xcode build settings or consider updating to version 9.9.0.

Features

Enhancements

  • Refactor setExtra and removeExtra to use FFI/JNI (#3314)
  • Refactor setTag and removeTag to use FFI/JNI (#3313)
  • Refactor setContexts and removeContexts to use FFI/JNI (#3312)
  • Refactor setUser to use FFI/JNI (#3295)
  • Refactor native breadcrumbs sync to use FFI/JNI (#3293)
  • Refactor app hang and crash apis to use FFI/JNI (#3289)
  • Refactor AndroidReplayRecorder to use the new worker isolate api (#3296)
  • Refactor fetching app start and display refresh rate to use FFI and JNI (#3288)
  • Offload captureEnvelope to background isolate for Cocoa and Android (#3232)
  • Add sentry.replay_id to flutter logs (#3257)

Fixes

  • Fix unsafe json access in sentry_device (#3309)

9.7.0

07 Oct 12:38

Choose a tag to compare

⚠️ iOS: FFI + symbol stripping issue
This release introduces FFI usage on iOS/macOS. In some setups, iOS may stop sending events in production builds due to symbol stripping. To fix this, set Stripping Style to Non-Global in your Xcode build settings or consider updating to version 9.9.0.

Features

  • Add W3C traceparent header support (#3246)
    • Enable the option propagateTraceparent to allow the propagation of the W3C Trace Context HTTP header traceparent on outgoing HTTP requests.
  • Add nativeDatabasePath option to SentryFlutterOptions to set the database path for Sentry Native (#3236)
  • Add sentry.origin to logs created by LoggingIntegration (#3153)
  • Tag all spans with thread info on non-web platforms (#3101, #3144)
  • Feedback Widget: add option to disable keyboard resize (#3154)
  • Support firebase_remote_config: >=5.4.3 <7.0.0 (#3213)

Enhancements

  • Prefix firebase remote config feature flags with firebase: (#3258)
  • Replay: continue processing if encountering InheritedWidget (#3200)
    • Prevents false debug warnings when using provider for example which extensively uses InheritedWidget
  • Add DioException response data to error breadcrumb (#3164)
    • Bumped dio min version to 5.2.0
  • Use FFI/JNI for captureEnvelope on iOS and Android (#3115)
  • Log a warning when dropping envelope items (#3165)
  • Call options.log for structured logs (#3187)
  • Remove async usage from FlutterErrorIntegration (#3202)
  • Tag all spans during app start with start type info (#3190)
  • Refactor loadContexts and loadDebugImages to use JNI and FFI (#3224)
  • Improve envelope conversion to Uint8List in FileSystemTransport (#3147)

Fixes

  • Safely access browser navigator.deviceMemory (#3268)
  • Recursion in openDatabase when using SentrySqfliteDatabaseFactory (#3231)
  • Implement prefill logic in SentryFeedbackWidget for useSentryUser parameter to populate fields with current user data (#3180)
  • Structured Logs: Don't add template when there are no 'sentry.message.parameter.x' attributes (#3219)

Dependencies

9.7.0-beta.5

12 Sep 11:47

Choose a tag to compare

9.7.0-beta.5 Pre-release
Pre-release

Dependencies