Releases: getsentry/sentry-dart
Releases · getsentry/sentry-dart
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
Dependencies
9.9.0-beta.4
9.9.0-beta.3
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
- 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
- Flush logs if client/hub/sdk is closed (#3335
9.8.0-beta.1
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
9.8.0
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
- Mark file sync spans run in the main isolate with
blocked_main_thread(#3270) - This allows Sentry to create issues automatically out of file spans running a certain time on the main thread: https://docs.sentry.io/product/issues/issue-details/performance-issues/file-main-thread-io/
Enhancements
- Refactor
setExtraandremoveExtrato use FFI/JNI (#3314) - Refactor
setTagandremoveTagto use FFI/JNI (#3313) - Refactor
setContextsandremoveContextsto use FFI/JNI (#3312) - Refactor
setUserto 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
AndroidReplayRecorderto use the new worker isolate api (#3296) - Refactor fetching app start and display refresh rate to use FFI and JNI (#3288)
- Offload
captureEnvelopeto background isolate for Cocoa and Android (#3232) - Add
sentry.replay_idto flutter logs (#3257)
Fixes
- Fix unsafe json access in
sentry_device(#3309)
9.7.0
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
traceparentheader support (#3246)- Enable the option
propagateTraceparentto allow the propagation of the W3C Trace Context HTTP headertraceparenton outgoing HTTP requests.
- Enable the option
- Add
nativeDatabasePathoption toSentryFlutterOptionsto set the database path for Sentry Native (#3236) - Add
sentry.originto logs created byLoggingIntegration(#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
- Prevents false debug warnings when using provider for example which extensively uses
- Add
DioExceptionresponse data to error breadcrumb (#3164)- Bumped
diomin version to5.2.0
- Bumped
- Use FFI/JNI for
captureEnvelopeon 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
loadContextsandloadDebugImagesto use JNI and FFI (#3224) - Improve envelope conversion to
Uint8ListinFileSystemTransport(#3147)
Fixes
- Safely access browser
navigator.deviceMemory(#3268) - Recursion in
openDatabasewhen usingSentrySqfliteDatabaseFactory(#3231) - Implement prefill logic in
SentryFeedbackWidgetforuseSentryUserparameter 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
- Pin
ffigento19.0.0and addobjective_cversion8.0.0package used inffigenon iOS and macOS (#3163) - Bump Cocoa SDK from v8.55.1 to v8.56.2 (#3276)
- Bump Android SDK from v8.20.0 to v8.21.1 (#3243)
- Bump JavaScript SDK from v9.40.0 to v10.6.0 (#3167, #3201)
- Bump Native SDK from v0.9.1 to v0.10.0 (#3223)