Releases: getsentry/sentry-dart
Releases · getsentry/sentry-dart
9.13.0
Features
- Synchronize
traceIdto 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
- Bump Android SDK from v8.31.0 to v8.32.0 (#3506)
- Bump JavaScript SDK from v10.6.0 to v10.38.0 (#3474)
- Bump Native SDK from v0.12.5 to v0.12.6 (#3502)
Internal Changes
- Add SDK features metadata for SPM vs CocoaPods tracking (#3508)
9.12.0
9.11.0
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
captureNativeFailedRequestsoption for iOS/macOS (#3472)- This option allows controlling native HTTP error capturing independently from
captureFailedRequests. - When
null(the default), it falls back tocaptureFailedRequestsfor backwards compatibility. - Set to
falseto disable native failed request capturing while keeping Dart-side capturing enabled.
- This option allows controlling native HTTP error capturing independently from
Fixes
- Catch client exceptions in HttpTransport.send (#3490)
Dependencies
9.11.0-beta.2
9.11.0-beta.1
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
captureNativeFailedRequestsoption for iOS/macOS (#3472)- This option allows controlling native HTTP error capturing independently from
captureFailedRequests. - When
null(the default), it falls back tocaptureFailedRequestsfor backwards compatibility. - Set to
falseto disable native failed request capturing while keeping Dart-side capturing enabled.
- This option allows controlling native HTTP error capturing independently from
Enhancements
- Refactor Logging API to be consistent with Metrics (#3463)
Dependencies
9.10.0
9.9.2
9.9.1
9.9.0
Features
- Add
Sentry.setAttributesandSentry.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_supabasepackage to instrument supabase with Sentry breadcrumbs, traces and errors.
- Adds the
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
Companionin JNI calls and properly release JNI refs (#3354)- This potentially fixes segfault crashes related to JNI
Enhancements
- Refactor
captureReplayandsetReplayConfigto use JNI (#3318) - Refactor
initto use JNI (#3324) - Flush logs if client/hub/sdk is closed (#3335